Your product key is usually in your email, on a sticker, or built into your computer

Where your Windows product key lives depends on how you got Windows. If you bought it as a standalone product, Microsoft sent it to your email or printed it on a card in the box. If Windows came with your computer, the key is often embedded in the machine's firmware — a special storage area that survives even if you erase everything else. If you upgraded from an older version of Windows, the key may be tied to your Microsoft account instead of a physical code.

Finding it takes a few minutes and requires you to look in the right place for your specific situation. The wrong place will waste time; the right place will give you the key in seconds.

Key Takeaways

  • Product keys bought separately arrive by email or come printed on a card; check your email inbox and spam folder first.
  • Computers that came with Windows pre-installed usually have the key embedded in the motherboard, not printed anywhere on the machine.
  • Windows 10 and 11 often tie the product key to your Microsoft account, so signing in may be enough to reactivate on the same device.
  • Command-line tools like wmic or PowerShell can retrieve the embedded key from your current installation if you cannot find the original.
  • If you cannot locate the key and need to reinstall Windows, contact the seller or manufacturer — they have records of what was sold with the device.

Check your email and the original packaging

Start with the simplest place: your email. If you bought Windows directly from Microsoft or from a retailer like Amazon or Best Buy, the product key arrived in a confirmation email. Search your inbox for "product key", "Windows", or the retailer's name. Check your spam and promotions folders too — legitimate retailer emails sometimes land there.

If you have the original box or documentation, the key may be printed on a card inside or on the back of the manual. Look for a 25-character code in the format XXXXX-XXXXX-XXXXX-XXXXX-XXXXX. Some manufacturers print it on a sticker attached to the documentation rather than loose inside the box.

If you bought Windows years ago and deleted the email, you may still recover it. Log into your email account's trash or deleted items folder — many providers keep deleted mail for 30 days or longer. If the email is truly gone, move to the next section.

Look for a sticker on the computer itself

Older computers — typically anything from before 2015 — often have a product key sticker on the bottom, back, or side of the case. The sticker is usually white or silver with black text. On laptops, check the bottom panel, the back of the screen bezel, or under the battery (if removable).

Newer computers rarely have a visible sticker because the key is embedded in the firmware instead. If your computer is from 2015 or later and you do not see a sticker, skip this step and move to retrieving the embedded key.

If you find a sticker but the text is faded or damaged, take a photo and zoom in on it. The key is always 25 characters; if you can make out most of it, you may be able to guess the missing characters by trying common letters and numbers.

Retrieve the embedded key from your current Windows installation

If Windows came with your computer or you upgraded to Windows 10 or 11, the product key is likely stored in the motherboard's firmware. You can pull it out without leaving Windows by using a command-line tool.

On Windows 10 or 11, use PowerShell: Right-click the Start button and select "Windows PowerShell (Admin)" or "Terminal (Admin)". Paste this command and press Enter:

Get-WmiObject -query 'select * from SoftwareLicensingService' | Select-Object OA3xOriginalProductKey

The key will appear next to "OA3xOriginalProductKey" if one exists on your device. If nothing appears, the key may be tied to your Microsoft account instead (see the next section).

Alternatively, use wmic: Open Command Prompt as administrator, paste this command, and press Enter:

wmic path softwarelicensingservice get OA3xOriginalProductKey

Both commands do the same thing — they read the key from your system without changing anything. If you see a string of characters, write it down or take a screenshot when ready.

Check if your key is tied to your Microsoft account

Windows 10 and 11 can store the product key in your Microsoft account instead of on a physical card or in the computer's firmware. This happens when you upgrade from an older version of Windows or when you buy Windows through the Microsoft Store.

To see if your key is in your account, go to account.microsoft.com and sign in with the email you use for Windows. Click "Devices" on the left side. If your computer appears in the list with a status of "Active" or "Licensed", your key is registered to that account. You do not need to find a physical key — signing into that account on the same device is enough to reactivate Windows if you reinstall it.

If you do not see your device listed, the key may not be in your account. If you are trying to use Windows on a different computer, you will need the physical key or a new purchase.

Contact the manufacturer or seller if you cannot find the key

If you have looked everywhere and the key is not in your email, on a sticker, in the firmware, or in your Microsoft account, contact the company that sold you the computer or Windows.

For a pre-built computer, contact the manufacturer — Dell, HP, Lenovo, ASUS, or whoever made it. They have records of what Windows version was installed when the computer left the factory. Provide your computer's serial number (usually on the bottom or back) and proof of purchase. They may be able to provide the original key or confirm that Windows came with the device.

For Windows purchased separately, contact the retailer where you bought it. If you bought it directly from Microsoft, contact Microsoft Support. Have your proof of purchase ready — an order number, credit card statement, or receipt.

What to do if you need to reinstall Windows without the key

If you cannot locate the key but need to reinstall Windows, you have options. Windows 10 and 11 can be installed without a key — you will see a watermark on the desktop and some personalization features will be locked, but the system will function. You can enter the key later once you find it.

read the Windows installation media from Microsoft's website using the Media Creation Tool. You can create a USB drive or DVD without needing a key. During installation, when prompted for a product key, select "I do not have a product key" and continue. Windows will install and run in an unlicensed state until you provide the key.

Once you locate the key, open Settings, go to "System" > "About", and click "Change product key" to enter it. Windows will set up when ready if the key is valid.

Frequently Asked Questions

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

No. A standard Windows product key activates one computer at a time. If you enter the key on a second computer, it will deactivate on the first. If you need Windows on multiple machines, you need multiple keys or a volume licensing agreement.

What if the PowerShell command returns nothing?

It means the key is not stored in your computer's firmware. The key may be tied to your Microsoft account instead, or Windows may have come with the device and the key is with the manufacturer. Check your Microsoft account next, then contact the computer maker.

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

No. Your product key is like a password — treat it as private. Sharing it lets someone else set up Windows on their computer, which may deactivate it on yours. Only share it with Microsoft Support if they ask you to troubleshoot an set up problem.

Do I need the product key if I am just upgrading Windows on the same computer?

Usually not. If you are upgrading from Windows 10 to Windows 11 on the same device, Windows will use the key already in your system. If you are doing a clean install on the same computer, Windows will often reactivate automatically when you sign into your Microsoft account.

What if my product key does not work when I try to use it?

The key may be invalid, already used on another computer, or tied to a different version of Windows than the one you are installing. Verify you are typing it correctly — the format is always five groups of five characters separated by hyphens. If it still does not work, contact the seller or Microsoft Support with proof of purchase.