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

On this page
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
| Code | Effect |
|---|---|
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) |

Map and game control
| Code | Effect |
|---|---|
marco | Reveal the map (type again to turn off) |
polo | Remove the fog of war (type again to turn off) |
aegis | Instant building, research, gathering and training for all players, AI included |
i r winner | Win the game |
resign | Lose the game |
black death | Destroy all other players, allies included |
torpedo1 to torpedo8 | Destroy that player |
wimpywimpywimpy | Destroy yourself |
natural wonders | Control nature, but lose your civilization (cannot be undone) |
Joke units
| Code | Effect |
|---|---|
how do you turn this on | A Cobra Car with rapid-fire guns |
to smithereens | A Saboteur |
i love the monkey head | A VMDL |
furious the monkey boy | Furious the Monkey Boy |
woof woof | Birds become Stormy Dogs |
i don't exist | A Penguin (Definitive Edition) |
alpaca simulator | Alfred the Alpaca (Definitive Edition) |
catzor | The Sharkatzor (Definitive Edition) |
photon man | Photon 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.





