The invention discloses a pan-tilt device and an unmanned aerial vehicle. The pan-tilt device comprises a rack assembly, an adjusting assembly, a shooting device and a control assembly. The control assembly comprises a circuit board, a connection wire, a processor and an inertial sensor, wherein the inertial sensor is used for detecting posture information of the shooting device, and the processorcontrols the adjusting assembly according to the posture information; and the adjusting assembly comprises a universal connector for connecting the rack assembly with the shooting device, and an adjusting device for adjusting the shooting angle of the shooting device. The unmanned aerial vehicle comprises an unmanned aerial vehicle body. The pan-tilt device is connected to the lower portion of the unmanned aerial vehicle body in a buckled mode, and the unmanned aerial vehicle body is electrically connected with the pan-tilt device. By adjusting the angle of the shooting device through spiralwings, the angle can be adjusted in real time, and adjustment is more flexible. Meanwhile, the design structure is more reasonable, the angle is adjusted more conveniently in use, and the shooting effect is better compared with a traditional pan-tilt.