How to sleep better with insomnia: bedtime habits, a bedroom that helps, and when your mattress matters
Hi, we’re John and Mimi. Lying awake at 2 AM, watching the clock and doing the math on how many hours are left, is miserable. Below is what MedlinePlus and the NHS say about insomnia: what it is, what commonly causes it, the habits they suggest, and when to see a doctor. We’ve also added a few honest notes on the one part we know well, the bed itself.
A sincere note: we’re a family business, not doctors, and this is general guidance, not medical advice. If sleep problems are affecting your life, talk to your doctor. No mattress, pillow or adjustable base treats or cures insomnia.
The short answer
- Keep the same wake up time every day. Both sources recommend a regular schedule, and the NHS says to stick to it even after a bad night.
- Only go to bed when you’re sleepy, and if you can’t fall asleep within about 30 minutes, MedlinePlus says to get up, go to another room and do something quiet until you feel sleepy.
- Cut back on caffeine, alcohol and nicotine, skip daytime naps and put screens away before bed.
- Make the bedroom dark, quiet and a comfortable temperature. The NHS also says to make sure your mattress, pillows and covers are comfortable.
- See your doctor if better habits haven’t helped, it’s been going on for months, or it’s making daily life hard to cope with.
What insomnia is
MedlinePlus describes insomnia as trouble falling asleep, staying asleep, or waking up too early in the morning, and says it can come and go or be long-lasting. The NHS says you have insomnia if you regularly find it hard to go to sleep, wake up several times during the night, lie awake at night, wake up early and can’t get back to sleep, still feel tired after waking up, or feel tired, irritable and unable to concentrate during the day. It calls insomnia lasting less than 3 months short-term, and 3 months or longer long-term.
How much sleep is enough? The NHS says adults need 7 to 9 hours on average, and MedlinePlus says research indicates adults should get 7 to 9 hours, while noting that some people do fine on less and others need more. MedlinePlus adds that the quality of your sleep, and how rested you feel, matters as much as the number of hours.
What commonly causes it
The NHS lists the most common causes as:
- stress, anxiety or depression
- noise
- a room that’s too hot or too cold
- uncomfortable beds
- alcohol, caffeine or nicotine
- jet lag and shift work
MedlinePlus adds habits like going to bed at a different time each night, napping in the day, too much noise or light, spending a lot of time in bed awake, not getting enough exercise, and using a TV, computer or phone in bed. Both sources also mention health problems that can keep you up, including pain, sleep apnea, restless legs (NHS), menopause (NHS) and needing the bathroom at night (MedlinePlus), and both say some medicines can affect sleep.
The habits MedlinePlus and the NHS suggest
The NHS says insomnia usually gets better by changing your sleeping habits, and MedlinePlus says that in the long run, changes in lifestyle and sleep habits are the best treatment for trouble falling and staying asleep. Between them, they suggest:
- A steady schedule. Wake up and get out of bed at the same time every day (NHS). Go to bed around the same time too, but not more than 8 hours before you expect to start your day (MedlinePlus). Don’t sleep in after a bad night (NHS).
- No naps. Both say not to nap during the day, and MedlinePlus adds the evening too.
- Caffeine, alcohol and smoking. The NHS says not to smoke or drink alcohol, tea or coffee for at least 6 hours before bed. MedlinePlus says to cut back on all three.
- Food and exercise timing. Exercise regularly in the day (both), but not in the 4 hours before bed (NHS); MedlinePlus says to avoid anything that raises your heart rate in the 2 hours before bed. Skip big meals late at night (NHS), at least 2 hours before sleep (MedlinePlus).
- Wind down. Relax for at least an hour before bed, for example with a bath or a book (NHS). MedlinePlus suggests writing your worries in a journal before bed so your mind is quieter.
- Screens away. The NHS says not to watch TV or use devices like smartphones right before bed, because the blue light makes you more awake. MedlinePlus says not to watch TV or use a computer near the time you want to fall asleep.
- Bed is for sleeping. MedlinePlus says not to eat or work in bed, and the NHS says to only go to bed when you’re sleepy.
- The 30 minute rule. If you can’t fall asleep within 30 minutes, MedlinePlus says to get up, move to another room and do a quiet activity until you feel sleepy.
MedlinePlus also notes that the harder people with insomnia try to sleep, the more frustrated they get and the harder sleep becomes, and that new habits can take some time if you’ve had the old ones for years.
Setting up a bedroom that helps
This is the part the sources say plainly: the NHS says to make sure your bedroom is dark and quiet, using curtains, blinds, an eye mask or ear plugs if needed, and MedlinePlus says to make sure your sleep area is quiet, dark and at a temperature you like. A few practical ways to get there:
- Block the light. Blackout curtains or an eye mask, and cover or turn away glowing chargers and clocks.
- Turn the clock around. Watching the minutes tick by at 3 AM is part of the frustration MedlinePlus describes.
- Get the temperature right. The NHS lists a room that’s too hot or cold among the common causes. If you run warm, lighter covers and a breathable pillow help; our best cooling mattress and best cooling pillow guides compare what we sell. If hot flashes wake you, see best mattress for night sweats.
- Charge the phone across the room. It keeps screens out of bed and gives you a reason to get up to turn off the alarm.
Could your mattress be part of the problem?
Maybe. The NHS lists uncomfortable beds among the most common causes of insomnia, and its do list includes making sure your mattress, pillows and covers are comfortable. Neither source says any particular mattress fixes insomnia, and we won’t either. But if you wake up sore, roll into a dip in the middle, or sleep better on a hotel or guest bed than your own, the bed is worth a look before you spend money on anything else.
- Check its age and shape. Our how long does a mattress last guide lists the signs it’s worn out, and how to fix a sagging mattress shows how to check for a dip.
- Check your pillow. A flat or lumpy pillow is a cheap fix. See how to choose a pillow.
- Pick a firmness for how you sleep. Our mattress firmness guide explains the scale.
| Product | From the listing | Why it may suit you |
|---|---|---|
| 12" Copper Gel Memory Foam Mattress | Medium firm, for back and side sleepers; 2" copper memory foam top layer for cooling comfort, 1" memory foam to limit motion transfer, edge support, zip-off machine-washable cover, CertiPUR-US certified foams, 10-year limited warranty | If your old bed is sagging or sleeps hot; less motion when a partner gets up at night |
| Reactive Shredded Memory Foam Pillow | Shredded reactive foam you can remove to set the height, cooling-fiber zip-off cover, 5" loft, 3-year limited warranty | Set the height you find comfortable instead of stacking pillows |
| Cryo-Chill Phase Change Pillow | Phase-change coating that absorbs or releases body heat, ventilated memory foam, washable cooling zip-off cover, 4.5" loft, 3-year limited warranty | If a warm pillow has you flipping it to the cool side all night |
Our 12" Copper Gel is the mattress we’ve slept on at home for 8 years. If you share the bed with someone who has restless legs or snores, see best mattress for restless legs or best mattress for sleep apnea.
Sleep aids and sleeping pills
The NHS says pharmacy sleep aids, some with ingredients like valerian or lavender and others with an antihistamine, cannot cure insomnia but may help for 1 to 2 weeks and should not be taken for longer, and that some can make you drowsy. MedlinePlus says most over-the-counter sleeping pills contain antihistamines that your body quickly gets used to, and that prescription sleep medicines can become habit-forming and work less well over time. Both say to check with your doctor before taking anything for sleep. Both also mention cognitive behavioral therapy (CBT, or CBT-I for insomnia), a talk therapy a doctor may offer to help change the thoughts and habits that keep you awake.
When to see a doctor
The NHS says to see a doctor if:
- changing your sleeping habits has not helped
- you’ve had trouble sleeping for months
- your insomnia is affecting your daily life in a way that makes it hard to cope
MedlinePlus says to contact your provider if insomnia has become a problem, and also if you are feeling sad or depressed, pain or discomfort is keeping you awake, a medicine may be keeping you awake, or you’ve been taking sleep medicine without talking to your provider first. Both sources warn about driving tired: the NHS says not to drive when you feel sleepy, and MedlinePlus says if you feel sleepy while driving, pull over and take a break.
Does a new mattress cure insomnia?
No, and neither MedlinePlus nor the NHS says it does. What the NHS does say is that an uncomfortable bed is one of the common causes and that a comfortable mattress, pillows and covers belong on the list. MedlinePlus says most people are able to sleep by practicing good sleep habits. So start with the habits and the room, check whether your bed is worn out, and only replace what actually needs it.
Shop this guide
If your bed or pillow is the part that needs replacing, these are where most people start.
- 12" Copper Gel Infused Cooling Memory Foam Mattress - Medium Firm, Back & Side Sleepers, from $369. Medium firm copper gel memory foam with a washable zip-off cover.
- Reactive Shredded Memory Foam Pillow with Adjustable Loft Height, from $77. Remove foam to set the height you like.
- Cryo-Chill Cooling Phase Change Memory Foam Pillow, from $75. Phase-change coating for a pillow that sleeps cooler.
Questions we hear a lot
What should I do if I can’t fall asleep?
MedlinePlus says that if you cannot fall asleep within 30 minutes, get up, move to another room and do a quiet activity until you feel sleepy. The NHS says to only go to bed when you are sleepy, and to keep the same wake up time every day, even after a bad night.
Can an uncomfortable mattress cause insomnia?
It can play a part. The NHS lists uncomfortable beds among the most common causes of insomnia, along with stress, noise, a room that is too hot or cold, and alcohol, caffeine or nicotine, and it says to make sure your mattress, pillows and covers are comfortable. No mattress cures insomnia, but if yours is sagging or worn out it is worth a look. Questions? Text John at 818-924-3744.
How much sleep do adults need?
The NHS says adults need 7 to 9 hours on average, and MedlinePlus says research indicates adults should get 7 to 9 hours. MedlinePlus adds that how rested you feel matters as much as how long you sleep.
Are sleep aids a good idea for insomnia?
The NHS says pharmacy sleep aids cannot cure insomnia, may help for 1 to 2 weeks and should not be taken for longer. MedlinePlus says your body quickly gets used to most over-the-counter sleeping pills. Both say to check with your doctor before taking anything for sleep.
When should I see a doctor about insomnia?
The NHS says to see a doctor if changing your sleeping habits has not helped, you have had trouble sleeping for months, or it is making daily life hard to cope with. MedlinePlus also says to contact your provider if you feel sad or depressed, or if pain or a medicine is keeping you awake.
Text John before you buy anything
Text John what you’re sleeping on now, how old it is, whether you wake up sore or hot, and whether you share the bed. He’ll tell you honestly whether it sounds like the bed or whether a pillow, or nothing at all, makes more sense. Text or call 818-924-3744, 6 AM to 9 PM Pacific.
Written by John & Mimi Venti, MimiJohn. Product details are from our listings. The rest is general guidance, not medical advice. No mattress, pillow or adjustable base treats or cures insomnia. Health information is from MedlinePlus, U.S. National Library of Medicine (Insomnia, reviewed May 15, 2026; Changing your sleep habits, reviewed April 10, 2026) and the NHS (Insomnia, last reviewed March 19, 2024), all checked December 3, 2026. Always follow your doctor’s advice first. Prices are read live from our catalog and update automatically.