Skip to content
Productivity Medium #attention-residue#context-switching

Attention Residue

Switching tasks leaves cognitive trace on the previous task, costing minutes of full focus.

A free, animated attention residue you can read here or embed on any website, from Scrollchart.

Attention Residue

Attention ResidueEach context switch leaves a cognitive trace that suppresses focus for 15-20 minutes (Leroy 2009)0102030405060Minutes after context switch0%25%50%75%100%Cognitive performance15-20 min recoverySwitch dropsperformance to ~30%Key mechanismsResidue: prior task staysactive in working memoryFull focus needsincomplete tasks closedZeigarnik effect: openloops demand attentionOne switchFrequent switches4+ switches/hour traps output below 50%. Batch tasks into 90-min blocks to recover fully.

Cognitive performance after a context switch, gradually rising to full focus over 10-20 minutes. Frequent switching keeps output trapped at the bottom of the curve.

Good for

  • Multitasking-cost articles for productivity blogs
  • Calendar-design and scheduling guides for knowledge workers
  • Workplace focus policy and notification-management content

Source & accuracy

This attention residue is an editorial illustration built to represent the concept accurately. Where it shows figures, they are typical or representative values chosen to make the relationship clear, not a single underlying dataset. The diagram and its explainer are reviewed and maintained centrally, and updated over time as understanding improves.

The cognitive cost of task-switching measured in lost focus time

Attention residue is the phenomenon where part of your attention remains stuck on the previous task even after you switch to something new. Research by Sophie Leroy shows that when you interrupt a task mid-flow, residue from that incomplete task occupies working memory, reducing the cognitive capacity you bring to the new task. You are not fully present in the new task until the residue clears.

The residue costs real productivity. If you switch from email to deep work, your brain is still partially processing the email. You start writing code or analyzing data, but 5-10 percent of your processing power is still drafting replies or worrying about a message you just read. You type slower, make more errors, and need longer to enter a state of full concentration.

Minimizing residue through batching and clear demarcation

The best mitigation is to batch similar tasks together so you switch less often. Do all email in one block, all meetings in another, all deep work in a third. This reduces residue accumulation because you are switching between fewer contexts.

A secondary strategy is to close out the previous task mentally before switching. Write a one-sentence summary of what you accomplished and what comes next, or set a timer for finishing the task later. This signals to your brain that the task is captured and can be released, clearing some residue. Without this closure, your brain keeps the task active, waiting for resolution.

Embed this diagram

Add this animated attention residue to your own site. Copy one line of HTML, or use the embed builder for theme and sizing options.

Reference

What this is
A free, embeddable, animated attention residue for any website.
Who uses it
Productivity blogs.
How to embed
Copy one line of HTML. No signup. No watermark. Works in WordPress, Webflow, Ghost, Substack, plain HTML.
File size
iframe embed, ~80 KB gzipped (loads on demand, does not block your page paint).
License
Free forever. Editorial explainer text included; updated centrally over time.

Embed format options

Copy the universal HTML snippet, the WordPress shortcode, or an iframe fallback - see the WordPress plugin page for details. Any format keeps the same Core Web Vitals profile and the same explainer text.

Embed snippet
<div data-scrollchart="attention-residue" data-scrollchart-v="1"></div>
<script src="https://scrollchart.com/embed.js" async></script>

Frequently asked questions

Where can I get a free animated "Attention Residue" for my website?
Scrollchart provides "Attention Residue" as a free, embeddable animated diagram you can add to any website with one line of HTML. No signup is required and there is no watermark. The diagram and its explainer text are served from scrollchart.com, so the embed stays current without any maintenance on your end.
How do I embed a attention residue in WordPress or a static site?
Paste the HTML snippet from the Scrollchart diagram page into your WordPress post (in HTML/code view), your Webflow embed block, or directly into a static HTML file. No plugin is needed. The diagram loads from scrollchart.com and paints in as the reader scrolls.