A triaxial stabilizer for mobile phone, characterized by comprising a handheld part, a fixing device for mobile phone, and three motors, an X-axis motor, a Y-axis motor, and a Z-axis motor, which are arranged at top of the handheld part and are orthogonal in a space, wherein the Z-axis motor has a stator connected with the handheld part and has a rotor connected with a stator of the Y-axis motor, the Y-axis motor has a rotor connected with a stator of the X-axis motor, and the X-axis motor has a rotor connected with the fixing device for mobile phone; the triaxial stabilizer for mobile phone further comprises a button control circuit and a motor control circuit, wherein the signal output of the button control circuit is connected with the signal input of the motor control circuit, and the signal output of the motor control circuit is connected with the X-axis motor, the Y-axis motor, and the Z-axis motor, respectively; the button control circuit is arranged within the handheld part, with buttons thereof protruding out of the handheld part, characterized in that the buttons include a four-direction navigation key, a function button and a shutter button, and wherein the handheld part is further arranged with an indicator light; the four-direction navigation key controls the movements of the X-axis motor and the Z-axis motor; a rotating shaft of the X-axis motor is rotated to lead the fixing device for mobile phone to perform pitching movement when an up key or a down key of the four-direction navigation key is pressed; a rotating shaft of the Z-axis motor is rotated to lead the fixing device for mobile phone to perform yawing movement when a left key or a right key of the four-direction navigation key is pressed; the fixing device for mobile phone is switched among different working modes as follows by means of the function button: when the function button is pressed for one time, the fixing device for mobile phone is switched to a yawing movement following mode, in which the Z-axis motor is in an enabled state while both the X-axis motor and the Y-axis motor are in a lock state; when the function button is pressed for successive two times, the fixing device for mobile phone is switched to a yawing movement and pitching movement following mode, in which both the Z-axis motor and the X-axis motor are in an enabled state while the Y-axis motor is in a lock state; when the function button is long-pressed for one second, the fixing device for mobile phone is switched to a locking mode, in which the X-axis motor, the Y-axis motor and the Z-axis motor are all in a lock state; the shutter button is used for confirming photo and video shooting; the fixing device for mobile phone comprises clamps, a backboard, and an elastic mechanism, wherein the clamps include an upper clamp and a lower clamp which are respectively connected to two ends of the backboard by the elastic mechanism, and the backboard is fixedly connected with the rotor of the X-axis motor; the elastic mechanism includes springs and cylinders, and the backboard is arranged with cylindrical holes at its two sides, wherein the cylinder has one end fixedly connected to the clamp and the other end retractably connected to the cylindrical hole, and wherein the spring is connected between the cylinder and the cylindrical hole.