DEV Community

Clybotics
Clybotics

Posted on Originally published at clybotics.com on

Context Switching: What Research Says and How to Protect Your Focus

Context switching shown as a paper bridge broken apart while small bells ring along a ribbon of music

Context switching means moving your attention from one task to another. A message arrives while you're writing a proposal, so you answer it, check one more thing and come back to a half-finished sentence. Now you have to work out what you were doing.

You've probably read that it takes 23 minutes to refocus after every interruption. We traced that number back through the research, and that isn't what the studies we read found. This guide explains what they did find and how to protect some quiet time without missing an urgent call. If you're on call, care for someone or work with clients, "just turn everything off" may not work for you.

Key takeaways

  • The "23 minutes to refocus" claim mixes up two things. The number was about how long people took to return to interrupted work, including time spent on other tasks.
  • In one lab study, interrupted people finished the main task faster, but they felt more stressed.
  • Turning off every notification isn't best for everyone. In one trial, it increased anxiety and didn't improve attention.
  • Choose which alerts must reach you, test them and check the rest at set times.
  • If it's safe to wait a moment, write down your next step before you switch tasks.

What does context switching cost?

There isn't one cost for every person and every task. Answering a quick question during a simple job isn't the same as stopping in the middle of a difficult one. It also matters whether you chose to switch, how urgent the new task is and how easy it is to find your place again.

The research is more useful than any single number. Here's what four studies found:

Study What happened Keep in mind
Mark and colleagues, 2008 48 people did an email task. When they were interrupted, they spent less time on the main task but felt more stress, frustration and effort. The task time left out the interruptions. Most participants were students.
Stothart and colleagues, 2015 People made more mistakes on an attention task when their phones alerted them, even if they didn't respond. This was a computer test, not a normal workday.
Kushlev and Dunn, 2014 report 124 adults reported less stress during a week when they limited email to three checks a day. About two-thirds were students, and most people found the limit hard to follow.
Fitz and colleagues, 2019 In a trial with 237 people, getting notifications three times a day helped with attention and stress, but people worried more about missing something. Getting none increased anxiety. It was a short trial in India, and most results came from what people reported about themselves.

In the 2008 study, faster work didn't mean the day got shorter, because the time spent on interruptions wasn't counted. The researchers thought people may have worked faster to make up for being interrupted. That extra effort could help explain the stress.

Does it really take 23 minutes to refocus?

That's not what we found. In a 2006 Gallup interview, researcher Gloria Mark talked about following 36 people for three days. Of the work that was interrupted, 81.9% was picked up again the same day. On average, people returned to it after 23 minutes and 15 seconds, usually after working on about two other things.

That's the time it took them to return to the original work, including time spent on other tasks. It isn't the time their brains needed to refocus. We don't know whether that interview was the first time the number appeared.

People sometimes link the claim to Mark's published studies, so we checked those too. In a 2005 study of 24 workers, the average time before they returned to work that day was 25 minutes and 26 seconds, with large differences between cases. Neither the 2005 study nor the 2008 one says it takes 23 minutes to refocus.

Does context switching waste 40% of your day?

You may also see the claim that task switching takes up 40% of your productive time. It's often linked to a 2001 paper by Rubinstein, Meyer and Evans. The paper reports four lab experiments in which switching took extra time, especially when the rules were more complex. We searched its text and didn't find the 40% figure. We also didn't find a study that measured a 40% loss across a whole workday. That doesn't prove there isn't one, but it's a good reason not to treat the number as a fact.

What is attention residue?

Attention residue is when part of your mind is still on the last task after you've moved to another one. In two experiments published in 2009, Sophie Leroy found that people had to let go of the first task to do well on the next. Finishing it wasn't always enough. The study didn't look at phone notifications or say how many minutes the effect lasts.

In 2018, Leroy and Theresa Glomb reported four studies about work interruptions. Attention residue was a problem when people expected to be under time pressure when they returned to the first task. Writing a short plan for coming back helped them focus on the interruption. The studies didn't test whether the plan made them better at the original task when they returned.

You can try the same idea with a short note. We based this format on that research, but we haven't tested it. If something is urgent, deal with that first. Otherwise, fill this in before you switch:

Task: [what I'm working on]
Stopped at: [the last thing I finished]
Still to do: [what's left]
Next step: [the first thing to do when I return]
Open: [file, page or link]
Return at: [time or event]
Enter fullscreen mode Exit fullscreen mode

For example: "Proposal. Pricing is drafted. Still need to check the totals and add dates. Next, check row 4. Open proposal-v2. Return at 11:30."

Decide which alerts can interrupt you

Instead of asking whether notifications are good or bad, ask what would happen if you didn't see one until your focus time ended. Use your answer to sort your alerts:

Context switching guide that sorts alerts into always let through, check at set times and turn off

Use these as examples. Your job and family may need a different list.

  • If you're on call: Leave the required alert system on and follow your employer's response rules. You may be able to silence general chat.
  • If you work in support: Take turns covering the queue. If you work alone, focus between queue checks and stay within your promised response time.
  • If you care for someone: Allow calls from family, schools and care providers. They may call from numbers you don't know. If you can't list them all, leave calls on.
  • If you freelance: Tell clients when you reply to messages and give them one way to contact you about real emergencies.

If nobody can cover for you, try 10 to 15 minutes instead of an hour. You can also keep every important alert on and silence only promotions, social apps and other things that can wait. Never silence an alert that someone's safety depends on.

Set it up, then test it

These settings can help, but the menus vary by device and version:

Device or app Where to start Watch out for
iPhone Settings, Focus, then choose People and Apps You can allow repeat calls, but the second must come within three minutes
Android On many Android 14 or newer phones: Settings, Modes, then notification filters You can allow repeat callers within 15 minutes. Menus vary by phone maker.
Windows 11 Settings, System, Focus It turns on Do Not Disturb by default, so check your priority notifications
Slack Pause notifications or set your notification schedule VIPs can still reach you. Don't make Slack your only emergency contact method.

Allowing someone's phone calls doesn't mean their messages in every app will get through. Work alert apps may need separate permission too. Before your first focus block, ask the real person to contact you using the real number or app. Test again after you change your phone, settings or alert app.

Try a realistic focus block

Here's a made-up day for a freelance designer who also needs to be available for a child's school:

  • 8:45: Test calls from the school and choose one thing to finish.
  • 9:00 to 9:40: Draft a proposal. Chat is silent, but calls are on.
  • 9:40: Check client messages.
  • 11:00 to 11:25: Start another focus block. The school calls at 11:12, so the designer answers right away. If it's safe, they write down the next step first.
  • 1:00 and 4:00: Check messages again.
  • 4:45: Write down the first step for tomorrow.

The interrupted block isn't a failure, and the designer doesn't need to make up the time that evening. The important call got through, which was the point of the plan.

Send your team a short message

Agree on cover with the other person before you send this. Don't name someone who hasn't said yes:

I'll be focusing from [time] to [time], and I'll check
messages at [time].

If [what counts as urgent] happens, contact me by
[tested phone number or alert system].

[Name] has agreed to cover [tasks]. If you can't reach
either of us, please contact [backup].
Enter fullscreen mode Exit fullscreen mode

Test your plan for one week

A focus block that works for someone else may not suit you. Try this small test:

  1. Days 1 and 2: Work normally and keep short notes.
  2. Days 3 to 6: Try one focus block a day, with your urgent contacts allowed.
  3. Day 7: Compare your notes and decide what to keep.

Use similar tasks on the first six days. Each day, write down:

  • how long you planned to focus and how long you managed
  • how many times you were interrupted, and whether it was by you, someone else or something urgent
  • whether you finished your next step
  • your stress and your worry about missing something, each from 1 to 5
  • any urgent contact you missed

If you miss something urgent, stop the test and fix the setup. If you feel more worried, try a shorter block or check messages more often. One week of notes can't prove what caused a change, but it can help you choose what to try next.

Conclusion: protect one useful stretch

Choose one task for tomorrow. Decide who must be able to reach you, test that contact method and silence one type of alert that can wait. If you have to stop, write down your next step if it's safe to take a moment. Start with a length of time that suits your real responsibilities, even if it's only 10 minutes.

If your team keeps switching between apps to copy the same updates, better notification settings won't remove that work. See how our workflow automation services can help, or tell us which handoff keeps interrupting your team.

Frequently Asked Questions

What is context switching at work?

It means moving your attention from one task to another. You may do it by choice or because of a message, call or meeting. The cost depends on the task, the interruption and how easy it is to return.

Does it take 23 minutes to refocus after an interruption?

That is not what the sources we checked say. In a 2006 interview, Gloria Mark said people returned to interrupted work after an average of 23 minutes and 15 seconds. That included time spent on other tasks, so it was not a measure of refocusing time.

What is attention residue?

It is when part of your mind stays on one task after you move to another. Research has found that this can affect the next task. The study discussed here did not say how many minutes it lasts.

Should I turn off all notifications?

Not automatically. In one 2019 trial, people who got no notifications felt more anxious and did not have better attention. Keep the alerts you need and consider checking the others at set times.

How often should I check email and messages?

There is no one schedule for everyone. Choose times that fit your job, family responsibilities and promised response times. Test a small change before you make a bigger one.

How can I focus if I am on call?

Leave your required alerts on and follow your employer's response rules. You may be able to silence other apps. Test the alert system before each important change to your phone or settings.

Top comments (0)