Did you know…
How does an aircraft's autopilot work?
Short answer
The autopilot is a control system that maintains attitude, heading, altitude and speed without manual input. It reads sensors (gyroscopes, accelerometers, air data, GPS), compares them with the pilot's target and moves the controls through servos. On modern aircraft it follows the FMS route and can land in Cat III conditions.
.jpg)
A control loop, not a brain
The autopilot does not "fly" the aircraft the way a person does: it runs a closed control loop. First it measures the aircraft's actual state using gyroscopes and accelerometers (today integrated into solid-state inertial units), the air data system (altitude, indicated airspeed, Mach number) and position from GPS or radio navigation aids. It then compares those values with the setpoint selected by the crew — maintaining 35,000 ft (10,670 m), following heading 270, or flying at Mach 0.78 — and calculates the correction needed. Finally, it moves the ailerons, elevator and rudder through servo actuators, or on fly-by-wire aircraft sends the command to the flight control computers. The cycle repeats dozens of times per second.
Axes and modes
The simplest systems, typical of light aviation, act on a single axis: keeping the wings level or holding a heading. A two-axis autopilot adds pitch control (altitude and climb or descent), and a three-axis system adds the rudder to coordinate turns and damp yaw. On an airliner the whole package is called the flight guidance system and operates through modes: on the lateral axis it can hold a heading, follow a lateral route (LNAV) or capture a localizer; on the vertical axis, hold altitude, a vertical speed, a computed descent profile (VNAV) or a glide path. The autothrottle completes the set by regulating thrust to maintain the selected speed or power setting.
What the pilot still does
During an airline flight the autopilot is engaged shortly after takeoff and disengaged before touchdown, except on Category II or III approaches, where the redundant systems of a certified aircraft can guide it to the ground and keep it on the runway centerline during the landing roll. The crew never stops working: they program the FMS, select altitudes and speeds cleared by air traffic control, check that every active mode is the expected one, and stand ready to disconnect and fly by hand if something doesn't add up. Takeoff is always flown manually. Regulators also require that any system failure produce a clear disconnection and that residual control forces remain manageable, so the pilot can safely take back control.
More questions

Physics of flight
Why can't a Corsair pilot apply full power when going around after a failed carrier landing?
Because at low speed and high power the Corsair would drop its left wing suddenly and with almost no warning, due to propeller torque. If the throttle was… more…

Physics of flight
What did the phrase "banking with intent to turn" mean among F-104 pilots?
It was a joke among Canadian F-104 pilots: banking the aircraft "with intent to turn" referred to its poor low-speed turning. Its sustained turn capability… more…

Julian Herzog (Website) (CC BY), vía commons Physics of flight
What is "flight envelope protection," which the A320 pioneered?
A set of limits embedded in the flight control software: it calculates the flight envelope, adds a safety margin, and blocks pilot inputs that would take the… more…

Julian Herzog (Website) (CC BY), vía commons Physics of flight
What is the A320's SHARP package for?
SHARP (SHort AiRfield Package) improves takeoff and landing performance on short runways and is designed to increase low-speed lift. It combines aerodynamic… more…

Physics of flight
What flaw sank Vought's all-metal V-141 fighter?
It wasn't a single flaw: tests showed the V-141 still flew poorly, was prone to spinning, and also suffered tail flutter, which is why it was rejected. It… more…

Physics of flight
What wind tunnel did NACA use to study the Corsair, and how big was it?
The full-scale 30- by 60-Foot Tunnel at the Langley Research Center, in Hampton, Virginia. NACA dedicated the facility on 27 May 1931 and used it to test the… more…