The invention discloses a wing rotatable and foldable mechanism and an aircraft, which relate to the technical field of aircraft, and specifically comprise: a steering gear, which is connected to the driving
motor power for providing power input; a transmission gear, a
bevel gear portion and a
spur gear portion are arranged on the outer periphery, the
spur gear portion of the transmission gear meshes with the steering gear, and the axis of the transmission gear is parallel to the axis of the steering gear; a passive gear, which is a
bevel gear, fixedly connected to the wing, and the passive gear meshes with the
bevel gear portion of the transmission gear; the wing rotatable and foldable mechanism and the aircraft, which can rotate and fold at a
variable angle as a whole, through redesigning the transmission gear and changing the angle between the transmission gear and the axis of the passive gear, so that the wing can automatically flip when unfolding to obtain an upward
dihedral angle, and automatically return to a flat state when folding, and the storage is not affected by the upward
dihedral angle, thereby reducing space occupancy, and the overall structure is simple, light, and the operation is stable and reliable.