Sleep care that puts you firstGet started

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.

  1. Hide the clock. Watching the minutes tick by adds pressure. Mayo Clinic suggests keeping the clock out of view.
  2. Try a relaxation technique. Meditation, guided imagery or progressive muscle relaxation can help you settle.
  3. 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.
  4. 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.
  5. Keep screens and lights low. Light from screens can disrupt your sleep-wake cycle. Read something calm or listen to soothing music instead.
  6. Skip the nightcap. Alcohol can make sleep lighter, so you may wake up more during the night.
  7. 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.

Explore sleep care

Tired but can't sleep: common reasons

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 reasonCluesWhat can help
Stress or a racing mindWorry when the lights go off; a recent stressful changeRelaxation, a wind-down routine, and CBT-I if it persists
Caffeine, alcohol or late mealsAfternoon coffee, evening drinks, late dinnersAvoid caffeine in the afternoon and evening, and skip big meals and alcohol before bed
Screens before bedPhone or laptop use right up to bedtimeStop using electronics at least 30 minutes before bed
A late-running body clockYou can't fall asleep at a typical bedtime, and your natural sleep and wake times run at least 2 hours lateThis may be delayed sleep phase, which is more common in teens and young adults; a clinician can help
Sleep apneaLoud snoring, gasping, breathing pauses, daytime sleepiness, waking to urinateSee a clinician; insomnia can itself be a sign of sleep apnea
MedicinesRecently started a cold, allergy or other medicineAsk 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:

MedicineWhat 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 dayInsomnia in 11% vs. 6%; MedlinePlus advises not taking it too close to bedtime if it disturbs sleep
FluoxetineMedlinePlus lists trouble sleeping and unusual dreams among common side effects
PropranololLabel lists trouble sleeping and vivid dreams
BuspironeMedlinePlus lists trouble falling or staying asleep among side effects
Theophylline, some cold and allergy medicinesListed 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.

See if you qualify

FAQ

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.

15 Sources
  1. Mayo Clinic: Insomnia treatment, cognitive behavioral therapy instead of sleeping pills https://mayoclinic.org/diseases-conditions/insomnia/in-depth/insomnia-treatment/art-20046677
  2. NHLBI: Insomnia, Treatment (sleep habits, CBT-I, sleep aids) https://www.nhlbi.nih.gov/health/insomnia/treatment
  3. NHLBI: Insomnia (short-term and chronic insomnia) https://www.nhlbi.nih.gov/health/insomnia
  4. CDC: About Sleep (recommended hours and tips) https://cdc.gov/sleep/about/
  5. Mayo Clinic: Delayed sleep phase, symptoms and causes https://www.mayoclinic.org/diseases-conditions/delayed-sleep-phase/symptoms-causes/syc-20353340
  6. NHLBI: Sleep Apnea, Symptoms https://www.nhlbi.nih.gov/health/sleep-apnea/symptoms
  7. AASM: Pharmacologic treatment of chronic insomnia, guideline at a glance (2017) https://aasm.org/wp-content/uploads/2018/01/PharmInsomnia-Guideline-at-a-Glance.pdf
  8. FDA label: Zoloft (sertraline) prescribing information and Medication Guide (revised 8/2023) https://www.accessdata.fda.gov/drugsatfda_docs/label/2023/019839s108%2C20990s062lbl.pdf
  9. FDA label: Lexapro (escitalopram) prescribing information https://www.accessdata.fda.gov/drugsatfda_docs/label/2024/021365s041lbl.pdf
  10. FDA label: Wellbutrin SR (bupropion sustained-release) prescribing information (revised 11/2025) https://www.accessdata.fda.gov/drugsatfda_docs/label/2025/020358s070lbl.pdf
  11. DailyMed: Propranolol hydrochloride tablets prescribing information https://dailymed.nlm.nih.gov/dailymed/drugInfo.cfm?setid=63abab85-ec88-4fcf-a8e7-0850e5f797ee
  12. MedlinePlus: Fluoxetine https://medlineplus.gov/druginfo/meds/a689006.html
  13. MedlinePlus: Buspirone https://www.medlineplus.gov/druginfo/meds/a688005.html
  14. MedlinePlus: Bupropion https://medlineplus.gov/druginfo/meds/a695033.html
  15. NIMH: Generalized Anxiety Disorder, What You Need to Know (2025) https://www.nimh.nih.gov/health/publications/generalized-anxiety-disorder-gad

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.

Related Articles

Care that fits your life

  1. 1Free assessment by a licensed medical professional
  2. 2No in-person visit or insurance required
  3. 3Personalized plans based on your unique needs

*Prescription products require an online review by a licensed provider. Restrictions apply.

*All images feature a model portrayal (unless otherwise noted).