Iron, nickel, and cobalt are the three elements that strongly attract to a permanent magnet at room temperature, and they do so because of a property called ferromagnetism. Their atoms contain unpaired electrons whose tiny magnetic fields spontaneously align with their neighbors, creating regions of collective magnetism powerful enough for you to feel the pull with your hand. Most other metals on the periodic table barely respond to a magnet at all, and some actually repel one. The reasons come down to how electrons are arranged within the metal’s crystal structure, which turns out to be far pickier than you might expect.
The Three Ferromagnetic Elements
Of the roughly 90 naturally occurring elements, only three are strongly magnetic under everyday conditions. Iron is by far the most familiar and the most magnetic of the three; it is also the cheapest and most abundant, which is why the vast majority of magnets and magnetic devices you encounter are iron-based. Nickel is the second, with a weaker pull than iron but still strong enough to stick firmly to a refrigerator magnet. Cobalt rounds out the trio with magnetic strength between the other two. These three sit next to each other on the periodic table, in the first row of transition metals, and that is not a coincidence. Their electron configurations share a critical feature: a partially filled set of inner orbitals where several electrons remain unpaired.
An unpaired electron behaves like a tiny magnet on its own. Most elements have electrons that pair up with opposite spins, so the magnetism of one cancels the other. In iron, nickel, and cobalt, there are leftover unpaired electrons, and the atoms are spaced at just the right distance for a quantum-mechanical effect to force neighboring atoms’ unpaired electrons to point the same direction. That cooperative alignment is the heart of ferromagnetism, and it is what separates “strongly magnetic” from “barely responds.”
Why Alignment Happens in Some Metals and Not Others
Having unpaired electrons is necessary but not sufficient. Manganese, for instance, has five unpaired electrons per atom, more than iron, yet manganese metal is not ferromagnetic. The missing ingredient is the interaction between neighboring atoms. For the electron spins to align spontaneously, the atoms need to be the right distance apart relative to the size of their electron orbitals. When the spacing is right, a quantum-mechanical exchange interaction makes it energetically favorable for adjacent spins to line up in the same direction. When the spacing is wrong, the lowest-energy arrangement might be for adjacent spins to alternate directions, which cancels out the magnetism at the bulk level.
Iron, nickel, and cobalt happen to land in the sweet spot. Their atomic radii and crystal structures produce a positive exchange interaction, meaning parallel alignment wins. Manganese and chromium have negative exchange interactions, meaning antiparallel alignment wins, and the bulk material shows no net attraction to a magnet under normal conditions. This sensitivity to atomic spacing also explains why the same element can behave differently in different crystal structures or alloys, a point that becomes important when you start mixing metals together.
Magnetic Domains and What Happens When You Bring a Magnet Close
Even in a ferromagnetic metal, the atoms do not all point the same way throughout the entire piece of material. Instead, the metal breaks up into tiny regions called domains, each one typically a few micrometers across, where all the atomic magnets are aligned. But neighboring domains point in different directions, so over the whole chunk of iron, the magnetic fields of the domains largely cancel out. That is why an ordinary iron nail does not behave like a magnet on its own.
When you bring a permanent magnet near that nail, two things happen. First, domains that already happen to be pointing in the magnet’s direction grow at the expense of their neighbors. The boundaries between domains, called domain walls, shift to let the favorably oriented domains expand. Second, some domains rotate their alignment to better match the external field. Both processes make the nail temporarily magnetic, and the attraction you feel is the nail’s newly organized field pulling toward the permanent magnet. Research on domain wall behavior shows that these boundaries respond in complex ways to applied fields, with the walls physically displacing and rotating internally as the field strength changes.
When you pull the magnet away, most of the domains in a soft magnetic material like pure iron relax back toward their original random arrangement, and the nail loses most of its magnetism. But if the material is “hard” magnetically, the domain walls get stuck in their new positions, and the object stays magnetized. That distinction between easy-to-magnetize-and-demagnetize (soft) and hard-to-demagnetize (hard) is one of the most important practical dividing lines in magnetic materials.
Soft and Hard Magnetic Materials
The difference between soft and hard magnetic materials comes down to what happens inside the metal when you try to move those domain walls. In soft materials like pure iron or certain silicon-iron alloys, the domain walls are thick and move easily. Pure iron has domain walls thousands of angstroms wide, giving them plenty of room to slide around with minimal resistance. That makes soft magnetic materials ideal for transformer cores, electric motor laminations, and anything else that needs to magnetize and demagnetize rapidly without wasting energy.1Materials Science Forum. Coercivity Mechanism in Hard and Soft Sintered Magnetic Materials
Hard magnetic materials are the opposite. Compounds like neodymium-iron-boron and samarium-cobalt have extremely thin domain walls, around 50 angstroms, and their crystal structure creates high resistance to wall motion. Once magnetized, their domain walls are effectively locked in place, which is why these materials make powerful permanent magnets.1Materials Science Forum. Coercivity Mechanism in Hard and Soft Sintered Magnetic Materials The neodymium magnets you find in headphones, hard drives, and magnetic clasps are hard magnetic materials. The iron core inside a power adapter is a soft one. Same underlying ferromagnetism, very different engineering behavior.
Alloys That Surprise People
Steel, which is mostly iron with a small percentage of carbon, is magnetic in most of its forms. But austenitic stainless steel, the type used for most kitchen sinks and cookware marked “18/10,” contains enough chromium and nickel to shift the crystal structure into a form where the exchange interaction no longer favors ferromagnetism. So your stainless steel spoon might not stick to a magnet at all, even though it is largely made of iron. Ferritic and martensitic stainless steels, by contrast, retain a crystal structure that supports ferromagnetism and will stick to a magnet readily. The quick magnet test is actually a common way to tell stainless steel grades apart.
Even more surprising are alloys that contain no iron, nickel, or cobalt yet are still ferromagnetic. These were first discovered in 1903, when Fritz Heusler found that an alloy of copper, manganese, and tin, three individually nonmagnetic metals, became ferromagnetic when combined in the right proportions.2Minerals Engineering. Half-metallic p0-d half-Heusler alloys with stable structure in ferromagnetic state These Heusler alloys work because the crystal structure arranges the atoms so that the exchange interaction between manganese atoms (which are spaced differently than in pure manganese metal) becomes positive, flipping the same element from antiferromagnetic to ferromagnetic. Hundreds of Heusler alloys have been catalogued since, and they remain an active area of research for spintronic devices and magnetic sensors.
What About Rare Earth Elements?
Gadolinium is sometimes called the fourth ferromagnetic element because it is ferromagnetic at temperatures just below room temperature. Its Curie point, the temperature above which ferromagnetism disappears, sits around 20°C (68°F), so on a cool day a gadolinium sample will stick to a magnet, but warming it in your hand can be enough to kill the attraction. Dysprosium and holmium are also ferromagnetic, but only below roughly −185°C and −253°C respectively, so you would never encounter their magnetism outside a research lab.
The rare earth elements achieve ferromagnetism through a different set of electrons than iron, nickel, and cobalt. Their magnetism comes from deeply buried 4f orbitals rather than the 3d orbitals responsible in the common ferromagnets. Those 4f electrons are more shielded from neighboring atoms, which is partly why the exchange interaction is weaker and the Curie temperatures are so much lower. In practical terms, the rare earths matter enormously for magnets, but usually as ingredients in alloys rather than as standalone magnetic metals. Neodymium-iron-boron and samarium-cobalt permanent magnets owe their extraordinary strength to the rare earth component boosting the crystal’s resistance to demagnetization.
Temperature and the Curie Point
Every ferromagnetic material has a Curie temperature above which it stops being ferromagnetic entirely. For iron, this is about 770°C. For nickel, roughly 358°C. For cobalt, around 1,115°C. Above these temperatures, thermal energy overwhelms the exchange interaction, and the cooperative alignment of electron spins breaks down. The material becomes paramagnetic, meaning it still responds weakly to a strong magnet but nowhere near enough to feel with your hand.
This has real engineering consequences. A permanent magnet left in a hot environment, or used in a motor that generates substantial heat, can partially or fully demagnetize. Cobalt-based magnets tolerate higher operating temperatures precisely because cobalt’s Curie temperature is so high. In industrial ovens, furnaces, or jet engines, choosing a magnet material with the right thermal stability is just as important as choosing one with the right magnetic strength.
Why Most Metals Ignore Magnets
Aluminum, copper, gold, silver, titanium, lead, brass, and the vast majority of other metals are not ferromagnetic. When you hold a magnet next to a copper pipe, you feel nothing (at least while everything is stationary). These metals fall into two categories depending on their electron structure.
Paramagnetic metals have some unpaired electrons but lack the cooperative exchange interaction needed for spontaneous alignment. In an external magnetic field, their atomic magnets tilt slightly toward the field, creating a feeble attraction far too weak to feel. Aluminum and platinum are examples. Diamagnetic metals have no unpaired electrons at all, and the applied field induces a tiny opposing magnetization, so they are actually repelled by a magnet, though again the force is almost undetectable without sensitive equipment. Copper, gold, silver, and bismuth are diamagnetic. Bismuth’s diamagnetic response is strong enough that with a powerful rare-earth magnet you can see a thin piece of bismuth visibly pushed away, which makes for a striking demonstration.
When Non-Magnetic Metals React to Moving Magnets
Here is where things get interesting for metals that are not ferromagnetic. A stationary magnet next to a copper plate does nothing. But drop a strong magnet down a copper pipe, and it falls in dramatic slow motion, sometimes taking several seconds to travel a distance it would free-fall in a fraction of a second. The falling magnet creates a changing magnetic field as it moves, and that changing field generates circulating electric currents, called eddy currents, in the copper.3The Physics Teacher. Weighing a Magnet as it Falls with Terminal Velocity Through an Aluminum Pipe Those eddy currents produce their own magnetic field that opposes the motion of the magnet, creating a braking force. The magnet is not attracted to or repelled by the copper in the static sense; it is being slowed by electromagnetic induction.
The effect works with any good electrical conductor. Aluminum pipes produce a similar slow fall. Research into the details of this phenomenon has shown that even cutting vertical slits into the pipe, which disrupts some of the current paths, reduces but does not eliminate the braking force, because the currents find alternative routes through the remaining conducting material.4American Journal of Physics. Eddy currents of a magnet falling through a copper pipe with slits This eddy-current interaction is the basis for electromagnetic braking in trains and roller coasters, and it drives an entire recycling technology called eddy current separation, which sorts nonferrous metals like aluminum and copper from plastic and glass in waste streams by flinging the conductive pieces off a conveyor belt with a rapidly rotating magnetic drum.5Minerals Engineering. Eddy current separation for recovery of non-ferrous metallic particles: A comprehensive review
Magnets in Recycling and Sorting
The fact that ferromagnetic metals respond to static magnets while nonferrous conductors respond to changing ones gives recyclers a powerful two-step sorting process. First, a permanent magnet or electromagnet on a conveyor belt pulls out the ferrous fraction: steel cans, iron scrap, and other iron-containing pieces. These simply stick to the magnet and are pulled away from the mixed stream. Second, an eddy current separator handles the rest. A rapidly spinning drum of permanent magnets at the end of the conveyor creates a changing field that launches aluminum cans, copper wire, and other conductive nonferrous pieces forward while plastic, glass, and paper simply fall straight down.5Minerals Engineering. Eddy current separation for recovery of non-ferrous metallic particles: A comprehensive review
This technology is why you can toss a mix of metal, plastic, and paper into a single-stream recycling bin and have it efficiently separated at the facility. The magnet test is so simple and reliable that it extends beyond recycling. Scrap yards use it to assess material. Jewelers use it to check whether “gold” items contain ferromagnetic filler. Cooks use it to check whether their pans are compatible with induction cooktops, which require ferromagnetic cookware to generate the eddy currents that produce heat.
Ferrimagnetism and the Special Case of Magnetite
Not all magnetic attraction comes from pure ferromagnetism. Magnetite, the mineral that gave magnetism its name, is technically a ferrimagnet rather than a ferromagnet. In a ferrimagnet, there are two groups of atoms with their magnetic moments pointing in opposite directions, but the groups are not equal in strength. The partial cancellation still leaves a net magnetic field, so the material behaves like a magnet in everyday terms, just not as powerfully as pure iron. Ceramic (ferrite) magnets, the dark gray ones you often see holding up children’s art on refrigerators, are ferrimagnetic materials based on iron oxide mixed with barium or strontium.
Magnetite also shows up in surprising biological contexts. Some bacteria produce nanoscale magnetite crystals and use them to orient along Earth’s magnetic field lines, essentially turning themselves into tiny living compasses. Whether larger animals like birds use a similar magnetite-based mechanism for navigation remains an open and actively investigated question. Researchers have searched for magnetite particles in the tissues of birds, fish, and other migratory animals, but pinpointing a dedicated magnetoreceptor cell has proven difficult, with anatomical location and the rarity of the cells identified as key obstacles.6PubMed Central. Magnetic particle-mediated magnetoreception
Metals That Become Magnetic Under Extreme Conditions
Under ordinary conditions, the list of ferromagnetic metals is short. But the universe of magnetic metals expands if you allow extreme pressures. First-principles calculations predict that potassium, rubidium, and cesium, the soft, silvery alkali metals that react violently with water and are about as far from “magnetic metal” as you can imagine, can become ferromagnetic when compressed to pressures around 20 billion pascals, roughly 200,000 times atmospheric pressure.7arXiv. Pressure-induced s-band ferromagnetism in alkali metals At these pressures, the atoms rearrange into open crystal structures with pockets of electron density sitting between the atoms rather than on them. Those interstitial electrons, formed by both s and p electrons, become localized enough to develop a spin imbalance and turn ferromagnetic.8Applied Physics Letters. Pressure-induced ferromagnetism in open structure alkali metals from first principles
These pressures exist deep inside giant planets but not in any normal laboratory setting, so pressure-induced magnetism in alkali metals is a theoretical prediction, not something you will encounter. Still, it underscores the broader point: magnetism is not a fixed property stamped on an element. It depends on how the atoms are arranged, how far apart they sit, and what temperature and pressure they experience. Change any of those conditions enough, and a nonmagnetic metal can become magnetic, or a magnetic one can lose its attraction entirely.
Common Misconceptions About Magnets and Metals
One of the most persistent misunderstandings is that all metals are attracted to magnets. In everyday life, people encounter mostly iron-based metals (car bodies, nails, filing cabinets) plus aluminum and copper, and since two out of three common categories are nonmagnetic, the reality is the opposite of what many assume. The majority of metallic elements are indifferent to a magnet.
Another common confusion involves the difference between being magnetic and being a conductor. People sometimes assume that if a metal conducts electricity well, it should also be attracted to magnets. In fact, the best electrical conductors, silver, copper, and gold, are all diamagnetic. Conductivity depends on how freely electrons move through a material, while ferromagnetism depends on how those electrons’ spins align. The two properties are largely independent, which is why copper wiring carries current beautifully but ignores a bar magnet, while iron is a worse conductor but sticks to one enthusiastically.
A third misconception is that magnets “use up” their power over time when attracting metals. Permanent magnets can weaken if exposed to heat, physical shock, or opposing magnetic fields, but the act of attracting a piece of iron does not drain the magnet. The energy for the attraction comes from the magnetic field itself, which is sustained by the alignment of domains within the permanent magnet. As long as those domains stay aligned, the magnet keeps working. The slow weakening that happens over decades at room temperature is due to thermal fluctuations gradually nudging a few domain walls, not to the magnet spending some finite reservoir of force.
Induction Cooking and Ferromagnetic Cookware
Induction cooktops generate a rapidly alternating magnetic field just below the cooking surface. When you place a ferromagnetic pan on the burner, the changing field creates eddy currents in the pan’s base, and the resistance of the metal converts those currents into heat. The pan itself becomes the heating element, which is why induction cooking is so efficient and responsive.
The catch is that only ferromagnetic cookware works. An aluminum or copper pan sitting on an induction burner will barely warm up because the eddy currents generated are smaller and dissipate less energy as heat without the additional hysteresis losses that ferromagnetic materials provide. This is why many induction-compatible pans have a stainless steel disk bonded to the bottom of an otherwise aluminum body, specifically a ferritic or martensitic stainless steel that a magnet will grab. If you are shopping for induction-compatible cookware, the simplest test is to hold a refrigerator magnet to the base. If it sticks firmly, the pan will work on your induction cooktop. If it slides off, it will not.