During pregnancy, this medication should be used only when clearly needed. Before taking doxepin, tell your doctor or pharmacist if you are allergic to it; or to other tricyclic antidepressants (such as nortriptyline); or if you have any other allergies. Keep all drugs away from reach of children and pets.