How to redeem an Xbox code

This is how to redeem an Xbox code bought from a store. Xbox codes are sold per region. Buy the code for the region of your Microsoft account.

What you need

An Xbox or Microsoft code has 25 characters in five groups of five. You can type it with or without the hyphens.

  1. A Microsoft account, the one signed in on your Xbox or PC.
  2. An Xbox console, the Xbox app on Windows, or a web browser.

On an Xbox console

  1. Press the Xbox button and open the Store app.
  2. Open the side menu and choose Redeem.
  3. Enter the 25-character code and follow the prompts.
  4. A game starts downloading from your Library; a gift card adds to your balance.

In a web browser

  1. Go to redeem.microsoft.com and sign in with your Microsoft account.
  2. Enter the 25-character code and select Next.
  3. Open the game on your console or PC and install it from your Library.

If the code does not work

  1. The code is rejected as invalid: Check each character, and that you chose the code type that matches (game, Game Pass or gift card). Try the web page if the console fails.
  2. The code does not match your region: Xbox codes are sold per region and must match the region of your Microsoft account. Compare the region on your order with your account.
  3. "Update to the latest version" or an app error: Update the console or the Microsoft Store app, or redeem on the web page instead.

Check the region first

Xbox codes are sold per region. Buy the code for the region of your Microsoft account.

Keep the order confirmation and a screenshot of the error message. The store that sold you the key needs both if you ask for help.

Other platforms

Looking for a price? Compare Xbox prices.

Frequently asked questions

How do I redeem an Xbox code?

On the console open the Store, choose Redeem from the side menu and enter the 25-character code. You can also redeem at redeem.microsoft.com.

Can I redeem an Xbox code on my PC?

Yes. Use the Microsoft Store app on Windows or redeem.microsoft.com, signed in to the same Microsoft account you use on Xbox.

Why does my Xbox code not work in my country?

Xbox codes are sold per region. A code for another region may be refused, so pick the region of your Microsoft account before you buy.

Last updated 2026-11-27.