For most situations I can think of for that context, have to and need to are equivalent. have to may be slightly harsher and demanding; need to may be slightly gentler and sympathetic. But these differences are slight and can be modified by the appropriate tone of voice.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.