A magnet is any material capable of producing a magnetic field. Since any moving electric charge generates a magnetic field, electrons are tiny magnets. However, the electrons in most materials are randomly oriented, so there is little or no net magnetic field. To put it simply, the electrons in a magnet tend to be oriented the same way. This happens naturally in many ions, atoms, and materials when they are cooled, but isn't as common at room temperature. Some elements (e.g., iron, cobalt, and nickel) are ferromagnetic (can be induced to become magnetized in a magnetic field) at room temperature. For these elements, the electrical potential is lowest when the magnetic moments of the valence electrons are aligned. Many other elements are diamagnetic. The unpaired atoms in diamagnetic materials generate a field that weakly repels a magnet. Some materials don't react with magnets at all.The atomic magnetic dipole is the source of magnetism. On the atomic level, magnetic dipoles mainly are the result of two types of movement of the electrons. There is the orbital motion of the electron around the nucleus, which produces an orbital dipole magnetic moment. The other component of the electron magnetic moment is due to the spin dipole magnetic moment. However, the movement of electrons around the nucleus isn't really an orbit, nor is the spin dipole magnetic moment associated with actual 'spinning' of the electrons. Unpaired electrons tend to contribute to a material's ability to become magnetic, since the electron magnetic moment can't be totally canceled out when there are 'odd' electrons.
The protons and neutrons in the nucleus also have orbital and spin angular momentum, and magnetic moments. The nuclear magnetic moment is much weaker than the electronic magnetic moment, because although the angular momentum of the different particles may be comparable, the magnetic moment is inversely proportional to mass (mass of an electron is much less than that of a proton or neutron). The weaker nuclear magnetic moment is responsible for nuclear magnetic resonance (NMR), which is used for magnetic resonance imaging (MRI).
Make a Liquid Magnet | Bend Water with Static
Image: Practical Physics, Macmillan and Company (1914)


Comments
Dear Dr. Helmenstine,
I have been meaning to thank you for a long time. Your clearly written articles are invaluable and I have incorporated them in my biology and introductory chemistry classes for two years.
So it was with eager anticipation that I read your article on “How Magnets Work” hoping to finally get some insight into the mystery of magnetism. I often confess to my kids that I don’t “believe” in magnetism because I can’t understand it. Perhaps this is one of the wonders of science that I will never understand, your valiant efforts not withstanding.
Thanks for tackling the problem, but I am still mystified by magnetism.
Again, thanks for your valuable articles. I read them with admiration and gratitude.
Sincerely,
Steven Cohen, PhD
Everyone is mystified by magnets. There is an article about the lack of understanding of magnetics in Discover either June or July of 08.
Im a kid in highschool still, but i can’t help myself but to try wonder. When u say, “Since any moving electric charge generates a magnetic field, electrons are tiny magnets.” I asumed that electrons get their charge from friction. But friction against what? I dont no of anything smaller then an electron and if the only friction for an electron is for it to rub against anouther, then how does and electron it self in movement have a magnetic field?
The magnetism still is largely unexplained at its most fundemental level. For example, how is the magnetic field carried from a magnet to another object that’s attracted by that magnet ? Magnets attract each other perfectly in vaccum. So the so called magnetic ‘field’ should have a physical particle that’s ‘transmitted’ from one object (magnet) to another (object that’s attracted). Every text book says there is magnetic field but don’t see any convincing explanaion on how this field is propagated.
I do not believe this article one bit. There is no explanation for magnets other than magic. Science is all fake.
I enjoyed this article. It was well-written and quite clear. However, I am confused about one point:
“…nor is the spin dipole magnetic moment associated with actual ’spinning’ of the electrons. ”
From at least one source (http://en.wikipedia.org/wiki/Magnetic_moment), the spin dipole magnetic moment is calculated based on angular momentum. But according to http://en.wikipedia.org/wiki/Spin_(physics), “The spin of a charged particle is associated with a magnetic dipole moment with a g-factor differing from 1. This could only occur classically if the internal charge of the particle were distributed differently from its mass.”
So, are you saying that the electrons, in fact, do not spin? Or do you mean that there are problems when we try to understand an electrons magnetic moment due to the rotation movement alone? Or …
Thank you.