;colony/science  / Chemistry  / Why do atoms stick together?
Chemistry

Why do atoms stick together?

Atoms bond because most of them sit one or two electrons short of feeling settled, and the right partner fixes that.

Plate 78 — Atoms holding hands octet rule · ionic give vs covalent share
Toggle ionic and covalent — hand an electron over, or share a pair.
Predict firstWhen two atoms pull on electrons very unequally, will they share or transfer?
Na Cl Na has 1 outer electron; Cl wants 1 more to fill its shell
PLATE 78 · ATOMS HOLDING HANDS
Kind of bond ionic — give & take
Ionic: one atom hands an electron over. Covalent: they share a pair.
Hand the electron over 0%
Slide all the way and the two atoms become charged ions that snap together.
Result
Na outer / Cl outer
1 / 7
Atoms want a full outer ring of electrons, and they'll do almost anything to get one. Sodium has a lonely 1 spare, chlorine is 1 short of full — so sodium just gives its electron away. Now sodium is a bit plus, chlorine a bit minus, and opposites pull together: that's salt. Two hydrogens have nothing to give, so they share a pair down the middle instead. Sharing is a covalent bond.
Try with the plate
  • Pair sodium and chlorine and trigger an electron transfer.
  • Build a covalent bond by making two atoms share a pair.

Atoms stick together to fill their outer electron shell, which most atoms cannot do alone. In an ionic bond one atom hands an electron to another, and the oppositely charged ions attract. In a covalent bond two atoms share a pair of electrons instead.

The short answer

Every atom has an outer ring where electrons live, and atoms feel happiest when that ring is full. Trouble is, most atoms are a little short or have one too many. So they team up. Sometimes one atom just hands an electron to another, like sodium giving its spare to chlorine, and then the two, now charged, snap together into salt. Other times two atoms each grab one end of a shared pair and hold on, like two hands clasping the same rope: that's how hydrogen sticks to hydrogen, and how water gets built. Either way, sticking together fills the ring. Flip between giving and sharing in the simulator and watch the rings fill up.

The common mix-up

Most people think atoms are tiny sticky balls that simply cling together. In fact nothing about an atom is sticky. Bonding happens only because atoms swap or share electrons to fill their outer shell, and that filling is what holds them.

What's actually happening

A common picture of chemistry is that atoms are sticky little balls, but nothing about an atom is sticky. What drives bonding is electrons, and specifically the outermost ones. Electrons sit in shells around the nucleus, and an atom behaves as if it desperately wants its outer shell either full or empty — eight electrons is the comfortable number for most of the small atoms in everyday life. A lone sodium atom carries a single spare electron rattling around in an otherwise empty outer shell; a chlorine atom is one electron short of a full set of eight. Neither is content on its own.

The fix can go two ways. In the first, the atom with the spare simply gives it away. Sodium hands its one loose electron to chlorine; now chlorine has its full eight and sodium has shed its odd one out. But that transfer leaves sodium with one more proton than electron, a positive charge, and chlorine with one extra electron — a negative charge. Opposite charges pull, hard, and the two snap together into a tidy grid of alternating plus and minus. That grid is table salt, and the pull holding it is an ionic bond. In the second way, neither atom is willing to give an electron up, so they compromise and share. Two hydrogen atoms each bring one electron to the middle and both lay claim to the shared pair, so each now feels like it has a full little shell. That shared pair is a covalent bond, and stacking up shared pairs builds everything from the hydrogen in a balloon to the water in your glass, where one oxygen shares a pair with each of two hydrogens.

Which path an atom takes comes down to how strongly it tugs on electrons, and that one difference quietly sorts the material world. Strong tug versus weak tug gives a clean transfer and ionic compounds: hard, brittle, high-melting salts that dissolve into charged particles and let water conduct electricity. Roughly matched tugs give sharing and covalent molecules: gases, liquids, and soft solids that mostly keep to themselves. Carbon, almost perfectly balanced, shares four pairs at once and chains endlessly with itself — which is the entire reason a chemistry of life, plastics, and fuels exists at all.

Remember this

Atoms bond to fill their outer shell, by giving or sharing electrons, and that one choice sorts the entire material world.

Try it at home Charge two balloons, then watch them choose
  1. 1Rub two balloons on your hair so they pick up extra electrons and both go negative.
  2. 2Hold them near each other on threads: they swing apart, because like charges push away — the same force, reversed, that pulls Na⁺ and Cl⁻ together in salt.
  3. 3Now bring one charged balloon near a thin stream of tap water: the stream bends toward it, because water is slightly lopsided in charge from sharing electrons unevenly.

Common questions

What is the difference between an ionic and a covalent bond?

In an ionic bond one atom gives an electron away outright and the resulting charged ions attract, as in table salt. In a covalent bond neither atom gives way, so they share a pair of electrons instead, as in hydrogen and water.

Why doesn't sugar water conduct electricity like salt water?

Salt is held together by ionic bonds, so it splits into charged sodium and chlorine ions in water that can carry a current. Sugar is covalently bonded and dissolves as whole, uncharged molecules, so there is little to conduct.

Why can carbon build such long chains?

Carbon pulls on electrons almost perfectly evenly, so it shares four pairs at once and bonds happily to other carbon atoms. This lets it form rings and chains millions of atoms long, the basis of plastics, fuels and life.

Built & checked by Nilesh Singh · how this is made · last updated June 2026