cheat-codesneskonamihistorycontra

The Konami Code: The Cheat That Changed Gaming History

Up, Up, Down, Down, Left, Right, Left, Right, B, A. The most famous sequence in gaming history was created by accident, popularized by Contra, and has appeared in hundreds of games and websites ever since.

By Console Codex Editorial Team ·

The Origin: Gradius and a Difficult NES Port

The Konami Code was not designed for players. It was designed for a game developer who found his own game too hard to test.

In 1985, Kazuhisa Hashimoto was working on the NES port of Gradius — Konami’s arcade shooter in which the player controls a spacecraft through increasingly difficult scrolling levels, building up power-ups to survive. The NES version was challenging enough that testing individual levels deep in the game required playing through the entire game from the beginning each time a test was needed.

Hashimoto implemented a cheat code in the game’s programming: entering ↑ ↑ ↓ ↓ ← → ← → B A on the title screen granted the player a full complement of power-ups — speed boosts, missiles, shields — the equivalent of having survived to the late game without dying.

He forgot to remove it before the game shipped.

Players discovered the code in Gradius (1986) and word spread through the gaming community via magazines and word of mouth. The NES lacked network connectivity; cheat codes traveled the way recipes and folktales did — person to person, published in gaming magazines, whispered on playgrounds.


Contra and the 30 Lives Code

The Konami Code became culturally dominant because of Contra (1988).

Contra was a side-scrolling run-and-gun game notorious for its difficulty. The NES version gave players three lives with no continues by default — the game could be completed in approximately 20 minutes once mastered, but mastery required extensive repetition and the patience to restart from the beginning after losing all lives.

The Konami Code in Contra granted 30 lives: ↑ ↑ ↓ ↓ ← → ← → B A Start. With 30 lives, a player who had learned the game’s patterns could reach the final stages; without it, casual players might never see the second world.

Contra sold 2.7 million copies in North America. Almost every player who owned it knew the code. It was one of the first pieces of gaming knowledge that crossed from the dedicated player community to casual awareness — the kind of thing that an older sibling told a younger sibling, that a friend demonstrated at a birthday party, that appeared in the margins of school notebooks.

The Konami Code became the first widely-shared piece of gaming cultural knowledge that transcended the game itself.


The Spread Across Konami’s Library

Once the code’s power was demonstrated in Contra, Konami embedded it (with variations) across their subsequent NES and arcade library:

  • Gradius (NES, 1986) — full power-up
  • Contra (NES, 1988) — 30 lives
  • Teenage Mutant Ninja Turtles (NES, 1989) — full health
  • Life Force (NES, 1988) — 30 lives
  • Castlevania (various versions) — stage select
  • Gradius III (SNES, 1990) — entering the code activates a deliberate “cruel joke” version that destroys your ship immediately; the real code required different input
  • Super C (NES, 1990) — 10 lives

Each appearance reinforced the code’s status as the key to Konami’s world. Players who knew the code could unlock content in games they’d never played before — a feeling of being an insider who understood how Konami worked.


The Konami Code’s penetration into popular culture became visible in the mid-2000s as web developers and game designers started embedding Easter eggs as tributes to gaming history.

Notable appearances outside games:

ESPN.com (2004) — entering the code on the website triggered a sparkle effect, one of the first web Easter eggs tied to the code.

Facebook (2009) — entering the code on the Facebook homepage activated an animated lens flare effect.

BuzzFeed, Wired, BBC, The Guardian — numerous major websites added Konami Code Easter eggs in the 2010s.

Fortnite (2019) — entering the code in the main menu revealed hidden content.

Wreck-It Ralph (2012) — the film’s promotional website included a Konami Code Easter egg.

The code’s appearance outside gaming is a measure of how completely it entered general cultural knowledge. Unlike most gaming references that require explanation, ↑ ↑ ↓ ↓ ← → ← → B A requires no context for anyone who grew up playing games in the 1980s and 1990s.


Variations and Adaptations

The “canonical” Konami Code is ↑ ↑ ↓ ↓ ← → ← → B A, but different games use variations:

  • With Start: Most NES games required pressing Start after B A to activate the code; some required Select+Start for two-player mode
  • Without Start: Arcade and later console games often activated on B A alone
  • With Select: Some codes require Select+Start
  • The Gradius III trap: SNES Gradius III punishes players who enter the familiar code — entering ↑ ↑ ↓ ↓ ← → ← → B A self-destructs the ship. The real power-up code is different.

The variation that made international headlines was the 2009 discovery that Citibank’s online banking system accepted the Konami Code to unlock a keyboard shortcut interface — a feature that had presumably been added by a developer and forgotten. The security implications were minimal but the discovery became a viral moment.


Hashimoto’s Reaction

Kazuhisa Hashimoto, who died in February 2020, was aware that his forgotten developer shortcut had become a cultural artifact. In his later career, he was sometimes called the “creator of the Konami Code” — a remarkable distinction for what was essentially a debugging convenience.

In interviews, Hashimoto expressed surprise and amusement at the code’s persistence. He had not expected anyone to find it in Gradius. He certainly had not expected it to appear in web browsers, television shows, and pop culture references three decades later.

The Konami Code is the most successful accidental piece of game design in history.


The Code’s Place in Gaming Culture

Cheat codes as a category have largely disappeared from modern gaming. Achievement and trophy systems discourage cheating; online multiplayer makes cheat detection mandatory; game completion has been replaced with ongoing service models. The era when a developer could forget a debug code in a shipped product is over.

The Konami Code occupies a unique position because it was the right code at the right time: simple enough to memorize, powerful enough to matter, embedded in games that reached millions of players. It became the template for what a cheat code should be.

Up, up, down, down, left, right, left, right, B, A.

Thirty more lives. Full power. The game opens up.

Related Articles