You should avoid smoking after a root canal for at least 24 hours. Smoking can impede healing, increase the risk of complications, and cause dry socket in cases where tooth extraction is involved. For optimal recovery, refraining from smoking for a few days post-procedure is recommended.