How to Sleep Better Without Sleeping Pills: Habits, CBT-I and Where Melatonin Fits

Doz · September 28, 2026

Most people who search for a way to sleep better without pills are not against medicine. They have usually tried the obvious things, woken at 3am anyway, and want to know what actually helps before they reach for something stronger.

The good news is that the most effective long-term treatment for chronic insomnia is not a pill at all. This guide covers the everyday habits that make sleep easier, what cognitive behavioural therapy for insomnia (CBT-I) involves, where melatonin fits, and the signs that it is time to see a doctor. If you already take a sleep medication, keep taking it as prescribed. Any change to it is a decision to make with the prescriber, not something to try on your own.

How much sleep you are aiming for

The CDC recommends that adults aged 18 to 60 get 7 or more hours a night, with slightly different ranges for older adults. That is the average target. Some people genuinely need a little more or less, and how you feel during the day is a better guide than the exact number.

The habits that make the biggest difference

"Sleep hygiene" sounds like a lecture, but the individual pieces are simple. The NHS and CDC list broadly the same ones.

Keep the same wake-up time, every day

This is the one that matters most and the one people skip. Your body clock sets itself largely from when you get up and see daylight. A fixed wake time, including weekends, does more for falling asleep at night than trying to go to bed earlier.

Wind down before bed

The NHS suggests relaxing for at least an hour before bed, with something like a bath or a book. The point is a predictable routine that tells your brain the day is ending.

Keep screens out of the last stretch

The CDC suggests avoiding screens for at least 30 minutes before bed, and the NHS notes that phone and TV light can make you more alert. If your phone has to be in the bedroom, keep it face down and out of reach.

Watch caffeine, alcohol and nicotine

The NHS advises not smoking or drinking alcohol, tea or coffee for at least six hours before bed, and the CDC suggests avoiding caffeine in the afternoon or evening. Caffeine lingers longer than most people assume: the half-life calculator has a caffeine preset of about five hours, a population average, that shows how much of an afternoon coffee may still be around at bedtime. Alcohol can make you drowsy but tends to break up sleep later in the night.

Make the bedroom dark, quiet and cool

Blackout curtains, earplugs and a slightly cooler room all help. So does keeping the bed for sleep rather than work or scrolling.

Move during the day

The NHS suggests exercising regularly during the day, but not within four hours of bedtime.

CBT-I: the treatment most people have never been offered

Cognitive behavioural therapy for insomnia is a structured programme, usually lasting several weeks, that targets the thoughts and habits that keep insomnia going. The American College of Physicians recommends it as the first-line treatment for chronic insomnia in adults. The NHS says insomnia is sometimes treated with CBT and that sleeping pills are rarely used.

It generally combines a few elements:

Research reviews have found CBT-I works about as well as sleep medication in the short term and better over the long term, with few side effects. It is available through some health services, from trained therapists, and in structured digital programmes. Ask your doctor what is available where you live.

Where melatonin fits

Melatonin is a hormone your brain makes in response to darkness, and it helps regulate your body clock. Supplements are widely sold, and in some countries they are prescription-only.

According to the US National Center for Complementary and Integrative Health (NCCIH), the evidence is strongest for specific body-clock problems: jet lag and delayed sleep-wake phase disorder, where people naturally fall asleep very late. For chronic insomnia, NCCIH notes that current guidelines do not find strong enough evidence to recommend it.

A few more points from NCCIH worth knowing:

NCCIH recommends talking to a healthcare provider before using melatonin, especially if you are pregnant or breastfeeding, take other medicines, or are thinking about it for a child. Timing and amount are part of that conversation.

What "half-life" tells you, and what it doesn't

People often ask how long melatonin "stays in your system". The half-life calculator includes a melatonin preset of about 45 minutes, a population average that varies a lot between people. It shows roughly how the level of a single dose falls over the following hours.

Read it for what it is. A half-life estimate describes how quickly the body clears a substance on average. It does not tell you whether a supplement will help you sleep, whether morning grogginess is caused by it, or when you should take it. Those depend on the product, your body and your situation, and are questions for a pharmacist or doctor.

When poor sleep needs a doctor

Self-help is the right first step for many people, but not all poor sleep is simple insomnia. The NHS suggests seeing a GP if changing your habits has not helped, or if poor sleep is making daily life hard to cope with. It is also worth raising sooner if:

Some medicines can affect sleep as a side effect, so bring a list of everything you take, including supplements. Do not stop a prescribed medication because you suspect it; ask whether its timing or the medicine itself could be changed.

The NHS notes that sleeping pills are usually prescribed only for a few days or weeks at most, because of the risk of dependence and side effects. If you have been taking them longer, do not stop suddenly on your own. Ask your prescriber about a plan.

Making the routine stick

Nearly everything in this guide is about consistency: the same wake time, the same wind-down, and taking anything prescribed at the same time each night. The hardest part is usually the first few weeks.

If you take evening medicines, a reminder tied to dinner or your wind-down routine keeps them from drifting later and later. Doz ties doses to your real mealtimes, and with Critical Alerts, medication reminders can still sound when your iPhone is on Silent or in a Focus mode, including a bedtime Focus, while everything else Doz sends stays quiet. If you take several things across the day, the times-a-day schedule spaces them across your waking hours.

Frequently Asked Questions

What is the best way to sleep better without sleeping pills?

Keep the same wake-up time every day, wind down for an hour before bed, avoid screens right before sleep, and cut back on caffeine, alcohol and nicotine in the hours before bed. For chronic insomnia, cognitive behavioural therapy for insomnia (CBT-I) is recommended as the first-line treatment by the American College of Physicians.

What is CBT-I?

Cognitive behavioural therapy for insomnia is a structured programme, usually over several weeks, that combines stimulus control, sleep restriction, work on unhelpful thoughts about sleep, and better sleep habits. It is offered by some health services, trained therapists and digital programmes.

Does melatonin help with insomnia?

According to NCCIH, the evidence is strongest for jet lag and delayed sleep-wake phase disorder. For chronic insomnia, current guidelines do not find strong enough evidence to recommend it. Talk to a healthcare provider before using it, especially if you take other medicines.

How long does melatonin stay in your system?

The half-life calculator on this site uses a melatonin preset of about 45 minutes, a population average that varies from person to person. That describes how quickly the level of a single dose falls, not whether it will help you sleep or when you should take it.

When should I see a doctor about sleep?

See a doctor if better habits have not helped, if poor sleep is affecting daily life, or if you notice loud snoring, gasping, restless legs, or dangerous daytime sleepiness. Bring a list of everything you take, and do not stop a prescribed medicine on your own.

Where to start

Pick one change this week: a fixed wake-up time, every day, including the weekend. Keep it for two weeks before judging it. If sleep is still a struggle after that, ask your doctor about CBT-I, and bring your full list of medicines and supplements to the appointment.

Sources

Download Doz on the App Store · Read the FAQ · More from the blog