NieR Automata Codexery

The Moon War

The ancient alien invasion that stripped Earth from humanity and birthed an eternal, automated war.

The conflict known as the 'Moon War' is a misnomer; the actual backstory involves an alien invasion of Earth in 5012. After Earth's forces were defeated, humanity relocated to the Moon—not as an immediate retreat during the fighting, but as a strategic relocation that occurred later, well after the initial defeat.

Combatants
Humanity vs. Alien Invaders
Outcome
Total loss of Earth for humanity; eventual rise of autonomous Machine Lifeforms after the aliens' disappearance

Lore & Background

The war ended with humanity retreating to the Moon after Earth's forces were defeated by the aliens, though this relocation did not happen in 5012 but at a later date. The Bunker was built as a space station for YoRHa androids, with Project YoRHa beginning around 11937—not centuries after the war as a mobile fortress. Machine Lifeforms were created by the aliens as weapons and later became autonomous after the aliens' disappearance, not evolved autonomously from human military hardware.

In Their Own Story

The sky above the ruins of what was once a great city burned with the light of falling debris, not from stars, but from burning ships. An ancient android unit, its chassis scorched and memory banks fragmented, stood amidst the rubble of a temple that had long since crumbled into dust. It did not remember the faces of the humans who built it, only the command to fight. The silence of the battlefield was heavy, broken only by the distant whirring of machines that had forgotten they were once weapons in a war for Earth.

Reader's Guide

The Moon War serves as the foundational tragedy of the NieR: Automata universe, explaining why humanity is absent from Earth and why androids fight endlessly. It began when an alien species invaded, overwhelming human defenses and forcing a mass evacuation to space. While the humans fled, they left behind their creations—the androids—to continue the resistance. This decision created a paradox where the war continued long after the original combatants had vanished, driven by programming rather than survival instinct. The Bunker was established to manage this prolonged conflict from orbit. Over time, the details of the invasion and the nature of the enemy became distorted in the records kept by the androids. The war shifted from a struggle for territory to an existential loop, with both sides forgetting why they fight. This historical backdrop sets the stage for the discovery that the war itself may have been manipulated or misunderstood.

Did You Know?

Frequently Asked Questions

What was The Moon War?

This ancient conflict describes the war between humanity and alien invaders that occurred before the events of the game. It resulted in humans losing Earth and fleeing to space to establish a new home.

Who were the combatants involved?

Biological humans fought against extraterrestrial forces seeking to conquer the planet. This struggle ended with humanity's total defeat and subsequent exile from their world.

What was the outcome for Earth?

The planet was stripped of human presence, leaving it overrun by alien technology that later evolved into machine lifeforms. Consequently, humans could no longer return without military assistance.

How does this connect to YoRHa?

The Bunker founded the android units specifically to reclaim Earth following humanity's loss during this era. Their entire existence is dedicated to reversing the outcome of that ancient war.

Why is The Moon War important to the story?

It establishes the historical reason why machines rule the surface while humans hide in orbit. Without this event, there would be no need for the androids or the endless cycle of combat seen in NieR: Automata.

More in History & Mythos

Elsewhere in the NieR Automata universe

Spotted an error? Know more?

This is a living reference — every entry is fact-audited, and reader corrections feed straight into our audit queue. Suggest an edit · See this site's audit record

Comments

Loading…
Open in the interactive codex →