Switching doesn't come free
Every time your brain jumps from one kind of thinking to another, from email to code, from code to a meeting, from that meeting back to email, it pays a real cost. You just can't see the bill.
A 20-minute meeting feels like a 20-minute interruption. It's actually more than that: it's the meeting itself, plus whatever it costs to reload the mental state you were in before the meeting started, plus the cost of powering back down out of meeting mode afterward. Those reloading costs are frequently bigger than the meeting itself.
Researchers call this task-switching cost, and it's one of the more thoroughly replicated findings in cognitive psychology.
What the original study found
In 2001, researchers Joshua Rubinstein, David Meyer, and Jeffrey Evans ran four experiments asking people to do pairs of mental tasks (simple arithmetic, geometric judgments) under two conditions: doing the same task over and over, or alternating between two tasks.
Alternating added as much as 50 percent to completion time, even when both tasks were ones people already knew well. That cost held up no matter the task type, how often people switched, or whether they got a warning before the switch.
The researchers broke the cost into two pieces. First, you have to actively load the new task's goal into working memory. Second, you have to suppress the old task's rules so they don't bleed into the new one. Both take real mental effort, and together they're the tax you pay every time you switch.
The real number: 23 minutes and 15 seconds
That lab result is a per-switch cost. Out in the real world, it compounds.
Gloria Mark's research group at UC Irvine ran a field study that's become something of a classic (Mark, Gudith & Klocke, 2008). They tracked real office workers for thousands of hours, timing the gap between an interruption and the moment someone actually got back to full attention on the original task.
The average gap: 23 minutes and 15 seconds.
That's a median, not a ceiling. Some people bounced back in five minutes. Some never made it back to the original task at all that session; it just got quietly abandoned.

This is why "let me just glance at Slack" is such a quiet productivity killer. A 30-second glance costs roughly 23 minutes of accumulated refocus time, not 30 seconds. String together eight of those across a workday, and there's no deep work left at all.

The part of the cost that lingers
University of Washington Bothell researcher Sophie Leroy found something extra in 2009, on top of the per-switch tax: she called it attention residue.
When you leave Task A to start Task B before A is actually finished, part of your attention doesn't come with you. That's not a figure of speech. Leroy measured worse performance on Task B specifically because of it.
Three things stood out in her research. Switching after finishing a task left less residue behind than switching in the middle of one. Time pressure made the residue worse. And a short closure ritual, just 60 seconds spent jotting down what comes next, measurably cut the residue carried into the following task.
That's why a meeting dropped into the middle of a coding session hurts more than the same meeting at the start or end of the day. Residue from the coding leaks into the meeting, and residue from the meeting leaks right back into the coding when you try to return to it.
Fixing it structurally, not with more effort
More focus and more discipline don't actually solve this. Willpower doesn't erase the switching cost. It just papers over the symptom for a while.
What works instead:
Containers. Keep everything tied to one project, its goals, calendar, notes, focus sessions, in a single place. Switching inside a container costs less than switching between containers, because the rules and goals stay continuous. It's the same logic behind dedicated project folders, single-purpose workspaces, and the old "one project, one room" habit.
Batching. Check email twice a day instead of every few minutes. Stack all your recurring one-on-ones into a single afternoon. Group shallow tasks (expense reports, status updates) into one block. Switching within a batch is cheap because the tasks already share the same rules.
Protected blocks. A 90-minute stretch with zero inputs (Slack shut, phone in another room, no email tab open) gives your brain enough runway to actually settle into deep, focused attention. Anything shorter than about 45 minutes barely works; most of the block gets eaten by the setup cost alone.

Closure rituals. Before jumping from Task A to Task B, write one line: where you left off, and what's next. Leroy's research shows this single habit meaningfully cuts the residue you carry forward.
What this looks like across a real week
- Mornings. A protected 90-minute block for the single hardest task. No inputs, no tab-hopping.
- Midday. Shallow work batched into two 30-minute windows: email, Slack, admin.
- Afternoons. Meetings and collaborative work clustered together, since switching costs less when everything's already in "meeting mode."
- End of day. A five-minute closure ritual, and tomorrow's first task written down somewhere you'll actually see it.
It sounds rigid because it is rigid. That rigidity is the point. It's what's actually cutting the switching cost, instead of just hoping it goes away.
What TaskCoach.AI does with this
Spaces are the structural fix for switching cost. Every project gets its own container: its own tasks, calendar slots, notes, and focus sessions, all in one place. "One project, one room" is practically the user guide's slogan for it, and it's the Rubinstein-Meyer-Evans finding turned into an actual product.
Focus mode is the protected block, built in. One task, no other tabs, no inputs. The Daily Clock view batches similar work automatically, all your calendar-bound tasks in one strip and all your focus tasks in another, so the natural groupings are visible and easy to plan around.
The bottom line
The switching tax runs up to 50 percent of completion time. Real-world refocus averages 23 minutes and 15 seconds per interruption. Attention residue costs another 5 to 20 minutes of degraded performance after a mid-task switch.
None of that shows up on a calendar. All of it shows up in what actually gets done.
The fix is structural: containers, batching, protected blocks, closure rituals.
Any productivity advice that ignores switching cost doesn't actually work, and most of the popular advice out there ignores it completely.