There are seven of them today, they began at six. In the 1991 Sonic the Hedgehog there are only six Chaos Emeralds to collect, and that count remains the one used across the entire 8-bit line: Sonic 1 and Sonic 2 on Master System and Game Gear, Sonic Chaos, Sonic the Hedgehog Triple Trouble, Sonic Drift 2, Tails' Skypatrol. The move to seven dates from Sonic the Hedgehog 2 on Mega Drive, released in November 1992, and that number has not shifted since. The Sonic Origins compilation, released on 23 June 2022, added a sequence in which a seventh emerald joins the other six: a narrative patch applied after the fact, not a change of rule.
Their appearance floated for a long time, in size as in cut; it settled on seven brilliant-cut gems, the size of a palm, in green, red, blue, yellow, purple, cyan and white. How they work fits into one sentence: they turn thought into energy, with a clear polarity — friendship produces positive energy, anger and hatred negative energy. Once drained, they turn dull and inert; they can only be relit by the thoughts of others, by the Gaia Temples, by contact with the Sol Emeralds, or by being left to recharge on their own.
Their power grows with their number, and the saga has given only one numbered scale of that accumulation: that of the Eclipse Cannon in Sonic Adventure 2. With five emeralds, the weapon can destroy a large city; with six, a sizeable portion of the Moon; with all seven, entire planets. They also attract one another like magnets, which allows Tails to locate Eggman aboard the Space Colony ARK. And after every collective use, they scatter to the four corners of the world and land, dull, in out-of-the-way places: the hunt starts over, and that is the engine of nearly the whole series.
Their narrative role, on the other hand, changed nature along the way. In the early 2D games, the emeralds are a bonus: gathering them gives the good ending, and nothing more. From Sonic Adventure in 1998 onwards, they become the plot itself, the script hands them out, and recovering them governs access to the end of the story. The collectible became the script, and that is one of the great turning points of the game catalogue.
Their origin, by contrast, is not established, and the series owns that. The most detailed account comes from Sonic Frontiers: tens of thousands of years earlier, a technologically advanced people, the Ancients, flee their planet before an entity designated as The End, taking with them seven gems that power the engines of their ships. Passing close to Earth, those gems resonate with the Master Emerald and throw the navigation off, which decides the landing; the Ancients then use them to create Cyber Space and the Titans. The point deserves stressing because it is often misreported: the Ancients use the emeralds, nothing indicates that they made them.
The second great origin account is that of the Knuckles Clan, more than three thousand years ago. The seven emeralds then rested on seven stone pillars around the Master Emerald, at the Altar of Emerald, in a sanctuary inhabited by a colony of Chao and protected by a water deity, Chaos. Chieftain Pachacamac launched a raid to seize them; his daughter Tikal stood in the way, in vain. Chaos used the gems to become Perfect Chaos and wiped out the clan's civilisation, before being sealed inside the Master Emerald. That is where the name comes from: these stones were called the Chaos Emeralds because they were held to bring chaos.
Half a century before the series' present day, Professor Gerald Robotnik studied them aboard the ARK as part of Project Shadow. That research produced the Chaos Drives and revealed that an ancient robot, the Gizoid, reacted to the gems: an emerald fitted into it set off a rampage that destroyed a large part of the station. There are also artificial emeralds, which Tails knows how to build: they reproduce the wavelength of the originals with less power and even make it possible to trigger a Chaos Control — at the cost of an exhaustion that leaves the user barely standing.