Cheats & CodesAge of Empires

Age of Empires II: The Age of Kings Cheats: Every Code

Age of Empires II (Retired) 2
Age of Empires II

Short answer: In The Age of Kings, press Enter during a game and type a code. Resource codes like robin hood give 1,000 each in this version, marco and polo reveal the map, and aegis makes building instant.

The original Age of Kings uses the same codes as later versions, with two differences: resource codes give 1,000 instead of 10,000, and ninjalui and the codes marked Definitive Edition do not exist yet.

How to enter cheats

Press Enter during a game, type the code and press Enter again. Codes are not case sensitive. Cheat units appear at your Town Center. In the Definitive Edition, turn on “Allow Cheats” in the game settings first, and note that using cheats blocks achievements.

Resources

CodeEffect
cheese steak jimmy's+10,000 food (+1,000 before The Forgotten)
lumberjack+10,000 wood (+1,000 before The Forgotten)
robin hood+10,000 gold (+1,000 before The Forgotten)
rock on+10,000 stone (+1,000 before The Forgotten)
ninjalui+100,000 of every resource (HD from The Forgotten, and Definitive Edition)
Age of Empires II (Retired) 3
Age of Empires II

Map and game control

CodeEffect
marcoReveal the map (type again to turn off)
poloRemove the fog of war (type again to turn off)
aegisInstant building, research, gathering and training for all players, AI included
i r winnerWin the game
resignLose the game
black deathDestroy all other players, allies included
torpedo1 to torpedo8Destroy that player
wimpywimpywimpyDestroy yourself
natural wondersControl nature, but lose your civilization (cannot be undone)

Joke units

CodeEffect
how do you turn this onA Cobra Car with rapid-fire guns
to smithereensA Saboteur
i love the monkey headA VMDL
furious the monkey boyFurious the Monkey Boy
woof woofBirds become Stormy Dogs
i don't existA Penguin (Definitive Edition)
alpaca simulatorAlfred the Alpaca (Definitive Edition)
catzorThe Sharkatzor (Definitive Edition)
photon manPhoton Man (Definitive Edition)

Playing the remaster? See the Definitive Edition cheats. See every Age of Empires guide on the site.

Sources

  • Age of Empires official support: Cheat codes for Age of Empires II: Definitive Edition
  • Age of Empires Wiki (Fandom): Cheat codes (Age of Empires II)

Last checked against sources: 10 November 2026.

Found a mistake or a step that no longer works? Tell us and we will check it.