Your Cart
Loading

Exercise and Sleep: Can Working Out Help You Sleep Better?

Exercise and Sleep: Can Working Out Help You Sleep Better?


The Complete Sleep & Recovery Guide


Exercise is one of those rare health habits that seems to show up on almost every list.

Want better cardiovascular health?

Exercise.

Want to maintain muscle?

Exercise.

Want better metabolic health?

Exercise.

Want to sleep better?

Yep.

Exercise again.

And unlike many "sleep hacks," there's a meaningful body of research supporting the connection.

A 2025 systematic review and meta-analysis involving 81 randomized controlled trials and more than 6,000 participants found that exercise improved both subjective sleep quality and objectively measured sleep efficiency.

But that doesn't mean you need to destroy yourself in the gym to earn eight hours of sleep.

You also don't necessarily need to exercise first thing in the morning.

And despite what you've probably heard, working out in the evening doesn't automatically ruin your sleep.

The useful question is:

How can you use regular physical activity to support better sleep without turning exercise into another complicated sleep rule?

Let's get into it.


Does Exercise Help You Sleep Better?

For many people, yes.

Research increasingly supports regular physical activity as a useful non-drug strategy for improving sleep.

A 2024 systematic review and network meta-analysis of randomized trials concluded that exercise interventions improved sleep quality in adults.

Another 2024 meta-analysis specifically examining people with insomnia found improvements in both subjective and objectively measured sleep outcomes following exercise interventions.

That doesn't mean:

One workout tonight = amazing sleep tonight.

The more useful takeaway is:

Regular physical activity appears to support healthier sleep over time.

That's another reason exercise belongs in your overall sleep system.


How Does Exercise Affect Sleep?

There probably isn't one single mechanism.

Exercise affects multiple systems that can influence sleep.

Regular physical activity may help through changes involving:

  • Sleep pressure
  • Circadian rhythms
  • Body temperature regulation
  • Stress
  • Mood
  • Physical fitness
  • Metabolic health

Exercise also creates a stronger distinction between:

active daytime

and

restful nighttime.

That fits with the daytime sleep habits we discussed in Morning Habits for Better Sleep: Why Your Daytime Routine Matters at Night.

Your sleep isn't something your body begins thinking about five minutes before bedtime.

It's influenced by the entire day.


Exercise May Help Improve Sleep Quality

Sleep quality isn't simply:

How many hours did I spend in bed?

You also care about:

  • How easily you fall asleep
  • How continuously you sleep
  • How refreshed you feel afterward
  • Whether you're functioning well during the day

Recent research suggests exercise can improve both how people perceive their sleep and some objectively measured sleep outcomes.

The 2025 meta-analysis mentioned earlier found an improvement in subjective sleep quality along with an average improvement in measured sleep efficiency.

That's encouraging.

But don't turn exercise into a guaranteed sleep treatment.

Individual results vary.


Exercise May Help People With Insomnia Too

Exercise has also been studied specifically in people experiencing insomnia.

A 2024 systematic review and meta-analysis of 19 studies found significant improvements in both subjective and objective sleep measures following exercise interventions.

An umbrella review published the same year similarly concluded that several forms of exercise may improve sleep quality, total sleep time and insomnia symptoms.

But there's an important distinction:

Exercise can support sleep.

It is not necessarily a replacement for evidence-based insomnia treatment.

For chronic insomnia, cognitive behavioral therapy for insomnia—usually called CBT-I—remains a major recommended treatment. NHLBI describes CBT-I as typically the first treatment option for long-term insomnia.

So if you've been struggling with persistent insomnia for months, don't assume you simply need harder workouts.


What Is the Best Exercise for Sleep?

Here's the good news:

You have options.

Research has found sleep benefits from several types of exercise.

These include:

Aerobic exercise

Resistance training

Combined aerobic and resistance exercise

and

mind-body exercise

such as yoga and similar activities.

A large 2025 analysis found benefits across several exercise categories, with aerobic exercise performing particularly well for objective sleep efficiency.

A separate 2024 network meta-analysis found significant sleep-quality improvements with aerobic, combined and several mind-body exercise approaches.

So there probably isn't one magical:

BEST EXERCISE FOR SLEEP.

That's useful because it means you can choose something you'll actually continue doing.


Walking Counts

Yes.

You knew this was coming.

😂

Walking is physical activity.

And you don't need a gym membership or a sophisticated training program to potentially benefit your sleep.

Recent meta-analytic research examining many exercise trials has found walking among the activities associated with improvements in subjective sleep quality, although the certainty around comparisons between specific exercise types remains limited.

Walking also has several practical advantages.

It's:

  • Accessible
  • Inexpensive
  • Easy to recover from
  • Easy to combine with outdoor light
  • Easy to repeat consistently

And that last one matters.

The best exercise program for sleep probably isn't the theoretically perfect program you quit after six days.

It's the one you keep doing.

We'll dig into walking specifically in the next Sleep & Recovery article.


Aerobic Exercise and Sleep

Aerobic exercise includes activities such as:

  • Brisk walking
  • Cycling
  • Jogging
  • Swimming
  • Hiking
  • Rowing
  • Cardio machines

Research supports aerobic exercise as one useful option for improving sleep.

The 2025 network meta-analysis found aerobic exercise was particularly effective among the studied categories for improving objective sleep efficiency.

That doesn't mean you need hours of cardio.

Regular moderate activity can be enough to build a sustainable routine.


Strength Training and Sleep

You don't have to choose cardio.

Resistance training may also support sleep.

Strength training can include:

  • Free weights
  • Machines
  • Resistance bands
  • Bodyweight exercises
  • Circuit training

A 2024 umbrella review of exercise for insomnia found evidence that resistance-based approaches, along with aerobic and mind-body exercise, could improve several sleep outcomes.

Strength training also has benefits far beyond sleep, particularly for maintaining:

muscle

strength

and

physical function.

So if you already lift:

Keep lifting.

You don't need to replace your strength workouts with yoga because somebody labeled yoga a "sleep exercise."


What About Yoga?

Yoga and other mind-body forms of exercise have also shown promising results.

A 2024 network meta-analysis found that Pilates, yoga and traditional Chinese exercises significantly improved sleep quality compared with no-exercise controls in the included trials.

These activities may be particularly appealing if you want something combining:

movement

with

relaxation and lower physical intensity.

But again:

You don't need yoga specifically.

If you hate yoga, forcing yourself through it probably isn't your ideal long-term strategy.


Does More Exercise Mean Better Sleep?

Not necessarily.

This is where people can turn a useful habit into another optimization contest.

If:

30 minutes is good

then surely:

three hours must be amazing.

No.

Research hasn't established a simple linear relationship where more exercise always produces better sleep.

Different studies use different:

  • Exercise types
  • Intensities
  • Frequencies
  • Durations
  • Populations

A 2024 network meta-analysis found several exercise prescriptions improved sleep, but the authors also noted limitations in the evidence and the need for more research before declaring one precise prescription universally best.

The practical goal is:

regular physical activity you can recover from.

Not:

exhaust yourself every day so your body has no choice but to pass out.


You Don't Need to Exercise Until You're Exhausted

This is worth emphasizing.

Exercise can support sleep.

Exhaustion is not the mechanism you're chasing.

You don't need to finish every workout barely able to move.

A sustainable program might include:

Walking most days

plus

strength training a few times per week.

Or:

Cycling

plus

yoga.

Or:

Running

plus

resistance training.

Or simply:

More daily movement than you're doing now.

Build something that fits your life.


How Much Exercise Should You Get?

For overall health, U.S. physical activity guidelines recommend adults generally aim for at least:

150–300 minutes of moderate-intensity aerobic activity per week

or

75–150 minutes of vigorous aerobic activity

plus muscle-strengthening activity on at least two days per week.

You don't have to hit those numbers immediately to start becoming more active.

If you're currently doing almost nothing:

Start smaller.

Ten minutes matters.

Twenty minutes matters.

A walk matters.

The goal is to create a pattern you can build on.


Does Exercise Help You Fall Asleep Faster?

It may.

Research in people with insomnia suggests certain forms of exercise can reduce sleep-onset latency—the amount of time it takes to fall asleep.

But don't expect every workout to knock you out immediately.

Some nights you'll still take longer to fall asleep.

Stress matters.

Caffeine matters.

Schedule matters.

Light matters.

Your bedroom matters.

Exercise is one piece.


Does Exercise Help You Stay Asleep?

Potentially.

Research examining insomnia has found improvements in measures including sleep efficiency and wake time after sleep onset with certain exercise interventions.

Again, this doesn't mean exercise solves every cause of nighttime waking.

If you're repeatedly waking because of:

Sleep apnea.

Reflux.

Pain.

Medication effects.

A screaming toddler.

Your dog demanding to go outside.

exercise doesn't magically eliminate those problems.

You still need to identify what's actually waking you.


Does Exercise Increase Deep Sleep?

Maybe, but don't make this your goal.

Exercise can affect sleep architecture, but results vary depending on the study, exercise protocol and population.

And as we've discussed throughout this pillar, consumer wearables aren't perfect at identifying individual sleep stages.

So don't do this:

Workout → check deep-sleep score → judge workout.

That's not useful.

Your better indicators are:

Am I sleeping well overall?

Do I feel reasonably recovered?

Is my daytime energy improving?

Our guide Deep Sleep vs. REM Sleep: What’s the Difference & How Much Do You Need? explains why chasing exact sleep-stage numbers can become misleading.


What Time of Day Is Best to Exercise for Sleep?

There's no single best time for everyone.

Morning exercise can work.

Afternoon exercise can work.

Evening exercise can work.

The best time is often:

the time you can consistently exercise without interfering with your sleep.

Morning workouts have one nice advantage:

They can be combined with morning daylight.

A 20-minute outdoor walk gives you:

movement + light + routine

all at once.

That's efficient.

But if morning exercise doesn't fit your life:

Don't force it.


Is Working Out Before Bed Bad?

This is one of the biggest exercise-and-sleep myths.

You've probably heard:

Never exercise at night.

That's too absolute.

A systematic review and network meta-analysis examining evening exercise in healthy adults found that different intensities of acute evening exercise generally did not significantly worsen most sleep outcomes, although high-intensity evening exercise was associated with a modest reduction in REM sleep compared with no exercise.

So:

Evening exercise does not automatically ruin sleep.

But timing and individual response still matter.


Why Can Late Exercise Be a Problem for Some People?

Intense exercise can temporarily increase:

  • Heart rate
  • Body temperature
  • Alertness
  • Physiological arousal

Some people can finish a hard workout at 9 p.m., shower, and sleep perfectly well.

Others feel like:

LET'S GO RUN A MARATHON

for another three hours.

😂

That's why rigid rules aren't ideal.

If late exercise repeatedly leaves you wired:

Move it earlier if possible.

If you train at 7 p.m. and sleep beautifully at 10:30:

You probably don't need to manufacture a problem.


How Close to Bed Can You Exercise?

There's no universal cutoff.

NHLBI's general sleep guidance recommends using the hour before bed for quiet time and avoiding intense exercise immediately before sleep.

For people being treated for insomnia, NHLBI provides more conservative advice, suggesting regular daytime physical activity several hours before bedtime.

So a practical approach is:

Hard workouts: Give yourself some time to cool down and transition before bed.

Light activity: Often less concerning.

Personal experience: Pay attention.

If exercise close to bed doesn't affect you:

Fine.

If it does:

Move it.


What About a Walk After Dinner?

A relaxed evening walk is very different from a brutal HIIT session.

A short walk after dinner can be a nice way to:

Move.

Get outside.

Transition away from work.

Reduce screen time.

Build a consistent evening habit.

And because it's relatively low intensity, it may be easier to fit near bedtime than a demanding workout.

This is one reason walking deserves its own article.


What About HIIT Before Bed?

High-intensity interval training creates more physiological stimulation than a casual walk.

That doesn't mean nighttime HIIT is forbidden.

But if you're doing:

Sprints.

Hard intervals.

CrossFit-style conditioning.

or another demanding workout

immediately before trying to sleep, pay attention to how you respond.

If you're lying in bed with your heart rate still elevated and your brain fully awake:

That's useful information.

Move the workout earlier.

No research paper required.


What About Strength Training at Night?

Same principle.

Many people lift after work because that's when their schedule allows it.

If evening strength training:

Fits your life.

Doesn't delay bedtime.

Doesn't leave you excessively stimulated.

and

Doesn't interfere with sleep.

then there's no obvious reason to stop.

A workout you consistently perform at 6:30 p.m. is probably more useful than the theoretical 10 a.m. workout you never actually do.


Exercise Can Also Improve Your Daytime Routine

Exercise may help sleep directly.

But it can also improve the structure of your day.

Suppose you start walking every morning.

Now you have:

A more consistent wake time

Morning light exposure

Physical activity

Less time sitting

and potentially

better daytime energy.

Several sleep-supportive behaviors start stacking together.

That's much more powerful than looking for one perfect sleep hack.


Outdoor Exercise Gives You Two Sleep-Friendly Habits at Once

This is one of my favorite practical combinations.

Go outside and move.

You get:

physical activity

plus

daytime light exposure.

That could mean:

  • Morning walk
  • Lunchtime walk
  • Hiking
  • Outdoor cycling
  • Yard work
  • Running
  • Playing a sport

No special equipment required.

No sleep supplement required.

No $300 wearable required.

Just go outside and do something.


Exercise Won't Compensate for Too Little Sleep

This is important.

You cannot regularly sleep five hours and then:

exercise your way out of sleep deprivation.

Exercise supports sleep.

It does not replace sleep.

If your schedule only gives you five hours in bed, the biggest problem isn't that you haven't found the right workout.

It's that you're not giving yourself enough sleep opportunity.

Our guide How Much Sleep Do You Need? A Practical Guide by Age & Lifestyle covers this in more detail.

Protect sleep time first.


Don't Sacrifice Sleep to Exercise

This is the flip side.

Suppose you need to wake at 6 a.m.

But you're going to bed at midnight.

Then you decide:

I should wake at 4:30 to work out because exercise improves sleep.

No.

😂

You've just cut your sleep even further in order to perform a habit that's supposed to support your health.

If your only exercise option requires chronically sacrificing necessary sleep:

Something needs to change.

Exercise matters.

Sleep matters too.

The goal is to build a system where they support each other.


Poor Sleep Can Make Exercise Harder Too

The relationship works both ways.

You may notice that after a bad night:

Motivation drops.

Training feels harder.

Recovery feels worse.

You're more likely to skip the workout.

Then less activity may contribute to another less-structured day.

That's how habits can begin interacting.

Instead of treating sleep and exercise as separate projects, think of them as parts of the same recovery system.


Exercise and Recovery

Exercise creates physical stress.

Recovery is when your body adapts to it.

That makes sleep particularly important for people who:

Lift weights.

Run.

Play sports.

Train intensely.

Want to build or maintain muscle.

We're going to cover this relationship in much more depth later in the pillar in:

Sleep and Muscle Recovery: Why Sleep Matters for Strength, Performance & Muscle Growth

For now, the main point is simple:

Exercise and sleep should work together.

Don't optimize one by destroying the other.


What If You're Too Tired to Exercise?

This happens.

Especially when sleep has already been poor.

Don't make the choice:

Hard workout or nothing.

There are levels.

If you're exhausted:

Take a walk.

Do a shorter session.

Reduce intensity.

Perform some light movement.

Then prioritize getting back to a better sleep routine.

Consistency doesn't mean every workout has to be heroic.


What If You're Completely Sedentary Right Now?

Start embarrassingly small.

Seriously.

You don't need:

Five workouts per week.

Try:

10-minute walk after lunch.

Once that's automatic:

Make it 15.

Then 20.

Maybe eventually add strength training.

The purpose is to build a habit that survives longer than your initial motivation.

Sleep benefits from exercise aren't dependent on you becoming an athlete.


A Simple Exercise Plan for Better Sleep

You don't need a specialized "sleep workout."

Try something like:

Most Days

20–30 minutes of walking or other moderate activity

2–3 Days Per Week

Basic resistance training

Optional

Light mobility, stretching or yoga.

That's it.

You can adjust from there based on:

Fitness.

Goals.

Schedule.

Recovery.

And what you actually enjoy.


The Best Exercise for Sleep Is the One You'll Repeat

This sounds cliché.

It's still true.

Imagine:

Plan A

"Scientifically optimized sleep workout"

that you hate and stop doing after eight days.

Plan B

30-minute walk you enjoy and perform five days per week for a year.

I'll take Plan B.

The research doesn't require one exact exercise modality to support sleep.

Multiple forms of exercise appear beneficial.

Consistency matters.


Try a 2-Week Exercise and Sleep Experiment

If you want to know whether movement affects your sleep:

Test it.

For two weeks:

Aim for some intentional physical activity most days.

It doesn't need to be intense.

Track:

  • Exercise type
  • Exercise time
  • Exercise duration
  • Bedtime
  • Approximate sleep duration
  • Difficulty falling asleep
  • Nighttime awakenings
  • Morning energy
  • Daytime energy

Then compare:

Active days

with

inactive days.

You may start seeing patterns.


Don't Change Everything at Once

If you're simultaneously:

Starting exercise.

Stopping caffeine.

Changing bedtime.

Buying blackout curtains.

Deleting TikTok.

Changing dinner time.

and

Taking three new supplements...

you won't know what actually helped.

Pick one or two variables.

Track them.

Adjust.

That's the HabitLogics approach:

Track → Identify → Adjust → Repeat.


Use Exercise as Part of the Whole Sleep System

Exercise works best when the rest of your sleep habits aren't fighting against it.

You still need to consider:

Sleep opportunity

Schedule consistency

Caffeine

Evening light

Bedroom environment

Stress

Meal timing

Underlying sleep problems

Our guide How to Sleep Better Naturally: 12 Habits That Actually Matter brings those pieces together.

Exercise is one powerful lever.

Not the only lever.


Track Exercise Alongside Sleep and Energy

If you're trying to figure out whether activity is improving your sleep, tracking both together makes the relationship easier to see.

The FREE 7-Day Sleep Reset | Sleep & Recovery Starter Kit is a simple place to start if you want to establish your baseline and identify the biggest sleep-related habits worth changing.

For longer-term tracking, the Sleep Recovery Planner | Sleep Tracker and Energy Journal lets you track sleep, energy, caffeine and daily routines using a fillable PDF and Excel dashboard.

You don't need to track forever.

Track long enough to learn.


When Exercise Isn't Enough

Exercise can support sleep.

It can't fix everything.

Talk with a healthcare professional if you're experiencing:

  • Persistent insomnia
  • Severe daytime sleepiness
  • Loud habitual snoring
  • Gasping or choking during sleep
  • Repeated breathing pauses
  • Sleep problems significantly affecting daily functioning
  • Persistent exhaustion despite adequate sleep opportunity

Don't spend six months trying increasingly elaborate workouts if the real problem is an untreated sleep disorder.


Frequently Asked Questions

Does exercise help you sleep better?

Research suggests regular exercise can improve sleep quality in adults. Recent meta-analyses of randomized controlled trials have found improvements in subjective sleep quality and some objectively measured sleep outcomes.

What exercise is best for sleep?

There isn't one universally best type.

Research supports several forms of exercise, including aerobic activity, combined aerobic and resistance exercise and mind-body activities.

Choose something you can perform consistently.

Is walking good for sleep?

Walking counts as physical activity, and recent research has found walking among exercise approaches associated with improvements in subjective sleep quality.

We'll cover walking and sleep specifically in the next article.

Is working out before bed bad?

Not automatically.

Research examining evening exercise has generally not found that all evening exercise worsens sleep, although very intense exercise close to bedtime may affect some people differently.

How long before bed should I stop exercising?

There's no universal cutoff.

NHLBI recommends keeping the hour before bedtime relatively quiet and avoiding intense exercise immediately before bed.

If late workouts consistently leave you alert or uncomfortable, move them earlier.

Can exercise help insomnia?

Research suggests exercise can improve sleep outcomes and insomnia symptoms, although chronic insomnia may require specific treatment such as CBT-I.

Does exercise increase deep sleep?

Exercise can influence sleep, but you shouldn't use one night's wearable-estimated deep-sleep number to judge whether a workout "worked."

Focus on overall sleep quality, consistency and daytime functioning.

Is morning exercise better for sleep?

Not necessarily.

Morning exercise can conveniently combine movement with daytime light exposure, but afternoon or evening exercise can also work.

The best timing is one that fits your schedule and doesn't interfere with your sleep.

Should I exercise when I'm tired?

It depends on how tired you are and why.

A lighter walk or reduced-intensity session may be appropriate when you're mildly tired.

If you're severely sleep deprived, ill or struggling to function safely, recovery may deserve priority.

Can too much exercise hurt sleep?

Excessive training without adequate recovery can become counterproductive.

More exercise isn't automatically better.

Build a sustainable activity level that allows adequate recovery and sleep.


Key Takeaways

Exercise really can be part of a better-sleep strategy.

Research supports benefits from:

Aerobic exercise

Strength training

Combined exercise

Walking

and

mind-body activities.

You don't need one perfect workout.

You don't need to exercise in the morning.

You don't necessarily need to avoid evening exercise.

And you definitely don't need to destroy yourself physically just to feel tired at bedtime.

Instead:

Move regularly.

Choose activities you'll repeat.

Pay attention to how workout timing affects you.

Don't sacrifice sleep to exercise.

Give the habit enough time to work.

Exercise supports sleep.

Sleep supports recovery from exercise.

That's the relationship we're trying to build.


Start With More Movement, Not a Perfect Program

If you're sedentary right now, start with something simple.

Take a walk.

Do it again tomorrow.

Build from there.

If you're already exercising, don't overhaul your routine just because you're trying to improve sleep.

Instead, track how:

exercise timing

activity level

sleep quality

and

energy

interact.

The FREE 7-Day Sleep Reset | Sleep & Recovery Starter Kit can help you establish your baseline, while the Sleep Recovery Planner | Sleep Tracker and Energy Journal gives you a longer-term way to track your sleep and recovery patterns.

Related Sleep & Recovery Guides

Morning Habits for Better Sleep: Why Your Daytime Routine Matters at Night

How to Sleep Better Naturally: 12 Habits That Actually Matter

How Much Sleep Do You Need? A Practical Guide by Age & Lifestyle

Eating Before Bed: Does Late-Night Eating Affect Your Sleep?

Next in the Sleep & Recovery series:

Walking for Better Sleep: Can a Daily Walk Improve Sleep Quality?


Medical Disclaimer: This article is for educational and informational purposes only and is not intended as medical advice, diagnosis or treatment. Exercise needs vary based on health, fitness level and individual circumstances. If you have a medical condition, significant exercise limitations or persistent sleep problems, speak with a qualified healthcare professional.