Both Microsoft and Xbox gift cards and download codes work in the same way: once redeemed to your Microsoft account, you can spend your balance at Microsoft Store online, on Windows or Xbox, and you can get downlaods for the latest apps, games, movies, TV shows, and Surface, Xbox, and accessories.
Note: You cannot buy a Microsoft 365 subscription with a gift card.
How to redeem a Microsoft gift card, Xbox download code or token
To redeem a Microsoft gift card, Xbox download code or token, select Redeem code below, sign in, and enter or paste the code or token value.
Tip: If you're signed in with the wrong account, select sign out first.
How to redeem an Office product key
Sign in to Office.com/setup with your Microsoft account.
Enter the 25-character code, and then select Next. Don’t worry about hyphens, the system takes care of those for you.
How to redeem a gift card or download code in Windows
Open the Microsoft Store app below.
Select your personal icon at the top of the app and then select Redeem code or gift cards.
Enter the 25-character code, and then select Redeem. Don’t worry about hyphens, the system takes care of those for you.
If you cannot redeem a Microsoft gift card or download code
If you're unable to redeem a code, check our self-help guidance below.
Click to purchase a gift card or download code. Note that gift cards are not accepted at physical Microsoft Stores.
Learn how you can spend the money in your Microsoft account.
Learn how to redeem a gift card on an Xbox console.
Visit the Error & Status Code page to learn more about errors when you're redeeming an Xbox code.
See Microsoft gift card terms and conditions for more info about gift card refunds.