Your product key is a 25-character code that proves you own Windows 10

Your Windows 10 product key is a string of letters and numbers — usually formatted as five groups of five characters each — that Microsoft uses to verify you have a legitimate copy of Windows 10. It's not the same as your password. You need it if you're reinstalling Windows on the same computer, moving Windows to a different machine, or troubleshooting set up problems.

Where your key lives depends on how you got Windows 10. If you bought it with a new computer, the key is usually embedded in the hardware itself and Windows finds it automatically. If you bought a standalone copy, the key came on a card in the box or in a confirmation email. If you upgraded from Windows 7 or 8, Microsoft tied your key to your Microsoft account.

The confusion happens because Windows 10 doesn't show you the key in an obvious place — it's hidden in system files or stored on Microsoft's servers. You have to know where to look or use a tool to dig it out.

Key Takeaways

  • Your product key is embedded in your computer's hardware if Windows came pre-installed, or stored in your Microsoft account if you upgraded from an older Windows version.
  • You can find your key by checking your email confirmation, the original product packaging, or your Microsoft account settings.
  • If you can't find your key anywhere, Windows has a built-in tool called PowerShell that can extract it from your system files.
  • Third-party key-finder programs work but carry a small risk — use only well-known tools from reputable sources if you go this route.
  • If your key is lost and you can't recover it, you can still reinstall Windows, but you'll need to purchase a new key or use a recovery option through Microsoft.

Check your email and Microsoft account first

If you bought Windows 10 as a standalone product or upgraded from an older version, Microsoft sent you a confirmation email with your product key. Search your email inbox — including spam and promotions folders — for messages from Microsoft or from the retailer where you bought it. Look for subject lines containing "product key", "license", or "order confirmation". The key is usually a clickable link or displayed as plain text in the email body.

If you upgraded to Windows 10 from Windows 7 or 8, your key is tied to your Microsoft account rather than sitting in a file. Sign in to your Microsoft account at account.microsoft.com, go to "Devices", select your computer, and look for license or product key information. Not all accounts show this clearly, but it's worth checking before you dig into system files.

If you bought Windows 10 on a disc or USB drive, the product key was printed on a card inside the box or on a sticker on the packaging itself. Check any paperwork that came with your computer or in the original purchase materials.

Use PowerShell to extract your key from Windows

If you can't find your key anywhere else, Windows has a built-in tool called PowerShell that can pull it directly from your system files. This works only if Windows is currently installed and running on your computer. Open PowerShell as an administrator: right-click the Start menu, select "Windows PowerShell (Admin)", and click "Yes" when prompted.

Paste this command into the PowerShell window and press Enter:

powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"

PowerShell will display your 25-character product key on the next line. Copy it exactly as shown — spaces and hyphens matter. If nothing appears, it means your copy of Windows doesn't have a stored key (which happens with some pre-installed versions where the key is embedded in the hardware instead).

What to do if your key is embedded in your hardware

Many computers sold with Windows 10 pre-installed don't have a traditional product key file. Instead, the key is burned into the motherboard's firmware. Windows automatically reads it during installation, so you never see it. If PowerShell returns nothing and you can't find a key in your email or account, this is likely what happened.

You can still reinstall Windows on that same computer without entering a key — Windows will recognize the hardware and set up automatically. However, if you want to move Windows to a different computer, you'll need to contact Microsoft support, because the key is locked to the original hardware. They can sometimes transfer it, but it depends on your license type and how old the computer is.

To check if your copy of Windows is activated, go to Settings > System > About and scroll down to "Windows set up". If it says "Windows is activated", your key is working whether you can see it or not.

Third-party key-finder tools and when to use them

Programs like Belarc Advisor, Speccy, and Magical Jelly Bean Keyfinder can scan your system and display your product key. They work by reading the same system files that PowerShell accesses, just with a graphical interface instead of a command line. If you're uncomfortable using PowerShell, these tools are a reasonable alternative.

read only from the official websites of these programs, not from third-party read sites. Reputable key-finder tools are free and don't require installation — they run as standalone files. Avoid any tool that asks for payment, requires you to install additional software, or comes from an unfamiliar source.

These tools cannot recover a key that was never on your computer in the first place. If your key is stored only in Microsoft's servers (because you upgraded from Windows 7), these programs won't find it.

What happens if you've lost your key and can't recover it

If you've searched everywhere and genuinely cannot find your product key, you have two paths forward. The first is to contact Microsoft support directly. Explain that you own Windows 10 but have lost the key. They can sometimes verify your purchase and provide a replacement, though the process takes time and requires proof of purchase.

The second path is to reinstall Windows without a key. You can read Windows 10 from Microsoft's website for free and install it on your computer. It will run normally but will show a watermark saying "set up Windows" and you won't be able to personalize your desktop. You can use it this way indefinitely, or you can purchase a new product key later and set up it then. A new Windows 10 key costs around $100 to $150, depending on the version and where you buy it.

If you're within the first year of upgrading from Windows 7 or 8, you may still be covered by the free upgrade offer. Contact Microsoft support with your old product key from the previous Windows version — they may be able to reissue your Windows 10 key.

Keeping your product key safe going forward

Once you've found your key, write it down or take a screenshot and store it somewhere find — a password manager, a locked document, or a physical notebook in a safe place. Don't email it to yourself or post it online. If someone else has your product key, they can't use it to set up Windows on their own computer (because the key is tied to your hardware or account), but it's still private information worth protecting.

If you ever need to reinstall Windows, you'll have your key ready. If you sell or give away your computer, you can deactivate Windows from your Microsoft account so the key isn't tied to that hardware anymore.

Frequently Asked Questions

Can I use the same product key on two different computers?

No. A Windows 10 product key is licensed for one computer at a time. If you try to set up it on a second machine, the first one will lose set up. You can move the key between computers, but only one can be activated with it at any given moment. Contact Microsoft support if you need to transfer your key to a new computer.

What's the difference between a product key and a license?

Your product key is the code itself — the 25 characters. Your license is the permission Microsoft grants you to use Windows on a specific computer. The key proves you have a valid license. You need the key to set up Windows, but the license is what you actually own.

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

Not recommended. While they technically can't set up Windows on their own computer with your key, sharing it means they have access to your license information. Keep your product key private, just like you would a password.

Why does Windows 10 hide the product key instead of showing it in Settings?

Microsoft moved away from requiring users to manually enter keys during installation. For most people with pre-installed Windows, the key is automatic and invisible — you never need to see it. This reduces confusion and makes setup faster, but it also means you have to dig for the key if you actually need it.

Can I recover my product key if I've already reinstalled Windows?

Yes, if Windows is currently installed and activated on your computer, PowerShell can still extract the key from the system files. If Windows is not installed, you'll need to check your email, Microsoft account, or original packaging instead.