Phones use magnets in three distinct ways: permanent magnets (neodymium alloys that create steady fields) drive the speaker and vibration motor, electromagnetic coils generate changing fields for wireless charging and contactless payment, and solid-state sensors exploit magnetic fields to detect position, rotation, and lid closure. None of these magnets is designed to stick your phone to a fridge; they are precision components sized in millimeters and tuned to specific field strengths.

The word "magnet" hides a split between two technologies. A permanent magnet produces its own field without power, while an electromagnet produces a field only while current flows. A phone needs both, and confusing them is the root of most magnet myths. Keep that distinction in mind, because every component below is one or the other.

Permanent magnets inside the speaker and haptic motor

The loudspeaker is the largest magnet assembly in a typical phone. A moving-coil driver mounts a small neodymium-iron-boron (NdFeB) magnet behind a diaphragm, and the magnet's field fills a narrow gap. A copper voice coil sits in that gap and carries the audio signal. When current flows, the coil experiences a force (the Lorentz force) proportional to the field strength and current, and it pushes the diaphragm to create sound.

The reason neodymium dominates is energy density. NdFeB magnets reach remanence values around 1.2 to 1.4 tesla, far above the roughly 0.4 tesla of older ferrite magnets. That lets engineers shrink the magnet to a few millimeters while keeping enough field to move air efficiently. The tradeoff is temperature sensitivity: NdFeB loses strength as it heats, and cheap grades demagnetize permanently above roughly 80 degrees Celsius, which is why speaker design includes thermal paths to the frame.

The haptic motor uses the same physics in a different geometry. A linear resonant actuator (LRA) suspends a small magnetic mass on springs and drives it with a coil at its resonant frequency, typically 150 to 235 hertz. Because it operates at resonance, it produces a strong tap from little power. Older eccentric rotating mass (ERM) motors spin an offset weight and are being phased out because they are slower to start and stop.

How the compass, Hall sensor, and camera stabilization read fields

A magnetometer measures the ambient magnetic field, including Earth's roughly 25 to 65 microtesla field, and gives the phone a heading. The sensor itself is usually a solid-state device with no moving magnet; it senses field direction through magnetoresistance or a Hall effect structure. This is the component behind map rotation and compass apps.

The Hall effect sensor is the workhorse for detecting nearby magnets. When a magnet's field passes through a thin semiconductor, it deflects charge carriers sideways and produces a small voltage proportional to field strength. Phone makers use this to detect whether a flip cover is closed, whether a accessory is attached, and whether a magnetic mount is present.

Camera optical image stabilization is a clever edge case. Tiny coils and magnets surround the lens assembly. The phone measures shake with a gyroscope, then drives current through the coils to tilt the lens against the magnet field and cancel the motion. The same magnet that could interfere with a compass is here doing precise mechanical work at frequencies up to a few hundred hertz.

Quantified context: field strengths and safe distances

Consumer exposure limits give the numbers a scale. The International Commission on Non-Ionizing Radiation Protection (ICNIRP) sets a general-public reference level for static magnetic fields at 400 millitesla (ICNIRP 2009), while the World Health Organization notes that typical household magnets and phone components sit far below that. A phone speaker magnet might produce a few millitesla at its surface and well under 1 millitesla a centimeter away.

Magnet source Approximate surface field Typical distance where field drops below 1 mT Primary phone use
Speaker NdFeB magnet 50 to 300 mT at pole face 5 to 15 mm Audio driver
Haptic LRA magnet 20 to 100 mT 3 to 10 mm Touch feedback
Wireless charging coil (AC field) 10 to 30 mT at coil 10 to 20 mm Power transfer
Camera OIS magnet 10 to 50 mT 2 to 8 mm Stabilization
Magnetic mount array (if present) 100 to 400 mT 20 to 40 mm Accessory attachment

These are order-of-magnitude figures from component datasheets and physics, not phone-specific specs; treat them as scale. The key point is that field falls off steeply with distance, roughly as the inverse cube for a small dipole, so doubling the gap cuts the field by about eight times.

Edge cases: wireless charging, MagSafe-style arrays, and payment

Wireless charging is not a permanent magnet story. A charging pad and the phone each contain a flat coil, and an alternating current in the pad coil creates a changing magnetic field that induces a current in the phone coil. The field alternates at roughly 100 to 205 kilohertz in the Qi standard, and the phone rectifies the induced current to charge the battery. The magnet, if present, only aligns the coils; the power transfer is electromagnetic induction.

Magnetic accessory arrays change the everyday picture. Apple's MagSafe ring uses an array of small NdFeB magnets to snap accessories and align a charging coil, and comparable designs exist on other brands. This is where a phone's magnets become user-facing and where the practical warnings cluster. A strong accessory magnet near the camera can disturb optical stabilization, and near the compass it can cause a heading error until the field is removed.

Near-field communication (NFC) for contactless payment is a third regime. The phone's NFC coil generates a field at 13.56 megahertz that powers a passive tag in a card or terminal. The magnets in the phone are not involved in the payment field; they are just nearby hardware that designers keep clear of the antenna.

Misconceptions: what phone magnets do not do

The most common error is assuming a phone magnet can erase a credit card or hard drive. Modern bank cards use chips and magnetic stripes with coercivity high enough that a phone's weak stray field at a few centimeters will not wipe them; the stripe needs a much stronger, closely applied field. Solid-state storage has no magnetic medium at all.

Another misconception is that magnets drain the battery. A permanent magnet consumes no power. The battery cost comes from the coil and driver electronics that use the magnet, not the magnet itself. A magnetometer that runs continuously does draw current, which is why phones duty-cycle it.

Warning: a strong aftermarket magnet can shift the compass calibration and cause navigation errors until you move away and recalibrate. Warning: magnetic mounts can interfere with camera autofocus and stabilization on some models; test before relying on them. Warning: people with implanted medical devices should keep phones and strong magnets at the distance their device maker specifies, because static fields can affect some implants. Warning: heat plus a strong magnet can permanently weaken a cheap NdFeB component; avoid leaving magnetic accessories in hot cars.

A counterintuitive caveat from repair technicians: the speaker magnet is strong enough that loose screws and metal shavings can jump to it during a teardown, and those shavings are a common cause of mysterious rattle after a repair.

Timeline: how a magnetic field behaves during a typical interaction

Time Event Magnetic behavior
0 ms You tap the screen LRA coil receives a drive pulse at resonance
5 to 20 ms Haptic tap completes Magnet mass oscillates and settles
0.1 to 1 s You place phone on a charging pad Alignment magnets pull coils into position
1 s onward Charging begins Pad coil field alternates at about 100 to 205 kHz
During charging Phone warms NdFeB strength drops slightly with temperature
Removal You lift the phone Induced current stops; alignment magnets release
After removal Compass app opened Magnetometer recalibrates to Earth's field

The time course matters because it separates steady fields (the permanent magnets) from changing fields (charging and NFC). Only the changing fields induce currents, which is why a static magnet near the phone does not charge it or corrupt data.

Practical actions and thresholds

If you want to check whether a magnet is affecting your phone, use the compass app as a field detector. Bring the magnet slowly toward the phone and watch for heading drift; a shift of more than a few degrees at 5 centimeters suggests meaningful interference. Move the magnet away and confirm the heading returns, which shows the effect was temporary.

For accessories, keep magnetic mounts at least 2 to 3 centimeters from the camera lens when the camera is in use, and remove the accessory if you see autofocus hunting. For medical implants, follow the implant manufacturer's separation distance rather than a generic rule; pacemaker guidance commonly cites keeping phones 15 to 30 centimeters from the device, and strong accessory magnets deserve more distance.

For charging, use certified Qi pads and avoid stacking a strong magnet between the phone and pad, because it can misalign the coils and reduce efficiency. If a phone repeatedly fails to charge wirelessly, check for a magnetic case or metal plate first.

When buying magnetic accessories, prefer ones rated for the phone's own array rather than generic high-strength magnets. A field that is too strong is not better; it is more likely to disturb sensors. The right threshold is enough hold to stay attached, not the maximum the magnet can deliver.

Limitations and what the evidence does not settle

Component-level field values are rarely published per phone model, so any table of surface strengths is an estimate from physics and datasheets. The safe-exposure reference levels from ICNIRP and WHO cover static fields broadly but do not certify a specific accessory. And the interaction between a particular magnet and a particular camera module is model-specific, which is why the practical advice is to test rather than assume.

What is well established is the mechanism chain: permanent magnets convert current to motion in speakers and haptics, coils convert changing current to changing fields in charging and NFC, and solid-state sensors convert field to voltage for compass and detection. That chain explains nearly every magnet question a phone owner will ask. The remaining uncertainty is in the margins, where accessory strength, distance, and heat decide whether an effect is harmless or annoying.