← back to the library
Mental fatigue in the wild

Your typing gives you away

Mental fatigue is visible in the rhythm of your keystrokes
de Jong M, Bonvanie AM, Jolij J, Lorist MM (2020)
PLOS ONE, 15(10), e0239984
doi: 10.1371/journal.pone.0239984
2026-04-08 8 min read

The question

Most mental-fatigue research happens in labs with contrived tasks. But people actually get tired at real desks doing real work. Can you detect mental fatigue in the wild — unobtrusively, without strapping sensors to anyone — just by watching how they type?

What they did

Researchers at the University of Groningen logged keystroke dynamics from university employees during their normal office work for 6 consecutive weeks. They analysed typing performance across three timescales: time-on-task (how long you’ve been working), time-of-day, and day-of-week. Crucially, they tracked not just typing speed, but also error correction behaviour — how often people backspaced and retyped.

9am 11am 1pm 3pm 5pm time of day performance typing speed error-correction rate morning peak
Illustrative schematic of the paper's main finding. Across a typical workday, typing speed stays high through late morning and then declines. Error-correction activity (backspaces) rises steadily — even when speed looks "fine" — revealing underlying fatigue that a simple speed metric would miss.

What they found

The key idea

Mental fatigue is visible in how you type long before it's visible in how much you type. The speed-versus-accuracy trade-off shifts in predictable ways as attention degrades — detectable in ordinary keyboard activity, with no extra hardware.

How this shapes Pomodoro tAImer

The app watches your keystroke cadence and error-correction rhythm during a work session. When the signature starts to look fatigued, it nudges the session toward a break rather than pushing you to grind through the last five minutes. This paper was one of the direct inspirations for that feature.

Read the original

Summaries are a starting point — the paper itself is where the nuance lives.

Open on publisher →