Home › Blog › とき (when)

行くとき vs 行ったとき: How とき Works in Japanese

日本へ行くとき and 日本へ行ったとき can both be translated as “when I went to Japan”, yet they describe different moments. The verb before とき does not show past or present. It shows which event came first.

Published October 3, 2026 · 7 min read · Level: N4

The short version: とき means when and attaches like a noun: 行いくとき, 寒さむいとき, 暇ひまなとき, 子こどものとき. The verb before とき does not show past or present. It shows order: the dictionary form means the event has not happened yet when the main action takes place, and the た-form means it already has. So 日本にほんへ行いくとき、かばんを買かいました means you bought the bag before or on the way, and 日本にほんへ行いったとき、かばんを買かいました means you bought it in Japan.

Level: N4. とき itself appears early, but the meaning of the verb form in front of it is a standard N4 point and a favourite in test questions. Every example has furigana, the kana reading underneath and an English translation.

Most learners first meet とき in a sentence like 暇ひまなとき、何なにをしますか (What do you do in your free time?) and file it away as an easy word. The trouble starts when a verb comes before it, because English and Japanese use the tense of that verb for different jobs. In English, “when I went” is past simply because the story is in the past. In Japanese, the form tells the listener something more precise: had this event already happened at the moment of the main action?

How to attach とき

Word typePatternExampleMeaning
Verb, not yet donedictionary form + とき行いくときwhen (I am) going
Verb, already doneた-form + とき行いったときwhen (I had) gone, after arriving
Verb, in progressている + とき待まっているときwhile (I was) waiting
Verb, negativeない-form + とき分わからないときwhen (you) don't understand
い-adjectiveadjective + とき寒さむいときwhen it is cold
な-adjectiveadjective + な + とき暇ひまなときwhen (I am) free
Nounnoun + の + とき子こどものときwhen (I was) a child

In other words, とき behaves exactly like a noun such as 人ひと or 店みせ: whatever describes it goes in front, in the same form you would use before any noun. You will see it written both as とき and as 時とき; grammar books usually write it in hiragana when it means “when”.

The famous pair: 行いくとき vs 行いったとき

Not there yetにほんへいくとき、かばんをかいました。I bought a bag for my trip to Japan.
homeJapan
The bag was bought before arriving: at home, at the airport, or on the way.
Already thereにほんへいったとき、かばんをかいました。I bought a bag when I was in Japan.
homeJapan
The bag was bought after arriving, in Japan.

Both sentences end in 買かいました, so both are about the past. The verb before とき answers a different question. With 行いく, the trip was not yet complete when the bag was bought. With 行いった, the trip was complete, so you were already in Japan.

The same logic in phrases you already know

Japanese daily greetings follow this rule exactly, which makes them a good way to remember it. Each one is tied to a moment either just before or just after an action.

家いえを出でるときいってきますWhen you are about to leave home. You have not left yet.
家いえに帰かえったときただいまWhen you have arrived home. You are already inside.
ご飯はんを食たべるときいただきますBefore you start eating.
ご飯はんを食たべ終おわったときごちそうさまでしたAfter you have finished eating.
Going home: 帰るとき vs 帰ったときN4
Read the second one carefully. 家いえに帰かえるとき、だれもいませんでした would place the empty scene before you arrived, as you were setting off or on the way, not in the house you walked into.

A future sentence with a past form, and the reverse

Because the form inside とき only shows order, it can disagree with the tense of the whole sentence. These two examples look strange to English speakers, and they are completely normal Japanese.

The tense of the sentence comes at the endN4
Future, but た-form
Past, but dictionary form
Why 行いった in a future sentence? You will meet your friend in Japan, so at the moment of meeting, the trip will already be complete. The time of the whole sentence is shown only once, by 会あいます at the end.

While: ているとき

To say that something happened in the middle of another action, put the verb in the ている form before とき.

ている + ときN4

Adjectives and nouns: 暇ひまなとき, 子こどものとき

Adjective / noun + ときN5–N4
No past tense needed. “When I was a child” is simply 子こどものとき. The past tense of 遊あそびました already places the memory in the past.

とき, ときに or ときは?

All three are correct, and in many sentences the difference is small. As a rule of thumb:

ときに: at that moment

Points to the exact time something should happen.えきについたときに、でんわしてください。Please call me when you get to the station.

ときは: in that situation

States what you do whenever that situation arises, often as a habit or in contrast with other times.わからないときは、きいてください。If there's anything you don't understand, please ask.
とき only says when. If you want to add “if” or “once”, Japanese uses たら: 日本にほんに行いったら、連絡れんらくしてね (Let me know once you get to Japan). The full comparison is in たら, ば, と and なら.
時
Train your ear on the difference. 行いくとき and 行いったとき differ by one small sound, which is easy to miss in fast speech. Kanjijo's JLPT listening practice and dictation exercises make you catch exactly this kind of detail, and the grammar bank shows とき in example sentences with native audio.

Check yourself: before or after?

Ask: had the event already happened at the time of the main action?

1 · Souvenirs at the airport

You had not got home yet, so 帰かえる.

2 · In the morning

You say it after you are up: 起おきた.

3 · Leaving home

You say it just before leaving, so the dictionary form 出でる.

4 · Next year

You will eat takoyaki in Osaka, after arriving: 行いった, even though the sentence is about the future.

5 · Free time

暇ひま is a な-adjective, so it keeps な.

6 · Childhood

Nouns take の before とき.

Quick reference

Attaching とき
Like a noun: 行くとき, 行ったとき, 待っているとき, 寒いとき, 暇なとき, 子どものとき.
Dictionary form + とき
The event has not happened yet at the time of the main action: 家を出るとき「いってきます」.
た-form + とき
The event has already happened: 家に帰ったとき「ただいま」.
The famous pair
日本へ行くとき買った = bought before arriving. 日本へ行ったとき買った = bought in Japan.
Mixed tenses are normal
来年日本へ行ったとき、友だちに会います. 昨日家を出るとき、雨が降っていました.
While
ている + とき: 勉強しているとき、電話が鳴りました.
ときに / ときは
ときに = at that moment. ときは = in that kind of situation.

Frequently Asked Questions

行いくとき means the going has not been completed when the main action happens: before leaving or on the way. 行いったとき means you had already arrived. 日本にほんへ行いくとき、かばんを買かいました: you bought the bag for the trip. 日本にほんへ行いったとき、かばんを買かいました: you bought it in Japan.

No. It shows the order of events. The dictionary form means the event has not happened yet at the time of the main action, and the た-form means it has. That is why a future sentence can say 来年らいねん日本にほんへ行いったとき、友ともだちに会あいます.

い-adjectives attach directly: 寒さむいとき. な-adjectives keep な: 暇ひまなとき. Nouns take の: 子こどものとき, 雨あめのとき.

子こどものとき. The noun form is the normal way to say it, and the past tense of the main verb already places it in the past: 子こどものとき、よく川かわで遊あそびました.

ときに points to the moment something happens: 駅えきに着ついたときに、電話でんわしてください. ときは states what you do in that kind of situation, often as a habit or in contrast: 寒さむいときは、温あたたかいお茶ちゃを飲のみます.

Sources & further reading
  1. Seiichi Makino & Michio Tsutsui, A Dictionary of Basic Japanese Grammar (The Japan Times, 1986): entry for toki, including the relative tense of the clause before it.
  2. The Japan Foundation & JEES, JLPT Level Summary: what N4 candidates are expected to understand.

Hear とき in real conversations

The two forms before とき only become automatic after you have heard them many times in context. Kanjijo gives you the full N5–N1 path of 2,480 kanji, 9,020 words and the complete grammar bank, with exclusive mnemonics for every kanji and every word, an SRS engine with seven growth stages that times each review, home, lock screen and interactive test widgets, JLPT reading and listening practice and full mock tests. Train your ear with conversation lessons, shadowing and dictation, point the OCR scanner at any Japanese text around you, and turn any Japanese video you paste in into a lesson. Free on iPhone.

Download Kanjijo Free

Learning more than Japanese? Our sister apps use the same method - free:

中 Hanzijo - Learn Chinese (HSK 1–9)한 Hanguljo - Learn Korean (TOPIK 1–6)

One Premium account unlocks all three apps.