When or while? A long action and a short one

Short answer: In stories, use while with the longer background action (was or were + -ing) and when with the short action that interrupts it (past simple): While I was walking, it started to rain. She was reading when the door opened. The long action was going on, and the short one happened in the middle.

▶ Open the rule card · ✏️ Practice this rule

At a glance

PartTenseExample
while + long actionwas / were + -ingWhile I was walking,
short actionpast simpleit started to rain.
when + short actionpast simple...when the door opened.

In short

What is the rule for “when and while in stories”?

The rule

Use while for the longer background action. Use when for the short action that interrupts it.

How it looks

While + was / were + -ing, short action (past) · was / were + -ing + when + short action

What it means

The long action was going on when something short happened.

When to use it

Use them to tell a story with something that happens in the middle.

How it works

Examples of “when and while in stories”

Common mistakes with “when and while in stories”

Exceptions: watch out

While, when and as

While and when can sometimes be swapped, but in these stories they have clear jobs.

WordUsed withExample
whilethe longer actionWhile I was reading,
whenthe short actionwhen she called.
astwo things at the same timeAs I walked, I sang.

See also: Past continuous: was / were + -ing

Check yourself

  1. Choose: “___ I was walking, it started to rain.”
    Show the answer

    While Walking is the long action.

  2. Choose: “She was reading ___ the door opened.”
    Show the answer

    when The door opening is the short action.

  3. Fix: “While I walked, it was starting to rain.”
    Show the answer

    While I was walking, it started to rain. Long action: was + -ing. Short action: past simple.

How to practice “when and while in stories”

The interactive version adds step-by-step help, spoken instructions and a quick check. One rule card, one sound lesson and the first lesson of every stone are free to try; the rest is part of Full Access. See Full Access.

Questions

Can both actions be long?

Yes, with while: While I was cooking, he was reading. Both are in progress at the same time.

Can I put the short action first?

Yes: The door opened while she was reading. No comma is needed when the while part comes last.

Is “when” always for the short action?

In these stories, yes. Elsewhere, when also means at the time that: When I was ten, I lived in Hue.

More Linking Ideas Further rules

Used in these writing topics

Part of the 📘 Grammar tool. Level G5: Linking Ideas Further. Đọc bằng tiếng Việt.

Written for English learners by the English for Fun team. How we write our lessons · Last updated 2026-11-05.

Reviewed by Chinh Q. Hoang, PhD, founder, English for Fun · 2026-10-30

← Past continuous: was / were + -ing Why we do things: to and so that →