Doxylamine: what it treats, how to take it, side effects
Last updated September 3, 2026.
Doxylamine is an antihistamine - it blocks histamine, and the drowsiness that comes with that is the sleep effect. You may know it as Unisom. Over the counter, short-term, and older than most of its users: the original sleep-aid antihistamine.
What does it treat?
Insomnia - difficulty falling or staying asleep - on a short-term basis. It also appears in cold and flu combination products; this page covers doxylamine alone.
How do you take it?
At bedtime, as directed on the package or by your doctor. The 2-week rule: if you still need it after 2 weeks, call your doctor - persistent insomnia has a cause worth finding. Next-day drowsiness is common: no driving or dangerous tasks until you know your response. Alcohol multiplies the sedation - skip it. Missed dose: as-needed only.
Side effects to know
- Common: dry mouth, nose, and throat; drowsiness; nausea; increased chest congestion; headache; and - paradoxically in some - excitement or nervousness.
- Serious - call your doctor immediately: vision problems and difficulty urinating.
Who should not take it?
Flag glaucoma, enlarged prostate or any urination blockage, breathing problems like asthma and emphysema, and ulcers - antihistamines tighten all of them. Older adults: the anticholinergic load - confusion, falls, constipation, urinary retention - is why geriatric guidance avoids this class. Ask before use in pregnancy or breastfeeding.
When is it an emergency?
Trouble breathing, face or throat swelling, or a racing heart with confusion is a 911 call. For an overdose - especially a child - call Poison Control at 1-800-222-1222 immediately. Pymander's escalation routing is built and tested specifically for this class of decision; see the safety architecture working paper.
What a Pymander AI doctor consult looks like
Illustrative example, not a real member's messages.
Common questions
Why only 2 weeks?
The label sets the boundary: doxylamine treats insomnia for a short time - needing it past 2 weeks means call your doctor, because persistent insomnia is a symptom with a cause: stress, apnea, caffeine timing, medications, mood. The antihistamine covers the symptom; it never investigates it. The 2-week line is how a useful tool stays in its lane.
Why am I groggy the next morning?
The half-life: doxylamine lingers long enough to help you stay asleep - and long enough to meet your alarm. The counters: take it earlier in the evening, only with a full night ahead, and skip driving or dangerous tasks until you know your response. Persistent heavy mornings are a reason to stop, not adapt.
Why did the pharmacist ask about my prostate and my eyes?
Antihistamines like doxylamine tighten things: they can worsen glaucoma, block urination in an enlarged prostate, and aggravate ulcers and breathing conditions. Those are the screening questions that keep an OTC sleep aid safe. Difficulty urinating or vision problems on it are call-your-doctor items.
Is it safe for older adults?
With caution, trending no: the anticholinergic effects - confusion, constipation, urinary retention, blurred vision, falls - hit harder with age, which is why geriatric guidance steers away from this class for insomnia. For an older parent, the honest move is a medication review with their doctor before a bottle moves in.
Can I combine it with my cold medicine or a nightcap?
Both are traps: cold and flu products often contain doxylamine or a sister antihistamine - stacking means double-dosing without knowing; read the labels. And alcohol multiplies the sedation and the breathing suppression - skip it on doxylamine nights entirely.
Will I get dependent on it?
Not chemically the way prescription sleep drugs can be - but habit forms around it: the brain learns "pill, then sleep," and the insomnia underneath goes uninvestigated. Tolerance builds too - the same dose fades over weeks. The 2-week rule exists precisely so the shortcut never becomes the routine.
