Your product key is usually already on your device or in your email
Your Windows 10 product key is a 25-character code that proves you own a license. If you bought Windows 10 with a new computer, the key is often embedded in the hardware itself and Windows already knows it — you may never need to type it in. If you bought Windows 10 separately or upgraded from an older version, the key might be in your email, on a card in the box, or stored in your Microsoft account.
The fastest way to check what Windows already knows about your license is to look in Settings. This tells you whether your copy is activated (meaning Windows recognizes your key as valid) and sometimes shows you where the key came from. If you need the actual 25-character code itself — to reinstall Windows on the same machine, or to move your license — you'll need to dig a bit deeper.
Key Takeaways
- If Windows 10 shows "Windows is activated" in Settings, your key is already registered and you can reinstall Windows on the same device without entering it again.
- Product keys from new computers are usually embedded in the hardware; keys from separate purchases are in your email, on a physical card, or in your Microsoft account.
- You can view your key using the Command Prompt command wmic os get serialnumber, but this only works if Windows is already activated on that machine.
- If you cannot find your key and Windows is not activated, contact Microsoft Support with proof of purchase — they can sometimes reissue a key or help you recover one.
Check your activation status in Settings first
Open Settings by pressing Windows key + I, then go to Update & Security > Activation. This page tells you whether Windows recognizes your license as valid. If it says "Windows is activated" with a green checkmark, your key is already registered to your device and you don't need to find the physical code unless you're moving the license elsewhere.
If it says "Windows is not activated" or shows an error, you'll need to either find your product key to enter it, or troubleshoot why Windows doesn't recognize the one you have. The Activation page also shows you which type of license you have — for example, "Windows is activated with a digital license" means Microsoft has your key on file and tied to your device, while "Windows is activated with a product key" means you entered a physical code.
Look in your email and physical documents first
If you bought Windows 10 as a separate product (not bundled with a computer), the product key should be in one of these places: an email receipt from the seller, a card or certificate inside the box, or a sticker on the back of the packaging. Check your email for messages from Microsoft, the retailer you bought from, or your email provider's spam folder — sometimes legitimate receipts end up there.
If you upgraded from Windows 7 or Windows 8, Microsoft may have sent you a confirmation email with your new key. Search your email for "product key", "Windows 10", or the name of the retailer. If you bought the key years ago, you may need to search older email folders or archived messages.
Retrieve your key from your Microsoft account
If you bought Windows 10 through the Microsoft Store or linked your license to a Microsoft account, you can view your key online. Go to account.microsoft.com, sign in, and look for a section called "Devices" or "Your devices". Some versions show a "Product key" link directly; others require you to click into a specific device and look for license information.
Not all Microsoft accounts display the product key in the web interface. If you don't see it there, try signing into the Microsoft Store app on your Windows 10 machine itself. Go to your profile picture in the top right, select "App settings", and look for a section about licenses or digital purchases. This sometimes shows keys that the web version doesn't.
Use Command Prompt to view your key if Windows is activated
If Windows is already activated on your machine, you can retrieve the product key using the Command Prompt. Press Windows key + R, type cmd, and press Enter. In the black window that opens, paste this command and press Enter:
wmic os get serialnumber
This displays a string of characters. However, this method only works reliably if Windows is already activated and the key is stored in the system. It does not always return a readable product key in the standard 25-character format — sometimes it shows a different code or nothing at all. If you see output but it doesn't look like a product key (five groups of five characters separated by hyphens), try the next method instead.
Use a third-party key recovery tool as a last resort
If Windows is activated but you cannot find your key through the methods above, a key recovery tool can sometimes extract it from your system. Common options include Belarc Advisor (free), Magical Jelly Bean Keyfinder (paid), or ProduKey (free). Download the tool, run it, and it will scan your system for stored product keys.
These tools work only if the key is still stored in your Windows installation. They cannot recover a key you never entered or that was deleted. Be cautious downloading tools from the internet — stick to well-known names and download only from the official website, not from third-party download sites. If you're uncomfortable running unfamiliar software on your machine, skip this step and contact Microsoft instead.
Contact Microsoft Support if you cannot locate your key
If Windows is not activated and you cannot find your product key anywhere, Microsoft Support can sometimes help. Go to support.microsoft.com, search for "product key", and select the option to contact support. You'll need to prove you own a license — this usually means a receipt, an order confirmation email, or a photo of the product packaging.
Microsoft cannot always reissue a key, especially if the license was very old or purchased from a third party. However, they can sometimes recover a key that was lost, or they may offer you options like purchasing a new license or upgrading to Windows 11. Response times vary, but support typically replies within one to two business days.
Frequently Asked Questions
Can I use the same product key on two different computers?
No. A Windows 10 product key is licensed for one device at a time. If you move the key to a new computer, you must deactivate it on the old one first. You can do this in Settings > Update & Security > Activation > Troubleshoot, or by contacting Microsoft Support.
What if I see a product key but it doesn't look right?
A valid Windows 10 product key has exactly 25 characters in five groups of five, separated by hyphens (like XXXXX-XXXXX-XXXXX-XXXXX-XXXXX). If what you found is shorter, longer, or in a different format, it may be a different type of code — like a recovery key or a digital license ID — rather than a product key.
Do I need my product key to reinstall Windows 10 on the same computer?
Usually not. If Windows was activated on that device before, Windows 10 will reactivate automatically when you reinstall it, even without entering the key. However, if you're moving to a different computer or Windows won't reactivate, you'll need the key to enter manually.
Is it safe to share my product key online?
No. Your product key is like a password — anyone who has it can use it to activate Windows on their own machine, and you may lose the ability to use it on yours. Never share it in forums, emails, or with people you don't trust. Microsoft Support will never ask you to provide your key in a message.