have to suggests doing a duty and thereby possibly avoiding punishment. need to suggests attaining a benefit by doing something that is not a duty. See CJ
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.