に vs で in Japanese: where something is vs where it happens
に vs で
ni vs de
where something is vs where it happens
JLPT N5 · Particles
に (ni) and で (de) both translate as "in" or "at", but they do different jobs. に marks where something exists or where you go (部屋にいる, 学校に行く), and で marks where an action happens (部屋で勉強する). Both go right after the place noun.
How to form it
| When | Add | Example |
|---|---|---|
| Existence | Place + に + いる / ある | 公園に犬がいる |
| Destination | Place + に + 行く / 来る / 帰る | 日本に行く, 家に帰る |
| Action | Place + で + action verb | 公園で遊ぶ, 家で食べる |
| Event | Place + で + ある (takes place) | 東京でコンサートがある |
| Live vs work | 住む takes に, 働く takes で | 東京に住む, 東京で働く |
How to use it
Ask what the verb does. If it says something is there (いる, ある, 住む, 座る), or that you arrive somewhere (行く, 着く, 入る), use に. If it describes an activity (食べる, 遊ぶ, 働く, 会う), use で.
ある can take either one. For things, use に: 机の上に本がある. For events like a party, exam or concert, use で: 学校で試験がある.
Verbs of putting or writing also take に, because they mark where something ends up: ここに名前を書いてください, 机の上に置く.
Both are neutral and appear in all registers, so the choice is about meaning, not politeness.
Examples
Tap a word to see what it means and save it to your flashcards.
Giving directions
Eki no mae ni konbini ga arimasu.
Texting a friend before meeting
Eki no mae de matteru ne.
Talking about family
Ane wa Oosaka ni sunde imasu.
Explaining why you can't go out
Ashita, gakkou de shiken ga aru n da.
Don’t mix it up with
へ: へ marks direction, like に with movement verbs. It never marks where something exists or where an action happens.
を: With movement verbs, を marks the path you move along: 公園を歩く (walk through the park). 公園で歩く focuses on walking as an activity there.
Common mistakes
Using に for an activity: 図書館に勉強します is wrong. Say 図書館で勉強します.
Using で with 住む: 東京で住んでいます is wrong. Say 東京に住んでいます.
Using に for an event: 学校にお祭りがある should be 学校でお祭りがある.
Have a sentence of your own? The Japanese sentence analyzer breaks down any line word by word.
Questions learners ask
Why does 住む take に but 働く takes で?
住む is about where you are, like いる, so it takes に. 働く is an activity, so the place where you do it takes で.
Can ある take で?
Yes, when the subject is an event. 東京でコンサートがある means a concert takes place in Tokyo. For objects, use に: 東京に大きい駅がある.