Magnetic levitation is the suspension of an object in midair using magnetic forces, with no physical contact or support from below. It works by generating a magnetic field strong enough to counteract gravity, holding an object stable at a fixed point in space. The concept sounds simple, but keeping something hovering without it snapping toward a magnet or sliding off to one side requires overcoming a fundamental law of physics.
Why Magnets Alone Can’t Do It
In the 1840s, the British mathematician Samuel Earnshaw proved that no arrangement of static magnets can hold an object in stable equilibrium. The math behind this is elegant but the intuition is straightforward: if you manage to balance a floating magnet so it’s stable in one direction (say, vertically), it will always be unstable in another direction (horizontally). The energy landscape around the object forms a saddle shape rather than a bowl, so there’s no resting point where the object naturally stays put. This is known as Earnshaw’s theorem, and it applies to any combination of static magnetic, electrostatic, or gravitational forces.
Every working levitation system gets around Earnshaw’s theorem in one of a few ways: using active electronic feedback to constantly adjust the magnetic field, exploiting a special class of materials called diamagnets that are repelled by all magnetic fields, relying on superconductors that completely expel magnetic fields from their interior, or stabilizing the system with rotation (like a spinning magnetic top). Each of these loopholes has spawned its own branch of technology.
Diamagnetism and Superconductors
All materials respond to magnetic fields to some degree, but most responses are too weak to notice. Diamagnetic materials are a special case: they generate a tiny opposing magnetic field when exposed to an external one, causing them to be gently pushed away. This repulsion is feeble in everyday materials like water, wood, and living tissue, but it’s enough to levitate small objects in very strong magnetic fields. Researchers have famously levitated strawberries, frogs, and water droplets this way.
Superconductors take this principle to the extreme. When certain materials are cooled below a critical temperature, they lose all electrical resistance and actively expel magnetic fields from their interior, a phenomenon called the Meissner effect. Place a small permanent magnet above a superconductor and it floats, held aloft by mirror-image magnetic poles created by currents flowing through the superconductor with zero resistance. Because those currents meet no resistance, they adjust almost instantly to any disturbance, keeping the magnet locked in position with remarkable stability.
The most widely used superconductor for levitation research is a ceramic compound called YBCO (yttrium barium copper oxide). It works at 77 K, the temperature of liquid nitrogen, which is relatively cheap and easy to handle compared to older superconductors that needed liquid helium. A single centimeter-sized grain of YBCO can suspend over a kilogram at that temperature, consuming no power and requiring no electronic control circuits.
How Maglev Trains Work
The most visible application of magnetic levitation is high-speed rail. Two competing designs dominate the field, each using a different strategy to get around Earnshaw’s theorem.
Electromagnetic suspension (EMS), used in Germany’s Transrapid system, relies on conventional electromagnets mounted on the underside of the train. These magnets are attracted upward toward a steel rail on the guideway. Sensors measure the air gap in real time, and a computer-controlled feedback system adjusts the current flowing through each magnet to maintain a gap of 8 to 10 millimeters. The system makes continuous tiny corrections, increasing current when the gap grows too large and decreasing it when the train drifts too close to the rail. This active control is what makes stable levitation possible with ordinary electromagnets.
Electrodynamic suspension (EDS), used in Japan’s SCMaglev system, takes a different approach. Superconducting magnets on the train induce currents in coils embedded in the guideway walls as the train moves. Those induced currents create their own magnetic fields that both lift and center the vehicle. The faster the train moves, the stronger the levitation force, which means EDS trains run on wheels at low speeds and only begin floating above roughly 150 km/h.
Speed and Energy Performance
Because maglev trains float above the track, they eliminate the rolling friction that limits conventional rail. The main force working against them at high speed is air resistance. Japan’s L0 Series maglev set the world speed record for a manned train on April 21, 2015, reaching 603 km/h (375 mph) on a test track.
Energy efficiency comparisons between maglev and conventional high-speed rail are closer than most people expect. At a matched top speed of 330 km/h, the German Transrapid consumed about 45 watt-hours per seat per kilometer, while the ICE 3 (a conventional high-speed train) used 59 on the same Hamburg-to-Berlin route, roughly 31% more. The Transrapid’s real advantage is that it could push to 430 km/h with only a 7% increase in energy consumption over its 330 km/h figure, while conventional trains hit hard physical limits well before that speed. At 450 km/h on open-air routes, both the Transrapid and Japan’s Chuo Shinkansen maglev consumed between 71 and 78 watt-hours per seat per kilometer, a range that no wheel-on-rail system can match at equivalent speeds.
The tradeoff is infrastructure cost. Both EMS and EDS systems require purpose-built guideways with extremely smooth surfaces, since the small air gaps leave little room for track imperfections. This makes maglev lines far more expensive to build per kilometer than conventional rail, which is the main reason the technology hasn’t spread more widely.
Magnetic Bearings in Industry
Outside of transportation, magnetic levitation is used in rotating machinery through active magnetic bearings. These devices suspend a spinning shaft inside a housing using electromagnets and sensors, with no physical contact between the moving parts. The result is zero friction, zero wear, and no need for lubricants. Industrial magnetic bearings last significantly longer than conventional ball bearings, require far less maintenance, and waste less energy as heat.
These bearings are used in high-speed compressors, turbines, flywheel energy storage systems, and semiconductor manufacturing equipment. Any application where contamination from lubricants would be a problem, or where extremely high rotational speeds would destroy conventional bearings, is a natural fit.
Laboratory and Biomedical Uses
Researchers have found a clever use for diamagnetic levitation in laboratory analysis. Because every material has a slightly different density, and because a diamagnetic object’s levitation height in a magnetic field depends on that density, you can use levitation as a measurement tool. An object floats higher or lower in the field depending on how dense it is, turning a pair of magnets and a container of paramagnetic fluid into a precision density analyzer.
This technique works on an enormous range of materials: liquids, solids, gels, powders, crystals, and living cells. Researchers have built systems that use standard 96-well laboratory plates and a flatbed scanner to measure the density of hundreds of samples at once. The approach has been applied to human red blood cells, cholesterol crystals, polymer beads, and chemical compounds. Because it relies on density, a universal physical property, it requires no chemical labels or markers, making it particularly attractive for biological samples where you want to observe cells without altering them. Potential applications include tracking how cells respond to drugs or environmental stress by detecting subtle shifts in their density.

