Have you ever wondered whether to use when or while? It’s common: both words relate actions to time and, in some sentences, they can even be used interchangeably.
However, when and while do not always express exactly the same idea. The choice depends on what we want to highlight: the moment in which something happens or an action taking place over a period of time.
In this article, you’ll discover the main differences between when and while through simple explanations, everyday examples, and practical exercises.
What do when and while mean in English?
Both when and while can function as time conjunctions. That is, they are used to introduce a clause indicating when something else happens.
As a first reference, we can translate them as follows:
- When → when
- While → while
Let’s look at two examples:
Call me when you arrive.
Llámame cuando llegues.
I listened to music while I was cooking.
Escuché música mientras cocinaba.
This translation helps to understand the general meaning, but it’s not always enough to decide which word we should use. In some situations, both options are grammatically possible, but they provide a different nuance.
| Word | Main idea | Typical use | Example |
| When | Moment or event | Indicate when something happens | I was sleeping when you called. |
| While | Duration or simultaneity | Talk about an action in progress | I was sleeping while they were talking. |

When can when and while be used interchangeably?
In certain contexts, both conjunctions can express that one action happens during the same period as another.
For example:
I listened to music when I was studying.
I listened to music while I was studying.
Both sentences are correct. With while, there is slightly more emphasis on the action of studying being in progress. When presents that period in a more neutral way.
Take a look at other examples:
She called me when I was having dinner.
She called me while I was having dinner.
In both cases, she called during dinner. While makes it even clearer that the call occurred in the middle of an activity that was already in progress.
He fell asleep when he was watching TV.
He fell asleep while he was watching TV.
Both options indicate that he fell asleep during the time he was watching television. Again, while highlights the duration of the activity.
So, when two actions coincide over a period of time, sometimes both words can be used. The choice will depend on which aspect the speaker wants to emphasise.
Differences between when and while
When to use when
We use when particularly when we want to point out the moment when an event happens.
A very common case is when a brief action interrupts another that was already happening:
I was walking home when it started to rain.
Estaba caminando hacia casa cuando empezó a llover.
In this sentence:
- I was walking home → describes an action already in progress.
- It started to rain → introduces a specific event.
- When → indicates the moment it started to rain.
We also use when to present actions that take place one after the other:
When the lesson finished, the students left the classroom.
Cuando terminó la clase, los estudiantes salieron del aula.
The class finished first and then the students left.
Nonetheless, we shouldn’t think that when is only used for brief actions. It can also express habits, life stages and instructions.
- Habits:
When I feel tired, I go for a walk.
Cuando me siento cansado, salgo a caminar.
2. Stages or periods:
When I was a child, I lived near the sea.
Cuando era niño, vivía cerca del mar.
3. Instructions:
When you press this button, the machine starts.
Cuando pulsas este botón, la máquina se pone en marcha.

When to use while
We use while when we want to emphasise an action that is in progress or show that two activities happen at the same time.
I was studying while my brother was watching TV.
Yo estaba estudiando mientras mi hermano veía la televisión.
Both actions were taking place at the same time. Neither is shown as interrupting the other.
While is often found with continuous tenses such as the past continuous:
They were talking while we were eating.
Ellos estaban hablando mientras nosotros comíamos.
However, this doesn’t mean that while can only be used with continuous forms. It can also accompany verbs in simple tenses:
While I cook, my partner sets the table.
Mientras yo cocino, mi pareja pone la mesa.
In this example, we’re talking about two habitual activities that take place at the same time.
It’s also possible to use while at the start or in the middle of a sentence:
While I was waiting for the bus, I checked my email.
I checked my email while I was waiting for the bus.
Both structures are correct. When the clause introduced by while comes first, it’s usually separated by a comma.

Quick comparison between when and while
| Situation | Most common option | Example |
| We want to highlight a moment | When | Call me when you arrive. |
| A brief action interrupts another | When | I was sleeping when the phone rang. |
| Two actions happen at the same time | While | I was cooking while she was working. |
| We want to emphasise the duration | While | He read while he was waiting. |
| We talk about a habit or stage | When | When I was young, I played tennis. |
| The actions coincide over a period | When / while | She called when/while I was eating. |
Tips to remember when to use when and while
A simple way to remember the difference is to picture a photo and a video:
- When is like a photo 📸: it shows a moment or event.
- While is like a video 🎥: it shows an action in progress.
Compare these two sentences:
I was driving when I saw the accident.
Estaba conduciendo cuando vi el accidente.
I listened to the radio while I was driving.
Escuché la radio mientras conducía.
In the first sentence, when points to the exact moment I saw the accident. In the second, while shows that listening to the radio and driving happened at the same time.
Remember: If you want to focus on when something happens, think when. If you want to highlight an action that happens over a period of time, think while.
This is a helpful tip, not a strict rule. The context and the speaker’s intention also influence the choice.
When and while exercises
Complete the following sentences with when or while. In some cases, both options might be possible, but you should choose the one that best fits the main meaning.
- I was watching TV ______ my brother called me.
- She listened to music ______ she was studying.
- ______ I arrived home, everyone was already there.
- He was cooking ______ I was setting the table.
- The lights went out ______ we were having dinner.
- I read a magazine ______ I was waiting for the dentist.
- ______ I was a child, I wanted to be an astronaut.
- Please don’t interrupt me ______ I’m working.
- ______ the meeting finishes, we can go for lunch.
- Laura was taking a shower ______ the doorbell rang.
Answers
- When: the phone call is a specific event happening during another action.
- While: both activities happen at the same time.
- When: indicates the moment of arrival.
- While: both actions are taking place simultaneously.
- When: the power cut interrupts dinner.
- While: highlights the activity done during the wait.
- When: refers to a stage of life.
- While: highlights an ongoing action.
- When: indicates the moment from which they can go for lunch.
- When: the doorbell interrupts the ongoing action.
In sentences 2 and 6, when could also be used in certain contexts. However, while sounds more natural if you want to emphasise that one activity takes place during the progress of another.
When or while? Practise and improve your English
Although when and while may seem very similar, understanding the difference between both words will help you express yourself more precisely.
You don’t need to memorise a long list of rules. Think about the intention behind your sentence:
- Use when to point out when something happens.
- Use while to highlight an action in progress or two activities happening at the same time.
- Remember that in certain contexts, both options can be correct.
As with any aspect of English grammar, the best way to consolidate what you’ve learned is to practise and use these words in different situations.
September and the return to studying are an excellent opportunity to get back into English. Discover the English courses at TAU Formar and fill in the contact form to receive information about the level and study mode that best suits you.
