Maintenance
How to Update Prod Keys
A prod.keys file does not wear out, but it does fall behind. Here is how to tell when, and how to swap it without breaking a working setup.
Why a new game can need newer keys
Each major Switch firmware release can introduce a new master key generation. Games and updates
released after that point are encrypted with the newest generation available to them. A prod.keys file
contains every generation up to the firmware it was dumped from and nothing beyond, so an older file keeps decrypting
your older games perfectly while refusing a new one. Nothing is wrong with the file; it simply predates the game. The
prod keys version guide covers how generations map to versions, and
what are prod keys explains the key chain itself.
When you actually need to update
| What you see | Update keys? | Why |
|---|---|---|
| A newly released game fails to decrypt while older ones work | Yes | The game uses a master key generation your file does not have |
| A game broke right after you installed its update or DLC | Yes | Updates are often encrypted with a newer generation than the base game |
Ryujinx names a missing key_area_key or master key revision | Yes | The message is literally naming the generation you lack |
| You want to install a newer firmware version | Yes, first | Newer firmware is encrypted with keys at least as new |
| Game decrypts, then hangs or crashes | No | That is firmware or emulator compatibility, not keys |
| Every game fails instantly | Not yet | Check folder and filename first — see missing prod.keys |
How to tell which version you have
File names and download dates are unreliable, so read the file. Open prod.keys in a plain text editor
(Notepad, TextEdit, gedit) and look for the lines that start with master_key_. They run upward:
master_key_00, master_key_01 and so on. The suffix is hexadecimal, so after
master_key_09 comes master_key_0a, then 0b, through 0f and on to
10. The highest one present is the newest generation your file can decrypt. Compare two files
by that line: the one with the higher number is newer. The prod.keys file format guide
describes every other line you will see, and the glossary defines the names.
We do not list an exact firmware-to-generation number for every release here, because not every firmware version adds a generation and mapping tables online disagree. The practical rule is simpler: if your highest master key is lower than the one in the current file, update.
Get the current file
The newest release, v23.0.0, is at the top of the homepage download table, with firmware v23.0.0 beside it. If you own a console updated to the latest system version, dumping again produces an equivalent file — see how to dump prod keys. Before you use any downloaded file, give it the thirty-second check in are prod keys safe.
Back up the old file
Rename the existing file to prod.keys.bak, or move it to a folder outside the emulator directory. Either way,
the emulator only reads a file named exactly prod.keys, so the backup is ignored but recoverable if the new
download turns out to be damaged.
Replace, do not merge
Copy the new file into the same folder under the exact name prod.keys. Replace it whole. A newer file
already contains every older generation, so merging gains nothing, and hand-editing is the easiest way to introduce a
typo or lose a line — which then shows up as “missing derivation components” or a
Failed to decrypt NCA error. The folder is keys for Yuzu,
Suyu, Eden, Citron and
Sudachi, and system for Ryujinx; the full
list is in the install guide. If you keep title.keys beside it, leave
that file alone.
Restart the emulator
Keys are read once at startup. Close the emulator fully — check it is not still running in the background — and reopen it. If an error now says keys are missing, the copy went wrong; see encryption keys are missing or Ryujinx keys not found.
Update firmware to match
With the new keys loaded, install the matching firmware through the emulator’s firmware option (Tools → Install Firmware in most builds). Keys first, firmware second: the firmware package is encrypted, so the emulator needs the new keys to read it. The Switch firmware guide and the Ryujinx firmware walkthrough cover the details.
The whole update, in order
- Check the highest
master_key_XXline in your current file. - Download the current version, or dump it from your own console.
- Back up the old file as
prod.keys.bak. - Replace the whole file in the keys (or system) folder.
- Restart the emulator completely.
- Install firmware that matches the new keys.
How often does this happen?
Only when a firmware release brings a new key generation and you want to play something that uses it. In the archive on this site that has meant a handful of new versions per year, but most of them only matter for the newest releases. If your library boots, there is no need to update on a schedule. Check the download table when a newly released game or update refuses to decrypt.
Answers
Frequently Asked Questions
Will updating prod.keys break games that already work?
.bak copy anyway in case the new download is damaged.Do I need to update my emulator as well?
Can I copy just the new master_key line into my old file?
Do I have to update firmware every time I update keys?
How do I update keys on Android?
Ready to play? Get prod keys v23.0.0 now.
One prod.keys file works in every Switch emulator — grab the latest version and you are two minutes away from booting your library.