Up, up, down, down, left, right, left, right, B, A. The most famous cheat in video games was never meant to reach players at all. It was a shortcut one programmer built for himself, and it shipped only because someone forgot to take it out.
The programmer was Kazuhisa Hashimoto, who was porting Konami's 1985 arcade shooter Gradius to the Nintendo Entertainment System. As Wikipedia's history of the Konami Code tells it, he found the game too hard to get through while testing, so he wrote a sequence that handed him a full set of power-ups when typed in with the game paused.
The cheat nobody deleted
The plan was to strip the code before release. That did not happen. It was only spotted as Gradius was being readied for mass production in 1986, and the developers chose to leave it in, since cutting it at that stage could have introduced new bugs. Ten button presses, kept for safety, became a piece of gaming history.
North American players met it most often in Contra on the NES, where the same input gave you 30 lives instead of the usual handful. That is why many people still call it the Contra Code or the 30 Lives Code.
Forty years of hidden surprises
Konami reused the sequence across its sequels and spin-offs, and other studios started borrowing it as a wink to fans. A few of the stranger places it turns up:
- Hollow Knight: Silksong opens its permadeath Steel Soul mode from the Extras menu without a full playthrough first.
- BioShock Infinite opens its tougher 1999 Mode from the start with a variation of the code.
- Castlevania: Legacy of Darkness on the Nintendo 64 hid a variant that went undiscovered until 2024, giving access to all four characters, their outfits and a hard mode.
- The Bank of Canada put it on the website for its commemorative $10 bill, where it plays a chiptune version of the national anthem and drops virtual banknotes.
- Google Assistant answers the spoken sequence with lines such as "Cheat mode enabled."
It escaped into music and film, too. The Moldy Peaches sang it in their 2001 song "Anyone Else but You," adding the line, "Just because we use cheats doesn't mean we're not smart." In Disney's Wreck-It Ralph, the villain King Candy uses it to break into a locked part of his racing game's code.
Why it stuck
Counted from Gradius in 1986, the code turns 40 in 2026. Part of its staying power is design: the sequence is easy to remember once you know it but unlikely to be entered by accident mid-game. The bigger reason is nostalgia. For anyone who grew up with a rectangular NES pad, those ten inputs still feel like a secret handshake.
For more on that era, see Badiyaa's look at the Super Famicom's sellout 1990 launch and the odd tale of Wisdom Tree's unlicensed Bible games for the Game Boy.
Sources
- Konami Code, Wikipedia, 2026
Image: Evan-Amos, Public domain via Wikimedia Commons
This article was produced with AI assistance and reviewed by our Editorial Desk. How we work.




