Quick answer: context switching is moving your attention from one task to an unrelated one, such as stopping a report to answer a message and then returning. Each switch has a cost: your brain needs time to drop one set of information and load another, and part of your attention stays on the previous task. Done dozens of times a day, it makes work slower, more error-prone and more tiring. You reduce it by batching similar tasks, protecting blocks of focus time, cutting notifications and keeping what you need for a task in one place.
What context switching is
The term comes from computing, where a processor saves the state of one program before running another. People do something similar, less efficiently.
A "context" is everything you are holding in mind for a task: the goal, the details, where you had got to, what comes next. Switching means setting that down and picking up another set.
Everyday examples
- Writing a document, then checking a chat notification
- Moving between five browser tabs for five unrelated things
- A developer pulled from coding into a meeting and back
- Answering email in the middle of a spreadsheet
- Switching between several projects in one morning
- Looking for a file, a link or a login in the middle of a task
Context switching vs. multitasking
They are closely related.
- Multitasking is attempting two or more tasks at once.
- Context switching is what actually happens: for tasks that need thought, the brain does not run them in parallel. It alternates rapidly.
Real multitasking works only when one activity is automatic, such as walking while talking. Two demanding tasks means switching, with a cost each time.
What it costs: the research
Switching takes time
In experiments published in 2001, psychologists Joshua Rubinstein, Jeffrey Evans and David Meyer found that people lost time whenever they switched tasks, and lost more as the tasks became more complex. Meyer has estimated that these costs can consume as much as 40% of someone's productive time in heavy multitasking.
Attention lingers on the last task
Sophie Leroy, a business professor, introduced the term attention residue in a 2009 paper. When you move to a new task, part of your attention stays with the previous one, particularly if it was unfinished. Performance on the new task suffers.
Recovering from interruptions is slow
Gloria Mark and colleagues at the University of California, Irvine, observed office workers and found that after an interruption it took on average more than 23 minutes to return to the original task, because people typically worked on other things in between. Her later research found that the average time people spent on a single screen before switching had fallen to around 47 seconds.
Interrupted work is more stressful
Mark's studies also found that people who were interrupted worked faster to compensate, and reported more stress, frustration and time pressure.
Much switching is self-inflicted
Roughly half of interruptions in Mark's observations were internal: people interrupted themselves to check something.
Signs you are switching too much
- You finish the day busy but with little completed
- You reread the same paragraph several times
- You have many half-finished tasks
- You forget what you were about to do
- You feel mentally tired by mid-afternoon
- You make small, careless mistakes
- You have dozens of tabs and several chat apps open
- You check messages without deciding to
What causes it
- Notifications from email, chat and phones
- An expectation of instant replies
- Meetings scattered through the day, leaving only short gaps
- Too many projects at once
- Too many tools. Information spread across apps means constant hopping
- Unclear priorities, so everything feels equally pressing
- Open-plan offices and drop-in questions
- Searching for things. Hunting for a document or link is a switch in itself
- Habit. Checking becomes automatic
How to reduce context switching
1. Batch similar tasks
Group like with like: all email in two or three sessions, all calls in one afternoon, all admin in one block. You stay in one mode.
2. Block time for focused work
Put 60 to 120 minute focus blocks on your calendar and treat them as appointments. See time blocking.
3. Work on one thing
Single-tasking is the direct answer. One task, one window where possible. A timer helps: see the Pomodoro Technique.
4. Turn off notifications
Disable all but the essential. Use Focus or Do Not Disturb modes during deep work. Close email and chat apps instead of minimizing them.
5. Check messages on a schedule
For example at 9:30, 12:00, 15:00 and 16:30. Tell colleagues how to reach you for real emergencies.
6. Cluster meetings
Put them together, such as all in the afternoon, or on particular days, so the rest of your time is unbroken.
7. Limit work in progress
Cap the number of projects you actively work on in a week. Finishing one before starting another reduces the overhead of keeping many in your head.
8. Leave notes for your future self
When you must stop, write one line: where you got to and the next step. Leroy's research suggests that making a quick plan for returning to an unfinished task reduces attention residue.
9. Capture stray thoughts
Keep a notepad or quick-capture tool open. When something unrelated occurs to you, write it down and continue.
10. Reduce and organize your tools
Fewer apps means fewer places to switch to. For what remains, keep each project's materials together.
The hidden switch: looking for things
One source of switching rarely gets mentioned: stopping mid-task to find something. You need the brief, so you search your email. You need a reference, so you scroll through tabs, then your chat history. By the time you find it, you have seen three other messages and lost your thread.
A widely cited McKinsey Global Institute report from 2012 estimated that knowledge workers spend nearly a fifth of their working week searching for and gathering information. Every one of those searches is a context switch.
Ways to cut it:
- Keep files in a predictable structure. See how to organize digital files.
- Keep links by project. A great deal of modern work lives at web addresses: documents, boards, tickets, dashboards. In Link App, a folder per project holds them all. Opening the folder at the start of a work block replaces several searches with one click. Shared folders do the same for a team, which also cuts the "can you send me that link?" interruptions.
- Save distractions instead of following them. When an interesting article appears mid-task, one click on the extension stores it for later and you carry on. It is the browser version of writing a stray thought down.
- Close unrelated tabs. Each visible tab is an invitation to switch. See too many tabs open.
Context switching in teams
Individuals can only do so much if the team's habits demand constant availability. Things teams can change:
- Agree response-time norms. Not everything needs an answer in five minutes.
- Prefer asynchronous updates over meetings for status.
- Set meeting-free blocks or days.
- Give each person fewer simultaneous projects.
- Document where things are, so people do not need to ask. A shared folder of key links per project is a simple start.
- Use one channel for urgent matters, so the others can be checked less often.
For developers
Programming is especially vulnerable, since a developer holds a large mental model of the code. Common measures: uninterrupted "maker" time in the morning, batching code reviews, rotating who handles interruptions, and writing down state before stopping.
Is context switching ever good?
Yes, in moderation.
- Deliberate breaks between tasks help recovery.
- Stepping away from a hard problem can lead to a solution.
- Some roles are switching by nature, such as management and support.
The aim is not zero switching. It is fewer unplanned, unnecessary switches, and more control over when they happen.
A simple plan for this week
- Day 1: tally how many times you switch tasks or check messages in two hours.
- Day 2: turn off non-essential notifications.
- Day 3: schedule one 90-minute focus block and defend it.
- Day 4: batch email into three sessions.
- Day 5: gather the links and files for your main project into one place.
Then compare how the week felt with the one before.
Frequently asked questions
What is context switching?
Shifting your attention from one task to another unrelated task, which requires your brain to reorient.
Why is context switching bad for productivity?
Each switch costs time and leaves part of your attention on the previous task, so work is slower and more error-prone.
How long does it take to refocus after an interruption?
Research by Gloria Mark found an average of over 23 minutes to return to the original task.
What is the difference between multitasking and context switching?
Multitasking is trying to do several things at once. Context switching is the rapid alternating that actually occurs.
How much productivity is lost to context switching?
Estimates vary. Psychologist David Meyer has suggested up to 40% of productive time in heavy task switching.
What is attention residue?
Sophie Leroy's term for the part of your attention that stays on a previous task after you switch.
How do I stop context switching at work?
Batch similar tasks, block focus time, turn off notifications, check messages on a schedule and keep each project's materials together.
Is context switching worse for people with ADHD?
Many people with ADHD report that switching and returning to tasks is particularly difficult. External structure, such as timers and written next steps, can help.
