An oscillating power tool, including: a housing; an output shaft for installing a working head, the output shaft being installed in the housing and extending out of the housing; a transmission mechanism, installed in the housing, and the transmission mechanism being connected to the output shaft; and a motor, installed in the housing, the motor being connected to the transmission mechanism and driving the transmission mechanism to drive the output shaft to move, where an outer diameter of the motor is in a range of 40 mm to 50 mm.