Sub topic 14
Sleep, activity, social connection and self-management
Where this chapter fits
This chapter assumes you have read the earlier chapters on anxiety disorders, depressive disorders, the cognitive and behavioral maintenance cycles, and psychotherapy. You should know that low mood and anxiety are kept going by feedback loops, and that structured therapies such as behavioral activation target those loops.
Lifestyle and self-management are the everyday habits that affect those loops: sleep, physical activity, time with other people, and routines for handling stress. They are useful, and for mild symptoms they can be a first step. They are not a replacement for assessment or treatment when symptoms are moderate, severe, or involve thoughts of suicide. This chapter is educational and does not replace care from a qualified professional.
What the evidence supports
Lifestyle approaches vary in how strong their evidence is. It helps to keep three levels in mind.
- Strong evidence: regular physical activity reduces depressive symptoms, and to a smaller degree anxiety symptoms. Cognitive behavioral therapy for insomnia (CBT-I) improves sleep and also lowers depressive symptoms in people who have both problems.
- Moderate evidence: mindfulness-based programs, structured relaxation training, and building social connection help many people, with effects that are often modest.
- Weaker or mixed evidence: specific diets, supplements, and cold exposure. Studies are fewer or lower quality, and results are inconsistent.
Effects in trials are average effects. Any one person may benefit more or less, and self-management works best alongside, not instead of, professional care when symptoms are significant.
Sleep
How sleep and mood interact
Sleep and mood affect each other in both directions. Poor sleep makes emotional reactions stronger, lowers concentration, and makes worry harder to put down. Anxiety and depression in turn disturb sleep. Insomnia, meaning persistent difficulty falling asleep, staying asleep, or waking too early, is a common feature of both. Depression can also cause the opposite pattern, sleeping far more than usual.
Because the link runs both ways, insomnia is not just a symptom to wait out. Persistent insomnia is associated with a higher risk of developing depression later, and treating it can improve mood.
Sleep habits that help
The core habits come from CBT-I and general sleep hygiene (habits and settings that support sleep).
- Keep a regular wake time, including weekends. A fixed wake time anchors the body clock more reliably than a fixed bedtime.
- Use the bed for sleep. If you are awake for a long time, get up, do something calm in dim light, and return when sleepy. This weakens the learned link between the bed and being awake and worried.
- Get daylight soon after waking. Morning light helps set the body clock.
- Limit caffeine in the afternoon, and limit alcohol. Alcohol can help you fall asleep but fragments sleep later in the night and can worsen anxiety the next day.
- Create a wind-down period without demanding tasks or stressful news.
- Avoid watching the clock. Checking the time raises arousal and adds to worry about not sleeping.
A common mistake: staying in bed longer
People who sleep badly often spend more time in bed to "catch up." This usually backfires. It spreads a fixed amount of sleep over more hours, so sleep becomes lighter and more broken. CBT-I deliberately limits time in bed (sleep restriction) so that sleep becomes more consolidated. This should be done with guidance, because short-term sleep restriction can cause daytime sleepiness and, in some people with bipolar disorder, can trigger mania.
Tracking sleep
A simple sleep diary works better than guessing. The script below calculates sleep efficiency, which is time asleep divided by time in bed, from a few nights of entries. CBT-I clinicians use this measure, and values below roughly 85% are often taken as a sign that sleep is fragmented. Treat the number as a rough guide, not a diagnosis.
from datetime import datetime
def minutes_between(start, end):
fmt = "%H:%M"
s = datetime.strptime(start, fmt)
e = datetime.strptime(end, fmt)
diff = (e - s).total_seconds() / 60
if diff <= 0:
diff += 24 * 60 # crossed midnight
return diff
def sleep_efficiency(in_bed, out_of_bed, minutes_asleep):
time_in_bed = minutes_between(in_bed, out_of_bed)
if minutes_asleep < 0 or minutes_asleep > time_in_bed:
raise ValueError("minutes asleep must be between 0 and time in bed")
return 100 * minutes_asleep / time_in_bed
nights = [
("23:00", "07:30", 360),
("00:15", "07:30", 330),
("22:45", "07:30", 400),
]
for in_bed, out_of_bed, asleep in nights:
eff = sleep_efficiency(in_bed, out_of_bed, asleep)
print(f"{in_bed}-{out_of_bed}: {eff:.0f}%")The first night gives about 71%, which is low and fits the pattern of long time in bed with fragmented sleep.
When sleep problems need professional attention
See a clinician if insomnia lasts more than a few weeks, if you snore loudly with pauses in breathing or wake unrefreshed (possible sleep apnea, which can mimic or worsen depression), or if you have nightmares or sleep changes after trauma. Do not rely on over-the-counter sleep aids long term.
Physical activity
What activity does
Regular exercise reduces depressive symptoms in trials, with effects in mild to moderate depression that are comparable in size to some other first-line approaches. Exercise also lowers anxiety, though the evidence is somewhat weaker. Proposed mechanisms include changes in stress hormone regulation, improved sleep, more sense of mastery, and more contact with other people and daylight. Researchers do not agree on which mechanism matters most.
Dose and type
There is no single required dose. Public health guidance suggests about 150 minutes a week of moderate activity, such as brisk walking, but benefits appear at lower amounts too. Aerobic exercise, resistance training, and mind-body forms such as yoga all show benefits. The best type is usually the one the person will keep doing.
Why starting is hard, and how to make it easier
Low energy, low motivation, and fear of bodily sensations all make exercise difficult. People with panic disorder may avoid exercise because a pounding heart feels like the start of a panic attack. In that case, graded exercise can work as interoceptive exposure (deliberately and safely experiencing body sensations until they feel less threatening).
Behavioral activation applies here. The idea is to act first and let motivation follow, rather than waiting to feel ready.
- Start with a very small target, such as a 10 minute walk.
- Schedule it at a fixed time and tie it to an existing habit.
- Record what you did and your mood before and after, to test the belief that "it won't help."
- Increase gradually.
Social connection
Loneliness and social isolation are risk factors for depression and are linked with worse outcomes. Depression and social anxiety also push people to withdraw, which removes sources of support, enjoyment, and feedback that could correct negative beliefs. This is part of the maintenance cycle described earlier.
Practical steps:
- Keep small, regular contact, such as a short message or call, rather than waiting for energy for a long visit.
- Choose structured settings, such as a class, volunteering, a peer support group, or a faith or community group, because the structure lowers the effort needed.
- Tell at least one trusted person how you are doing, and what kind of help you want, such as listening versus advice.
- Notice the quality of contact. Relationships marked by criticism or conflict can add to stress, so more contact is not always better.
For social anxiety, avoiding gatherings relieves anxiety in the short term and strengthens it in the long term. Graded, planned exposure to social situations, ideally with therapy support, is more effective than avoidance.
Stress management and relaxation
Several skills reduce arousal and help people respond to worry differently.
- Slow breathing: breathing out for longer than breathing in, at around six breaths per minute, can reduce physical tension. Forced deep breathing can cause dizziness in some people, so keep it gentle.
- Progressive muscle relaxation: tensing and releasing muscle groups in turn.
- Mindfulness: paying attention to the present without judging. Mindfulness-based cognitive therapy has good evidence for lowering relapse in people with repeated depression. It can be unsettling for some people with trauma histories, so a trained teacher is advisable.
- Scheduled worry time: setting aside 15 to 20 minutes a day to write worries down and plan, and postponing worry outside that time.
- Problem solving: listing a problem, options, and one small next step.
Substances, diet, and screens
Alcohol and other drugs are often used to cope but tend to worsen anxiety and mood over time, and they interfere with sleep and treatment. Caffeine can trigger or worsen anxiety symptoms, especially in people prone to panic. Regular meals and a varied diet support energy, though evidence for particular diets or supplements as treatments is limited. Talk to a clinician before taking supplements such as St John's wort, which interacts with many medicines, including antidepressants.
Heavy social media use is associated with worse mood in some studies, but the direction of cause is unclear. A practical approach is to notice how specific uses make you feel, and cut back on those that leave you feeling worse.
Putting a self-management plan together
A workable plan is small, specific, and reviewed.
Tips for making it work:
- Pick one or two habits, not ten. Large overhauls tend to fail within days.
- Use measurable targets, such as "walk 15 minutes after lunch on weekdays."
- Track outcomes with a simple tool. Repeating the PHQ-9 or GAD-7 every two weeks gives a consistent score to compare over time, though these are screening tools and a score is not a diagnosis.
- Expect setbacks. A missed week is data, not failure.
Limits and common errors
- Treating lifestyle change as a moral test. Low energy is a symptom, so blaming yourself makes depression worse.
- Using exercise or sleep restriction to "fix" mood while ignoring a serious illness or safety concern.
- Expecting quick results. Benefits from activity and sleep changes often take two to six weeks to show.
- Perfectionism, such as quitting after one bad night.
- Stopping prescribed medication or therapy because you feel better, without discussing it with the prescriber.
Exercise
A person with depression sleeps poorly, so they go to bed at 8 pm and stay in bed until 9 am, often scrolling on their phone. They sleep about 6 hours. What is their sleep efficiency, and name two changes consistent with CBT-I principles.
Show answer
Time in bed is 13 hours (780 minutes), so efficiency is 360 / 780, about 46%. Two helpful changes: use a fixed wake time and reduce time in bed so it is closer to actual sleep (ideally with guidance), and keep the bed for sleep by leaving it and doing something calm when awake for a long time. Removing the phone from bed also helps.
Exercise
A person with panic disorder avoids exercise because a fast heartbeat feels like the start of a panic attack. Explain why avoiding exercise may keep the problem going, and suggest a safer way to start.
Show answer
Avoidance prevents the person from learning that a raised heart rate during exercise is harmless, so the fear of the sensation stays. A gradual approach works better: begin with short, low-intensity activity, such as a 5 to 10 minute walk, and slowly increase the intensity so the sensations become familiar and less threatening, ideally with guidance from a clinician.
Exercise
Why is "wait until I feel motivated" an unreliable plan for depression, and what does behavioral activation suggest instead?
Show answer
Low motivation is a symptom of depression, so waiting for it can mean waiting indefinitely, which reinforces inactivity. Behavioral activation suggests scheduling small, specific activities and doing them first, so that mood and motivation can improve as a result of acting.