Do I have to thank my supervisor?

Yes, it’s important to thank your supervisor(s) in the acknowledgements section of your thesis or dissertation.

Even if you feel your supervisor did not contribute greatly to the final product, you still should acknowledge them, if only for a very brief thank you. If you do not include your supervisor, it may be seen as a snub.