Of all the jobs に does, this is the one to master first, because it comes with two anchor verbs that always pull に along with them: ある (existence of things) and いる (existence of living beings). Learn "existence takes に" together with ある and いる, and you have installed the single most reliable rule for choosing between に and で.
教室に学生がいる。
kyōshitsu ni gakusei ga iru
There are students in the classroom.
に here marks the point where something exists — the place a thing simply is, with no action happening. English collapses this into "in / on / at," but Japanese sees it as a single relationship: this is where the thing sits.
The pattern: 〜に〜がある / 〜がいる
The sentence has a fixed shape. The place takes に; the thing that exists takes が (or は if it's the topic); and the verb is ある or いる.
冷蔵庫に牛乳がある。
reizōko ni gyūnyū ga aru
There's milk in the fridge.
机の上に本があります。
tsukue no ue ni hon ga arimasu
There's a book on the desk.
ソファの下に猫がいるよ。
sofa no shita ni neko ga iru yo
There's a cat under the sofa.
Read literally, these say "As for the fridge, milk exists there." The place is the setting-point (に), the thing is what exists there (が). Whether you use ある or いる depends only on whether the thing is alive — that split has its own page, ある・いる: The Animate/Inanimate Split — but the location particle is に either way.
Static location verbs also take に
に isn't limited to ある and いる. Any verb describing a thing being situated somewhere without acting takes に for its location: 住む (live/reside), 勤める (be employed at), 座る (be seated), 立つ (stand), 泊まる (stay overnight), 残る (remain).
東京に住んでいます。
Tōkyō ni sunde imasu
I live in Tokyo.
兄は銀行に勤めている。
ani wa ginkō ni tsutomete iru
My older brother works at a bank.
窓の近くに座ってもいいですか。
mado no chikaku ni suwatte mo ii desu ka
May I sit near the window?
These verbs are about where you are located, not about doing something in a place, so they behave like ある/いる and take に. 住む is especially worth burning in: it is location-of-existence through and through, and it is always に — never で.
The sharp contrast: に (existence) vs で (action)
Here is the rule that resolves the single most common に/で mix-up:
- に — where something exists or is statically located (ある, いる, 住む, 座る).
- で — where an action takes place (勉強する, 遊ぶ, 働く, 食べる).
The place can be word-for-word identical; the verb decides the particle. Compare:
図書館に学生がいます。
toshokan ni gakusei ga imasu
There are students in the library. (they exist there → に)
図書館で勉強します。
toshokan de benkyō shimasu
I study in the library. (an action happens there → で)
The library is the same place. In the first sentence the students merely are there, so it is に; in the second, studying happens there, so it is で. This is the cleanest formulation of the entire に/で split, and ある/いる are the verbs that lock it in, because they can only mean existence — they never describe an action. The complementary で side is on で: Where an Action Happens, and the head-to-head is on に vs で.
English is the trap here
English uses the same prepositions ("in the room," "at the library") for both existence and action, so nothing in your native language flags the difference. "There's a cat in the room" and "I read in the room" both use "in," and an English speaker naturally reaches for one Japanese particle for both — usually the one they learned first. Japanese refuses to blur them: being somewhere and doing something somewhere are grammatically different relationships. This is why ×部屋で猫がいる feels so tempting and is so wrong.
An honest complication: events take で, not に
There is one place where the "existence → に" rule seems to break, and it is worth meeting head-on. When the thing "existing" is actually an event — a party, a meeting, a concert — Japanese treats it as something that happens, not something that sits there, and marks its location with で, even though the verb can be the ある-like である/行われる.
パーティーは私の家であります。
pātī wa watashi no ie de arimasu
The party is (being held) at my house.
会議は三階の会議室で行われます。
kaigi wa san-gai no kaigishitsu de okonawaremasu
The meeting will be held in the conference room on the third floor.
Compare 家に犬がいる (a dog exists at the house → に) with パーティーは家である (a party takes place at the house → で). A thing occupies a point; an event unfolds in a domain. English speakers may recognize this from Spanish, where estar handles physical location but the location of an event takes ser — the same instinct that a happening is categorized differently from a thing sitting somewhere. Don't let it shake the core rule: for ある/いる meaning literal existence, it is always に.
Common mistakes
❌ 部屋で猫がいる。
Incorrect — existence with いる takes に; で would wrongly frame it as an action.
✅ 部屋に猫がいる。
heya ni neko ga iru
There's a cat in the room.
❌ 冷蔵庫で牛乳がある。
Incorrect — ある marks existence, so the place takes に, not で.
✅ 冷蔵庫に牛乳がある。
reizōko ni gyūnyū ga aru
There's milk in the fridge.
❌ 東京で住んでいます。
Incorrect — 住む is static location and always takes に.
✅ 東京に住んでいます。
Tōkyō ni sunde imasu
I live in Tokyo.
❌ 学生が教室にある。
Incorrect — students are animate, so use いる, not ある (the particle に is right).
✅ 学生が教室にいる。
gakusei ga kyōshitsu ni iru
There are students in the classroom.
❌ 図書館に勉強します。
Incorrect — studying is an action, so the place takes で, not に.
✅ 図書館で勉強します。
toshokan de benkyō shimasu
I study at the library.
The first three are all the same slip: using で where something simply exists. The fourth is a reminder that に is right but the verb must match the thing's animacy (ある for things, いる for the living). The fifth is the mirror error — using に for a place where an action happens.
Key takeaways
- に marks the point where something exists or is statically located; ある/いる are its permanent partners.
- The core frame is [place]に [thing]が ある/いる.
- Static-location verbs (住む, 勤める, 座る, 立つ, 泊まる) also take に.
- The master split: existence & static location → に; dynamic action → で. Same place, different verb, different particle.
- Watch the edge case: an event's location takes で (パーティーは家である), because an event happens rather than exists.
Now practice Japanese
Reading grammar gets you part of the way. The exercises are where it sticks — free, no signup needed.
Start learning Japanese→Related Topics
- に: An Overview of Its Many UsesN5 — A map of the particle に — location of existence, specific time, destination, recipient, purpose, passive agent, and result of change — all unified by one core sense: a fixed point or target.
- で: Where an Action HappensN5 — Why で marks the place where an action happens (レストランで食べる) while に marks where something merely exists — a split decided by the verb, not the place.
- ある・いる: The Animate/Inanimate SplitN5 — The two Japanese existence verbs — いる for animate beings and ある for inanimate things — and why 'there is' and 'to be located' use these, never です.
- に vs で: Static vs Dynamic LocationN4 — The cornerstone location contrast — に marks where something exists or arrives (いる, 住む, 座る, 置く), で marks where an action happens (食べる, 働く, 勉強する) — decided by the verb, not the English preposition.