When to Use に and で in Japanese (Simple Guide)

If you've been learning Japanese for a while, you've probably seen these two sentences:
学校に行きます。
I go to school.
学校で勉強します。
I study at school.
At first glance, they seem similar.
Both sentences involve a school.
Both actions happen in relation to a school.
So why does one use に while the other uses で?
Many textbooks explain:
に = at, to, in
で = at, in
While technically correct, this explanation doesn't help much in real conversations. Learners are often left wondering:
If both particles can mean "at," how do I know which one to use?
The good news is that the difference is actually much simpler than it first appears.
In this guide, we'll focus on the practical intuition behind に and で so you can start using them naturally.
Quick Summary
If you only remember one thing from this article, remember this:
Particle | Main Idea |
|---|---|
に | Destination or existence |
で | Location where an action happens |
Think of it like this:
に tells us where something goes or exists.
で tells us where something happens.
Let's look at each one in more detail.
Using に for Destinations
One of the most common uses of に is to show a destination.
In other words:
Where is someone or something going?
For example:
学校に行きます。
I go to school.
The school is the destination.
The action is movement toward the school.
That's why we use に.
Here are some more examples:
日本に来ました。
I came to Japan.
家に帰ります。
I return home.
駅に着きました。
I arrived at the station.
In all of these examples, the location is the endpoint of movement.
That is the core idea of に.
A Simple Mental Model
Imagine drawing an arrow.
Person → School
The arrow ends at the school.
Whenever you're talking about where the arrow ends, に is often involved.
Examples:
Go to Tokyo
Come to Japan
Return home
Arrive at the station
All of these involve movement toward a destination.
Using に for Existence
The second major use of に is existence.
This is another area where learners often get confused.
Look at these sentences:
机の上に本があります。
There is a book on the desk.
公園に猫がいます。
There is a cat in the park.
Notice that there is no movement.
Nothing is travelling anywhere.
Instead, we're simply stating where something exists.
The book exists on the desk.
The cat exists in the park.
Because we're talking about existence, Japanese uses に.
Why Not で?
This is an important question.
Many learners see:
公園に猫がいます。
and wonder:
Why not 公園で猫がいます?
The answer is simple.
We're not describing an action.
We're describing existence.
The cat is simply there.
Nothing is happening.
No action is taking place.
That's why に is used.
Using で for Actions
Now let's look at で.
The easiest way to think about で is:
Where does an action happen?
This is the most important function of で.
For example:
学校で勉強します。
I study at school.
The action is studying.
The school is where that action happens.
Therefore:
で
More examples:
図書館で本を読みます。
I read books at the library.
カフェで働いています。
I work at a café.
公園で遊びます。
I play at the park.
レストランで食べます。
I eat at a restaurant.
In every sentence, an action is taking place.
That's the key signal that で is often needed.
Another Useful Mental Model
Imagine a stage.
An action is being performed on that stage.
The stage itself is marked by で.
For example:
公園で遊びます。
The action:
Play.
The stage:
Park.
Therefore:
で
The Most Common Beginner Mistake
Many beginners understand the rule but still make mistakes because they focus only on the location.
For example:
学校に行きます。
and
学校で勉強します。
Both involve a school.
But the important question isn't:
Where?
The important question is:
What role does the location play?
In the first sentence:
The school is the destination.
Use に.
In the second sentence:
The school is the place where studying happens.
Use で.
This small shift in thinking solves most confusion.
Can You Use Both in the Same Situation?
Absolutely.
Let's use a park as an example.
公園に行きます。
I go to the park.
The park is the destination.
公園で遊びます。
I play at the park.
The park is the location of an action.
In real life, both sentences might describe the same outing.
First:
You go to the park.hen:
You play at the park.
Japanese simply views the location differently depending on what you're talking about.
Why 行く Usually Uses に
One pattern worth remembering is that movement verbs often pair with に.
Examples:
行く (to go)
来る (to come)
帰る (to return)
着く (to arrive)
Examples:
学校に行く
Go to school
日本に来る
Come to Japan
家に帰る
Return home
Because these verbs involve movement toward a destination, に naturally appears.
Why Study, Work, and Eat Often Use で
Many everyday activities use で because they happen somewhere.
Examples:
学校で勉強する
Study at school
会社で働く
Work at a company
レストランで食べる
Eat at a restaurant
図書館で読む
Read at a library
The location functions as the setting for an action.
That's exactly what で is designed to show.
A Shortcut for Beginners
When you're unsure which particle to choose, ask yourself:
Question 1
Is this where someone or something is going?
If yes:
→ Use に
Example:
東京に行く
Go to Tokyo
Question 2
Is this where something exists?
If yes:
→ Use に
Example:
部屋に猫がいる
There is a cat in the room
Question 3
Is this where an action happens?
If yes:
→ Use で
Example:
部屋で勉強する
Study in the room
This simple decision tree works surprisingly well for beginners.
Practice Quiz
Try these yourself before checking the answers.
1
図書館_勉強します。
Answer:
図書館で勉強します。
Because studying is an action.
2
日本_来ました。
Answer:
日本に来ました。
Because Japan is the destination.
3
公園_犬がいます。
Answer:
公園に犬がいます。
Because we're talking about existence.
4
レストラン_食べます。
Answer:
レストランで食べます。
Because eating is an action.
5
家_帰ります。
Answer:
家に帰ります。
Because home is the destination.
Common Japanese Particle Confusions
What Does へ Mean in Japanese? — Learn how へ marks direction or movement toward a destination.
は vs が — Learn when Japanese marks a topic versus a subject.
に vs へ — Learn why both can mark destinations, but に focuses more on the target while へ emphasises direction.
What Does を Mean in Japanese? — Learn how を marks the direct object of an action.
What Does で Mean in Japanese? — Learn how で marks where an action takes place.
Frequently Asked Questions
Can に and で both mean "at"?
Yes.
That's exactly why learners get confused.
The English translation often looks similar.
The real difference is not the English word.
The difference is the role the location plays in the sentence.
Why does 行く use に?
Because the location is the destination of movement.
Why does 勉強する use で?
Because studying is an action happening somewhere.
Can I always use に for places?
No.
If an action is happening at that place, you'll often need で instead.
For example:
学校で勉強する
not
学校に勉強する
Final Mental Model
If you only remember one thing from this article, remember this:
に points to a destination or where something exists.
で points to where an action happens.
That's not the complete story of every possible use of these particles.
But for most beginners, this simple distinction explains the majority of situations you'll encounter.
Instead of memorising dozens of grammar rules, focus on asking:
Is this a destination?
Is this existence?
Or is this an action?
Once you start thinking this way, choosing between に and で becomes much easier.
This confusion is similar to the challenge learners face when deciding between は and が.
If you've already learned the basics of Japanese particles, you may also find our guide on は vs が helpful.
Continue Your Japanese Journey
Understanding grammar is important.
But real progress comes from seeing words and structures repeatedly in context.
The goal isn't to study harder.
It's to build consistent progress, one step at a time.
💪
練
Recall
新
Learn
文
Grammar
話
Speaking