ため

ため
noun
for, sake, purpose; because
grammatical
1. for (the sake of), for the purpose of
Indicates the purpose, benefit, or goal of an action.
I made it for my child.
Purpose usage
I came to Japan to study Japanese.
Purpose usage with verb
For my family, I can work hard at any difficult job.
I exercise for my health.
2. because of, due to
Indicates the reason or cause of something.
I couldn't go because of the rain.
Cause/reason usage
Because the train was delayed, I ended up being late to the meeting.
Cause/reason usage
The road is congested due to an accident.
I took a day off because of a cold.
I couldn't contact you because I was busy.

ため is a grammatical noun with two core meanings: purpose ("for / in order to") and cause ("because of"). The kanji 為(ため) exists but hiragana is standard.

Common patterns

1. Purpose: Noun + のために / Verb dictionary form + ために
2. Cause: Noun + のために / Verb plain past + ために

Usage

Context usually makes the meaning clear. With past-tense verbs, ために almost always indicates cause: 遅(おく)れたために (because [someone] was late). With dictionary-form verbs, it indicates purpose: 勉強(べんきょう)するために (in order to study).

Watch out

Cause ため states an objective circumstance and does not lead into a request, invitation, or command. Say 雨(あめ)なので中止(ちゅうし)にしましょう, not 雨(あめ)のために中止(ちゅうし)にしましょう.

Register

ために is slightly formal, and cause ため is common in notices and written announcements. In casual speech, から or ので are more common for expressing cause.