Root canal treatment can be performed during pregnancy, especially if there is pain or an infection that needs to be addressed. Local anesthesia and appropriate precautions ensure the safety of both mother and baby.