ために vs ように: Two Ways to Say "In Order To"
By the Kantan JLPT team · · 10 min read
Quick answer: ために and ように both give a purpose. Use ために when the goal is an action you choose to do and the subject stays the same: 車を 買うために 働く (work to buy a car). Use ように when the goal is a result you can't simply decide on: a potential form (話せるように), a negative (忘れないように), a verb like わかる or 見える, or a goal for someone else. After a noun, only ために works: 家族の ために (for my family).
Why ために and ように are confusing
English uses "to," "in order to" and "so that" almost interchangeably. Japanese splits purpose into two patterns, and the split doesn't follow English at all. It depends on one thing: can you make the goal happen just by deciding to?
If you can (buy, go, take a photo), use ために. If you can't (be able to read, not forget, be heard), use ように. Get that one idea down, and most questions about this pair answer themselves.
ために is N4 grammar, listed in our JLPT N4 grammar list. ように meaning "so that" sits in our JLPT N3 grammar list (some textbooks and lists put it at N4), and many textbooks teach the two together because they're so easy to mix up. For how purpose clauses fit into longer sentences, see our Japanese grammar guide.
What's the key rule for ために and ように?
Check two things: the verb before the pattern, and who does each part of the sentence.
| ために | ように | |
|---|---|---|
| Verb before it | Volitional: an action you choose (買う, 行く, 勉強する) | A result: potential forms (話せる), negatives (忘れない) and non-volitional verbs (なる, わかる, 見える, 聞こえる) |
| Subjects | The same in both halves | Can be different |
| After nouns | Noun の ために (家族の ために) | Not used for purpose |
| Feel | A clear goal you act toward | A result you hope to bring about |
| Level in Kantan JLPT | N4 | N3 |
Compare these two:
留学するために、貯金して います。
Ryūgaku suru tame ni, chokin shite imasu. I'm saving money to study abroad.
日本語で 仕事が できるように、毎日 勉強して います。
Nihongo de shigoto ga dekiru yō ni, mainichi benkyō shite imasu. I'm studying every day so that I can work in Japanese.
留学する is something you decide to do, so it takes ために. できる (be able to) isn't an action you can choose. It's a result you're working toward, so it takes ように.
How do you form ために and ように?
| Word type | ために | ように |
|---|---|---|
| Verb (dictionary form) | 買うために | 間に合うように |
| Potential form | ✗ (use ように) | 話せるように |
| Negative | Rare (use ように) | 遅れないように |
| Noun | 健康の ために | ✗ (の ように means "like") |
A few details:
- The verb before ために stays in the dictionary form, even in a past sentence: 買うために 働いた (I worked to buy it). 買ったために means "because I bought it," a different use covered below.
- For a negative goal, ように is the standard choice: 忘れないように. You may see 〜ないために in writing, but on the test, pair negatives with ように.
- In writing, ために often drops the に: 留学するため、貯金して いる.
When do you use ために?
Use ために for a goal you work toward on purpose, when the same person does both parts. Think of it as "I do A in order to do B."
新しい パソコンを 買うために、アルバイトを して います。
Atarashii pasokon o kau tame ni, arubaito o shite imasu. I'm working a part-time job to buy a new computer.
朝日の 写真を 撮るために、四時に 起きました。
Asahi no shashin o toru tame ni, yo-ji ni okimashita. I got up at four to take photos of the sunrise.
After a noun, ために means "for" or "for the sake of": 家族の ために (for my family), 健康の ために (for my health), 試験の ために (for the exam).
子どもたちの ために、庭に 小さい 畑を 作りました。
Kodomotachi no tame ni, niwa ni chiisai hatake o tsukurimashita. I made a small vegetable garden in the yard for the kids.
When do you use ように?
Use ように when the goal is a result rather than an action: something becomes possible, something doesn't happen, or someone else does something. Think of it as "I do A so that B happens."
With potential forms (can do):
一人で 料理が 作れるように、母に 教えて もらって います。
Hitori de ryōri ga tsukureru yō ni, haha ni oshiete moratte imasu. I'm having my mom teach me so I can cook on my own.
With negatives:
学校に 遅れないように、早めに 家を 出ました。
Gakkō ni okurenai yō ni, hayame ni ie o demashita. I left home early so I wouldn't be late for school.
With verbs you can't control, like わかる, 見える, 聞こえる and なる:
字幕が なくても わかるように、毎日 日本語の ドラマを 見て います。
Jimaku ga nakute mo wakaru yō ni, mainichi Nihongo no dorama o mite imasu. I watch Japanese dramas every day so I can understand them even without subtitles.
When the subjects are different:
赤ちゃんが よく 眠れるように、部屋を 暗く しました。
Akachan ga yoku nemureru yō ni, heya o kuraku shimashita. I made the room dark so the baby could sleep well.
You can choose to make the room dark, but you can't decide for the baby to fall asleep. That's why ように fits.
Does ために also mean "because of"?
Yes. ため(に) can also give a cause, and that use is N3. You can tell the two apart by what comes before ため and what follows it:
- Purpose (in order to): a dictionary-form action verb, or a noun like 健康 or 家族. The main clause is something someone does on purpose.
- Cause (because of): a past verb, an adjective, or an event noun like 事故, 雪 or 工事. The main clause is a result.
工事の ため、この 道は 通れません。
Kōji no tame, kono michi wa tōremasen. You can't use this road because of construction.
風邪を ひいた ために、試合に 出られなかった。
Kaze o hiita tame ni, shiai ni derarenakatta. I couldn't play in the game because I'd caught a cold.
Compare 健康の ために 歩く (walk for my health) with 病気の ために 休む (stay home because of illness). Same shape, opposite direction: one points forward to a goal, the other back to a cause.
This ため sounds formal, so you'll find it on signs, in announcements and on the news. In conversation, から or ので sound more natural; see から vs ので.
How are ようにする and ようになる different?
Two N4 patterns share the ように shape, but they end with a verb and don't express a purpose.
- ようにする is an effort you make: "make sure to" or "try to." With している, it describes a habit you keep, just like other habits in the ている form.
- ようになる is a change that happens over time: "come to" or "become able to."
寝る 前は スマホを 見ないように して います。
Neru mae wa sumaho o minai yō ni shite imasu. I try not to look at my phone before bed.
一年 練習して、ギターが 少し 弾けるように なりました。
Ichinen renshū shite, gitā ga sukoshi hikeru yō ni narimashita. After a year of practice, I can now play the guitar a little.
The difference is who's in control. With ようにする, you are. With ようになる, the sentence is about the change itself, even if your effort caused it. Our potential form guide covers 弾ける and the other "can" forms that often come before ようになる.
You'll also meet ように at the end of a sentence as a wish (いい 一年に なりますように, "I hope it's a good year") and with 言う for passing on a request (早く 来るように 言われた, "I was told to come early"). Both are N3.
ために vs ように at a glance
| Your goal | Use | Example |
|---|---|---|
| An action you choose | ために | 車を 買うために 働く |
| A person or thing you do it for | Noun の ために | 家族の ために 料理を する |
| Being able to do something | ように | 話せるように 練習する |
| Something not happening | ように | 忘れないように メモする |
| A verb you can't control | ように | わかるように ゆっくり 話す |
| Someone else's action or state | ように | 弟が 眠れるように 音を 小さく する |
| A cause (because of) | ため(に) | 雪の ために 電車が 遅れた |
Common mistakes
- Using ために with a potential form. ✗ 日本語が 話せるために → ✓ 日本語が 話せるように
- Using ために with a verb you can't control. ✗ よく 見えるために、前に 座る → ✓ よく 見えるように、前に 座る
- Using a past verb for a purpose. ✗ 車を 買ったために、働いた → ✓ 車を 買うために、働いた. (買ったために means "because I bought a car.")
- Forgetting の after a noun. ✗ 家族ために → ✓ 家族の ために
- Using のように for a purpose. ✗ 健康のように、野菜を 食べる → ✓ 健康の ために、野菜を 食べる. (健康のように means "like health.")
- Mixing up ようにする and ようになる. A habit you keep on purpose is ✓ 毎日 歩くように しています. A change that happened is ✓ 泳げるように なりました.
Quick quiz
Choose ために or ように (or fill in the missing kana):
- 日本で 働く(ために/ように)、ビザを 取りました。
- 漢字が 読める(ために/ように)、毎日 練習して います。
- 子どもが 道に 迷わない(ために/ように)、地図を かいて あげました。
- 家族( )ために、毎朝 お弁当を 作って います。
- 雪の(ために/ように)、飛行機が 遅れました。
- 後ろの 席でも よく 見える(ために/ように)、字を 大きく 書いた。
- (a habit you keep on purpose) 毎日 階段を 使う(ように して/ように なって)います。
Answers: 1. ために (an action you choose, same subject) · 2. ように (potential form) · 3. ように (a negative, and a different subject) · 4. の (noun + のために) · 5. ために (a cause: "because of the snow") · 6. ように (見える is a verb you can't control) · 7. ように して (an effort you make)
Frequently asked questions
Is ために on the JLPT N4?
Yes. ために for purpose is N4 grammar. In the Kantan JLPT sets, ように meaning "so that" and ため meaning "because of" are N3, but since so many textbooks teach ように right next to ために, it's worth learning the pair together.
Can ために and ように both be correct?
Sometimes, when a goal sits on the line between an action and a result. 試験に 合格するために 勉強する treats passing as a goal you go after. 試験に 合格できるように 勉強する uses the potential form, so it's about making passing possible. Both are natural.
What does ように mean at the end of a sentence?
It makes a wish. 〜ますように means "I hope ~" or "may ~": いい 一年に なりますように (I hope it's a good year). You'll see it on prayer plaques at shrines. It's N3 grammar.
What's the difference between ために and のに?
Both can mean "for." のに (N4) comes before words like 使う, 便利だ, いい and かかる, to say what something is good for or what it takes: この ナイフは パンを 切るのに 便利です (This knife is handy for cutting bread). ために is for a person's own goal: パンを 焼くために 早く 起きた (I got up early to bake bread).
Make it automatic
Choosing between ために and ように gets fast once you stop translating and start asking, "Can I just decide to do this?" Kantan JLPT's grammar cards, reviews and practice questions bring back both patterns in real sentences, and the ones you miss return until the choice is automatic. For the N4 patterns that say what something seems like, see そうだ, ようだ, らしい and みたい.