How to Find Your Microsoft Office Product Key (2024)

How to Find Your Microsoft Office Product Key (1)

Quick Answer:

  1. Run “Command Prompt” as Administrator.
  2. Type cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.vbs" /dstatus and press “Enter.” Your location of OSPP.vbs may vary.
  3. You’ll see the last five characters of your Office product key.
  4. Dig around to find the full key (box, receipt, email, etc.)


Are you having trouble reinstalling your Microsoft Office? In all likelihood, you’ve forgotten your product activation key. It’s difficult to find, so you might be panicking trying to remember the lost activation code. There are four types of Microsoft Office software: Retail, Subscription, Volume, and OEM. Each one has specific methods for installation and reinstallation, as well as how the product key gets stored and used.

Unfortunately, Microsoft made changes beginning with Office 2013, where only the last five digits of the product key get stored on your PC. The image below applies to Microsoft Office 2013 and newer, even though they are pushing their 365 subscriptions.
How to Find Your Microsoft Office Product Key (2)

Any app that claims to provide your Office keys is no longer valid. Of course, they may have a hidden or fine-print statement somewhere stating that Office 13 and up only provide the last five digits.

The bottom line is there is no way to obtain the full Product Key using commands or third-party software unless you use Office 2010 or earlier. Your only option is to keep track of your device installs and the corresponding Office versions. Save any receipts or license emails. That way, you can match the correct version using your list later once you obtain the last five characters of the current product key on the PC.

The only way to get all twenty-five characters of your Office product key is if you have one of the following:

  • You received an Office volume key from an administrator in your organization.
  • You bought a PC that included Office (usually for one year only, though), and it has a sticker with the product key.
  • You purchased a physical, retail version of Office with the product key in the packaging.
  • You received an email from a third-party seller/distributor that contains your new product key.
  • You have Office 2010 or earlier.

Once you register the product key for Office 2013 and newer in your Microsoft account, your PC will only contain the last five characters of the key. Regardless, you won’t need it anymore because Microsoft attached the install key to your account (exceptions below). All you have to do is log in and choose to download and install Office from your Services and subscriptions section—no key is required. Your product key becomes your Microsoft account instead.

There is only a small handful of exceptions that won’t save Office Product Keys as registered software in your Microsft account:

  • You have an MSDN (Microsoft Software Developer Network) product key.
  • You have a MAK (multiple activation key)/KMS (key management services) key.
  • You have a volume key.

The exceptions above require you to activate through the software, by telephone, or by using setup.office.com, account.microsoft.com/billing/redeem, or setup.microsoft.com.

You CAN have more than one Office version in your Microsft account, as well as more of the same version. If you have two or more of the same, it reports the number of copies to choose from.

How to Find Your Microsoft Office Product Key (3)

Whenever you need to reinstall Office on the same PC or switch it to a different one, you can download the correct or desired Office version from your account and install it without needing a product key. If using a different PC, it will deactivate the previous one, and you may need to use phone activation unless you have a 365 subscription that automatically handles it. For licenses allowing more than one PC, it should automatically activate once opened and attaches it to the same Microsft account it is stored in.

Yes, you can still use product keys to install Office 2013, 2016, 2019, 2021, and 365 if you have one. After that, the key becomes your Microsoft account, unless it is a MAK, KMS, MSDN, or another volume license/key.

How to Find Your Microsoft Office 2013/2016/2019/2021 Product Key on a Windows PC

Since you cannot obtain the entire product key from your device, or in most cases, from your Microsoft account, you have to do a little more work. You CAN get the last five characters of your product key from your PC using commands or third-party software, by searching for the original purchase email, obtaining the product packaging, or contacting your administrator to receive the key again.

When obtaining the last five characters, and, depending on which version of Office you’re checking, the steps for accessing the partial key are a bit different.

Obtaining Office Product Key from your Microsoft Account

If you’ve bought the Windows license through the Microsoft Store, the product key got added to your Microsoft Account. This means that Microsoft sent you the key in a confirmation email. Search through your inbox to find it. If you don’t see it, go through the junk folder. If you’ve already activated it, the key is gone, and it became your Microsoft account. Head to your account and choose to install Office from your
“Subscriptions and services” section.
How to Find Your Microsoft Office Product Key (4)

How to Find the Office Product Key on Windows 10 and Windows 11

With Windows 10 and 11, you can use Powershell, Command Prompt, the Registry, or even third-party software to recover the last five characters of your product key. Once you have that, you can search your email accounts for a match and get the entire key, find the original packaging that includes those last five characters, or contact your administrator in networked situations.

How to Find Product Key Using Windows PowerShell or Command Prompt

If you’re looking for the Microsoft Office product key on Windows 10 or 11, you can use one of two commands in Windows PowerShell or Command Prompt, depending on your version of Office and how you obtained it.

As long the Office version is/was purchased through the Workplace Discount Program (formerly Home Use Program), you can use the “SoftwareLicensingService” command. For obtaining a previously or currently installed product key, you can use an “OSPP.vbs” command. Once again, you’ll only get the last five characters since that is all that Windows stores on your PC.

To find the last five characters of the Office product key using PowerShell on Windows 10/11, do the following:

  1. Simultaneously press down on the Windows + X keys.
    How to Find Your Microsoft Office Product Key (5)
  2. Select Windows PowerShell (Admin) or Command Prompt (Admin).
    How to Find Your Microsoft Office Product Key (6)
  3. For Workplace Discount Program software, type in:
    wmic path SoftwareLicensingService get OA3xOriginalProductKey
    How to Find Your Microsoft Office Product Key (7)
  4. You can also use:
    (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    How to Find Your Microsoft Office Product Key (8)
  5. Your product key should appear once the command is executed. If not, you have an Office retail version rather than a digital one. Move to the next step.
  6. Paste the corresponding text string listed below (the correct location of “OSPP.vbs), then press “Enter” to execute it:
    Office 2016-2021 (32-bit) on a 32-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.vbs" /dstatus
    Office 2016-2021 (32-bit) on a 64-bit Windows OS
    cscript "C:\Program Files (x86)\Microsoft Office\Office16\OSPP.VBS" /dstatus
    Office 2016-2021 (64-bit) on a 64-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office16\OSPP.VBS" /dstatus
    Office 2013 (32-bit) on a 32-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus
    Office 2013 (32-bit) on a 64-bit Windows OS
    cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.vbs" /dstatus
    Office 2013 (64-bit) on a 64-bit Windows OS
    cscript "C:\Program Files (x86)\Microsoft Office\Office15\OSPP.VBS" /dstatus
    Office 2010 (32-bit) on a 32-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus
    Office 2010 (32-bit) on a 64-bit Windows OS
    cscript "C:\Program Files (x86)\Microsoft Office\Office14\OSPP.VBS" /dstatus
    Office 2010 (64-bit) on a 64-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office14\OSPP.VBS" /dstatus
    Office 2007 (32-bit) on a 32-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office12\OSPP.VBS" /dstatus
    Office 2007 (32-bit) on a 64-bit Windows OS
    cscript "C:\Program Files (x86)\Microsoft Office\Office12\OSPP.VBS" /dstatus
    Office 2007 (64-bit) on a 64-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office12\OSPP.VBS" /dstatus
    Office 2003 (32-bit) on a 32-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office11\OSPP.VBS" /dstatus
    Office 2003 (32-bit) on a 64-bit Windows OS
    cscript "C:\Program Files (x86)\Microsoft Office\Office11\OSPP.VBS" /dstatus
    Office 2003 (64-bit) on a 64-bit Windows OS
    cscript "C:\Program Files\Microsoft Office\Office11\OSPP.VBS" /dstatus

To find the product key using the command prompt on Windows 10/11, do the following:

  1. Simultaneously press the Windows + S keys to open Windows search.
    How to Find Your Microsoft Office Product Key (9)
  2. Type “cmd” and select Run as administrator from the search results.
    How to Find Your Microsoft Office Product Key (10)
  3. For Workplace Discount Program software, paste the following in the pop-up command window:
    wmic path SoftwareLicensingService get OA3xOriginalProductKey.
    How to Find Your Microsoft Office Product Key (11)
  4. Your partial key should appear on the screen. If nothing appears or it repeats “OA3xOriginalProductKey” as the output, you do not have Workplace Discount Program software. Try the “OSPP.VBS” Powershell commands above in the Command Prompt.
    How to Find Your Microsoft Office Product Key (12)

How to Find Your Microsoft Product Key in the Windows Registry File

If you don’t want to use a third-party app to recover the product key, there’s an alternate way to do it. It’s possible to access the key in the Windows Registry File, but you’ll need the correct command.

To pull up the key from the Registry File:

  1. Go to the Search menu and type “regedit” and select it.
    How to Find Your Microsoft Office Product Key (13)
  2. Now, find and open the following key:
    Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\SoftwareProtectionPlatform
    How to Find Your Microsoft Office Product Key (14)
  3. The window will generate a list of files. Go to the BackupProductKeyDefault key.
    How to Find Your Microsoft Office Product Key (15)

The product key is recorded next to the BackupProductKeyDefault key in the Data column

How to Find Your Product Key with Microsoft Support

When you’re in a hurry or feel like you need a bit of extra guidance, you can try contacting the Microsoft Support team. Here’s how to ask for assistance:

  1. Simultaneously press the Windows + I keys to enter Settings and type “Activation settings” in the search bar.
    How to Find Your Microsoft Office Product Key (16)
  2. Tap Get help on the right part of the desktop.
    How to Find Your Microsoft Office Product Key (17)
  3. Choose your reason and select Contact Support.
    How to Find Your Microsoft Office Product Key (18)
  4. Tap your product type and click Confirm.
    How to Find Your Microsoft Office Product Key (19)
  5. Choose Provide your phone number and a support agent will call you.
    How to Find Your Microsoft Office Product Key (20)

After you enter your personal information, the support team will reach out to you.

How to Find Your Microsoft Office Product Key on a Mac

There are also different ways to unlock Microsoft Office on your MacBook.

First, try using the one-time PIN. To do so:

  1. Locate the packaging or card that came with your Microsoft Office.
    How to Find Your Microsoft Office Product Key (21)
  2. When you find the PIN, visit this Microsoft website and type it in.
    How to Find Your Microsoft Office Product Key (22)

This method will recover your key only if you’ve never used the PIN.

The product key could be saved on your account page if you’ve used it before. To locate it on your page:

  1. Sign in to your Microsoft account.
    How to Find Your Microsoft Office Product Key (23)
  2. Tap View product key and then locate it on screen.
    How to Find Your Microsoft Office Product Key (24)

When you download Office from an online store, you should receive the product key in your inbox. When searching your email for the receipt, make sure to go through the junk folder too.

If you’ve bought a DVD copy of Office, check the inside of the DVD case. You should see the product key on a yellow sticker.

How to Find Your Microsoft Office Product Key in the Home Use Program

Your Mac could be using the Home Use Program version of Office. In that case, you’ll have to get a product code instead of a product key.

Here’s how to find the code:

  1. Enter the Home Use Program.
  2. Type your country or region and work email address.
  3. Select Don’t Know Your Program Code?
  4. Tap Verify Email.

These steps will allow you to retrieve your product code.

How to Find Your Microsoft Office Product Key using Third-Party Software

Using additional software can sometimes be complicated. But tools like RecoverKeys and XenArmor All-In-One KeyFinder Pro make finding your key relatively straightforward. Of course, your PC only stores the last five characters of your Office 2013 and newer product key, but 2010 and earlier will show the full key.

Getting Your Office Product Key from a Retail Purchase

A licensed retail store can also sell physical Windows products. They come in a box with a small card containing the Microsoft Office product key. Many stores also sell Office in a card form or as a digital download, which is more common now. If you’ve saved the card from whichever retail item you purchased, flip it over to see the key.

Also, you might have taken a picture of the key as an online backup. If you suspect you saved an image, go through your gallery until you find the picture that matches the last five characters.

Alternatively, when you purchased a PC, the product key can be found on the computer’s chassis sticker or in printed materials. Although the sticker can rub off over time, you can check your device to see if the key is still visible.

For many, much of our personal and professional lives revolve around accessing our Microsoft products at any time. When you upgrade your software or have to reinstall it, getting locked out of your Office Suite can be frustrating, especially if you’ve forgotten the product key.

The good news is that you have all the tools necessary to bypass this problem. Whether you’re a PC or Mac user, this article has hopefully helped you learn how to find your product key anytime and anywhere.

When was the last time you had to search for your Microsoft Office key? How did you restore it? Tell us in the comment section.

How to Find Your Microsoft Office Product Key (2024)
Top Articles
Latest Posts
Article information

Author: Carmelo Roob

Last Updated:

Views: 5840

Rating: 4.4 / 5 (45 voted)

Reviews: 84% of readers found this page helpful

Author information

Name: Carmelo Roob

Birthday: 1995-01-09

Address: Apt. 915 481 Sipes Cliff, New Gonzalobury, CO 80176

Phone: +6773780339780

Job: Sales Executive

Hobby: Gaming, Jogging, Rugby, Video gaming, Handball, Ice skating, Web surfing

Introduction: My name is Carmelo Roob, I am a modern, handsome, delightful, comfortable, attractive, vast, good person who loves writing and wants to share my knowledge and understanding with you.