When an ionic bond forms, the metal atom loses one or more valence electrons and the nonmetal gains them, producing a cation and an anion that stick together by electrostatic attraction. The electrons are not shared between the two atoms; they are transferred outright, and the driving force is the drop in total energy when each ion reaches a closed-shell configuration. That single sentence is the whole answer, and the rest of this article explains why it happens, how much energy is involved, and where the textbook picture breaks down.

The transfer mechanism, step by step

Start with sodium and chlorine, the standard example. A neutral sodium atom has the configuration [Ne]3s¹, with one lone electron outside a stable neon core. A neutral chlorine atom is [Ne]3s²3p⁵, one electron short of an argon core. Neither atom is unstable in isolation; the question is whether the combined system can reach a lower energy state.

The answer comes from the Born–Haber cycle, which breaks the formation of solid NaCl into measurable steps. Sublimation of sodium metal costs about +107 kJ/mol. Ionizing a gaseous sodium atom costs +496 kJ/mol, its first ionization energy. Dissociating half a mole of Cl₂ gas into chlorine atoms costs about +122 kJ/mol. Giving chlorine an electron releases 349 kJ/mol, its electron affinity. Lattice formation releases about 787 kJ/mol.

Sum those and you get roughly −355 kJ/mol for the overall reaction. The lattice energy more than pays for ionization. This is the counterintuitive part: the electron transfer itself is uphill by about 147 kJ/mol, and the bond exists because packing the resulting ions into a crystal returns far more than that. An ionic bond is not a transaction between two atoms. It is a transaction between two atoms and the entire crystal lattice.

The mechanism has a sequence. Valence electrons on the metal are weakly held because the effective nuclear charge felt by the outermost electron is small. The nonmetal has a high effective nuclear charge and a deep vacancy in its valence shell. When the atoms approach within a few bond lengths, electron density shifts, and at sufficient proximity an electron moves from the metal's highest occupied orbital to the nonmetal's lowest unoccupied orbital. The ions that result have closed shells, and the electrostatic field between them holds the pair together.

Plainly: the metal gives away its loosest electron, the nonmetal accepts it into an empty slot, and the resulting plus and minus charges lock together.

The energy match matters. Electron transfer is favorable when the donor's ionization energy is low and the acceptor's electron affinity is high. That is why ionic bonding concentrates among elements on the far left and far right of the periodic table, especially alkali and alkaline earth metals paired with halogens and oxygen.

How much charge actually moves

Textbook diagrams draw ions as perfect spheres with integer charges. Real electron density tells a more interesting story. In crystalline NaCl, the measured charge on sodium is roughly +0.8 to +0.9 rather than +1.0, and chlorine carries a correspondingly less-than-full −1.0. Electrons are not discrete tokens; the transfer is partial, and the ionicity of a bond is a matter of degree. Linus Pauling's electronegativity scale gives NaCl about 67 percent ionic character, with the remainder covalent.

This partial transfer is why chemists describe bonding on a continuum from covalent to ionic rather than in two boxes. A bond is called ionic when the electronegativity difference exceeds roughly 1.7 to 2.0 on the Pauling scale, a threshold that is a useful rule of thumb, not a law. The 1.7 cutoff and the 2.0 cutoff appear in different textbooks; treat both as conventions that flag likely ionic character rather than definitions. The underlying variable is the actual charge distribution, which only measurement reveals.

The energy scale explains the numbers. Lattice energies for common ionic solids run from about 600 kJ/mol for NaCl to roughly 3,000 kJ/mol for MgO, where doubly charged ions on both sides produce a far stronger field. Coulomb's law scales with the product of the charges divided by the distance between them. Doubling the charge on both ions roughly quadruples the attraction at fixed separation, which is why magnesium oxide melts near 2,850 °C while sodium chloride melts at 801 °C.

Ionization energies set the entry price. Removing sodium's first electron costs 496 kJ/mol; removing magnesium's first and second costs 738 and 1,451 kJ/mol. The second ionization of magnesium is expensive, which is why MgO forms only when the lattice energy is large enough to compensate.

Edge cases that break the simple story

Several common compounds do not fit the transfer model cleanly.

Ammonium chloride, NH₄Cl, is an ionic solid in which the cation is a polyatomic molecule, not a metal. The positive charge sits on nitrogen, which has formally donated its lone pair to a proton. The lattice is held by electrostatic attraction between NH₄⁺ and Cl⁻, but no metal-to-nonmetal electron transfer occurs in the textbook sense.

Sodium hydride, NaH, reverses the usual electronegativity direction: hydrogen, normally the electron acceptor, becomes the anion H⁻. Hydride is a strong base and reacts violently with water, releasing hydrogen gas.

Compounds like AlCl₃ and BeCl₂ are borderline. Aluminum chloride is often covalent in the gas phase and polymeric in the solid, and beryllium chloride forms chains rather than a simple ionic lattice. Both illustrate that the electronegativity threshold predicts poorly near the boundary.

Fajans' rules capture a professional caveat: small, highly charged cations polarize large anions and pull electron density back toward the cation, increasing covalent character. Lithium iodide is the classic case. Iodide is large and polarizable, lithium is small and densely charged, and the result is a compound with appreciable covalent character and unusual solubility in organic solvents. The rule is qualitative, but it explains why iodides and bromides of small cations deviate from ionic predictions.

Multivalent metals push the transfer further. Iron in FeCl₃ has lost three electrons, and the ionization energy to reach Fe³⁺ is steep. That cost is paid back by the lattice energy of the triply charged ion, which is why ferric compounds are stable despite the punishing ionization steps.

Misconceptions worth correcting

The most persistent misconception is that ionic bonds share electrons equally. They do not share them at all in the idealized model, and in real compounds the transfer is partial but still strongly asymmetric. A molecule with a bond dipole is different from an ion pair.

Another is that ionic bonds are weaker than covalent bonds. Lattice energies of 600 to 3,000 kJ/mol exceed the 300 to 500 kJ/mol typical of covalent bonds in small molecules. Ionic solids are hard and high-melting precisely because the electrostatic field is strong and extends through the entire crystal.

A third is that ionic bonds exist between discrete pairs. In a crystal, each ion is surrounded by several counterions, and there is no identifiable molecule. Sodium chloride has six chloride neighbors around each sodium in the rock salt structure. The bond is a property of the lattice, not of a pair.

Red-flag warnings when reading thin explainers:

Any claim that a specific electronegativity difference guarantees ionic character rather than predicting it. Diagrams showing full integer charges on ions in all compounds, ignoring measured partial charge. Statements that ionic bonds are broken by melting; melting breaks the lattice order, not the ion pairs, which persist in the liquid. Claims that ionic compounds conduct electricity as solids. They conduct when molten or dissolved because ions become mobile; solid crystals do not conduct appreciably. Energy arguments that stop after ionization energy and electron affinity without including lattice energy. Predictions of ionic bonding that ignore cation size and polarizability.

Comparing bonding models

Bond type Electron behavior Typical energy scale Conducts as solid Example
Ionic Transferred, partial in practice Lattice energy 600–3,000 kJ/mol No NaCl
Covalent Shared in molecular orbitals 150–500 kJ/mol per bond No CH₄
Metallic Delocalized over lattice Varies widely Yes Fe
Polar covalent Unequally shared 150–500 kJ/mol per bond No HCl
Coordinate Donated from one atom's lone pair 100–400 kJ/mol per bond No NH₄⁺
Hydrogen bond Shared weakly between dipoles 10–40 kJ/mol No H₂O ice

The table shows why the ionic label is a category, not a switch. Each row describes a dominant behavior, and real substances sit on the continuum between rows.

Time course of bond formation

Stage What happens Energy change
Approach Atoms near within a few bond lengths Negligible
Orbital overlap Donor's HOMO and acceptor's LUMO begin to interact Small
Electron transfer Electron moves to the acceptor's vacancy +147 kJ/mol for Na + Cl
Ion pair formation Cation and anion attract electrostatically Large release
Lattice assembly Ions pack into crystal positions −787 kJ/mol for NaCl
Crystal growth Additional ions add to the lattice Cumulative release
Dissolution or melting Lattice disrupted by solvent or heat Reverses lattice energy

The table makes the point again: the single transfer step is not the energetically decisive event. The decisive event is the lattice assembly that follows.

Practical actions for students and laboratory workers

If you are predicting whether a bond will be ionic, follow a sequence rather than a single rule.

Compute the electronegativity difference and treat 1.7 as a screening threshold, not a verdict. Check whether the cation is small and highly charged, which increases covalent character per Fajans' rules. Look up the actual lattice energy if you need a quantitative answer. Check the melting point and conductivity as empirical tests: high melting point plus conductivity when molten is strong evidence for ionic character. For laboratory work, remember that ionic compounds are typically soluble in water and insoluble in nonpolar solvents, and that molten salts are aggressive solvents and electrical conductors.

For a quick field test, the melting point is the cheapest discriminator. Sodium chloride melts at 801 °C; covalent molecular solids typically melt below 300 °C.

A threshold reconciliation is worth stating explicitly. The 1.7 Pauling cutoff and the 2.0 cutoff both flag likely ionic character; neither is a measurement. The measured partial charge and the lattice energy are the evidence. Where a prediction and a measurement disagree, trust the measurement and treat the rule as a heuristic.

Limits of the model

The transfer model is a useful approximation, not a quantum-mechanical description. Electron density in real ionic compounds is continuous, and the integer-charge picture overstates the asymmetry. The model also says little about dynamic behavior, defects, or the surface chemistry that governs catalysis and dissolution.

For medical, legal, financial, or safety decisions involving specific chemicals, consult a qualified local professional; this article is general educational information about bonding theory, not a diagnosis, treatment plan, or safety protocol. For immediate danger from chemical exposure, contact local emergency services.