Must and [have/got] to are commands or obligations. Must not and [am/is/are] not to are prohibitions. They are PRESENT or FUTURE in meaning. Shall have to is used to more clearly specify the future.
In the PAST tense had (got) to is an obligation and [was/were] not to are prohibitions.
'Must', 'have to', and 'need to' in the positive or question form are used to speak about responsibilities, obligations and important actions.
Sometimes, 'must' and 'have to' can be used to speak about responsibilities.
However, 'must' is generally used for strong personal obligations and 'have to' is used for responsibilities at work and in everyday life.
'Don't have to', 'don't need to' and 'mustn't' have very different meanings. 'Don't have to' is used to express that something is not required. 'Don't need to' also expresses that a particular action is not necessary. 'Mustn't' is used to express that something is prohibited.
Listed below are explanations, examples and uses of must / have to / need to / and mustn't / not have to / don't need to,
Use 'have to' in the past, present and future to express responsibility or necessity. NOTE: 'have to' is conjugated as a regular verb and therefore requires an auxiliary verb in the question form or negative.
Use 'must' to express something that you or a person feels is necessary. This form is used only in the present and future.
The negative form of 'have to' expresses the idea that something is not required. It is however, possible if so desired.
The negative form of 'must' expresses the idea that something is prohibited - this form is very different in meaning than the negative of 'have to'!
IMPORTANT: The past form of 'have to' and 'must' is 'had to'. 'Must' does not exist in the past.
Use 'need to' to express that something is important for you to do. This form is usually used for something that is important one time, rather than referring to a responsibility or duty.
Use the negative form of 'need to' to express that something isn't necessary, but possible. At times, English speakers use 'don't need to' to express that they don't expect someone to do something.
LINK to this text in printable form