間に vs うちに: what's the difference?
間に marks a time span in which something happens; うちに means "while you still can", before a state ends. 間 alone means "the whole time".
間 (あいだ), 間に and うちに all translate as "while", so learners struggle to choose. Two questions decide it: does the action last the whole time, and is there a sense of "before it's too late"? Rule of thumb: 間 = Y fills the whole period; 間に = Y happens at some point in the period; うちに = do Y while the chance lasts, before things change.
The short answer
| 間 | 間に | うちに | |
|---|---|---|---|
| Meaning | While… (the whole time) | While…; during… (at some point) | While (still)…; ないうちに: before… |
| Strength | Y lasts through all of X | Y happens once within X | Do Y before the state ends; or a change that happens while doing X |
| Formation | Verb (dictionary / ている-form) / Noun + の + 間 | Verb (dictionary / ている-form) / Noun + の + 間に | Verb (dictionary / ている / ない-form) / い-adjective / な-adjective + な / Noun + の + うちに |
| Typical use | ずっと, ていた in the main clause | One-time events: 泥棒が入った, 電話があった | 若いうちに, 熱いうちに, 忘れないうちに, 読んでいるうちに |
間 and 間に
XあいだY means Y continues for the whole period of X, so Y is a continuing action or state. XあいだにY means Y happens at some point within X, so Y is a one-time event or a change. It is often written in kanji (間) and is neutral in register.
- 電車に乗っている間、ずっと本を読んでいた。I read a book the whole time I was on the train.
- 夏休みの間、国に帰っていた。I was back in my home country for the whole summer vacation.
- 出かけている間に、部屋に泥棒が入った。A burglar got into my room while I was out.
うちに
うちに means doing something while a state lasts, because it will be harder or impossible later. ないうちに means "before something happens"; the negative doesn't make the meaning negative (暗くならないうちに = "before it gets dark"). With Verb + ている, it means a change happened while someone was doing something, often without them noticing (読んでいるうちに眠ってしまった).
- 熱いうちに、どうぞ召し上がってください。Please eat it while it's hot.
- 若いうちに、いろいろな国へ行きたい。I want to visit lots of countries while I'm young.
- 暗くならないうちに、帰りましょう。Let's head home before it gets dark.
Side by side
- A子どもが寝ている間に、掃除をした。I cleaned while the kids were asleep.B子どもが寝ているうちに、掃除をした。I cleaned while the kids were still asleep (before they woke up and got in the way).
- A×寝ている間、泥棒が入った。(Wrong: a one-time event needs 間に.)B寝ている間に、泥棒が入った。A burglar broke in while I was asleep.
- A×熱い間に食べてください。(Unnatural: "while it's still hot, before it cools" needs うちに.)B熱いうちに食べてください。Please eat it while it's hot.
In the first pair, both are correct; B adds the idea of getting it done before the situation changes.
Quick check
- 忘れない__、メモしておこう。(I'll write it down before I forget.) → うちに: ないうちに means "before".
- 留守の__、友だちが来たらしい。(Apparently a friend came by while I was out.) → 間に: one event within a period, with no sense of "before it's too late".
- 会議の__、ずっと眠かった。(I was sleepy the whole time during the meeting.) → 間: the state lasted the whole period.
Never mix them up again
Japanana's "which one is it?" questions bring back the grammar you confuse until it sticks.