A Microsoft 365 product key must contain 25 letters and numbers in five groups; if your purchase code has a different length, do not enter it as the product key.
If you purchased directly from Microsoft
A digital Microsoft 365 purchase normally has no product key. It is linked to the Microsoft account used for the purchase.^1^
- Open the Microsoft account Services & subscriptions page.
- Sign in with the Microsoft account used to make the purchase.
- Find Microsoft 365 and select Install.
- Open Word or another Office app and sign in with that same account to activate it.
The differently sized number on your receipt may be an order or transaction number, not an activation key.
If you purchased a card or code from a retailer
Look for a code formatted as:
XXXXX-XXXXX-XXXXX-XXXXX-XXXXX
It may be under a scratch-off silver coating, inside the package, or in the retailer’s confirmation email.^2^
Then:
- Go to Office.com/setup.
- Sign in with the Microsoft account you want associated with Microsoft 365.
- Enter the 25-character key, without hyphens if requested.
- Complete redemption, then install Microsoft 365 from Services & subscriptions.^3^
If the package or email contains no 25-character key, contact the retailer and provide the receipt. If the error says KEY_NOT_ACTIVATED, the retailer must activate the key at the point of sale.^4^
If the key was already redeemed
A product key can only be redeemed once. Sign in to Services & subscriptions with the account that originally redeemed it and install from there; the key is no longer required.^4^
Do not post the code, receipt number, or account details publicly.
References
- [Xbox](https://support.microsoft.com/accounts-billing/find-and-install-your-microsoft-downloads-from-microsoft-store#troubleshooting)
- Using product keys with Microsoft 365 | Microsoft Support
- Where to enter your Office product key | Microsoft Support
- Get help with product key errors on Office.com/setup | Microsoft Support