Which Elements in the Periodic Table Are Magnetic?

Iron, cobalt, and nickel are the only elements that are strongly magnetic at room temperature in the way most people mean when they ask the question: they can be permanently magnetized and attracted to a magnet sitting on your desk. But the full answer is far more interesting than a three-element list. Nearly every element on the periodic table responds to a magnetic field in some way. Some are weakly attracted, some are weakly repelled, and a surprising number become strongly magnetic when cooled to extremely low temperatures. Which category an element falls into depends on its electron arrangement, its temperature, and even the pressure it is under.

The Big Three at Room Temperature

Iron, cobalt, and nickel are the classic ferromagnetic elements. “Ferromagnetic” just means that the atoms in the metal can line their tiny magnetic fields up in the same direction and stay that way, creating a permanent magnet or being pulled toward one. This is the kind of magnetism you experience every day with refrigerator magnets, compass needles, and the steel in your car doors (steel gets its magnetism from the iron in it).

These three elements sit next to each other in the middle of the periodic table, in the first row of the transition metals, and that is not a coincidence. Their atoms have partially filled inner electron shells that give rise to strong, cooperative magnetic behavior. A huge share of modern magnetic technology relies on these three elements, either in pure form or combined into alloys with other metals. The powerful neodymium magnets in your headphones and electric motors, for instance, pair a rare earth element with iron and boron to produce exceptionally strong fields.

The importance of iron, cobalt, and nickel to 2D materials research and advanced technology underscores just how central these three elements remain. Recent reviews of two-dimensional magnetic materials focus heavily on structures that incorporate at least one of these ferromagnetic elements, whether as a core structural component, a dopant, or a neighboring atom that induces magnetism through proximity effects.1Advanced Functional Materials. Ferromagnetic Elements in Two‐Dimensional Materials: 2D Magnets and Beyond

Gadolinium and the “Almost Room Temperature” Club

Gadolinium is a rare earth element that deserves special mention. It is ferromagnetic, but its Curie temperature, the point above which it loses its permanent magnetism, sits at about 20°C (around 68°F). That means on a cool day gadolinium acts like iron, cobalt, or nickel, sticking to magnets and holding a magnetic field. On a warm day it stops being ferromagnetic and becomes merely paramagnetic, meaning it is still weakly attracted to a magnet but cannot hold its own permanent field. Whether you count gadolinium as a “room-temperature” ferromagnet depends on how warm your room is.

This quirk has made gadolinium useful in magnetic refrigeration research, a technology that exploits the heat a material absorbs or releases as it transitions in and out of its magnetic state. It also earns gadolinium a role in advanced 2D magnetic materials research, where its 4f electrons give rise to properties that differ sharply from those of iron, cobalt, and nickel.1Advanced Functional Materials. Ferromagnetic Elements in Two‐Dimensional Materials: 2D Magnets and Beyond

Rare Earth Elements That Are Magnetic When Cold

Several other rare earth elements, also called lanthanides, are ferromagnetic or display complex magnetic ordering, but only well below room temperature. Dysprosium, holmium, and erbium all develop ordered magnetic structures as they are cooled, and the nature of those structures changes as the temperature drops further. In some temperature ranges their atomic magnetic moments arrange themselves in helical or “screw” patterns rather than all pointing the same direction. At even lower temperatures, some of these elements transition into a fully ferromagnetic state where the moments do align.

The specific magnetic structures that appear in dysprosium, holmium, and erbium depend on the balance between different types of anisotropy energy, which is essentially how strongly the crystal structure of the metal pushes the magnetic moments to point along certain directions. These anisotropy effects weaken at different rates as temperature rises, which is what drives the transitions between the various magnetic phases.2Oxford Academic. Magnetic Ordering in the Rare-Earth Metals with More than Half-Filled 4f Shells Terbium is another lanthanide that becomes ferromagnetic below about −54°C. Neodymium, samarium, and europium also display magnetic ordering at low temperatures, though not all are straightforwardly ferromagnetic.

From a practical standpoint, you will never feel these elements tug on a magnet at ordinary temperatures. But they are critically important in alloys. Neodymium-iron-boron and samarium-cobalt magnets are the strongest permanent magnets commercially available, and the rare earth component is a key reason why. The rare earth atoms contribute large magnetic moments and strong anisotropy that keep the alloy’s magnetism locked in place even at room temperature.

Paramagnetic Elements

A much larger group of elements falls into the paramagnetic category. Paramagnetic materials are weakly attracted to a magnetic field but do not stay magnetized after the field is removed. Their atoms have unpaired electrons that respond to an external magnet, but the atoms do not cooperate with each other the way they do in a ferromagnet, so the effect is thousands of times weaker.

Among the metals, aluminum, platinum, titanium, tungsten, magnesium, and many others are paramagnetic. You would never notice this in daily life because the attraction is far too weak to feel, but sensitive instruments can measure it easily.

The most striking paramagnetic element, though, is not a metal at all. Liquid oxygen is strongly enough paramagnetic that you can watch it cling to the poles of a strong magnet in a classic demonstration. Oxygen’s paramagnetism comes from two unpaired electrons in the oxygen molecule, a fact that molecular orbital theory predicts neatly. Interestingly, the behavior of liquid oxygen near a magnet is more complex than the simple textbook picture, because oxygen molecules tend to form dimers in the liquid phase, and the interaction between those paired molecules affects how strongly the liquid responds to a magnetic field.3ACS Publications. The Properties of Oxygen Investigated with Easily Accessible Instrumentation: The “One-Photon-Two-Molecule” Mechanism Revisited

Antiferromagnetic Elements

Antiferromagnetism is a form of magnetic ordering where neighboring atoms align their magnetic moments in opposite directions, effectively canceling each other out. The material is magnetically ordered at the atomic level but looks non-magnetic from the outside. Chromium is the textbook example. Below about 38°C (its Néel temperature), chromium develops an antiferromagnetic spin density wave, where the magnetic moments of the atoms oscillate in a periodic pattern through the crystal. This spin density wave is accompanied by a charge density wave, and together they represent one of the most studied phenomena in condensed matter physics.4PubMed Central. Evidence of spin and charge density waves in Chromium electronic bands

Manganese is another element with antiferromagnetic ordering below its transition temperature. What makes antiferromagnetic elements interesting in practice is that they are not useless magnetically. Antiferromagnetic layers are essential in hard drive read heads and other spintronic devices, where the antiferromagnet pins a neighboring ferromagnetic layer in place. Chromium-based alloys are used precisely for this purpose. There is also growing research interest in using antiferromagnets as the active magnetic component in data storage, because their internal magnetic order can be switched extremely quickly compared to ferromagnets.

Diamagnetic Elements

Every element has some diamagnetic response, a very weak repulsion from a magnetic field caused by the way external fields slightly alter electron orbits. In most elements, this effect is completely overwhelmed by the stronger paramagnetic or ferromagnetic behavior of unpaired electrons. But in elements where all electrons are paired, diamagnetism is the only magnetic response, and the element is weakly repelled by magnets.

Copper, gold, silver, zinc, mercury, lead, and carbon (in the form of graphite or diamond) are all diamagnetic. So are most noble gases, though the effect is vanishingly small in a gas. The repulsive force is so tiny that it takes a very strong magnet to see it in action, but it has been demonstrated dramatically with levitating frogs and floating water droplets in powerful laboratory magnets.

Bismuth deserves special mention as the most strongly diamagnetic element. Its unusually large diamagnetic response is connected to its peculiar electronic structure, where the behavior of electrons near the edges of its energy bands produces an unconventional contribution to the material’s response to magnetic fields.5PubMed. Interband contributions from the magnetic field on Hall effects for dirac electrons in bismuth Bismuth’s strong diamagnetism makes it a popular material for demonstration levitation experiments and for calibrating magnetic instruments.

Actinide Elements and Their Complicated Magnetism

The actinides, the row of elements starting with actinium and running through lawrencium at the bottom of the periodic table, present some of the most complex magnetic behavior of any group of elements. Unlike the rare earth elements, whose magnetic electrons tend to be well-localized and behave in predictable ways, the actinides sit in an awkward middle ground. Their outer electrons can either localize around individual atoms or spread out into bands shared across the metal, and which behavior wins out changes from element to element and even depends on the compound or alloy involved.

In the lighter actinides like uranium, neptunium, and plutonium, the electrons responsible for magnetism often form bands rather than staying localized. This leads to a wide range of magnetic behaviors: some actinide compounds are non-magnetic in a way that resembles ordinary transition metals, some show spin fluctuations and itinerant magnetism where the magnetic behavior comes from mobile electrons rather than fixed atomic moments, and some display localized magnetism more like the rare earths.6Reports on Progress in Physics. Magnetic properties of the actinide elements and their metallic compounds Curium, which sits further along the actinide row, is ferromagnetic below about 52 K (roughly −221°C), making it one of the few actinides with straightforward magnetic ordering in its elemental form.

Much of what we know about actinide magnetism comes from studying their compounds rather than pure elements, in part because several actinides are highly radioactive and difficult to produce in quantities large enough for magnetic measurements. The field remains an active area of research, especially as scientists try to understand how the interplay between localized and delocalized electrons produces such varied magnetic phenomena across this row of the periodic table.

How Temperature and Pressure Shuffle the Deck

A key point that often surprises people is that an element’s magnetic behavior is not a fixed property like its atomic number. Temperature is the most obvious variable: every ferromagnet loses its ferromagnetism above its Curie temperature, and every antiferromagnet loses its ordering above its Néel temperature. Iron’s Curie temperature is about 770°C, so it stays ferromagnetic in almost any terrestrial environment. But heat iron to glowing orange-white and a magnet will no longer attract it.

Pressure can also fundamentally change an element’s magnetism. Iron provides a dramatic example. Under normal conditions, iron adopts a body-centered cubic crystal structure and is ferromagnetic. But when squeezed to high pressures, iron undergoes a phase transition to a different crystal structure, and at the same time it loses its ferromagnetism. Research using laser-driven shock compression has shown that the magnetic and structural transitions occur nearly simultaneously, and the pressure window for this transition is quite narrow, around 2.4 gigapascals. The data suggest that the magnetic transition actually starts slightly before the structural one, hinting that the collapse of iron’s magnetism is what destabilizes the crystal structure rather than the other way around.7PubMed. Dynamics of the magnetic and structural alpha-epsilon phase transition in iron

This matters beyond the laboratory. Earth’s core is mostly iron, but the extreme pressures there push the iron out of its familiar ferromagnetic phase. The planet’s magnetic field does not come from a giant permanent magnet at the center; it comes from electrical currents in the liquid outer core. The fact that iron loses its ferromagnetism under pressure is central to understanding why Earth’s magnetism works the way it does.

Oxygen, Nitrogen, and Other Non-Metals

When people think of magnetic elements, metals dominate the conversation. But non-metals have magnetic properties too, even if they are subtle. Oxygen’s paramagnetism, as mentioned earlier, is strong enough to observe directly with a magnet and liquid oxygen. Nitrogen, by contrast, is weakly diamagnetic. Sulfur is diamagnetic in its common solid form. Carbon is diamagnetic as graphite or diamond but can display more complex magnetic behavior in certain nanostructures and fullerene compounds.

Noble gases are diamagnetic, as you would expect from elements whose electron shells are completely filled. Halogens like chlorine and bromine are also diamagnetic in their standard molecular forms, though individual halogen atoms with their unpaired electrons would be paramagnetic. The molecular pairing of electrons eliminates the paramagnetic response.

Hydrogen is a special case. A single hydrogen atom is paramagnetic because it has one unpaired electron. Molecular hydrogen, H₂, is diamagnetic because the electrons are paired. At extremely high pressures, hydrogen is predicted to become a metal, and some theoretical work suggests it could even become a superconductor, which would mean it actively expels magnetic fields rather than merely being repelled by them.

Birds, Bacteria, and Biological Magnetism

Iron’s magnetic properties do not just matter for technology. Biology has found uses for magnetic iron minerals too. One of the most studied examples is the magnetoreception system in birds, which allows them to sense Earth’s magnetic field for navigation. Histological studies have found iron-mineral-containing structures in the upper beaks of multiple bird species, including homing pigeons, garden warblers, European robins, and domestic chickens. These structures sit in the inner lining of the beak’s skin, where branching dendrites are packed with iron-III-oxide compounds, as confirmed by chemical staining that detects concentrated iron deposits.8PLoS ONE. Avian Magnetoreception: Elaborate Iron Mineral Containing Dendrites in the Upper Beak Seem to Be a Common Feature of Birds

The finding that this iron-rich system appears across such different species, from long-distance migratory songbirds to backyard chickens, suggests it is a widespread feature rather than a specialization of elite navigators. That said, the exact mechanism by which these iron deposits contribute to the bird’s magnetic sense is still debated. A competing theory involves light-sensitive chemical reactions in the eye, and it is possible both systems work together. Magnetotactic bacteria offer a simpler example: these single-celled organisms build chains of tiny magnetite crystals inside their cells and literally use them as compass needles to orient themselves along Earth’s magnetic field lines.

Common Misconceptions About Magnetic Elements

Several widespread misunderstandings deserve clearing up. First, many people assume stainless steel is magnetic because it contains iron. Some stainless steel alloys are indeed magnetic, but the most common type used in kitchen utensils, which contains substantial chromium and nickel, is often non-magnetic or only very weakly magnetic. The alloying changes the crystal structure of the iron so that it no longer supports ferromagnetic ordering. This is why a magnet will stick to some stainless steel pans but slide right off others.

Second, the idea that magnetism is an all-or-nothing property leads people to classify elements as simply “magnetic” or “not magnetic.” In reality, almost every element interacts with magnetic fields. The question is how strongly and in what direction. A sheet of copper in a changing magnetic field will generate eddy currents that oppose the change, which is the principle behind electromagnetic braking in roller coasters and some trains. Copper is not a ferromagnet by any stretch, but calling it “non-magnetic” misses some genuinely useful magnetic behavior.

Third, rare earth magnets confuse many people into thinking that rare earth elements themselves are magnetic at everyday temperatures. Neodymium magnets are not made of pure neodymium; they are an alloy of neodymium, iron, and boron. The iron provides the ferromagnetism. The neodymium provides the strong magnetic anisotropy that makes the magnet resist demagnetization. Without the iron, a chunk of pure neodymium would not stick to your fridge.

Why Some Elements Are Magnetic and Most Are Not

At bottom, ferromagnetism requires two things. First, the atoms need unpaired electrons whose tiny magnetic moments are not canceled out by an opposite-spin partner. Second, the interactions between neighboring atoms need to favor parallel alignment of those moments. Lots of elements satisfy the first condition. Aluminum has unpaired electrons, so does platinum, so does oxygen. But the second condition, the cooperative alignment, is rare. It requires just the right overlap between electron clouds on neighboring atoms, which is why only a handful of elements manage it.

Iron, cobalt, and nickel hit the sweet spot because of the size and shape of their 3d electron orbitals relative to the distance between atoms in the metal. Rare earth elements have a different mechanism: their magnetic electrons live in deeply buried 4f orbitals, and the cooperative alignment happens indirectly through conduction electrons acting as intermediaries. The actinides represent a messier version of this same physics, where the 5f electrons cannot decide whether to localize or spread out, producing a grab bag of magnetic behaviors that keeps researchers busy.

If you are building a quick mental map, the transition metals in the middle of the periodic table and the lanthanides at the bottom are where the strong and interesting magnetic behavior lives. The rest of the table is a sea of diamagnets and weak paramagnets, with a few antiferromagnets like chromium mixed in. But even those “boring” magnetic responses turn out to matter when you look closely enough, whether it is bismuth’s record-breaking diamagnetism helping calibrate instruments or copper’s eddy currents stopping a roller coaster.