A compass error is your drone telling you it does not trust which way it is facing, and it is right to complain. The compass is the sensor that tells the aircraft where north is, and every other system — position hold, straight flight, return-to-home — depends on that heading being right. Fly with a wrong heading and the drone will drift, circle, or fly off in the wrong direction while it tries to correct a tilt that does not exist. That is why most drones refuse to take off when the compass looks unreliable, and why the warning should never be dismissed with a tap.
The reassuring part is that most compass errors are not a fault in the drone at all. They are a fault in the takeoff spot: reinforced concrete, a car, a metal deck, a manhole cover, or a power line distorting the magnetic field where the drone is sitting. The fix, most of the time, is to pick the drone up and move. This guide works through the messages, the causes in the order to check them, and the calibration procedure — and the point at which the error stops being environmental and starts being a repair.
The Short Answer: Move First, Calibrate Second

When a compass warning appears, do not calibrate first. Move first. Pick the drone up, walk twenty or thirty metres to open ground — grass or dirt, away from cars, buildings, fences, bridges and power lines — power it on again and see whether the warning clears. In most cases it does, because the interference was in the ground, not in the aircraft. Calibrating next to the interference that caused the error teaches the drone the wrong magnetic field as its baseline, and the flight will be worse, not better.
Calibrate only when the app asks for it, after you have travelled a long distance, or after a crash or a repair — and always on open ground, far from metal. If the warning appears in the same spot every time, the spot is the problem, and no amount of calibration fixes a bad takeoff location. If the warning follows the drone to every open field you try, the problem is in the aircraft, and the later sections of this guide apply.
What the Compass Does — and Why the Drone Refuses to Fly Without It
Your drone navigates with three senses working together. GPS tells it where it is. The inertial measurement unit — the IMU, a combination of accelerometer and gyroscope — tells it which way is level and how it is moving. And the compass, a magnetometer, tells it which way it is pointing. GPS alone cannot tell the drone its heading: a drone hovering in place has a position but no direction of travel, and the compass is the only sensor that supplies the heading when the aircraft is still.
When the compass reading is wrong, the drone believes it is facing north when it is facing east, and every correction it makes pushes in the wrong direction. The classic symptom is the “toilet bowl”: the drone circles in an ever-widening spiral while it tries to hold a position it keeps misjudging. A wrong heading also breaks return-to-home, which needs to know which way home is before it can fly there.
The Takeoff Spot: Rebar, Cars, Metal and Power Lines
Steel distorts the local magnetic field, and a drone’s compass is sensitive enough to notice. Reinforced concrete is the commonest culprit — driveways, parking decks, bridges, balconies and rooftops all hide steel rebar a few centimetres under the surface, and a drone sitting on one will report a compass error before it ever leaves the ground. Cars are the second: the steel body, the engine block and the battery all bend the field, so taking off from a car roof or a bonnet is asking for a warning. Metal decks, scaffolding, manhole covers, fences and buried pipes do the same, and power lines and electrical substations add their own electromagnetic interference on top.
The rule is simple: take off from grass, dirt, or a landing pad placed on open ground, well away from slabs, vehicles and structures. If you must fly from a built-up area, walk to the nearest open patch and launch from there — thirty metres of walking is cheaper than a flyaway. And check what is underneath, not just what is around: a grass verge over a buried pipe or a reinforced drain cover will still trigger the error. If the warning clears when you move and returns when you come back, you have found your answer, and the answer is the spot. What you own can cause the same problem, which is the subject of the magnets section below — but check the ground first, because it is the cause nine times out of ten.
The Error Messages, Decoded
Not every compass message means the same thing, and reading the exact words saves a lot of wasted calibration. “Compass error” and “magnetic interference” on a DJI aircraft usually mean the magnetic field where the drone is sitting does not match what the compass expects — an environmental problem, solved by moving. “Compass calibration required” means the aircraft has decided its stored calibration is stale, usually after a long journey or a firmware update, and wants a fresh one on open ground. DJI’s error code 30064, “Unable to take off”, is a sensor calibration issue covering the compass or the IMU, and it is usually fixed by the same sequence: move to open ground, restart, then calibrate if the app still asks.
A different class of message points at the aircraft itself. “Compass inconsistent” on a PX4-based drone means its two compasses — usually one in the flight controller and one in the GPS module on its mast — disagree on the heading by more than the permitted margin, and the usual cause is the battery cables: they carry a strong current, and a compass mounted close to them reads a wrong heading. The fix is physical — raise the GPS mast, route the compass away from the power cables, and calibrate again — not a setting. If the message names a sensor rather than interference, or if it survives a move to open ground and a fresh calibration, treat it as a hardware problem and read the section on when calibration does not fix it.
How to Calibrate Properly
Compass calibration is a short procedure, but it only works when the conditions are right, so do it on open ground, away from metal, cars, buildings and power lines, and never on a balcony, a driveway or a car park. The full step-by-step procedure — including the surface, the timing, and the mistakes that make a calibration worse than useless — is in our guide to calibrating a drone compass, and the outline here is the summary, not a substitute for your own model’s manual.
On a DJI aircraft the app walks you through it: hold the aircraft horizontally and rotate it through 360 degrees until the app confirms the step, then hold it vertically and rotate it through another 360 degrees, and wait for the success indication before you put the drone down. A red blinking indicator, or a failure message, means the calibration did not take — change location and repeat it from the start, rather than rotating again beside the same car or railing. Never calibrate near magnetite deposits, large metal structures, parking structures, steel-reinforced basements, bridges or scaffolding, all of which the DJI manuals specifically warn against. And calibrate once, properly: repeated calibrations in the same bad spot do not converge on the truth, they converge on the interference.
Magnets and Metal on Your Own Gear
Your own kit can be the interference. Phone mounts and cases that use strong magnets, magnetic bag closures, and magnetic car mounts can all distort the compass if they sit close to the aircraft — and they often do, because the phone is usually mounted on the controller, inches from the drone on the ground. If the error appears only when your normal kit is laid out and clears when the kit is moved away, the kit is the cause.
Keep magnets away from the drone entirely, and lay your kit out a few metres from the takeoff point rather than beside it. The same applies to the controller: do not rest the controller on the drone, or the drone on the controller, while the aircraft is powering up and taking its compass reading. The reading happens in the first seconds after power-on, so the drone should be sitting alone, on open ground, with nothing metal within arm’s reach. A compass error that appears only on the days you bring a particular accessory is the accessory telling on itself — leave it in the car and the error will go with it.
Compass Error After a Crash or Repair
A compass error that starts after a crash, a hard landing, or a repair is a different problem from an environmental one, and moving will not fix it. A hard knock can shift the compass module, damage its wiring, or magnetise a nearby part — a steel screw driven too close to the compass, for instance, becomes a permanent local magnet that the compass cannot see past. A repair that replaced a motor, an ESC or a GPS mast can put a current-carrying cable next to the compass that was never there before, and the compass will read the cable’s field instead of the earth’s.
After a crash, check the compass module and its cable for physical damage before you calibrate, and check that nothing ferrous has been added or moved near it. If the aircraft was opened for repair, confirm the compass is seated where the manufacturer put it and that no steel screw has been substituted for a brass or nylon one near the sensor. Our guide to crooked flight after a crash covers the same physical checks in more detail, because a crash that bends an arm often also knocks a sensor out of true, and the two faults arrive together. If the error survives a careful physical check and a fresh calibration on open ground, the compass module itself is the suspect, and that is a replacement part, not a setting.
When Calibration Does Not Fix It
Repeated calibration is not a fix. If you have moved to open ground, removed your magnetic kit, checked for crash damage, and calibrated twice on a clean site, and the error is still there, stop calibrating. The most likely remaining causes are a damaged compass module, a damaged GPS mast carrying the external compass, or a mainboard fault that corrupts the sensor data. None of them is fixable in the field, and none of them gets better with a third calibration.
Check for one more environmental cause before you book the repair: some locations have genuinely anomalous magnetic fields — near magnetite deposits, large steel structures, or industrial sites — and a drone that errors there and nowhere else is telling the truth about the place. Confirm it by testing in a second open location a few hundred metres away. If it errors in both, the aircraft is at fault. Contact the manufacturer’s support — DJI support can run remote diagnostics on most models — and describe the sequence: moved, kit removed, calibrated twice on open ground, error persists. That record is what a repairer needs, and it is also what stops you from paying for a repair the drone never needed. Fly safe, and remember the habit that prevents most of this: the takeoff spot decides the compass, so choose it before you power on.
The Pre-Flight Compass Habit
Make the compass part of the pre-flight routine, not an afterthought. Before every flight: launch from open ground, not concrete; keep metal and magnets a few metres away; wait for the GPS lock and the compass indicator to turn green before you take off — a weak GPS lock and a compass warning together are two symptoms of the same bad spot, and our guide to a GPS lock that will not come covers the satellite side of the same problem. If the compass indicator is yellow or red, move. If it is still yellow or red after moving, calibrate once, on open ground, and test again. A compass that cannot be trusted means the aircraft is not in safe operating condition — which the FAA’s recreational flyer rules require before every flight.
That is the whole habit: open ground, clean kit, green indicator, then fly. A compass error is almost never a mystery — it is the ground, the kit, the calibration, or the crash, in that order. The drone that refuses to take off is doing you a favour. Listen to it.
Join Our Pilot Community
Connect with fellow drone enthusiasts, share your aerial shots, and get access to free PDF ebook guides.