Where to look for your Windows product key

Your Windows product key is a 25-character code that proves you own a copy of Windows. It looks like this: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, where X is a letter or number. The location depends on how you got Windows — whether you bought it on a disc, downloaded it, or it came pre-installed on your computer.

If Windows came with your computer, the key is usually printed on a sticker attached to the back or bottom of your device. If you bought a physical copy, check the case, the disc sleeve, or the documentation inside the box. If you downloaded Windows from Microsoft, the key was sent to your email address when you completed the purchase.

For computers running Windows 10 or Windows 11, you can also retrieve your key directly from your system if it was activated online. This is often the easiest method because you do not have to search through old paperwork or emails.

Key Takeaways

  • Physical product keys are printed on stickers attached to your computer or included in the box if you bought Windows on disc.
  • Digital purchases send the product key to your email address, so check your inbox and spam folder if you bought Windows online.
  • Windows 10 and Windows 11 store your product key in the system registry, which you can view using the Settings app or command line tools.
  • Third-party tools like Belarc Advisor and Speccy can display your product key without requiring command line knowledge.
  • If you cannot find your key anywhere, you may still be able to reinstall Windows using your Microsoft account instead of entering the key manually.

Retrieve your key from Windows Settings

On Windows 10 or Windows 11, you can view your product key through the Settings app. Open Settings, go to System, then select About. Scroll down to find "Windows specifications." The product key is not displayed here directly, but you can use this page to confirm your Windows version and edition, which helps you know what key you are looking for.

To actually see the key itself, you will need to use a command line tool or a third-party program. The Settings app does not show the full key for security reasons — it only displays the last five characters.

Use the command line to find your key

If you are comfortable using the command line, you can retrieve your product key using PowerShell. Right-click the Start button, select Windows PowerShell (Admin) or Terminal (Admin) depending on your Windows version, and paste this command: powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey"

Press Enter, and your 25-character product key will appear on the screen. This method works on Windows 10 and Windows 11, and it pulls the key directly from your system registry. If nothing appears, your Windows installation may not have stored the key in the registry — this sometimes happens with certain pre-installed or volume license versions.

If you do not want to use PowerShell, you can also try the command prompt. Open Command Prompt as Administrator and run: wmic path softwarelicensingservice get OA3xOriginalProductKey

Third-party tools that show your product key

Several free programs can display your Windows product key without requiring command line knowledge. Belarc Advisor is one of the most popular — it scans your entire system and displays your Windows key along with other software licenses. Speccy, made by the same company, also shows your product key in its system information summary. ProduKey by NirSoft is another lightweight option that displays Windows keys and keys for other Microsoft products.

These tools work by reading the same registry location that PowerShell accesses, so they will show the same result. The advantage is that you do not have to remember or type a command. Download the program, run it, and look for the Windows key in the results. Most of these tools are portable, meaning you can run them without installing anything.

Check your Microsoft account if you bought Windows online

If you purchased Windows 10 or Windows 11 directly from Microsoft, your product key is tied to your Microsoft account. Sign in to your Microsoft account at account.microsoft.com, go to Devices, and select the device where you installed Windows. Your product key should be listed there, along with the installation date and activation status.

This method only works if you bought Windows from Microsoft directly and signed in with your Microsoft account during installation. If you bought from a retailer or received Windows pre-installed, your key will not appear in your Microsoft account.

What to do if you cannot find your key

If you have searched everywhere and cannot locate your product key, you still have options. On Windows 10 and Windows 11, you can reinstall Windows without entering a product key during setup. Instead, you can sign in with your Microsoft account, and Windows will automatically activate using the account you used to purchase it.

If your computer came with Windows pre-installed, the key is usually tied to your hardware. You can reinstall Windows and it will activate automatically without needing to enter the key manually. Contact your computer manufacturer if you need help confirming this.

If you bought Windows from a retailer and lost the key, contact the retailer with proof of purchase. They may be able to provide a replacement key or direct you to Microsoft support for further help.

Frequently Asked Questions

Can I use someone else's Windows product key on my computer?

No. Each product key is licensed to one person or organization. Using someone else's key violates the license agreement and may result in Windows becoming deactivated. If you need Windows, you must purchase your own copy or use a free alternative like Linux.

What if the command line shows nothing when I search for my key?

Some Windows installations, particularly those using volume licensing or pre-installed on business computers, do not store the product key in the registry. In this case, check your original purchase documentation, contact your IT department if it is a work computer, or contact the manufacturer if it came pre-installed on your device.

Is my product key the same as my Windows license?

The product key is proof of your license, but they are not the same thing. Your license is the agreement that lets you use Windows. The product key is the code that activates it. You need the key to prove you own the license.

Can I transfer my Windows product key to a different computer?

It depends on your license type. Retail keys can usually be transferred to a new computer, but you must deactivate Windows on the old one first. OEM keys that came pre-installed on your computer are tied to that hardware and cannot be transferred. Check your purchase documentation or contact Microsoft support to confirm your license type.