What to Do When You Can't Sleep: Steps for Tonight and Habits for Tomorrow
What to Do When You Can't Sleep: Steps for Tonight and Habits for Tomorrow
Written by HealSend Clinical Team
Published 12/04/2026
Can't sleep? Here is what to do tonight, why you might be tired but wired, the daytime habits that help, how medicines and anxiety play in, and when it's time to get help.
Short answer: what to do when you can't sleep? Don't lie in bed fighting it. If you're not asleep within about 20 minutes, get up, do something calm in dim light, and go back to bed only when you feel sleepy. Then get up at your usual time the next morning and skip the nap. If sleepless nights happen 3 or more nights a week for more than 3 months, that's chronic insomnia, and it usually needs treatment such as cognitive behavioral therapy for insomnia (CBT-I).
Key takeaways
If you're not asleep within about 20 minutes, get up, do something calm in dim light, and return to bed when sleepy.
Keep your wake time steady and skip naps the next day, even after a bad night.
Hide the clock, keep screens away and skip alcohol before bed.
Medicines, anxiety and sleep apnea are common hidden reasons for poor sleep.
Trouble sleeping 3 or more nights a week for more than 3 months is chronic insomnia; CBT-I is the first-line treatment.
What to do tonight, step by step
These steps come from the techniques used in CBT-I, the treatment sleep specialists recommend first for long-term insomnia.
Hide the clock. Watching the minutes tick by adds pressure. Mayo Clinic suggests keeping the clock out of view.
Try a relaxation technique. Meditation, guided imagery or progressive muscle relaxation can help you settle.
Stop trying so hard. One CBT-I method is to "remain passively awake": once you're in bed, you try not to think about falling asleep at all.
Get up after about 20 minutes. If you still can't fall asleep, leave the bed and don't return until you're sleepy. This is called stimulus control. The goal is for your bed to become linked with sleep again, not with lying awake.
Keep screens and lights low. Light from screens can disrupt your sleep-wake cycle. Read something calm or listen to soothing music instead.
Skip the nightcap. Alcohol can make sleep lighter, so you may wake up more during the night.
Get up at your normal time. Sleeping in or napping, especially in the afternoon, makes the next night harder.
Insomnia care from a licensed provider
HealSend offers online insomnia care. A licensed US provider reviews your sleep, health history and medicines, recommends a plan, and if a prescription is appropriate, it ships from a licensed pharmacy.
Feeling exhausted but wide awake in bed is common. Short-term insomnia is often triggered by stress or changes in your schedule or environment. Other causes are worth ruling out:
Possible reason
Clues
What can help
Stress or a racing mind
Worry when the lights go off; a recent stressful change
Relaxation, a wind-down routine, and CBT-I if it persists
Caffeine, alcohol or late meals
Afternoon coffee, evening drinks, late dinners
Avoid caffeine in the afternoon and evening, and skip big meals and alcohol before bed
Screens before bed
Phone or laptop use right up to bedtime
Stop using electronics at least 30 minutes before bed
A late-running body clock
You can't fall asleep at a typical bedtime, and your natural sleep and wake times run at least 2 hours late
This may be delayed sleep phase, which is more common in teens and young adults; a clinician can help
Sleep apnea
Loud snoring, gasping, breathing pauses, daytime sleepiness, waking to urinate
See a clinician; insomnia can itself be a sign of sleep apnea
Medicines
Recently started a cold, allergy or other medicine
Ask a pharmacist or clinician whether it could affect sleep
Daytime habits that make nights easier
NHLBI and CDC suggest habits that support sleep over time:
Go to bed and get up at the same time every day, including weekends.
Keep your bedroom cool, quiet and dark.
Get regular physical activity during the day, at least 5 to 6 hours before bed.
Eat on a regular schedule, avoid late-night dinners, and limit fluids close to bedtime.
Build a wind-down routine, such as reading, soothing music or a warm bath.
Aim for enough sleep: CDC recommends 7 or more hours a night for adults 18 to 60.
One caution: habits alone often aren't enough for chronic insomnia. For long-term insomnia, NHLBI notes that CBT-I is usually the first treatment recommended.
Should you take a sleep aid?
For an occasional bad night, most people don't need one. For chronic insomnia, the American Academy of Sleep Medicine suggests against diphenhydramine (the antihistamine in many "PM" products) and melatonin. NHLBI adds that antihistamines can be unsafe for some people, that research hasn't proven melatonin works for insomnia, and that FDA doesn't review dietary supplements for safety and effectiveness before they're sold. If you're thinking about any sleep aid regularly, talk to a clinician first.
When medicines or anxiety are part of the picture
Two common, often-overlooked reasons for sleepless nights are the medicines you take and anxiety itself.
Medicines. Several widely used prescriptions list sleep problems as side effects:
Medicine
What the label or MedlinePlus reports about sleep
Sertraline (Zoloft)
Insomnia in 20% vs. 13% on placebo in pooled trials; sleepiness in 11% vs. 6%
Escitalopram (Lexapro)
Insomnia in 9% vs. 4% (depression trials) and 12% vs. 6% (anxiety trials)
Bupropion SR, 300 mg a day
Insomnia in 11% vs. 6%; MedlinePlus advises not taking it too close to bedtime if it disturbs sleep
Fluoxetine
MedlinePlus lists trouble sleeping and unusual dreams among common side effects
Propranolol
Label lists trouble sleeping and vivid dreams
Buspirone
MedlinePlus lists trouble falling or staying asleep among side effects
Theophylline, some cold and allergy medicines
Listed by NHLBI among medicines that can cause insomnia
Don't stop a prescribed medicine because of sleep changes. Ask your prescriber whether timing or another option could help.
Anxiety. NIMH lists trouble falling or staying asleep among the symptoms of generalized anxiety disorder, and racing thoughts at bedtime are a classic trigger for insomnia. CBT-I includes cognitive therapy aimed at worry about sleep, and anxiety itself is treatable with therapy and, when appropriate, medication. See CBT vs. medication for anxiety and does Zoloft make you sleepy?
When to talk to a provider
NHLBI defines chronic insomnia as trouble sleeping 3 or more nights a week for more than 3 months. See a clinician if that sounds like you, if poor sleep affects your work, mood or safety, or if you notice signs of sleep apnea such as loud snoring, gasping or breathing pauses. CBT-I, usually a 6- to 8-week program, is generally the first treatment recommended for long-term insomnia, and it can be done in person, by phone or online.
Bring a 1- to 2-week sleep diary and a list of your medicines and supplements. If you're unsure whether your pattern counts, see acute vs. chronic insomnia.
Sleeping badly most nights?
Answer a few questions about your sleep and health. A licensed US provider reviews them and suggests next steps, which may include CBT-I tools or, when appropriate, medication.
What should I do if I wake up at 3 a.m. and can't get back to sleep?
The same rules apply. Keep the clock out of sight, try relaxing, and if you're still awake after about 20 minutes, get up and do something calm until you're sleepy.
Is it better to stay in bed and rest if I can't sleep?
Generally no. Lying awake for long stretches can strengthen the link between your bed and being awake. Getting up and returning when sleepy is a core part of CBT-I.
Why am I tired but can't sleep?
Stress, caffeine or alcohol, screen use, a late-running body clock, sleep apnea and some medicines are common reasons. If it keeps happening, a clinician can help find the cause.
Should I take melatonin when I can't sleep?
Sleep guidelines suggest against melatonin for chronic insomnia, and research hasn't proven it works for insomnia. Ask a clinician about better-supported options.
How much sleep do adults need?
CDC recommends 7 or more hours a night for adults 18 to 60, 7 to 9 hours for ages 61 to 64, and 7 to 8 hours for 65 and older.
Can my medicine be keeping me awake?
Possibly. Insomnia is a listed side effect of several common medicines, including sertraline, escitalopram and bupropion. Ask your prescriber before changing when or how you take anything.
Should I read in bed if I can't sleep?
CBT-I suggests getting out of bed after about 20 minutes and reading something calm elsewhere in dim light, then returning when sleepy, so your bed stays linked with sleep.
This article is for informational purposes only and does not constitute medical advice. Talk with a licensed clinician about the risks and benefits of any treatment.