Do magnets damage electronics? The honest answer is that they damage a specific and shrinking list of devices, and leave the vast majority of modern electronics completely alone. The panic comes from an era of magnetic storage and cathode-ray tubes that has largely passed, and it persists because it is a satisfyingly simple story.
What is genuinely at risk
- Mechanical hard drives: the strong field inside a drive is contained by its own shielding, but a powerful external magnet close to the housing can affect the head positioning or corrupt data. Keep strong magnets away from exposed drives.
- Magnetic stripe cards: the stripe on a credit card, hotel key or transit card is literally a magnetic record, and a strong magnet can corrupt it. Contact or near contact with a strong NdFeB magnet is enough.
- Some sensors: Hall-effect sensors, reed switches, magnetoresistive sensors and current sensors are designed to respond to magnetic fields, so a stray magnet near them produces a false reading or a false trigger.
- Older medical implants: some pacemaker models and older implantable devices can be affected by strong static fields. Modern devices are largely immune, but the guidance to keep strong magnets away from implanted devices remains sound.
- Mechanical instruments: analog meters, compasses and some watches with mechanical movements can be deflected or temporarily magnetized.
What is unaffected
Solid-state storage, including SSDs, USB drives and memory cards, stores data as charge rather than magnetization and is not affected by static fields. Smartphones, tablets and laptops have no magnetically stored state to corrupt, though they do contain magnets of their own: speaker and voice-coil magnets, haptic actuators, and the magnetic attachment systems in some covers and accessories. Those internal magnets are far weaker than the handling-grade NdFeB magnets that cause the worries, but they are why a phone mount works at all.
How close is too close
For a stripe card, contact is enough, so simply do not store cards against magnets. For a hard drive, a few centimetres from a strong magnet is enough to be worth avoiding; inside a metal chassis, the drive's own shielding does most of the work. For sensors, it depends entirely on the sensor's operating range, which is why a stray magnet near a Hall sensor is an assembly problem rather than a universal rule.
The static versus changing distinction
A permanent magnet produces a static field, and static fields induce nothing in a stationary conductor. What damages electronics through magnetic means is almost always either direct corruption of magnetic storage, or a changing field strong enough to induce a voltage, which is what a motor, a transformer or an induction coil does. A magnet sitting still next to a circuit board does very little; a magnet swept rapidly past it induces a small pulse that well-designed electronics ignore.
Practical rules
Keep strong magnets away from cards, exposed drives, sensors and implanted medical devices. Do not store magnets against electronics. When in doubt about a specific device, ask the device manufacturer, not the magnet supplier, because the device's own tolerance is what matters. And if an assembly has to put a magnet near a sensor, design it deliberately: the sensor magnet article covers how to make that pairing work rather than fail.
Frequently asked questions
Will a magnet on my fridge damage the fridge?No. The compressor and electronics are unaffected by a small decorative magnet, which is why the practice is universal and harmless.
Can a magnet damage my phone?Not in any practical sense. Phone magnets are part of the design, and external static fields do not corrupt solid-state storage. A very strong magnet held against the phone could temporarily disturb a compass reading.
Will passing a magnet through airport security damage anything?No. The walk-through detectors use changing fields at low strength, and the X-ray machines use radiation, not magnetism.
What about laptop hinges and lids that use magnets?Those magnets are part of the design, positioned and shielded so they do not interfere with the machine's own sensors or storage.
Designing an assembly with a magnet near electronics? Send the layout and we will flag the placements that need attention.