Kantan JLPTGet the app

Ni vs De (に vs で): When to Use Each Particle

By the Kantan JLPT team · · 7 min read

Quick answer: に marks where something is (with いる/ある), where you're going, and a specific time. で marks where an action happens and how you do something (by bus, with chopsticks, in Japanese). The key test for places: if the verb is about existing or ending up somewhere, use に; if it's about doing something there, use で.

Why に and で are easy to confuse

Both particles often translate as "in" or "at" in English. "I'm in the library" and "I study in the library" use the same English word, but Japanese uses に for the first and で for the second. The choice depends on the verb, not the place.

This is one of the core particle pairs in our Japanese grammar guide. If you're also unsure about the subject particles, see wa vs ga.

Rule 1: Existence (に) vs action (で)

Use に with verbs of existence like いる (for people and animals) and ある (for things):

としょかんに います。
Toshokan ni imasu. I'm in the library.

Use で when something happens in that place:

としょかんで べんきょうします。
Toshokan de benkyō shimasu. I study in the library.

Same place, different particle. Here's another pair:

こうえんに いぬが います。
Kōen ni inu ga imasu. There's a dog in the park.

こうえんで いぬと あそびます。
Kōen de inu to asobimasu. I play with my dog in the park.

Live vs work: a classic trap

すむ (live) takes に, but はたらく (work) takes で:

とうきょうに すんでいます。
Tōkyō ni sunde imasu. I live in Tokyo.

ぎんこうで はたらいています。
Ginkō de hataraite imasu. I work at a bank.

Living is treated like being somewhere; working is an activity.

Rule 2: に marks destinations and where things end up

With movement verbs like いく (go), くる (come) and かえる (go home), に marks the destination. へ also works here and focuses a bit more on direction.

あした きょうとに いきます。
Ashita Kyōto ni ikimasu. I'm going to Kyoto tomorrow.

に also marks the point where something lands or makes contact:

いすに すわってください。
Isu ni suwatte kudasai. Please sit on the chair.

でんしゃに のります。
Densha ni norimasu. I get on the train.

Rule 3: に marks specific times

Use に with clock times, dates, days of the week and years:

まいあさ しちじに おきます。
Maiasa shichi-ji ni okimasu. I get up at seven every morning.

にちようびに えいがを みました。
Nichiyōbi ni eiga o mimashita. I watched a movie on Sunday.

Relative time words take no particle: きょう (today), あした (tomorrow), きのう (yesterday), まいにち (every day), らいしゅう (next week). ✗ あしたに → ✓ あした.

Rule 4: で marks means, tools and language

で answers "how?" or "with what?":

バスで がっこうに いきます。
Basu de gakkō ni ikimasu. I go to school by bus.

はしで たべます。
Hashi de tabemasu. I eat with chopsticks.

にほんごで はなしてください。
Nihongo de hanashite kudasai. Please speak in Japanese.

Notice the first sentence uses both: で for the bus, に for the destination.

Other uses worth knowing

に also marks:

  • The person receiving something: ともだちに メールを おくります。 (Tomodachi ni mēru o okurimasu. I send an email to a friend.)
  • Purpose with a movement verb: えいがを みに いきます。 (Eiga o mi ni ikimasu. I'm going to see a movie.)
  • Frequency: いっしゅうかんに にかい (isshūkan ni nikai, twice a week)

で also marks:

  • Cause: かぜで がっこうを やすみました。 (Kaze de gakkō o yasumimashita. I missed school because of a cold.)
  • Material: この いすは きで できています。 (Kono isu wa ki de dekite imasu. This chair is made of wood.)
  • Scope: にほんで いちばん たかい やまは ふじさんです。 (Nihon de ichiban takai yama wa Fujisan desu. The tallest mountain in Japan is Mt. Fuji.)
  • Totals: ぜんぶで せんえんです。 (Zenbu de sen-en desu. It's 1,000 yen in total.)

に vs で at a glance

Use Particle Example
Where someone or something is に へやに ねこが います。
Where you live に おおさかに すんでいます。
Destination に (or へ) がっこうに いきます。
Specific time に くじに ねます。
Person receiving something に ははに はなを あげます。
Where an action happens で レストランで たべます。
Where you work で びょういんで はたらいています。
Means or tool で ペンで かきます。
Where an event takes place で がっこうで テストが あります。
Cause で びょうきで やすみました。

The event exception: ある with で

ある normally takes に (つくえの うえに ほんが あります, there's a book on the desk). But when ある means an event takes place, use で, because an event is something that happens:

あした がっこうで テストが あります。
Ashita gakkō de tesuto ga arimasu. There's a test at school tomorrow.

This one appears often in JLPT-style grammar questions because it breaks the simple "ある = に" rule.

Common mistakes

  • Using に for activities. ✗ としょかんに べんきょうします → ✓ としょかんで べんきょうします
  • Using で with いる/ある for location. ✗ へやで ねこが います → ✓ へやに ねこが います
  • Using で with すむ. ✗ とうきょうで すんでいます → ✓ とうきょうに すんでいます
  • Adding に to relative time words. ✗ あしたに いきます → ✓ あした いきます
  • Using に for transportation. ✗ でんしゃに がっこうへ いきます → ✓ でんしゃで がっこうへ いきます (but でんしゃに のります, "get on the train," is correct)

Quick quiz

Fill in に or で:

  1. としょかん( )べんきょうします。
  2. つくえの うえ( )ほんが あります。
  3. タクシー( )えきまで いきました。
  4. まいあさ ろくじ( )おきます。
  5. おおさか( )すんでいます。
  6. レストラン( )ばんごはんを たべました。
  7. あした こうえん( )おまつりが あります。

Answers: 1. で (action) · 2. に (existence) · 3. で (means) · 4. に (specific time) · 5. に (すむ) · 6. で (action) · 7. で (an event takes place)

Frequently asked questions

What's the difference between に and へ?

For destinations, they're often interchangeable: がっこうに いきます and がっこうへ いきます both mean "I go to school." へ stresses direction, に stresses the arrival point. Only に works for the other uses on this page, like time and existence.

Is it に or で with "wait"?

まつ is an action, so the place takes で: えきで まっています (I'm waiting at the station).

Are に and で tested on the JLPT?

Yes. Particle questions appear in the grammar section at N5 and N4, and the same particles come back inside harder patterns at higher levels. The existence vs action rule alone solves many of them.

Practice with real sentences

Rules help, but particles really stick when you've seen them in hundreds of sentences. Kantan JLPT's fill-in-the-blank grammar cards bring back the に/で pairs you miss until the choice feels automatic. To see how particles combine with verb forms, read our guide to the Japanese te-form.