Player guides
How to Redeem an Xbox Code on Xbox, PC or the Web
Redeem a 25-character Xbox code on an Xbox console, in the Xbox app or Microsoft Store on Windows, or in a browser. Plus what to do when a code fails.
Sign in to the Microsoft account that should own the game or credit, then enter the 25-character code in one of four places: Store > Redeem on an Xbox console, the Xbox app on Windows, the Microsoft Store app on Windows, or Microsoft's redeem page in a browser (redeem.microsoft.com). You can't redeem a code in the Xbox mobile app "at this time," per Xbox. Once redeemed, a code can't be moved to another account, so check which account you're signed in to first. If the game supports Xbox Play Anywhere, one code covers both PC and Xbox; otherwise it covers only the platform on the listing.
Key facts at a glance
Each fact links to its source. Dates show when the fact was last checked.
| Fact | Source | As of |
|---|---|---|
| Xbox codes are 25 characters | Microsoft Support, redeem a code | 2026-10-28 |
| Codes cannot be redeemed in the Xbox mobile app "at this time" | Xbox Redeem | 2026-10-28 |
| Wrong code? Microsoft says contact the retailer | Microsoft Support, redeem a code | 2026-10-28 |
| Xbox Play Anywhere titles cover Xbox and Windows PC with one purchase | Xbox, Xbox Play Anywhere | 2026-10-28 |
Before you start: three checks
- Right account. Xbox says to make sure you're signed in to the account you want the code on, because codes can't be transferred after redemption.
- Right platform. An Xbox code adds the product to your Microsoft account. Whether you can play it on PC depends on the game. Look for "Xbox Play Anywhere" in the Capabilities list on the game's Xbox Store page. See Does an Xbox key work on PC?
- Right region. Some Xbox codes are sold for one country or region. If the listing's region doesn't match your Microsoft account's region, the code may not redeem. More on that below.
Redeem on an Xbox console
Per the Xbox redeem page:
- Press the Xbox button on your controller to open the guide.
- Select Store.
- Press the View button on your controller.
- Select Redeem.
- Enter the 25-character code and follow the prompts.
Redeem in the Xbox app on Windows
- Open the Xbox app on your PC.
- Select your gamerpic (top left), then Settings.
- Under Redeem a code, select Redeem.
- Enter the code and follow the prompts.
Redeem in the Microsoft Store on Windows
- Open the Microsoft Store app.
- Select your account icon at the top right.
- Select Redeem code or gift cards.
- Enter the code and follow the prompts.
Redeem in a web browser
Microsoft Support says to "select Redeem code below, sign in, and enter or paste the code or token value." The Redeem Code link points to redeem.microsoft.com, which on October 28, 2026 forwarded to the redeem page in your Microsoft account (account.microsoft.com/billing/redeem). This works from any browser, including on a phone, which is the way to redeem when you're away from your console or PC.
After you redeem
- Games: The game is added to your account. Install it from your library on the console or in the Xbox app. If it supports Xbox Play Anywhere, you can also install it on a Windows PC or Xbox console signed in to the same account.
- Gift cards: The amount is added to your Microsoft account balance.
- Subscription codes (such as Game Pass): The subscription time goes on the account you redeem it to. See Game Pass or buy the key? for what each tier includes.
When a code does not work
Microsoft's own pages give three main paths:
- Wrong code or wrong product. Microsoft Support: "If you bought the wrong code, please contact the retailer."
- Error messages. Microsoft points to its Error & Status Code page for errors you see while redeeming an Xbox code. Search the exact error text or code there.
- Region mismatch. If a code is for a different country or region than your account, contact the seller for a code for your region or a refund. Don't try to force it with a VPN. Microsoft's Store Terms of Sale (section 5) say you may not use VPNs, proxies or similar tools to hide your location "when engaging in transactions or redemptions," and that Microsoft "may decline, block, suspend, cancel, or reverse a transaction" or limit access to the product if it finds this. Section 24 lets Microsoft terminate an account for breach of those terms. Microsoft also says to change your Store country or region only if you're moving for a long time. We give no workaround for region locks.
If you bought the code on a marketplace, where third-party sellers list keys, the seller and the marketplace's own buyer policy are usually your route to a refund, not Microsoft. Read our guide to grey market vs authorized key sellers before you buy, and compare key prices on AskLoot, where each offer shows the key type and region.
Sources
All checked on 2026-10-28.
- Xbox, "Redeem your Xbox digital code or gift card" (console, Xbox app and Microsoft Store steps; 25-character code; not on mobile app; cannot transfer): https://www.xbox.com/en-US/redeem
- Microsoft Support, "Redeem a gift card or code to your Microsoft account" (web redeem wording; contact the retailer for a wrong code; Error & Status Code page): https://support.microsoft.com/en-us/accounts-billing/redeem-a-gift-card-or-code-to-your-microsoft-account
- Microsoft redeem link (redeem.microsoft.com returned a 301 to account.microsoft.com/billing/redeem on Oct 28): https://redeem.microsoft.com/
- Xbox, "Xbox Play Anywhere" (one digital purchase plays on Xbox and PC for supported games): https://www.xbox.com/en-US/games/xbox-play-anywhere
- Microsoft Store Terms of Sale, US and Canada, updated September 2026 (section 5, VPNs and location masking for redemptions; section 24, termination): https://www.microsoft.com/en-us/store/b/terms-of-sale
- Microsoft Support, "Change your country or region in Microsoft Store" (change only if moving for a long time): https://support.microsoft.com/en-us/accounts-billing/change-your-country-or-region-in-microsoft-store
FAQ
How many characters is an Xbox code?
25, per Xbox and Microsoft Support.
Can I redeem an Xbox code on my phone?
Not in the Xbox mobile app, which Xbox says doesn't support it "at this time." You can use a phone's web browser on Microsoft's redeem page.
Can I redeem an Xbox game code on PC?
Yes, in the Xbox app or the Microsoft Store on Windows, or in a browser. Whether you can then play it on PC depends on whether the game supports Xbox Play Anywhere.
I redeemed a code on the wrong account. Can I move it?
No. Xbox says codes can't be transferred after redemption.
My code says it's for another region. What now?
Contact the seller for a code for your region or a refund. Using a VPN to redeem is against Microsoft's Store Terms of Sale, and Microsoft says it can reverse the transaction or limit access.
Questions about AskLoot: hello@askloot.com
