How to redeem a Microsoft Store code
This is how to redeem a Microsoft Store code bought from a store. Microsoft codes are sold per region. Buy the code for the region of your Microsoft account.
What you need
A Microsoft Store code has 25 characters in five groups of five. You can type it with or without the hyphens. Office and Windows product keys look the same but are redeemed in different places.
- A Microsoft account, the one you use on the PC.
- The Microsoft Store app on Windows, or a web browser.
In the Microsoft Store app on Windows
- Open the Microsoft Store app and sign in.
- Click your profile picture at the top and choose Redeem code or gift cards.
- Enter the 25-character code and select Next.
- Confirm. A game or app starts to download; a gift card adds to your Microsoft balance.
In a web browser
- Go to redeem.microsoft.com and sign in with your Microsoft account.
- Enter the 25-character code and select Next.
- Open the Microsoft Store on your PC to install the game.
Office and Windows product keys
- A Microsoft 365 or Office key is entered at setup.office.com after you sign in.
- A Windows product key goes in Settings, then System, then Activation, then Change product key.
If the code does not work
- The code is rejected as invalid: Check each character and that you are redeeming the right type of code. Try the web page if the app fails.
- The code does not match your region: Microsoft codes are sold per region and must match the region of your Microsoft account.
- "Update to the latest version": Update the Microsoft Store app, or redeem on the web page instead.
Check the region first
Microsoft 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
- How to redeem a Steam key
- How to redeem an Xbox code
- How to redeem a PlayStation code
- How to redeem a Nintendo eShop code
- How to redeem an Epic Games key
- How to redeem an EA App key
- How to redeem a Ubisoft Connect key
- How to redeem a Battle.net code
- How to redeem a GOG key
- How to redeem a Rockstar Games Launcher key
Looking for a price? Compare Microsoft Store prices.
Frequently asked questions
How do I redeem a Microsoft Store code?
In the Microsoft Store app click your profile picture, choose Redeem code or gift cards and enter the 25-character code. You can also use redeem.microsoft.com.
Where do I enter a Microsoft 365 or Office key?
At setup.office.com, after signing in with your Microsoft account.
Does a Microsoft Store code work in any country?
Microsoft codes are sold per region. Buy the code for the region of your Microsoft account.
Last updated 2026-11-27.