Your product key is usually in one of three places: on a sticker attached to your device, in your Microsoft account, or embedded in your Windows installation
The location depends on how you got Windows. If you bought a physical copy or a new computer with Windows pre-installed, look for a sticker on the device itself — typically on the back, bottom, or inside the battery compartment. If you bought Windows online through the Microsoft Store, the key is in your account. If Windows came with your computer and you never received a separate key, it may be permanently tied to your hardware and stored in your system files rather than printed anywhere.
Finding your key matters when you reinstall Windows, move to a new device, or need to prove ownership. The process takes 10 to 15 minutes and requires no special software — just knowing where to look.
Key Takeaways
- Physical stickers on your device or its packaging hold the product key if you bought Windows as a standalone copy or received it with a new computer.
- Your Microsoft account stores the key if you bought Windows through the Microsoft Store or linked your device to your account after purchase.
- Newer Windows installations may have the key embedded in your hardware, visible only through system settings or command-line tools.
- Third-party tools can display your embedded key, but the most reliable method is checking your account or the original sticker first.
Check the physical sticker on your device
If you bought Windows as a standalone product or received a new computer with Windows pre-installed, a sticker with your product key should be attached somewhere visible. On laptops, check the bottom, back panel, or inside the battery compartment. On desktop computers, look on the back or side of the case. On tablets, the sticker may be under a removable cover or on the packaging.
The key itself is a 25-character code in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX, where X is a letter or number. Write it down exactly as it appears, including hyphens. If the sticker is worn or unreadable, take a clear photo with your phone's camera — you can zoom in later to read individual characters.
If you cannot find a sticker and you did not buy Windows separately, your key may be embedded in your hardware instead. Move to the next section.
Look in your Microsoft account
If you bought Windows through the Microsoft Store or linked your device to your Microsoft account after installation, your product key is stored online. Sign in to your Microsoft account at account.microsoft.com, then look for a section labeled "Devices" or "Your devices." Click on the device you need the key for, and you should see the product key listed there.
If you do not see a key in your account, you may not have purchased Windows through Microsoft, or the device may not be linked to your account. To link a device now, go to Settings > System > About on your Windows computer, scroll down to "Windows specifications," and click "Linked to a Microsoft account" if that option appears. Then return to your account page and refresh.
Find an embedded key using system settings
Modern Windows installations often embed the product key directly into your hardware rather than printing it on a sticker. To see if your key is embedded, open Settings on your Windows computer. Go to System > About and scroll down to "Windows specifications." Look for a line that says "Product ID" or "Product Key" — if you see a 25-character code there, that is your embedded key.
If the Product ID section shows only a shorter code (usually starting with numbers), your key is embedded but not displayed in Settings. In that case, you will need to use a command-line tool or third-party software to retrieve it.
Use the command line to retrieve an embedded key
If Settings did not show your full product key, you can retrieve it using Windows PowerShell, a built-in command-line tool. Right-click the Start button and select "Windows PowerShell (Admin)" or "Terminal (Admin)" — you may need to confirm that you want to allow the app to make changes.
Once PowerShell opens, copy and paste this command exactly: powershell "(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey" and press Enter. After a moment, your 25-character product key should appear on the screen. Copy it to a text file or write it down immediately.
If nothing appears after you press Enter, your key may be permanently tied to your hardware and not retrievable as a separate code. This is normal for devices that came with Windows pre-installed — the key is stored in your system firmware and does not need to be entered manually if you reinstall Windows on the same device.
Try a third-party key retrieval tool
If the command-line method did not work, a third-party tool can sometimes retrieve your embedded key. Common options include Belarc Advisor, Magical Jelly Bean Keyfinder, and Nirsoft's ProduKey — all are free and do not require installation. Download one from its official website, run it, and look for the section labeled "Windows" or "Operating System." Your product key should appear there.
Be cautious with third-party tools: download only from the official website listed above, not from file-sharing sites. Some tools may trigger antivirus warnings because they read system files — this is normal behavior for key retrieval software, but if you are uncomfortable with it, stick to the PowerShell method instead.
If a third-party tool also shows no key, your Windows installation is almost certainly tied to your hardware. You do not need a separate key to reinstall Windows on the same device — Windows will recognize your hardware and activate automatically.
What to do if you cannot find your key
If you have searched all three locations and found nothing, you have two options. First, check your email for a receipt from Microsoft or your computer manufacturer — the key may be listed in the order confirmation. Search your inbox for "Windows," "product key," or "license," going back several years if necessary.
Second, if you need to reinstall Windows, you may not need the key at all. If your device came with Windows pre-installed, the key is embedded in your hardware and Windows will activate automatically during reinstallation. If you bought Windows separately and cannot locate the key, you can still download and install Windows for free using the Windows installation media tool from Microsoft — you will be prompted to enter the key during setup, and you can skip that step temporarily. Windows will run in an unlicensed state until you enter a valid key later.
Frequently Asked Questions
Can I use the same product key on multiple computers?
No. Each product key is licensed for one device at a time. If you move the key to a new computer, it will deactivate on the old one. If you try to use it on multiple devices simultaneously, Windows will show an activation error on all but one of them.
What if my product key is scratched or faded on the sticker?
Take a clear photo with your phone's camera and zoom in — the characters are usually still readable in the image even if the physical sticker is worn. If the photo is still unclear, try using your phone's flashlight at an angle to create contrast. As a last resort, use the PowerShell command or a third-party tool to retrieve your embedded key instead.
Do I need my product key if I'm reinstalling Windows on the same computer?
Not always. If Windows came pre-installed on your device, the key is embedded in your hardware and Windows will activate automatically during reinstallation without asking for it. If you bought Windows separately, you will be prompted to enter the key during setup, but you can skip that step and enter it later.
Is it safe to share my product key with someone else?
No. Your product key is like a password — treat it as confidential. Sharing it allows someone else to activate Windows on their device using your license, which violates the licensing agreement. If you need to transfer Windows to a new device, you should purchase a new key rather than reusing an old one.
What does "Product ID" mean, and is it the same as my product key?
No. Your Product ID is a unique identifier for your Windows installation, but it is not the same as your product key. The product key is the 25-character code you use to activate Windows. You can find your Product ID in Settings > System > About, but you will need the actual product key to reinstall or activate Windows.