The liver breaks down and excretes doxepin through urine. In 15 to 18 hours, the prescription is halfway removed from the system once the patient stops taking it. Conversely, the half-life of nordoxepin, a doxepin byproduct, is between 28 and 31 hours.