N4
なければならない
Must do, Have to do
先輩が部屋に入ってきたら立って挨拶をしなければならない。
If your senpai comes into the room, you must stand and greet them.
Explanation
「〜なければならない」 also means 'must', but it is more objective and serious than 「いけない」. It states an obligation that does not depend on personal will, and is common in laws, rules, ethics, writing and news: 「国民は税金を払わなければならない」 (Citizens must pay taxes). In speech it can shorten to 「〜なきゃならない」.
Mixed up with
The obligation family: 「〜なければならない」 is objective rules and writing; 「〜なければいけない」 is personal duty and everyday talk; 「〜なくてはならない/いけない」 means the same; it is a little more spoken.
When asking something of an elder or superior, do not say 「〜なければなりません」; it sounds like an order. Use a request such as 「〜ていただけますでしょうか」.