Your Windows activation key is usually on a sticker or in your Microsoft account

Your Windows activation key — also called a product key — is a 25-character code that proves you own a copy of Windows. Where you find it depends on how you got Windows: it might be on a physical sticker on your device, in your Microsoft account online, in a confirmation email, or embedded in your computer's firmware.

The fastest way to check is to look in your Microsoft account first, since that's where Windows 10 and Windows 11 keys are usually stored after activation. If you bought Windows on a disc or USB drive, check the case or the sticker on your device. If you built your own computer or bought a pre-built one, the key may be in the BIOS — the system firmware that runs before Windows starts.

Key Takeaways

  • Check your Microsoft account first by signing in at account.microsoft.com and looking under "Your devices" — this is where Windows 10 and 11 keys are stored after you activate.
  • Physical stickers on your device, in the box your computer came in, or on the back of a Windows disc case hold the key if you bought Windows that way.
  • If you upgraded from an older version of Windows, your key may be in a confirmation email from Microsoft sent at the time of purchase.
  • You can view the key already embedded in your computer using a command-line tool, even if you don't have the original sticker or email.

Check your Microsoft account online

If you activated Windows 10 or Windows 11 with a Microsoft account, your key is stored in that account. Go to account.microsoft.com and sign in with the email and password you use on your computer.

Once you're signed in, look for a section called "Your devices" or "Devices." Click on the device you're looking for. On that device's page, you should see "Product key" or "Windows activation" listed. The key will be shown as a 25-character code with hyphens between groups of five characters.

If you don't see a product key listed, it means either Windows wasn't activated on that account, or the device was activated with a different Microsoft account. Try signing in with a different account if you have one, or move to the next method.

Look for a physical sticker on your device or in the box

If you bought a pre-built computer from a manufacturer like Dell, HP, Lenovo, or Asus, Windows usually came with it. The product key is often on a sticker attached to the back, side, or bottom of the computer case. Look for a white or silver label with "Windows" printed on it and a 25-character code.

If you bought Windows separately on a disc or USB drive, the key is printed on the case or on a card inside the box. Check the back of the case first, then look inside for any documentation or cards.

If you can't find a sticker and you've lost the box, the key may still be stored in your computer's firmware. Move to the next section to retrieve it that way.

Find the key embedded in your computer using the command line

Windows stores a copy of your activation key in your computer's firmware (called the BIOS or UEFI). You can view this key without the original sticker or email by running a command in the Windows command prompt.

Press the Windows key and type cmd. Right-click on "Command Prompt" and choose "Run as administrator." A black window will open. Copy and paste this entire line into the window and press Enter:

wmic path softwarelicensingservice get OA3xOriginalProductKey

After a moment, a 25-character code will appear on the screen. This is your product key. Write it down or take a screenshot. If nothing appears, it means your copy of Windows was activated using a digital license tied to your Microsoft account instead of a traditional product key.

Check your email for a confirmation from Microsoft

If you bought Windows 10 or Windows 11 directly from Microsoft or upgraded from an older version, you should have received a confirmation email. Search your email inbox for messages from Microsoft or from the retailer where you bought Windows.

Look for subject lines like "Your Windows product key," "Order confirmation," or "Thank you for your purchase." The email should contain your 25-character product key. Check your spam or promotions folder if you don't see it in your inbox.

If you can't find the email and you remember the approximate date you bought Windows, try searching by date. If you still can't locate it, use the command-line method in the previous section to retrieve the key from your computer.

What to do if you can't find your key anywhere

If you've checked your Microsoft account, looked for physical stickers, run the command-line tool, and searched your email without success, your Windows installation may be using a digital license instead of a traditional product key. A digital license is tied to your Microsoft account and your device hardware — you don't need a separate key to prove ownership.

To check if you have a digital license, go to Settings, then System, then About. Scroll down to "Windows specifications" and look for "Activation status." If it says "Windows is activated with a digital license," you're covered — you don't need to find a key. If it says "Not activated," you may need to contact Microsoft support or sign in with the Microsoft account that originally activated Windows on that device.

If you're trying to move Windows to a different computer, a digital license won't transfer. You would need to purchase a new copy or contact Microsoft to explain your situation.

Frequently Asked Questions

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

No. A single product key can only activate one device at a time. If you try to use it on a second computer, the first one will show as not activated. If you need Windows on multiple devices, you need a separate key for each one.

What if my product key doesn't work when I try to use it?

Make sure you're typing it correctly — product keys are case-insensitive but they do have hyphens in specific places. If you're sure it's correct, the key may have already been used to activate a different device. Contact Microsoft support with proof of purchase to explain the situation.

Is my product key the same as my Windows license?

Not exactly. Your product key is the code that proves you own a license. A digital license is a different way of proving ownership — it's tied to your account and device instead of a physical code. Both prove you own Windows legally.

Do I need my product key to use Windows?

You need either a product key or a digital license to activate Windows, but you can use Windows for a limited time without activation. After 30 days, you'll see a watermark on your screen and some features will be restricted. Activation is free once you have a valid key or account.

Where do I enter my product key if I found it?

Go to Settings, then System, then About. Scroll down and click "Change product key" or "Activate Windows." Paste your 25-character key into the box and follow the prompts. Windows will verify the key with Microsoft's servers and activate your device.