The third single from Nick Jonas' self-titled album, the song was written by Ammar Malik, Daniel Parker and Jason Evigan, with the latter also producing the track. The same trio also penned "Chains," the lead single from the record.
Jonas told Radio.com: "The song 'Teacher' was one of the last ones I added to the record. It sort of helped me build the sound of the record and figure out what all the pieces were. It's such a fun song, you have no choice but to get up and dance."