Your Windows license key is usually in one of three places: a sticker on your device, your Microsoft account, or buried in Windows settings
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 — typically on the bottom or back of your device, or on the box it came in. If you bought Windows through the Microsoft Store or linked it to your Microsoft account, you can retrieve it from your account settings. If neither of those works, Windows stores a record of your key in the system registry, though reading it requires a third-party tool or command-line access.
The key itself is a 25-character code split into five groups of five characters. You need it if you're reinstalling Windows on the same device, moving Windows to a new computer (depending on your license type), or proving to Microsoft that your copy is genuine.
Key Takeaways
- Physical stickers on your device or its original box hold the license key for pre-installed or retail copies of Windows.
- Microsoft account holders can view their license key by signing into account.microsoft.com and checking their devices or digital goods.
- Windows 10 and 11 can display your key through Settings > System > About, though the display is often partial or obscured.
- Third-party tools like Belarc Advisor or Magical Jelly Bean can extract your full key from the Windows registry without requiring administrator passwords.
- OEM keys (from pre-built computers) are tied to your original device and cannot legally be transferred to a different computer.
Check the physical sticker first
If you bought Windows on a disc or USB drive, or if your computer came with Windows pre-installed from the manufacturer, the license key is printed on a sticker. Look on the bottom or back of your laptop, the side of your desktop tower, or inside the original packaging. The sticker is usually white or silver with black text, and the key appears as a series of five groups of five letters and numbers.
For laptops, the sticker is often on the underside near the battery or on the back panel. For desktops, check the rear or side panels. If you no longer have the physical device or the sticker has worn away, move to the next method.
Sign into your Microsoft account to retrieve your key
If you purchased Windows through the Microsoft Store or activated it using a Microsoft account, your license is stored in your account. Go to account.microsoft.com and sign in with the email address you used to buy Windows. Once logged in, look for a section labeled "Devices" or "Digital goods" — the exact name varies depending on your account type and region.
Click on the device where Windows is installed. You should see your license key listed, along with the activation status and the date you purchased it. If you see multiple devices, make sure you're looking at the correct one. This method works best if you remember which email address you used at purchase.
Use Windows Settings to view your key (partial display)
Windows 10 and 11 can display your license key directly in the operating system, though the display is often incomplete or obscured. Open Settings, then go to System > About. Scroll down to find "Windows specifications" and look for a field labeled "Product ID" or "License key." In some versions, the key appears in full; in others, only the last five characters are visible.
This method is fastest if you only need to confirm the last few characters of your key or verify that Windows is activated. If you need the full key and it's not displayed here, use a third-party tool instead.
Extract your key using a third-party tool
If the sticker is missing, you can't access your Microsoft account, and Windows Settings doesn't show the full key, a third-party tool can read it from the Windows registry. Belarc Advisor and Magical Jelly Bean Keyfinder are two common options that run on Windows and display your full license key within seconds.
Download the tool from its official website, run the installer, and launch the program. It will scan your system and display your Windows key along with other system information. You do not need administrator access for most of these tools, though some features may require it. The key displayed is the one currently registered to your device in the Windows registry.
Be cautious when downloading third-party tools — use only official websites and avoid sites that bundle additional software or ask for payment. Reputable keyfinder tools are free.
Understand the difference between OEM, retail, and subscription keys
Not all Windows license keys work the same way. An OEM key comes pre-installed on a new computer and is tied to that specific device. You cannot legally transfer it to a different computer, even if you own both. A retail key is purchased separately and can be moved to a new device if you uninstall Windows from the old one first. A subscription key (from Microsoft 365 or Game Pass) is tied to your account rather than a physical key code.
You can usually tell which type you have by looking at the sticker or your Microsoft account. OEM keys often have a different format or label than retail keys. If you're planning to reinstall Windows or move it to a new device, knowing your key type matters — moving an OEM key violates the license agreement, while moving a retail key is permitted.
What to do if you cannot find your key
If you've checked all three locations and still can't find your key, you have options depending on your situation. If you own the device and can prove purchase, contact Microsoft Support with your proof of purchase — they can sometimes reissue a key or help you reactivate Windows. If you're reinstalling Windows on the same device, Windows 10 and 11 can often reactivate automatically using your device's hardware fingerprint, even without entering a key manually.
If you're moving to a new device and your original key was OEM, you'll need to purchase a new license — OEM keys cannot be transferred. If it was a retail key, you can deactivate it on the old device and use it on the new one, though you may need to contact Microsoft to complete the transfer if the system doesn't recognize it automatically.
Frequently Asked Questions
Can I use someone else's Windows license key on my computer?
No. Each license key is tied 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, purchase your own license or use a free alternative like Linux.
What if my key doesn't work when I try to reinstall Windows?
First, make sure you're using the correct key for the version of Windows you're installing — a Windows 10 key won't work with Windows 11, for example. If the key is correct but still rejected, try entering it again without spaces or dashes. If it still fails, contact Microsoft Support with proof of purchase; they can investigate whether the key was already used or if there's a technical issue.
Is my license key the same as my product ID?
No. Your product ID is a unique identifier for your Windows installation, but it's not the same as your license key. The license key is the 25-character code you use to activate Windows. You can find both in Windows Settings under System > About, though they serve different purposes.
Can I sell my Windows license key if I'm not using it anymore?
It depends on your license type. OEM keys cannot be sold or transferred — they stay with the original device. Retail keys can technically be transferred if you uninstall Windows from your old device first, but reselling them violates Microsoft's terms of service. Microsoft does not recognize or support secondhand key sales.
Why does Windows Settings only show part of my key?
Microsoft intentionally hides most of the key in Settings for security reasons. If you need the full key, use a third-party keyfinder tool or check your Microsoft account. The partial display in Settings is usually enough to confirm your key's last few characters or verify activation status.