B1 Grammar

Time clauses: ~とき, ~まえに, ~あとで, ~ながら

Quick answer

Japanese marks 'when / before / after / while' with clauses that come BEFORE the main verb. ~とき ('when') attaches to a plain clause, and the tense before とき matters: 行くとき = 'on the way / when about to go', 行ったとき = 'when I arrived / after going'. ~まえに ('before') always takes the plain NON-PAST verb, no matter the main tense (食べる前に 'before eating'). ~あとで ('after') always takes the plain PAST verb (食べたあとで 'after eating'). ~ながら ('while') attaches to a verb stem and means doing two things at the same time by the SAME person (音楽を聞きながら勉強する 'study while listening to music').

Expression
Meaning / key rule
~とき
'when'; tense before とき changes the timing
~まえに
'before'; always plain non-past verb
~あとで
'after'; always plain past verb
~ながら
'while'; stem + ながら, same subject does both
Key points
  • All four put the time clause before the main clause, unlike English word order.
  • With ~とき, 行くとき = 'when going/about to go', 行ったとき = 'when/after having gone' — the tense is relative to the main verb.
  • ~まえに always uses the non-past verb (食べる前に), even for a past main clause.
  • ~あとで always uses the past verb (食べたあとで).
  • ~ながら needs one subject doing both actions at once; the main action is the ながら-clause's companion. See te-form for sequential 'and then'.

~とき: 'when'

~とき marks the time at which something happens. Attach it to a plain clause: verbs (行くとき), い-adjectives (若いとき), な-adjectives with な (暇なとき), and nouns with の (子どものとき). The crucial point is relative tense: the verb before とき is tensed relative to the main verb, not the real-world moment. So 日本へ行くとき = 'when I'm about to/on the way to going to Japan', while 日本へ行ったとき = 'when I had gone / once I'd arrived in Japan'.

とき: non-past vs past before it
Form before ときTiming relative to main verb
行くときbefore/at the moment of going (not yet there)
行ったときafter having gone (already there)
子どものときwhen (I was) a child
暇なときwhen (you're) free
  • 日本へ行くとき、カメラを買いました。
    When I was about to go to Japan (before leaving), I bought a camera.
    行くとき = before arriving — bought it here, at home.
  • 日本へ行ったとき、カメラを買いました。
    When I went to Japan (once there), I bought a camera.
    行ったとき = after arriving — bought it in Japan.
  • 子どものとき、よくここで遊びました。
    When I was a child, I often played here.
    Noun + の + とき.

~まえに: 'before' (always non-past)

~まえに means 'before doing something'. The rule is simple and absolute: the verb before 前に is ALWAYS the plain non-past (dictionary) form, regardless of whether the main clause is past, present or future. 寝る前に = 'before sleeping', whether you're talking about last night or tonight. With a noun, use の (食事の前に 'before the meal'); with a time span, use the plain number (三年前に 'three years ago').

まえに attachment
→ before …
Verb (always non-past)食べる前に (before eating)
Noun + の食事の前に (before the meal)
Time span一時間前に (an hour ago/before)
  • 寝る前に、歯をみがきます。
    Before going to bed, I brush my teeth.
    寝る (non-past) + 前に, even though it's a habit.
  • 日本へ来る前に、少し日本語を勉強しました。
    Before coming to Japan, I studied a little Japanese.
    来る (non-past) + 前に — main clause is past, but 前に stays non-past.
  • 食事の前に手を洗いましょう。
    Let's wash our hands before the meal.
    Noun 食事 + の + 前に.

~あとで: 'after' (always past)

~あとで means 'after doing something'. Its rule mirrors 前に: the verb before あとで is ALWAYS the plain PAST (~た) form, whatever the main tense. 食べたあとで = 'after eating'. With a noun, use の (授業のあとで 'after class'). Note 後で is read あとで. For a smoother 'and then' sequence without the 'after' emphasis, the te-form (食べてから) is also common.

あとで attachment
→ after …
Verb (always past)食べたあとで (after eating)
Noun + の授業のあとで (after class)
te-form + から (smoother)食べてから (after eating / and then)
  • 宿題をしたあとで、テレビを見ます。
    After doing my homework, I watch TV.
    した (past) + あとで, even for a habit.
  • 映画を見たあとで、カフェに行った。
    After watching the movie, we went to a cafe.
    見た (past) + あとで.
  • 授業のあとで、図書館で勉強します。
    After class, I study in the library.
    Noun 授業 + の + あとで.

~ながら: 'while' (two actions at once)

~ながら means doing two actions simultaneously, both by the SAME person. Attach it to the verb's ます-stem (聞く → 聞きながら, 食べる → 食べながら). The main verb carries the real focus, and the ながら-clause is the accompanying action: テレビを見ながら食事する = 'eat while watching TV' (the main act is eating). Because one subject does both, you cannot use it for two different people's actions.

ながら attachment
→ while …-ing
聞く → 聞き音楽を聞きながら (while listening to music)
歩く → 歩き歩きながら (while walking)
食べる → 食べ食べながら (while eating)
する → し電話しながら (while on the phone)
  • 音楽を聞きながら勉強します。
    I study while listening to music.
    聞く → 聞き + ながら; main act = 勉強する.
  • 歩きながら電話をするのは危ない。
    Talking on the phone while walking is dangerous.
    歩き + ながら; same person does both.
  • コーヒーを飲みながら新聞を読んだ。
    I read the newspaper while drinking coffee.
    飲み + ながら; main act = 新聞を読む.

Keeping まえに and あとで straight

The single most common error is getting the tense wrong on 前に and あとで. Remember the mirror rule: 前に takes non-past (the action hasn't happened yet from the clause's viewpoint), あとで takes past (the action is already done). This never changes with the main clause's tense. Memorize the pair: 食べる前に / 食べたあとで.

The mirror rule
ExpressionVerb formExample
前に (before)plain non-past出かける前に
あとで (after)plain past出かけたあとで
  • 出かける前に、かぎをかけてください。
    Before going out, please lock the door.
    前に → non-past 出かける.
  • 出かけたあとで、雨が降り出した。
    After I went out, it started raining.
    あとで → past 出かけた.
  • 食べる前に手を洗って、食べたあとで歯をみがく。
    Wash your hands before eating and brush your teeth after eating.
    前に = 食べる, あとで = 食べた, in one sentence.

とき with adjectives and states

~とき isn't just for verbs. It attaches to adjectives and states to mean 'when (it is) …'. い-adjectives go directly (さびしいとき 'when (you're) lonely'), な-adjectives take な (ひまなとき 'when free'), and nouns take の (学生のとき 'when (I was) a student'). The whole phrase tells you the circumstances under which the main clause happens.

  • さびしいとき、友だちに電話します。
    When I'm lonely, I call a friend.
    い-adj + とき directly.
  • ひまなとき、何をしますか。
    What do you do when you're free?
    な-adj + な + とき.
  • 学生のとき、よくアルバイトをしました。
    When I was a student, I often worked part-time.
    Noun + の + とき.

Common mistakes

Wrong食べた前に歯をみがく
Right食べる前に歯をみがく
~前に always takes the plain non-past verb: 食べる前に, never 食べた前に.
Wrong食べるあとでテレビを見る
Right食べたあとでテレビを見る
~あとで always takes the plain past verb: 食べたあとで, never 食べるあとで.
Wrong私が歩きながら、彼が歌った。
Right歩きながら歌った。(same person)
~ながら requires one subject doing both actions. For two different people's simultaneous actions, use a different construction.
Wrong日本へ行ったとき、カメラを買う(on the way, at home)
Right日本へ行くとき、カメラを買う。
For 'before/while going' (bought at home), use 行くとき. 行ったとき means 'once I had arrived in Japan'.
Wrong食べてながら歩く
Right食べながら歩く
~ながら attaches to the ます-stem (食べ), not the te-form. 食べ + ながら = 食べながら.

Frequently asked questions

How does the tense before ~とき change the meaning?
The verb before とき is tensed relative to the main verb. 行くとき = 'when about to go / before arriving', 行ったとき = 'when I had gone / once there'. So 日本へ行くとき (bought at home) differs from 日本へ行ったとき (bought in Japan).
Which verb form goes before ~まえに?
Always the plain non-past (dictionary) form, no matter the main clause's tense: 寝る前に ('before sleeping'), 来る前に ('before coming'). Nouns take の (食事の前に).
Which verb form goes before ~あとで?
Always the plain past (~た) form: 食べたあとで ('after eating'), 見たあとで ('after watching'). Nouns take の (授業のあとで). This mirrors 前に, which always uses non-past.
How do I say 'while doing two things'?
Use ~ながら on the ます-stem: 聞きながら ('while listening'). Both actions must be done by the same person, and the main verb carries the main focus (音楽を聞きながら勉強する = 'study while listening to music').
What's the difference between ~たあとで and ~てから?
Both mean 'after'. ~たあとで emphasizes that one action clearly follows another in time, while ~てから (te-form + から) reads more as a smooth 'and then' sequence. They often overlap in everyday speech.

Practice

Choose the form before 前に.
寝る___に、歯をみがきます。
Before going to bed, I brush my teeth.
前 あと
Show answer
前 — 'Before' is ~前に, with the non-past verb 寝る.
Which verb form before 前に?
日本へ___前に、日本語を勉強しました。
Before coming to Japan, I studied Japanese.
来る 来た
Show answer
来る — ~前に always takes the non-past form: 来る前に, even with a past main clause.
Which verb form before あとで?
宿題を___あとで、テレビを見ます。
After doing my homework, I watch TV.
する した
Show answer
した — ~あとで always takes the past form: したあとで.
'While' listening to music.
音楽を___ながら勉強します。
I study while listening to music.
聞いて 聞き
Show answer
聞き — ~ながら attaches to the ます-stem: 聞く → 聞き + ながら.
'When about to go' (bought at home).
日本へ___とき、カメラを買いました。
When I was about to go to Japan, I bought a camera (at home).
行く 行った
Show answer
行く — 行くとき = before arriving. 行ったとき would mean 'once in Japan'.
Noun + とき.
子ども___とき、よくここで遊びました。
When I was a child, I often played here.
の な
Show answer
の — A noun before とき takes の: 子どものとき.
な-adjective + とき.
ひま___とき、何をしますか。
What do you do when you're free?
な の
Show answer
な — A な-adjective before とき takes な: ひまなとき.
'After' watching the movie.
映画を___あとで、カフェに行った。
After watching the movie, we went to a cafe.
見る 見た
Show answer
見た — ~あとで takes the past form: 見たあとで.
'Before going out' request.
出かける前に、かぎを___ください。
Before going out, please lock the door.
かけて かけた
Show answer
かけて — The main clause is a request (かけてください); 前に still uses non-past 出かける.
ながら on the correct stem.
コーヒーを___ながら新聞を読んだ。
I read the newspaper while drinking coffee.
飲み 飲んで
Show answer
飲み — ~ながら uses the ます-stem: 飲む → 飲み + ながら.
い-adjective + とき.
___とき、友だちに電話します。
When I'm lonely, I call a friend.
さびしいな さびしい
Show answer
さびしい — い-adjectives attach to とき directly: さびしいとき.

Related guides