Processor and graphics card specifications are live

Problems · Slowness

Why does my laptop lag when I type?

Typing lag is almost never raw processing speed, because typing costs almost nothing to process. It is usually the machine being unable to respond promptly: memory pressure forcing swapping, an application doing work between keystrokes, a background scanner inspecting every save, or a driver adding delay to the input path.

The first useful question is whether it happens everywhere or in one application. Lag in a single program is that program's problem; lag everywhere is the system's.

First, notice when it happens

From the first minute

Characters appearing behind your fingers is a responsiveness problem, and responsiveness depends on memory and scheduling rather than on sustained performance.

Only after minutes of use

Lag that appears only after the machine has been working hard for a while is thermal, and it is the one version of this that a cooling fix helps.

The causes, ranked

1. Memory pressure and swapping

most common

How to confirm it

Memory pressure high, swap in use, disk busy. The machine is fetching memory from storage between your keystrokes.

The fix

Close what you are not using, particularly browser tabs. This is the most common cause of a machine that feels laggy rather than slow.

2. The application doing work as you type

most common

How to confirm it

Lag in one program only: spell checking, autocomplete, live preview, linting or synchronisation running on every keystroke.

The fix

Turn off the expensive feature in that application's settings. Editors and word processors both offer several, and one of them is usually responsible.

3. Real-time scanning inspecting every write

common

How to confirm it

Lag when saving or in applications that write constantly, with the security software's process visible in the task viewer.

The fix

Exclude working directories from real-time scanning where policy allows. This helps most in development and in applications with frequent autosave.

4. Display refresh and power settings

common

How to confirm it

Noticeably worse on battery, where some machines reduce refresh rate, or on a machine set to a low refresh rate to save power.

The fix

Set the higher refresh rate on mains. A 60Hz panel adds visible delay compared with 120Hz for anyone sensitive to it, and some machines drop refresh unplugged without saying so.

5. Trackpad and keyboard drivers

occasional

How to confirm it

Lag that began after an update, or that affects the built-in keyboard and not an external one, which is a clean way to isolate it.

The fix

Plug in an external keyboard as a test, then update or roll back the input drivers if that proves the point.

6. Thermal throttling during heavy work

occasional

How to confirm it

Everything including typing becomes sluggish after minutes of heavy load, and recovers when the machine cools.

The fix

This is throttling rather than an input problem, and the cooling articles apply. It is the least common cause of typing lag and the most commonly assumed.

Measure it instead of guessing

Run the test to establish whether the machine has a sustained performance problem at all. A healthy curve alongside laggy typing points firmly at memory, the application or the input path, and it saves you from spending on cooling work that would change nothing.

What software cannot tell you here

  • We cannot measure input latency, which needs specialised equipment to do properly.
  • We cannot see memory pressure or which application is doing work between keystrokes; the task viewer covers both.

Asked, in people’s own words

Why is there a delay when I type on my laptop?
Most often memory pressure, which forces the machine to fetch memory from storage between keystrokes, or an application doing expensive work on every character such as spell checking or live preview. Raw processor speed is rarely the cause, because typing itself costs almost nothing to process.
Does refresh rate affect typing feel?
Yes, more than most people expect. A higher refresh rate reduces the delay between a keystroke and the character appearing, and some laptops quietly reduce refresh rate on battery to save power. If typing feels worse unplugged, that setting is worth checking first.
Why does my laptop lag in one program only?
Because that program is doing work between your keystrokes. Autocomplete, spell checking, live rendering, linting and continuous sync all run on every character. Turning off the expensive feature in that application's settings usually fixes it without touching anything else.

Name the cause. Three and a half minutes, in the tab you have open.