Doxepin is a tricyclic antidepressant, and it is unusual in that the dose changes what kind of drug it is. At very low doses it acts almost purely as a histamine H1 blocker - sedating, with essentially none of the anticholinergic or cardiac effects that define tricyclics. At antidepressant doses it behaves like any other tricyclic, with all of those effects present. It is also available as a cream for itching.
Follow the instructions on your label. This guide contains no doses. Do not stop it abruptly at antidepressant doses.
Low dose for insomnia
At a small fraction of the antidepressant dose, doxepin is a highly selective H1 antagonist.
That produces sedation without the dry mouth, constipation, urinary retention and cardiac effects seen at higher doses, and without dependence or tolerance.
Its particular strength is sleep maintenance - staying asleep, and reducing early-morning waking - rather than falling asleep quickly, which distinguishes it from the Z-drugs.
It is licensed for insomnia at low dose in some countries and used off-label elsewhere. Where it is available, it suits older adults for whom benzodiazepines and Z-drugs are a falls and confusion risk.
See sleeping tablets and temazepam.
Taking it too close to bedtime, or with a heavy meal, delays absorption and increases next-morning grogginess.
Cognitive behavioural therapy does more
CBT for insomnia outperforms every medication in the long term, and the benefit persists after treatment ends - which is not true of any sleeping tablet. Digital programmes are available on the NHS in many areas.
Medication has a place for short periods and in specific situations. It is not the first thing to reach for.
The cream
Doxepin cream is used for itching in eczema and other conditions, working through the same antihistamine effect applied locally.
The catch is that enough is absorbed through the skin to cause drowsiness, particularly when applied to large areas - which surprises people using what they think of as a cream.
Use it on limited areas, for short periods, and be careful about driving.
Local burning and stinging are common, and contact allergy occurs.
See emollients, which remain the foundation of itch management in eczema.
At antidepressant doses
Here doxepin behaves like a conventional tricyclic, and the usual cautions apply in full.
Anticholinergic effects - dry mouth, constipation, blurred vision, urinary hesitancy and, in older people, confusion. Caution in glaucoma and prostate enlargement.
Postural dizziness and sedation. Weight gain.
Doxepin is among the more sedating and more anticholinergic tricyclics - nortriptyline is considerably lighter on both counts. See nortriptyline and amitriptyline.
The cumulative anticholinergic burden across several medicines matters more than any one - see medicines and your memory.
The heart
Tricyclics prolong the QT interval and affect cardiac conduction at antidepressant doses.
An ECG is advised before starting in older people and anyone with cardiac disease. They are avoided after a recent heart attack and in significant arrhythmia.
See medicines that affect your heart rhythm.
At the low doses used for insomnia these effects are not seen.
Overdose
Tricyclics are dangerous in overdose, causing heart rhythm disturbance and seizures, and they remain a significant cause of death by poisoning.
That is a reason for careful storage and sometimes for smaller quantities being dispensed.
Call 999 for any suspected overdose, even if the person seems well, and take the packaging.
If you are having thoughts of harming yourself, Samaritans are free on 116 123, or you can text SHOUT to 85258.
Interactions
Doxepin is cleared by CYP2D6, so paroxetine, fluoxetine, bupropion and terbinafine raise its levels - see bupropion.
Combining with other serotonergic medicines raises the risk of serotonin syndrome. Monoamine oxidase inhibitors are contraindicated.
Alcohol and other sedatives add to drowsiness at any dose.
Stopping it
At antidepressant doses, discontinuation symptoms occur - nausea, headache, restlessness, disturbed sleep and flu-like aching. Reduce gradually.
At low doses used for sleep, dependence does not develop, though insomnia may return - which is the original problem rather than withdrawal.
See coming off antidepressants safely.
Why it is not more widely used
Low-dose doxepin is not licensed for insomnia in the UK, which limits how often it is offered here despite reasonable evidence behind it.
Where it is used, the low-dose formulations matter - splitting an antidepressant-strength tablet does not reliably produce the small dose that gives the clean antihistamine effect, and it reintroduces the anticholinergic burden the low dose avoids. See cutting and crushing tablets.
When insomnia needs a different answer
See your GP if you snore heavily and wake unrefreshed, which suggests sleep apnoea; if you have restless legs; if you wake early with low mood; or if pain wakes you. Each has a specific treatment that a sedative only masks.
Related reading: Desvenlafaxine: Venlafaxine's Active Half, with more on how the main families of medicine work in Medicines.