The present invention relates to a surgical handpiece and more specifically, to a surgical handpiece having a direction-shifting function, which has a switch capable of easily shifting the direction when the direction of the handpiece needs to be shifted during surgery.The surgical handpiece having a direction-shifting function includes: a handgun-shaped housing having a grip and a motor housing integrally formed at the upper part of the grip; a trigger provided at the front surface of the grip to control a rotational speed of the handpiece; a motor having a driving shaft provided in the motor housing; a direction-shifting switch unit including a direction-shifting switch formed to protrude from the side surface of the grip, a link mechanism provided inside the grip and moving by being linked to the direction-shifting switch, and a sensor sensing the movement of the link mechanism; and a control unit provided inside the grip, analyzing a signal transmitted from the sensor to shift the rotational direction of the motor, and controlling the speed of the motor by the trigger.