How to Find Your Windows 11 Product Key
Your Windows 11 product key is a 25-character alphanumeric code that proves your copy of Windows is legitimate. Whether you're preparing to reinstall Windows, transferring a license to a new machine, or just want to keep a record of it, knowing where to find this key — and understanding why it's sometimes invisible — saves a lot of frustration.
What Is a Windows 11 Product Key, Exactly?
A product key (also called a license key) is formatted as five groups of five characters: XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Microsoft uses this to activate Windows and tie your installation to a verified purchase.
The key isn't always somewhere obvious. Depending on how you got Windows 11, it might be:
- Embedded in your device's firmware (UEFI/BIOS)
- Tied to a Microsoft account
- Printed on a physical Certificate of Authenticity (COA) sticker
- Stored in a retail box or digital email receipt
Understanding which of these applies to your setup is the first step.
Method 1: Use Command Prompt or PowerShell 🔑
This is the fastest method for most users and retrieves the key stored locally on your device.
Using Command Prompt:
- Press
Windows + S, type cmd, right-click it, and select Run as administrator - Enter the following command:
wmic path softwarelicensingservice get OA3xOriginalProductKey - Press Enter
If a key is stored in your system firmware, it will appear here.
Using PowerShell:
- Open PowerShell as administrator
- Run this command:
(Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey Important caveat: If the result is blank, it doesn't necessarily mean your Windows isn't activated. It may mean your license is linked to your Microsoft account rather than stored as a readable key on the device.
Method 2: Check Your Microsoft Account
If you upgraded from Windows 10 or purchased Windows 11 through the Microsoft Store, your digital license is attached to your Microsoft account — not to a traditional product key.
To verify this:
- Go to Settings → System → Activation
- Look at the Activation state and Activation type
If it says "Windows is activated with a digital license linked to your Microsoft account," then there's no separate product key to retrieve. Your license travels with your Microsoft account, meaning reinstallation only requires signing into that account during setup.
Method 3: Check Physical or Digital Documentation
| Source | Where to Look |
|---|---|
| Pre-built desktop or laptop | COA sticker on the chassis (bottom, back, or inside battery compartment) |
| Retail box purchase | Inside the box on a card, or emailed receipt |
| OEM system (HP, Dell, Lenovo, etc.) | Often embedded in UEFI — no sticker needed |
| Volume license (business) | IT administrator or Microsoft Volume Licensing portal |
| Third-party retailer | Email confirmation or retailer account page |
On newer OEM machines, the COA sticker may say "Windows 11 Home" or "Windows 11 Pro" without displaying a full key — because the key is already baked into the firmware.
Method 4: Use a Third-Party Key Finder Tool
Several reputable free tools can read the product key directly from your system registry or firmware. ProduKey by NirSoft and Magical Jelly Bean Keyfinder are commonly used examples.
These tools are useful when command-line methods return nothing, but keep a few things in mind:
- Download only from the developer's official site to avoid bundled malware
- Some antivirus software may flag these tools as potentially unwanted programs (PUPs) — this is a false positive related to their function, not actual malicious behavior
- They read the same underlying data as the PowerShell/CMD methods, so if a key isn't stored locally, they won't find it either
Why Your Key Might Not Be Retrievable 🖥️
This confuses a lot of people. Here's why a key may not appear through any local method:
- Digital license activation: Microsoft increasingly uses hardware-bound or account-bound digital licenses that don't rely on a visible key
- Volume licensing: Organizations use a single Key Management Service (KMS) key, which individual users don't need access to
- OEM firmware embedding: The key is encoded at the BIOS/UEFI level and only readable by the OS during activation — not always exposed via standard queries
What Happens When You Reinstall Windows 11?
This is often why people go searching for their key in the first place. The reinstallation behavior depends on license type:
| License Type | Reinstall Process |
|---|---|
| Digital license (account-linked) | Sign in with Microsoft account during setup — activates automatically |
| Digital license (hardware-bound) | Reinstall on same hardware — activates automatically without a key |
| Retail key | Enter 25-character key during or after installation |
| OEM key (firmware) | Detected automatically during setup — no key entry needed |
If you're moving a retail license to a new machine, you'll need to deactivate it on the old device first through the Activation settings.
The Variable That Changes Everything
The right approach to finding — or whether you even need — your Windows 11 product key comes down to your specific situation: how Windows was acquired, whether it was pre-installed by a manufacturer, whether it's tied to a Microsoft account, and what you're ultimately trying to do with the key.
Someone reinstalling on the same hardware has a completely different path than someone migrating to a new PC. A retail purchaser is in a different position than someone using a device their company's IT department provisioned. The methods above cover the full range — but which one is relevant, and what it reveals, depends entirely on your own setup.