When or if? Time and condition

Short answer: When tells the time of something: When I was five, I started school. If tells what must happen first: If it rains, we will stay home. After if, use the present tense for the future, and put will in the main part. Put a comma after the when or if part when it comes first, and do not add so.

▶ Open the rule card · ✏️ Practice this rule

At a glance

WordMeaningPatternExample
whentimeWhen + idea, main ideaWhen I was five, I started school.
if (real future)conditionIf + present, will + verbIf it rains, we will stay home.
if (always true)factIf + present, presentIf you heat ice, it melts.

In short

What is the rule for “when and if”?

The rule

when joins a time. if joins a condition: if A happens, B happens.

How it looks

When + idea, main idea · If + present, will + action word

What it means

when says the time. if says what must happen first.

When to use it

Use them to join two ideas about time or a condition.

How it works

Examples of “when and if”

Common mistakes with “when and if”

Exceptions: watch out

When or while? If or unless?

When is for a point in time. While is for a longer action. If is for a condition. Unless means if not.

WordMeaningExample
whenat that timeWhen I arrived, it was raining.
whileduring that actionWhile I was cooking, he called.
ifon conditionIf you hurry, you will catch it.
unlessif notYou will miss it unless you hurry.

See also: unless

Check yourself

  1. Fix: “If it will rain, we stay in.”
    Show the answer

    If it rains, we will stay in. Present after if; will in the main part.

  2. Fix: “When I was ten, so I moved.”
    Show the answer

    When I was ten, I moved. No so after a when part.

  3. Choose: “___ I see her, I will say hello.” (When / If)
    Show the answer

    When It is certain; use when for sure events.

How to practice “when and if”

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

When do I use “when” and when “if”?

Use when for something certain to happen: When I get home, I will eat. Use if for something that may or may not happen: If I get home early, I will cook.

Do I need a comma?

Yes when the when or if part comes first. No comma when it comes second.

Can I put will after if?

In requests it is sometimes possible, such as If you will wait, I will help. For normal future conditions, use the present.

More Grammar in Context rules

Used in these writing topics

Part of the 📘 Grammar tool. Level G4: Grammar in Context. Đọ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

← Telling a story: first, then, next, finally Polite talk: Can I …? Would you like …? →