must do something; have to do something
Expresses obligation or necessity: must do something, have to do something.
This pattern expresses a strong obligation or necessity, often translated as 'must' or 'have to'. It's formed from the negative conditional of the verb plus ならない, which literally means 'won't become'—so the nuance is 'if not do, it won't be okay'. In everyday speech, it's often shortened to なくちゃ or なきゃ, but the full form is standard in writing and formal speech. For example, you might say this to remind yourself of a duty, or to tell someone what is required in a certain situation. It's a common pattern for rules, duties, and social expectations.
This pattern is more formal than its casual counterparts. In conversation with friends, you'd normally use なくちゃ or なきゃ, but なければならない is fine in formal settings, announcements, or when speaking to superiors. It can also be replaced with なければいけません, which is slightly more polite, but なければならない is neutral and widely used in both speech and writing. When you hear it in announcements, you'll often hear a shortened form なければなりません, which is the polite version.
Remember that the negative stem is the key: you need the form that ends in -a for godan verbs. For example, 書く (kaku) becomes 書かなければならない (kakanakereba naranai). For ichidan verbs like 食べる (taberu), drop る to get 食べ (tabe) and add なければならない, so 食べなければならない. For する and 来る, use しなければならない and こなければならない. Be careful not to use the て-form or dictionary form—this pattern requires the negative stem.