[header] How to thank a professor [title] Approach them after class or during office hours. [step] Talk to your professor after class or meet them at office hours. Meeting in person can allow you some time to talk to the professor outside of just saying thank you if you wish. 
It can also help the professor pair your name and face together. [substeps] If you want to create or maintain a professional relationship with your professor, you may want to thank them in person so that they get to know you better.