Time limits

A session that ends without warning throws away work, and some people need far longer than others.

Writing a long message on a site with a session limit. Without warning, the session ends and the message is lost. With a warning two minutes before, the person chooses Stay signed in and sends it.

The answer

Avoid time limits. Where one is needed, warn before it ends and let people extend it. As strong as the weakest rule behind it: moderate.

  • For any time limit, let people turn it off, extend it to at least ten times the default, or get a warning and extend it with one simple action, at least ten times.
  • Set a time limit only when security or resources require it.
  • Warn at least two minutes before a session ends, in a dialog that offers more time, with a countdown announced politely.

The other rules

  • When a session ends, keep what people entered, and say whether it was kept.
  • Don’t warn about inactivity too early. People take it as a limit on the whole task.
  • After a timeout, say what happened and how to continue.

Accessibility

Open questions

  • OpenHow much extra time do people with disabilities need? WCAG says its ten-times and 20-second figures come from clinical experience; no study found.
  • OpenPeople in one service dismissed timeout warnings unread; whether wording changes that is untested.
  • OpenA W3C cognitive accessibility pattern on timeouts was opened by the reader and not recorded.
Checked November 12, 2026

Sources