Xbox gift card expiry: do Xbox cards expire?

The short answer
No β a regular Xbox gift card does not expire. Microsoft's own Store FAQ says gift cards purchased at the Microsoft Store never expire, and there are no fees for keeping the balance. Once you redeem the code, the credit stays on your Microsoft account until you spend it. The exception is promotional balance (for example from Microsoft Rewards): that follows the promotion's own terms and can expire.

Xbox Gift Card $50 USD β United States
What to check before you pay
β’ Check that you are buying a regular gift card, not a promotional code β a promotion's terms can include an expiry date.
β’ Check the region on the listing and make sure it matches your Microsoft account region β expiry is not the problem, region mismatch is.
β’ Check the card value on the listing and make sure it is the amount you want.
β’ Check which Microsoft account the credit should go to, and use that account only.
β’ Read the full listing details, including region, delivery, and terms, before checkout.
How redemption works
After your order is confirmed, you receive the gift card code (these are Manual delivery listings, so each order is confirmed before the code is sent). Redeem it while signed in to the matching Microsoft account, and the credit is added to that account's balance. Because a regular card has no expiry date, you can redeem it now and spend the balance later β for example, waiting for a sale β without losing the credit.
If the balance seems to be gone
Check first that you redeemed the code on the right Microsoft account and that the account region matches the card. If the code was redeemed on another account, the credit stays there. Promotional balance is spent before regular balance, so a shrinking balance can be a promotion expiring, not your gift card. If you cannot find it anywhere, keep your order details and receipt together and contact support through your order.