The universe began 13.8 billion years ago in an event known as the Big Bang, and Earth formed about 4.5 billion years ago from a swirling cloud of gas and dust orbiting the young Sun. The story connecting those two points spans billions of years of cooling, clumping, and cosmic construction, from the first atoms to the first oceans.
The First Minutes of the Universe
Before the Big Bang, there was no space and no time as we understand them. The universe didn’t explode into something; space itself began expanding from an incredibly dense, hot state. In the earliest fraction of a second, the cosmos underwent a period of violent inflation, stretching faster than the speed of light. When that inflation stopped, its energy converted into matter and light. That transition is what we call the Big Bang.
One second after the Big Bang, the universe was a searingly hot soup of particles and light at roughly 10 billion degrees Celsius (18 billion degrees Fahrenheit). Over the next few minutes, protons and neutrons smashed together and fused into the first atomic nuclei, a process called nucleosynthesis. By the five-minute mark, this burst of element-building was already over. It produced mostly hydrogen and helium (about 75% and 25% by mass, respectively), along with tiny traces of lithium and beryllium. Those are still the most abundant elements in the universe today.
Even after nuclei formed, the universe remained too hot for complete atoms to exist. Loose electrons created a dense fog that scattered all light, making the cosmos completely opaque. It took another 380,000 years of cooling before electrons could finally attach to nuclei, forming stable atoms. When that happened, light was free to travel for the first time. That ancient light is still detectable today as the cosmic microwave background, a faint glow that fills all of space. Tiny temperature variations in that glow map where matter was slightly denser or thinner in the early universe, showing the seeds of every galaxy and star that would eventually form.
From Gas Clouds to Galaxies and Stars
For hundreds of millions of years after the Big Bang, the universe was dark. No stars existed yet. Gravity slowly pulled hydrogen and helium gas into denser and denser clumps. Eventually, the pressure at the center of these clumps became intense enough to ignite nuclear fusion, and the first stars lit up. These early stars were massive, burned hot, and died fast, often exploding as supernovae. Those explosions forged heavier elements like carbon, oxygen, silicon, and iron, scattering them into space where they could be incorporated into the next generation of stars.
Galaxies assembled from these growing clusters of stars and gas, pulled together by gravity. Recent observations from the James Webb Space Telescope have revealed galaxies existing far earlier than scientists expected. One galaxy, designated JADES-GS-z13-1, was observed as it appeared just 330 million years after the Big Bang. It showed surprisingly strong light emissions that should have been blocked by the thick fog of neutral hydrogen still filling space at that time. This discovery has forced astronomers to reconsider how quickly galaxies could form and how early the universe began to clear.
Birth of the Solar System
Our solar system started forming about 4.6 billion years ago, roughly 9 billion years after the Big Bang. A large cloud of gas and dust, enriched with heavy elements from generations of dead stars, began to collapse under its own gravity. As it collapsed, it spun faster and flattened into a rotating disk. The center of that disk grew increasingly dense and hot until nuclear fusion ignited, and the Sun was born.
The leftover material in the disk didn’t go to waste. Tiny grains of dust and ice collided and stuck together, gradually building into pebble-sized rocks, then boulders, then bodies kilometers across called planetesimals. These planetesimals continued colliding and merging in a process called accretion, eventually forming the rocky inner planets (Mercury, Venus, Earth, and Mars) and the cores of the gas giants farther out.
How Earth Came Together
Earth’s formation was fast by cosmic standards. Research based on isotope analysis suggests that roughly 63% of Earth’s mass accumulated in about 11 million years. Some models indicate the main stage of accretion, gathering close to 87% of its final mass, happened in as little as 3.5 to 10 million years. The full process, including the final giant collision that formed the Moon, took somewhere between 30 and 100 million years.
As the growing Earth pulled in more material, the energy of constant impacts heated it dramatically. When temperatures rose high enough, iron and iron-sulfur compounds inside the planet began to melt. Being denser than the surrounding rock, this molten metal sank toward the center, a process sometimes called the iron catastrophe. The bulk of this metal-silicate separation, which created Earth’s iron core and rocky mantle, was largely complete within 30 million years of the planet’s formation. The final stages of core differentiation, including large-scale release of gases from the mantle, continued for roughly 100 million years.
The Moon-Forming Impact
Around 30 to 100 million years after the solar system began forming, a Mars-sized body called Theia slammed into the young Earth. The collision was so violent that it may have liquefied much of Earth’s surface. Traditional models suggested the debris from this impact gradually coalesced into the Moon over months or years. Newer simulations propose something more dramatic: the Moon may have formed almost immediately, within a matter of hours, as material from both Earth and Theia was launched directly into orbit.
This faster formation model helps solve a long-standing puzzle. The Moon’s composition is remarkably similar to Earth’s, which is hard to explain if the Moon formed mostly from Theia’s debris. If the impact instead ejected a large amount of Earth’s own outer material into orbit, that similarity makes much more sense.
Earth’s Violent Early Years
The first chapter of Earth’s history is called the Hadean eon, named after the Greek underworld, and for good reason. The surface was a hellscape of impact craters, volcanic eruptions, and molten rock. Lava flowed into early oceans that formed in impact basins, and the sky was choked with ash.
Earth’s early atmosphere bore no resemblance to the one we breathe today. It contained virtually no free oxygen. Instead, volcanic outgassing filled it with carbon dioxide, nitrogen, water vapor, and other gases. Carbon dioxide was particularly unstable in this environment, vulnerable to being stripped away by large asteroid impacts. Under the faint young Sun, which was about 30% dimmer than it is now, and with limited greenhouse gases to trap heat, Earth’s climate may have swung between extremes. Long stretches of bitter cold were occasionally broken by brief episodes of intense heat and steam lasting decades to thousands of years, triggered by massive impacts.
Despite these brutal conditions, the planet was already developing the features that would eventually make life possible. Zircon crystals found in the Jack Hills region of Western Australia date back 4.4 billion years, making them the oldest known fragments of Earth’s crust. Their chemistry suggests that liquid water existed on the surface surprisingly early, meaning oceans may have formed within the first 150 million years of Earth’s existence. From that point, it was only a matter of time (about a billion years, give or take) before the first microbial life appeared, beginning the long transformation of Earth from a molten rock into the living world we know.

