DID YOU KNOW

The Konami Code Was an Accident

Up, up, down, down, left, right, left, right, B, A. The Konami Code was never meant for players: Konami programmer Kazuhisa Hashimoto added it while porting the arcade game Gradius to the Famicom and NES in 1986, because he could not finish the game himself while testing it. The cheat shipped with the game, and Contra made it famous in 1988 by handing out thirty lives. Hashimoto died in February 2020; the code he left in is still hidden in games, websites and apps today.

Ten button presses have outlived almost every game they were put in: up, up, down, down, left, right, left, right, B, A. The Konami Code is one of the best known secrets in gaming, and it was never meant to leave the office.

It was written by Kazuhisa Hashimoto, a Konami programmer who was porting the 1985 arcade shooter Gradius to the Famicom and the NES in 1986. To test the port he had to play it, and by his own account he was not good enough at Gradius to get through it. So he added a cheat that handed his ship a full set of power-ups, typed in with the controller he already had in his hands.

The cheat was a development tool, and it should have come out before the cartridge shipped. It did not. Players found it, and two years later Contra turned it into a legend: the same ten presses on the title screen gave you thirty lives in one of the hardest games on the console, which is why a generation calls it the Contra code.

Since then it has been hidden in hundreds of games, and in websites and apps that watch for the same sequence. Hashimoto died in February 2020, and the tributes all pointed at the same thing: a shortcut he wrote for himself, forgot to delete, and accidentally gave to everyone.

  • GRADIUSthe NES port, 1986
  • TESTINGhis own cheat, not yours
  • 30 LIVESthe code fans still know

Sources

Media credits

  • Konami Bubble System BIOS (Arcade) - Loading screen (Gradius variant).png, Konami, public domain (simple text screen), via Wikimedia Commons
  • NES-Console-Set.png, Evan-Amos, public domain, via Wikimedia Commons
  • Nintendo-Entertainment-System-NES-Controller-FL.jpg, Evan-Amos, public domain, via Wikimedia Commons
  • Nintendo-Entertainment-System-NES-Deconstruction-03.jpg, Evan-Amos, public domain, via Wikimedia Commons
  • Nintendo-Famicom-Console-FL.jpg, Evan-Amos, public domain, via Wikimedia Commons
  • #konamicode
  • #konami
  • #gradius
  • #contra
  • #nes
  • #retrogaming
  • #videogamehistory
  • #cheatcode
  • #kazuhisahashimoto
  • #gamingtrivia
New Shorts at 9, 12, 2, 4, 6 and 8
+ Follow Bosses & Bytes

More Trivia

DID YOU KNOWDec 4, 2026

Pac-Man's Ghosts Were Almost All Red

DID YOU KNOWNov 19, 2026

The PlayStation Started as a Nintendo Add-On

DID YOU KNOWDec 3, 2026

Pokémon Hid Mew in 300 Bytes

DID YOU KNOWNov 18, 2026

Studio Ghibli Is Named After a Desert Wind