In most areas of the world, the magnetic compass is the ultimate heading reference. Although pilots look to the directional gyro most of the time when flying (because the directional gyro's reading is unaffected by the aircraft's pitch and bank attitude, unlike the magnetic compass), the directional gyro has to be periodically reset by reference to the magnetic compass,1 as the gyro's reading drifts over time due to a combination of

  • friction in the gyro mechanism, and
  • the fact that, as the earth is not an infinite stationary flat plane,
    • an aircraft travelling in a straight line over the earth's surface will see a slow change in heading as its position relative to the earth's poles changes, while the directional gyro, which uses the aircraft's frame of reference, thinks that heading remains constant in straight flight, and
    • the reading from a directional gyro on the earth's surface will cycle slowly throughout the course of the day as the earth rotates underneath it,2 while, because the earth's magnetic field rotates with the earth, a magnetic compass will experience no such precession.

Magnetic declination (the angle between true north and magnetic north, which is useful to know because maps are generally referenced to true north and because the direction of magnetic north shifts over time due to changes in the earth's magnetic field) changes as you fly from place to place. Part of this change is due to a combination of the earth (and its magnetic field) not being an infinite flat plane and of flow irregularities in the earth's liquid outer core (the source of the earth's magnetic field3); these changes are gradual and only matter much over long distances. However, some areas have large local irregularities in magnetic declination, due to large deposits of magnetic material in the ground (mostly the aptly-named magnetite, but some other iron-bearing minerals are also naturally magnetic and play a part in this). These large ore bodies, acting as giant magnets, cause magnetic declination to rapidly spike or swing as one passes over or through the area. For reasons that are hopefully obvious, these types of areas are marked on aeronautical charts used in air navigation.

Huge quantities of magnetic material are also found in large cities, primarily in the form of refined iron and steel alloys, alongside many possible sources of magnetization potentially orders of magnitude stronger than that from the earth's magnetic field (such as the magnetic fields produced by energized electrical-power-transmission lines or by lightning strikes on tall buildings, the use of powerful electromagnets in construction and heavy industry, and the ubiquitous use of weaker electromagnets and permanent magnets in electrical motors and generators, including the huge generators that energize the power grid). Additionally, while most areas with large local magnetic-declination variations are small enough to be flown through fairly quickly (minimizing the error picked up by the directional gyro while passing through the aforementioned area, and, thus, allowing one to simply "fly the gyro" and ignore the magnetic-compass indications until out of the magnetically-deviant area), the airspace in and near large cities has the potential to keep aircraft in the local airspace for prolonged periods (approaches, traffic circuits, holding patterns) and also tends to require more accurate and precise navigation to keep aircraft from colliding with each other or with the ground or ground-mounted obstacles, both of which would make relying on the drifting directional gyro4 increasingly risky and increase a pilot's reliance on their magnetic compass.

Is the iron and steel content of large modern cities great enough to significantly affect an aircraft's magnetic compass?

1: The exception to this is in areas near the earth's magnetic poles, where the earth's magnetic field points mostly straight up and down (making magnetic compasses unreliable), aircraft navigation uses true heading rather than magnetic, and the directional gyro itself serves as the heading reference and is set by other means (GPS or IRS if so equipped, otherwise by reference to ground landmarks or celestial navigation).

2: The effect of the earth's rotation on a spinning gyroscope can itself be useful; this is the basis of the marine gyrocompass, which exploits this to create an instrument that can reliably point to true north for as long as the earth continues to rotate. However, this alignment to true north is fairly slow and depends on the gyroscope's position in space continuing to move in, or very close to, the same direction as the earth's surface, and aircraft change position relative to the earth's surface too rapidly for a gyrocompass to be useful. Additionally, most gyrocompasses are weighted to keep the gyrocompass horizontal and allow the gyroscope to precess properly; the use of weights for this purpose requires that the direction of apparent down relative to the earth's surface remain essentially constant, which is almost always true on the large marine vessels generally equipped with gyrocompasses, and is never true on an aircraft except in perfectly-straight-and-level-and-unaccelerated flight.

3: Although a significant fraction of the earth's magnetic field is contributed by magnetic materials in the earth's crust, this is itself a result of these materials having been bathed in the magnetic field of the earth's core.

4: While an aircraft flying within a small area for an extended period of time will not experience the gradual change in direction-versus-heading produced by flying long distances over the earth's curved, finite surface, it will still accumulate directional-gyro error due to friction within the gyro and to the earth rotating under the aircraft and its gyro.


2 Answers 2


A single steel building does, if the aircraft flies close enough, never mind a city core like those of New York or Chicago.

However, the amount of steel isn't the whole story. Each I-beam, sheet of corrugated, or length of rebar has its own magnetic field, mostly determined by its orientation the last time it cooled below its Curie point -- and no effort is made to align those fields. As a result, the overall net magnetic field of a given building is generally quite close to zero, and as a result a compass needs to be near enough to be affected by individual steel parts before there's enough effect to notice.

Install a magnetic compass in a steel hulled ship or a car, and you do need to "swing" the compass to null out the field of the steel surrounding it -- but this is because the compass is inside the steel. Get even a few tens of meters outside the hull of that battleship, and the randomness of the fields of individual plates takes over and makes the overall field near zero -- not enough to affect a compass.

  • 1
    $\begingroup$ (I work on military ships) At least in the military world, many ships have degaussing systems to nullify magnetic signatures. $\endgroup$
    – Ron Beyer
    Commented Jan 4, 2022 at 18:38
  • 1
    $\begingroup$ @RonBeyer I'd guess, however, that that's more about detection by an enemy than about making onboard magnetic compasses work better (especially in the modern GPS era). $\endgroup$
    – Zeiss Ikon
    Commented Jan 4, 2022 at 18:42
  • 1
    $\begingroup$ Yes, that's right, but it does have that side effect. $\endgroup$
    – Ron Beyer
    Commented Jan 4, 2022 at 18:54

The short answer is no, at least not to an extent that is noticeable or requires pilot compensation to deal with.

On the deck of an aircraft carrier with orders of magnitude more steel and signal density, the wet compass can be a bit squirrelly, but it goes away almost as soon as you are airborne.

Short duration approaches in the general proximity of a major city doesn’t have any noticeable effect. While some effect may be measurable with sensitive enough equipment, it just isn’t an issue in practical terms.

  • 1
    $\begingroup$ I recall that Chicago had a particularly vexing magnetic disturbance off one of the runways that affected some airplanes, and required crews with AHRS equipped aircraft, where heading was coming from a flux valve, to take off in DG mode for the departure phase. I don't know if it was ever determined to be man made or natural. Concrete rebar has been known to cause problems locally. $\endgroup$
    – John K
    Commented Jan 4, 2022 at 16:26
  • $\begingroup$ @JohnK: Your comment jogged my memory of something I'd forgotten - KLGA has that problem too, courtesy of the steel framework used to hold the landfill that makes up much of the airport. $\endgroup$
    – Vikki
    Commented Jan 31, 2022 at 9:46

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .