Mario 64 Cheat Codes on Nintendo Switch

Jacob Jul 28, 2026

Nintendo's classic platformer, Super Mario 64, has made a triumphant return on the Nintendo Switch, bringing back nostalgic memories for long-time fans and introducing new players to the joy of exploring Princess Peach's castle. While the game is a blast to play, sometimes you might want to give yourself a helping hand with some cheat codes. Here, we'll explore how to use Mario 64 cheat codes on the Nintendo Switch, ensuring you get the most out of this timeless gaming experience.

an image of a mario bros character with the words touch me in red and green
an image of a mario bros character with the words touch me in red and green

Before we dive into the cheat codes, it's essential to understand that using them may impact your save data and potentially affect your ability to unlock certain achievements. Proceed with caution and ensure you have a backup save if needed. Now, let's get started!

the history of video games in one page, including mario and luigi's world
the history of video games in one page, including mario and luigi's world

Entering Cheat Codes on Mario 64 Switch

To enter cheat codes in Super Mario 64 on the Nintendo Switch, you'll need to use the game's built-in cheat code system. This system allows you to input specific codes using the Switch's controller buttons. Here's how to access and use it:

the evolution of super mario bros from beginning to ending in 1989 through present day,
the evolution of super mario bros from beginning to ending in 1989 through present day,

1. From the game's main menu, select "Options" and then "Cheats".

2. You'll see a list of available cheats. Select the one you want to use.

an animal crossing - acn code on instagram super mario path in acnh creator code is
an animal crossing - acn code on instagram super mario path in acnh creator code is

Unlocking All Stars

One of the most popular cheats in Mario 64 is unlocking all stars, allowing you to access every level and secret area without collecting stars. Here's how to unlock them:

1. From the cheats menu, select "Unlock All Stars".

Evolution of Mario: From Jumpman to Super Mario Odyssey
Evolution of Mario: From Jumpman to Super Mario Odyssey

2. Confirm your selection, and all 120 stars will be unlocked, granting you access to every level in the game.

Invincibility and Infinite Underwater Breath

Another fan-favorite cheat is invincibility, making Mario immune to damage from enemies and hazards. Additionally, you can unlock infinite underwater breath, allowing you to explore underwater areas without worrying about running out of air. Here's how to enable these cheats:

four different video game titles with the names of each character in front of them,
four different video game titles with the names of each character in front of them,

1. From the cheats menu, select "Invincibility" and "Infinite Underwater Breath".

2. Confirm your selections, and you'll be ready to tackle the game with newfound freedom.

Can You Name The
Can You Name The
@gonzartcortez.
@gonzartcortez.
the menu for mario's gameboy, which is being played on nintendo wii
the menu for mario's gameboy, which is being played on nintendo wii
many different video game titles and their characters are shown in this image, including mario kart
many different video game titles and their characters are shown in this image, including mario kart
RetroHubGames🕹|Sega|Dendy|NES
RetroHubGames🕹|Sega|Dendy|NES
an image of a video game being played
an image of a video game being played
an image of a video game with the words realistic mario
an image of a video game with the words realistic mario
an image of the nintendo game console's characters and their names in different styles
an image of the nintendo game console's characters and their names in different styles
Miitopia mario
Miitopia mario
mario kart 8 best combo
mario kart 8 best combo
Unlocking Luigi in my personalized copy of Mario 64
Unlocking Luigi in my personalized copy of Mario 64
the new super mario bros game
the new super mario bros game
the evolution of mario's super mario bros info sheet from the nintendo game history
the evolution of mario's super mario bros info sheet from the nintendo game history
mario kart is riding on top of a red toy car with the caption respect the l or get the shell
mario kart is riding on top of a red toy car with the caption respect the l or get the shell
Map Tileset - Super Mario Bros. 3 - NES
Map Tileset - Super Mario Bros. 3 - NES
the evolution of mario's castle info sheet for nintendo wii gameboy, which includes several
the evolution of mario's castle info sheet for nintendo wii gameboy, which includes several
backrooms
backrooms
an advertisement for the super mario kart mardikrat game, with different colors and
an advertisement for the super mario kart mardikrat game, with different colors and
some people are talking to each other on the same page, and one person is not happy
some people are talking to each other on the same page, and one person is not happy

Using Cheat Codes to Access Secret Levels

Mario 64 is famous for its hidden levels and secret areas. While some require specific star collections or precise platforming, others can be accessed using cheat codes. Let's explore how to use cheat codes to unlock these secret levels:

1. From the cheats menu, scroll down to the "Secret Levels" section.

Accessing the Secret Warehouse Level

The Secret Warehouse is a hidden level filled with coins and power-ups. To access it, follow these steps:

1. Select "Secret Warehouse" from the cheats menu.

2. Confirm your selection, and you'll be transported to this secret area.

Unlocking the Rainbow Ride Level

The Rainbow Ride is another secret level, featuring a challenging course with multiple routes and hidden areas. To unlock it, follow these steps:

1. Select "Rainbow Ride" from the cheats menu.

2. Confirm your selection, and you'll gain access to this colorful and exciting level.

Using cheat codes in Super Mario 64 on the Nintendo Switch can enhance your gaming experience, allowing you to explore the game's many secrets and challenges at your own pace. Whether you're looking to unlock all stars, gain invincibility, or access hidden levels, these cheats offer a fun way to customize your gameplay. So go ahead, give them a try, and enjoy the timeless adventure that is Super Mario 64!