Your Windows activation key is usually stored in one of three places: inside Windows itself, on a sticker attached to your device, or in your Microsoft account

If you bought Windows pre-installed on a computer, the key is often embedded in the firmware and Windows can retrieve it automatically. If you purchased Windows separately as a product key card or digital download, you'll need to find where you saved it. Microsoft also keeps a record of keys tied to your Microsoft account if you bought through them directly. The method that works depends on how you originally obtained Windows.

Before you start looking, understand what you're searching for: a 25-character code in five groups of five characters, like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Some keys are embedded and never appear as text. Others are printed on cards or sent via email. Knowing which type you have narrows down where to look.

Key Takeaways

  • Windows 10 and 11 often store activation keys in the firmware of pre-built computers, and you can view them using the command prompt tool.
  • If you bought a physical product key card or received a digital key by email, check the card itself, your email inbox, or your Microsoft account purchase history.
  • Your Microsoft account shows all Windows licenses you've purchased directly from Microsoft, along with their product keys.
  • Third-party key recovery software can extract embedded keys, but only works if Windows is currently installed and running.

Check if your key is embedded in the computer

Most computers sold with Windows pre-installed have the key stored in the BIOS or UEFI firmware rather than printed anywhere. Windows 10 and 11 can read this embedded key automatically. To see if your key is embedded and retrieve it, open the Command Prompt as an administrator and run a single command.

Right-click the Start button, select "Windows Terminal (Admin)" or "Command Prompt (Admin)". Type this exactly: wmic path softwarelicensingservice get OA3xOriginalProductKey and press Enter. If a key appears on the next line, that's your embedded key. If nothing appears or you see an error, the key is not stored in a way this command can read, and you'll need to check other locations.

This method only works on Windows 10 and 11 that are currently installed and running. If you've already uninstalled Windows or the system won't start, you cannot use this approach.

Look for a physical product key card or sticker

If you purchased Windows as a standalone product, it came with a product key card — either in a physical box or as a digital download with the key in the confirmation email. Check these locations first: the back of any Windows packaging you kept, a sticker on the bottom or back of your computer (especially on laptops and pre-built desktops), or inside the computer case if you built it yourself.

For digital purchases, search your email for messages from Microsoft, Amazon, Best Buy, or wherever you bought Windows. Look for subject lines containing "product key", "license key", or "order confirmation". The key is usually in the email body or as an attachment. If you can't find the email, check your spam or promotions folder — legitimate purchase confirmations sometimes land there.

Write down the key exactly as it appears, including all hyphens. Spaces or typos will cause activation to fail.

Check your Microsoft account for purchased licenses

If you bought Windows directly from Microsoft or through the Microsoft Store, your product key is tied to your Microsoft account. Sign in to account.microsoft.com and look for a section called "Services & subscriptions" or "Digital content". Some accounts show this under "Your devices" or "Licenses".

The exact location varies depending on when you purchased and which version of the Microsoft account interface you're using. If you don't see a clear licenses section, try going to account.microsoft.com/devices and looking for your device listed there — clicking it may show the associated product key or license status.

If you've forgotten which email address you used to purchase Windows, try signing in with each email account you own. Microsoft also allows you to contact their support team with proof of purchase (a receipt or credit card statement) to retrieve a lost key, though this process takes longer than finding it yourself.

Use key recovery software if Windows is still installed

If you cannot find your key through the methods above and Windows is still installed and running on the computer, third-party software can extract the embedded key from the system. Common tools include Belarc Advisor (free), ProduKey (free), and Magical Jelly Bean Keyfinder (free). These programs read the same firmware or registry location that the command prompt method accesses, just with a graphical interface.

Download the software on the computer where Windows is installed. Run it and look for the section showing Windows product keys — it will display the 25-character code. Write it down immediately. These tools are safe to use, but only download from the official websites of the developers, not from third-party download sites.

This approach only works if Windows is currently functional enough to run the software. If the system won't boot or Windows is corrupted, you cannot extract the key this way.

What to do if you cannot find your key

If you've checked all the locations above and still have no key, contact Microsoft Support with proof that you own Windows. Proof can be a receipt from your purchase, a credit card statement showing the charge, or the original product key card if you still have it. Microsoft can sometimes retrieve or reissue a key, though the process may take several days.

You can also contact the retailer where you bought Windows — Best Buy, Amazon, or another store — and ask them to look up your purchase in their system. They may be able to provide the key or direct you to Microsoft support with your order number.

If Windows is currently activated on your computer, you may not need the key at all. Activation is tied to your hardware and Microsoft account, so you can reinstall Windows on the same computer without entering a key manually — it will reactivate automatically when you sign in with the same Microsoft account.

Frequently Asked Questions

Can I use the same product key on multiple computers?

No. A standard Windows product key is licensed for one computer only. If you try to activate it on a second computer, Microsoft's activation system will detect this and block it. If you need Windows on multiple computers, you need separate keys for each one.

What if the command prompt shows nothing when I run the key recovery command?

This usually means the key is not stored in a location the command can read, or Windows was installed in a way that didn't preserve the embedded key. Try the third-party software method instead, or check for a physical product key card or email confirmation from your purchase.

Is it safe to share my product key with someone else?

No. Your product key is like a password — treat it as private. Sharing it allows someone else to activate Windows on their computer using your license, which violates the licensing agreement and can result in your activation being revoked.

Do I need the product key if I'm reinstalling Windows on the same computer?

Not always. If you sign in with the same Microsoft account during reinstallation, Windows will reactivate automatically without needing the key. However, having the key on hand is useful in case the automatic reactivation fails.