Cognitive Behavioral Therapy (CBT): How It Works and Helps

Cognitive Behavioral Therapy (CBT): How It Works and Helps

Cognitive behavioral therapy (CBT) is a structured, short-term talking therapy that helps you spot unhelpful thoughts and habits and change them so you feel and function better. A typical course runs about 5 to 20 sessions, includes practice between sessions, and has strong evidence for depression, anxiety disorders, PTSD and insomnia. This article is for general information and is not medical advice.

Key takeaways

  • CBT works on the link between thoughts, feelings and behaviors: change one, and the others often shift too.
  • Most people have between 5 and 20 sessions, and homework between sessions is a core part of the treatment.
  • CBT is a recommended treatment for depression, anxiety, panic, OCD, PTSD and chronic insomnia, among other conditions.
  • Specialized forms include CBT for insomnia (CBT-I), exposure therapy and trauma-focused therapies such as cognitive processing therapy.
  • You can do CBT in person, by video, by phone or through guided online programs, and the skills are meant to last after therapy ends.

What is cognitive behavioral therapy and how does it work?

CBT is a form of psychotherapy (talk therapy) built on the idea that your thoughts, feelings and behaviors affect each other. By learning to notice and question unhelpful thoughts and to change what you do, you can break cycles that keep a problem going.

According to the National Institute of Mental Health, CBT helps you notice inaccurate or harmful automatic thoughts, question them, see how they affect your emotions and behavior, and change self-defeating patterns. An automatic thought is a quick, often unnoticed thought that pops up in response to a situation, such as "I always mess things up."

Here is how the cycle can look in practice:

  • Situation: A friend does not reply to your message.
  • Thought: "They must be annoyed with me."
  • Feeling: Anxious, hurt, low.
  • Behavior: You avoid contacting them, which leaves the worry unchallenged.

In CBT, you would test that thought ("What else could explain this?") and try a different action, such as sending a friendly follow-up. Over time, these small experiments weaken the old pattern. The focus is mostly on the present and on solving current problems, rather than spending many sessions on the past.

What happens in a typical CBT session and course?

A CBT course is usually short and goal-focused: the NHS says most people have between 5 and 15 sessions, and Mayo Clinic describes a range of about 5 to 20. Each session builds on practice you do at home.

Your first session usually covers your history, your current problems and what you want to change. After that, a course tends to follow these steps:

  1. Set goals. You and your therapist agree on specific, realistic goals, such as "go to the grocery store without leaving early."
  2. Learn about the problem. This is called psychoeducation: learning how your condition works, for example how avoidance keeps anxiety going.
  3. Track thoughts and patterns. You may keep a diary or worksheet to record situations, thoughts, feelings and actions.
  4. Challenge unhelpful thoughts. You practice weighing the evidence for and against a thought and finding a more balanced view.
  5. Change behaviors. You try new actions, such as scheduling activities you have been avoiding or gradually facing feared situations.
  6. Plan for setbacks. Near the end, you create a relapse prevention plan so you can use the skills on your own.

Homework means the tasks you practice between sessions. The NHS notes that practicing what you learn between sessions is important for CBT to work. Mayo Clinic adds that the number of sessions you need depends on how severe your symptoms are, how long you have had them, how much you practice and how much support you have.

Expect gradual progress. Mayo Clinic notes you may even feel worse early on, since CBT can bring up painful emotions. If you are not improving after several sessions, talk with your therapist about adjusting the approach.

What conditions does CBT help?

CBT is one of the most widely recommended treatments for common mental health conditions, including depression, anxiety disorders, panic disorder, PTSD and insomnia. It can be used on its own or alongside medicine.

The NHS lists depression, anxiety (including social anxiety, phobias and OCD), PTSD, eating disorders, bipolar disorder, sleep problems, alcohol and drug problems, and some long-term physical symptoms such as chronic pain and irritable bowel syndrome. Mayo Clinic notes CBT can also help with grief, relationship conflict and coping with a medical condition.

ConditionWhat CBT typically focuses on
DepressionQuestioning harsh self-talk and scheduling rewarding activities (behavioral activation)
Generalized anxietyManaging worry, testing "what if" predictions, reducing reassurance seeking
Panic disorderReinterpreting body sensations and facing feared sensations and places
Phobias and OCDGradual exposure while resisting avoidance or compulsions
PTSDProcessing the trauma memory and changing beliefs about safety and blame
Chronic insomniaResetting sleep habits, sleep schedule and worries about sleep (CBT-I)

If low mood is your main concern, our guide to depression symptoms, treatment and getting help explains how therapy fits with other options. For sudden waves of fear, see what panic attacks are and how to stop one. CBT is also a main treatment for health anxiety and constant worry about illness, and it can support you through grief that feels stuck or overwhelming.

What are the main types of CBT?

CBT is a family of therapies that share the same core ideas but are tailored to specific problems. Three of the best known are CBT for insomnia, exposure therapy and trauma-focused CBT.

CBT for insomnia (CBT-I)

CBT-I targets the habits and thoughts that keep chronic insomnia going. It often includes stimulus control (using the bed only for sleep and sex, and getting up if you cannot sleep), sleep restriction (temporarily limiting time in bed to build sleep drive), and work on worries about sleep. A 2015 meta-analysis of 20 trials with 1,162 adults found CBT-I shortened the time to fall asleep by about 19 minutes, cut time awake during the night by about 26 minutes, and raised sleep efficiency by about 10 percentage points. CBT-I goes further than basic sleep hygiene tips, though good habits are part of it.

Exposure therapy

NIMH describes exposure therapy as a type of CBT used for anxiety disorders. You spend short, planned periods facing feared objects, thoughts or situations in a supportive setting until the fear fades. It usually starts with easier steps and works up to harder ones.

Trauma-focused CBT

For PTSD, the American Psychological Association guideline lists cognitive behavioral therapy (typically 12 to 16 sessions), cognitive processing therapy (generally 12 sessions) and prolonged exposure (about three months of weekly sessions lasting 60 to 120 minutes) among its recommended treatments. Cognitive processing therapy helps you challenge beliefs about the trauma, such as self-blame. Prolonged exposure helps you gradually approach trauma memories and reminders you have been avoiding.

How do you find a CBT therapist?

Look for a licensed mental health professional with specific training and experience in CBT for your concern. Ask directly about their approach, the evidence behind it and how many sessions they expect.

NIMH suggests asking about credentials, specialties, the type of therapy and its evidence base, experience with your age group and condition, treatment goals and timeframe, fees, insurance and whether a sliding scale is available. You can find options through your insurer's provider list, professional association directories, advocacy groups and university training clinics. Mayo Clinic adds referrals from your doctor and employee assistance programs, and notes that "psychotherapist" is a general term, so check the specific license.

CBT can be delivered by psychologists, licensed counselors, social workers, psychiatric nurses and psychiatrists. If you are unsure who to see, our explainer on psychologist vs psychiatrist vs therapist breaks down the differences. It may take a session or two to know if a therapist is a good fit, and switching is fine.

Does online or virtual CBT work?

Yes, CBT can be delivered online, by video or phone, or through guided self-help programs, and these formats can widen access when local options are limited. The NHS lists in-person, online and phone sessions, plus guided self-help where you work through a workbook or online course with a therapist's support.

Online CBT can be a good choice if you live far from services, have a busy schedule or feel more comfortable at home. Choose programs that involve a qualified professional and are based on established CBT methods. For more on what to expect, read our guide to how virtual therapy works and whether it helps.

Common mistakes to avoid with CBT

  • Skipping homework. Most of the change happens between sessions, so treat practice tasks as part of the therapy.
  • Expecting quick results. Progress is usually gradual, and the first few weeks can feel harder before they feel easier.
  • Treating CBT as "positive thinking." The goal is balanced, realistic thinking, not forcing yourself to feel cheerful.
  • Avoiding the hard parts. Exposure work is uncomfortable by design, but avoidance tends to keep fear going.
  • Staying with a poor fit. If you feel unheard or see no change after several sessions, raise it or consider another therapist.
  • Stopping medicine on your own. If you take medicine for a mental health condition, talk with your prescriber before changing it, even if therapy is going well.

When to see a doctor

See a doctor or mental health professional promptly if symptoms are getting worse or interfering with work, relationships or daily care. Get help right away if you notice any of these red flags:

  • Thoughts of suicide, self-harm or feeling that others would be better off without you
  • Thoughts of harming someone else
  • Hearing or seeing things others do not, or beliefs that feel out of touch with reality
  • Being unable to eat, sleep or care for yourself for several days
  • Heavy or increasing use of alcohol or drugs to cope
  • Panic symptoms with chest pain, fainting or trouble breathing that you have not had checked (these need a medical evaluation first)
  • Severe insomnia with loud snoring, gasping at night or extreme daytime sleepiness, which can point to another sleep disorder

If you are in crisis in the US, you can call or text 988 to reach the 988 Suicide and Crisis Lifeline, which is free, confidential and available 24/7. You can also chat online through the Lifeline website. If someone is in immediate danger, call 911.

Frequently asked questions

How long does CBT take to work?

Many people notice some change within several weeks, but a full course often runs 5 to 20 sessions. Progress depends on your symptoms, how long you have had them and how much you practice between sessions.

Is CBT better than medicine?

Neither is better for everyone. CBT works well on its own for many people, and for some conditions a combination of therapy and medicine works best. A doctor or therapist can help you weigh the options for your situation.

Can I do CBT on my own?

Self-help workbooks and guided online programs based on CBT can help with milder symptoms. For moderate or severe symptoms, or for PTSD, working with a trained therapist is usually recommended.

Does CBT have side effects?

The risks are generally low. You may feel drained or upset after sessions, and exposure work can cause short-term anxiety, but a skilled therapist paces the work to keep it manageable.

What to do next

  1. Write down the main problem you want help with and one or two concrete goals.
  2. Talk with your primary care doctor, who can rule out physical causes and refer you to a CBT provider.
  3. Check your insurance coverage, including how many therapy sessions it covers each year.
  4. Contact two or three therapists and ask about their CBT training, experience with your concern and expected number of sessions.
  5. Commit to the homework, and review progress with your therapist every few sessions.

Sources

Last reviewed: November 2026.

Comments

Popular Posts

Top 10 Exercises to Help You Sleep Longer and Better

Muscle Gain Diet: What Actually Works, Kept Simple

Plant Protein Powder for Acne-Prone Skin: What to Know

Calorie Deficit and Insomnia: Why Dieting Keeps You Awake

Can Pinworms Last for Years? Why Infections Keep Coming Back

Why Am I Losing Muscle Mass? Causes, Signs and Fixes

No-Sugar Diet: How to Cut Added Sugar Step by Step

Fruits That Help Reduce Cholesterol and What to Avoid

Soursop Benefits and Risks: Fruit, Leaves and Tea

Why Sleep Earbuds Cause a Sore Spot on Your Ear Cartilage