Firefighters were called to Middletown High School shortly after 3 p.m. Thursday.
Officials told The Middletown Press that the student used an excessive amount of the scented spray and created a cloud of mist right below a heat sensor, which tripped the fire alarm.
Firefighters allowed students and teachers to return to the building shortly after arriving.
Officials deemed the call a "routine accidental."