ReApp
All articles
8 min read

Box Breathing for Anxiety and Sleep: How to Do It

The short answer: box breathing means inhaling, holding, exhaling, and holding again for equal counts, often four seconds each. It gives an anxious mind something simple to follow and can help shift your body toward a calmer state. Research and clinical guidance support slow, structured breathing for stress and anxiety. Evidence that box breathing alone improves sleep is weaker, so treat it as a calming tool at bedtime, not a guaranteed sleep cure.

What is box breathing?

Box breathing (also called square breathing, four-square breathing, or 4-4-4-4 breathing) is a paced breathing pattern with four equal sides:

  1. Inhale for a count of 4
  2. Hold for a count of 4
  3. Exhale for a count of 4
  4. Hold for a count of 4
  5. Repeat

Cleveland Clinic describes it as a simple technique used by stressed people everywhere, including in high-pressure professions, and notes that regulating the breath can help you move out of "fight or flight" into the parasympathetic "rest and digest" state (Cleveland Clinic).

You do not need perfect timing. If a count of 4 feels like a strain, use 3. Keep the breaths gentle.

Why equal counts can help anxiety

When you are anxious, breathing often becomes shallow and fast, which can feed the feeling of being on edge. Giving your attention a clear pattern, inhale, hold, exhale, hold, can interrupt that loop in two ways:

  • Physiology: slow, controlled breathing is linked to greater parasympathetic activity and to feelings of relaxation and reduced anxiety (Bentley et al., 2023; Zaccaro et al., 2018).
  • Attention: counting gives a racing mind a temporary job, which is why many people find box breathing useful when thoughts are spinning.

The NHS recommends regular practice of calming breathing exercises as part of managing stress, not only in the middle of a crisis (NHS). An NHS trust leaflet used in clinical settings also teaches box breathing with counts of 4 around an imagined square (Sherwood Forest Hospitals NHS).

For more context on how breathing fits into long-term regulation, see how to regulate your nervous system.

What the evidence says (and what it doesn't)

In the same Stanford randomized trial that tested cyclic sighing, one group practiced box breathing for five minutes a day for a month. Participants in that group showed daily improvements in positive mood and reductions in state anxiety after the exercise, similar in direction to other breathwork groups (Balban et al., 2023). Cyclic sighing produced the strongest gains in positive mood and the clearest drop in resting breathing rate, but box breathing still helped.

Important caveats:

  • The volunteers were healthy adults, not people with moderate to severe psychiatric conditions.
  • Sleep measures in that study did not show significant improvements for any group, including box breathing.
  • Cleveland Clinic says studies show regulating breath can lower cortisol and may help blood pressure (Cleveland Clinic). That is a general breathwork claim. We will not invent a specific "box breathing lowers cortisol by X%" number that the page does not give.

So the honest pitch is: box breathing is a practical anxiety-calming skill with supportive evidence. It is not proven as a standalone sleep treatment.

How to do box breathing step by step

  1. Sit upright or lie down. Soften your jaw and shoulders.
  2. Exhale gently to empty a little air.
  3. Inhale through your nose for 4 counts.
  4. Hold for 4 counts (do not clamp your throat; just pause).
  5. Exhale through your nose or mouth for 4 counts.
  6. Hold empty for 4 counts.
  7. Repeat for 3 to 4 rounds at first, or up to about five minutes.

Cleveland Clinic recommends starting at your comfort level and practicing once or twice a day even when you feel fine, so the skill is available when stress hits (Cleveland Clinic).

Common mistakes

  • Forcing huge breaths. Soft and steady beats big and dramatic.
  • Holding until you panic. Shorten the counts.
  • Only using it in a crisis. Skills stick better with daily reps.
  • Expecting instant sleep. Use it to calm the body; sleep may follow, or it may not on a given night.

If breath-focus makes you more anxious, switch to grounding or extended-exhale options, or try the physiological sigh.

Grounding, muscle relaxation, and other quick options are collected in anxiety relief techniques that work in the moment.

Box breathing for anxiety in the moment

Use it when:

  • Your heart is racing before a call or meeting
  • You feel overwhelmed and need one concrete action
  • You catch yourself about to open a stress-feed on autopilot

A useful rule: do one full "box" before you unlock a high-temptation app. That tiny delay is often enough to notice what you actually need. For the habit side of that problem, read how to stop doomscrolling and does screen time cause anxiety.

ReApp builds a breathing pause into the unlock. You pick the apps. Opening one takes 30 seconds of slow breathing first, so you get a regulation rep at the exact moment the urge hits. Get ReApp on iPhone.

Box breathing for sleep: realistic expectations

Many people use box breathing in bed because it is quiet, no-equipment, and gives the mind a pattern. Sleep Foundation materials on anxiety and sleep include box-style paced breathing among relaxation options people can try (Sleep Foundation). The NHS also recommends a calm wind-down, limited late caffeine and alcohol, and fewer devices before bed as part of insomnia self-help (NHS).

What to do at night:

  1. Dim lights and put the phone across the room.
  2. Do 3 to 5 minutes of box breathing, or switch to a longer exhale if holds feel agitating.
  3. If you are still awake after about 20 minutes, get up and do something calm until sleepiness returns (a common CBT-I style tip covered in our how to fall asleep with anxiety guide).

If nighttime worry is the main issue, also read anxiety at night and revenge bedtime procrastination.

Box breathing vs physiological sigh

Box breathing Physiological sigh
Pattern Equal 4-part cycle Double inhale, long exhale
Mental load Higher (four counts) Lower
Best when Mind is racing and likes structure Stress spikes and you want the fastest calm
Trial note Helped mood and state anxiety in Balban 2023 Strongest positive-mood and breathing-rate effects in that trial

Neither is "wrong." Prefer box breathing when you need a mantra-like count. Prefer the sigh when you want fewer steps.

When to talk to a professional

Breathing exercises can support everyday stress, but they are not treatment for an anxiety disorder or chronic insomnia. Please reach out to a doctor or licensed mental health professional if:

  • Worry or panic is hard to control, lasting, or getting worse (NIMH).
  • Sleep problems happen most nights and leave you exhausted during the day (NHS).
  • You rely on alcohol or other substances to calm down or sleep.

Cognitive behavioral therapy for insomnia (CBT-I) is a first-line approach for chronic insomnia (Sleep Foundation). In the U.S., call or text 988 in a crisis (988lifeline.org).

FAQ

How long should I box breathe for anxiety?

Start with 1 to 2 minutes (a few rounds). For a daily practice, about five minutes matches the duration used in the Stanford breathwork trial.

Can box breathing make anxiety worse?

Sometimes, especially if breath-holding feels uncomfortable or if focusing on the breath increases body awareness in an unhelpful way. Shorten the counts, skip the holds, or switch to extended-exhale breathing.

Is box breathing good for sleep?

It can help you feel calmer in bed. The Balban 2023 trial did not find significant sleep improvements from box breathing, so use it as a wind-down tool alongside sleep habits, not as a guaranteed fix.

How is box breathing different from 4-7-8?

4-7-8 uses unequal counts with a longer exhale and no second hold. Box breathing keeps all four parts equal. Both are forms of paced breathing.

Should I breathe through my nose or mouth?

Inhale through the nose when you can. Exhale through the nose or mouth, whichever feels easier and quieter for your setting.

The bottom line

Box breathing is a simple four-part pattern that can calm a racing mind and support your body's "brake" system. Practice it briefly when stress rises, and optionally for a few minutes each day so it is ready when you need it. For sleep, pair it with a real wind-down and fewer late-night feeds. If anxiety or insomnia keeps running your life, get proper support.

Want a calm pause before the next scroll? ReApp turns each reach for a blocked app into 30 seconds of slow breathing. Get ReApp on iPhone.


This article is for general information only and isn't medical advice. ReApp is a wellness app, not a medical device, and doesn't diagnose or treat any condition. If you're struggling, please talk to a qualified health professional.

Related reading