🌙 Shift Worker Health

Sleep Aids and Sleeping Tablets for Shift Workers: What Actually Works

Gary·20 June 2026·8 min read

Quick Summary

  • Sleeping tablets are not the first answer — for shift work, light, timing and a dark room beat pills for almost everyone
  • Over-the-counter sleeping tablets (Nytol, Sominex) cause next-day grogginess and stop working within days — they're a short-term tool, not a shift-work solution
  • Never take a sedating sleep aid and then drive home from a night shift — antihistamine and prescription tablets impair you the next day
  • Melatonin is prescription-only in the UK but is the best-evidenced drug option for adjusting to shifts
  • Magnesium and good sleep hygiene are the safest place to start

Short Answer: The best sleep aid for most shift workers isn't a tablet — it's a fully blacked-out, cool, quiet room and a consistent sleep window. If you need extra help, magnesium and melatonin (prescription-only in the UK) are the safest options. Over-the-counter sleeping tablets like Nytol and Sominex work for a night or two but cause next-day drowsiness and lose effect quickly. Prescription sleeping tablets are for short-term use only and are not a long-term fix for shift work. Always check with a pharmacist or GP first.

This article contains affiliate links. If you buy through them, we may earn a commission at no extra cost to you. It is not a substitute for medical advice — speak to a pharmacist or GP before taking any sleep aid.

If you work nights, you've almost certainly lain awake at 9am with the world going on outside, wondering whether a sleeping tablet would just fix it. The honest answer is that sleeping tablets can help in the short term, but they're the wrong place to start — and some of the popular ones do more harm than good for shift workers specifically. Here's the full picture, ranked by how well it actually works.

First, the uncomfortable truth about sleeping tablets

The reason daytime sleep is hard isn't usually that your brain won't switch off — it's that your body clock is telling you to be awake. Daylight, noise, and your own circadian rhythm are all fighting your attempt to sleep. A sleeping tablet sedates you, but it doesn't fix the underlying clock problem, which is why people end up taking more and more for less and less effect.

The NHS is clear that sleeping pills should be a last resort and used only for the short term. For shift workers, that means the foundations come first, every time.

The sleep aids that actually help shift workers (ranked)

1. Non-drug foundations — the real first-line "sleep aid"

These outperform any tablet for daytime sleep, and they keep working indefinitely:

  • Total blackout. Even faint daylight tells your brain it's morning. A proper blackout blind or a good sleep mask is the single highest-impact change.
  • A cool, quiet room. 16–18°C and ear plugs to kill daytime noise.
  • A consistent sleep window. Going to bed at the same time after each shift — see our best sleep schedule for night shifts.
  • Caffeine timing. A coffee at 4am is still half-active at 10am. Read our caffeine strategy.

If you haven't nailed these, no tablet will reliably work.

2. Magnesium — the gentlest supplement option

Magnesium (particularly the well-absorbed glycinate form) supports muscle relaxation and sleep quality, and is very low-risk for most people. It won't knock you out like a sedative, but many shift workers find it helps them settle. A standard magnesium glycinate supplement taken before your main sleep is a sensible, non-sedating place to start. More detail in our supplements for shift workers guide.

3. Melatonin — the best-evidenced drug option (but prescription-only)

Melatonin directly targets the circadian system rather than just sedating you, which is exactly the mechanism shift workers need. It's well-evidenced for adjusting to a new pattern or transitioning back to days. The catch: in the UK, melatonin is a prescription-only medicine, so you can't buy it over the counter. We cover the evidence, dosing and how to get it in our melatonin for shift workers guide.

4. Over-the-counter sleeping tablets — short-term only, with real downsides

The sleeping tablets you can buy from a UK pharmacy are mostly sedating antihistamines:

  • Diphenhydramine (e.g. Nytol Original, Sleepeaze)
  • Promethazine (e.g. Sominex, Phenergan Night-time)

They will make you drowsy, but for shift workers they carry specific problems:

  • Next-day grogginess. The sedation often outlasts your sleep, leaving you foggy for your next shift — and dangerous behind the wheel.
  • They stop working. Tolerance builds within days to a couple of weeks, so they're genuinely short-term only.
  • Anticholinergic effects. Dry mouth, constipation, and they're not suitable for everyone — check with the pharmacist, especially if you have other conditions or take other medicines.

The "herbal" options (valerian, e.g. Nytol Herbal) are gentler but have weaker evidence. OTC tablets can rescue the odd terrible day, but they are not a shift-work strategy.

5. Prescription sleeping tablets — emergency brake, not a solution

Prescription sleeping tablets — Z-drugs like zopiclone and zolpidem, or short-acting benzodiazepines like temazepam — are powerful and effective, but UK GPs prescribe them for two to four weeks at most because of:

  • Dependence and tolerance
  • Next-day impairment (again, a serious issue if you drive home from nights)
  • Rebound insomnia when you stop

They have a place for a short crisis, but they are not a sustainable answer to ongoing shift work, and a good GP won't treat them as one. If you feel you need them every week, that's a sign to ask about Shift Work Sleep Disorder and a proper management plan instead.

Cautions every shift worker should know

  • Driving: Sedating sleep aids — OTC or prescription — can impair you for many hours. Driving while impaired by medication is an offence in the UK, and post-night-shift drives are already high-risk. Never combine the two.
  • Alcohol: A drink might help you drop off but wrecks sleep quality and is dangerous combined with any sedative.
  • Don't stack aids: Don't combine sleeping tablets with other sedatives or alcohol without medical advice.
  • Persistent problems need a GP: If you can't sleep more than 4–5 hours despite good sleep hygiene, you may have Shift Work Sleep Disorder — a diagnosable, treatable condition.

Which sleep aid should a shift worker choose?

Your situationBest option
Daytime sleep is light/brokenFix the foundations first — blackout, cool room, consistent timing
Want a gentle, daily, low-risk aidMagnesium glycinate
Adjusting to a new pattern or back to daysMelatonin (ask your GP)
One-off rescue for a terrible dayOTC antihistamine tablet (occasional use only)
Severe, persistent insomniaSee your GP — short-term prescription and/or CBT-I

The pattern is consistent: start with the safest, most sustainable options, and treat actual tablets as a short-term tool — not the plan.

This article is for informational purposes only and is not a substitute for professional medical advice. Always consult a pharmacist or GP before taking any sleep aid, particularly if you take other regular medications or have an existing health condition.

Sources & Further Reading

Frequently Asked Questions

What are the best sleeping tablets for night shift workers?

There's no sleeping tablet designed for shift work, and tablets aren't the best starting point. The safest options are non-drug (blackout, cool room, consistent timing) plus magnesium, with melatonin (prescription-only in the UK) being the best-evidenced drug because it targets the body clock. Over-the-counter tablets like Nytol or Sominex work for a night or two but cause next-day grogginess and lose effect within days.

What is the best sleep aid for night shift workers?

For most people it's a fully blacked-out, cool, quiet room and a consistent sleep window — these beat any pill for daytime sleep. If you want extra help, magnesium is the gentlest option and melatonin (via your GP) is the best-evidenced drug. Reserve sleeping tablets for occasional rescue use only.

Can I take sleeping pills for shift work long-term?

No. Both over-the-counter and prescription sleeping tablets are intended for short-term use. OTC antihistamine tablets build tolerance within days, and GPs prescribe stronger tablets for only two to four weeks because of dependence and next-day impairment. Long-term shift-work sleep problems need a proper management plan, not ongoing pills.

Do you need a prescription for melatonin in the UK?

Yes. Unlike in the US, melatonin is a prescription-only medicine in the UK. It's often prescribed off-label to help shift workers adjust to a pattern or transition back to days — speak to your GP. See our melatonin guide for detail.

Is it safe to take a sleeping tablet before driving home from a night shift?

No. Sedating sleep aids — over-the-counter or prescription — can impair you for many hours, and driving while impaired by medication is an offence in the UK. Post-night-shift drives are already high-risk for fatigue. Only take a sedating sleep aid once you're home and won't need to drive.

GI
Gary
Founder, OffShift

Gary is a UK night shift worker and the founder of OffShift. Content on this site is for informational purposes only and is not a substitute for advice from your GP or a qualified health professional. About the author →

The Shift Worker's Health Reset

Practical advice on sleep, meals, and energy — built around your rota. Free, every week.

No spam, unsubscribe anytime.

Use this guide with

Tools
By industry
By shift pattern

Keep Reading

Are Lorry Drivers Key Workers? HGV & Truck Driver Status Explained (UK)

7 min read

Sleeping in Split Shifts: Can Polyphasic Sleep Work for Night Workers?

10 min read

Caffeine and Night Shifts: When to Drink It and When to Stop

9 min read