How To Find Your Microsoft Office Product Key

How To Find Your Microsoft Office Product Key

Quick Answer:

  1. Run “Command Prompt” as Administrator.
  2. Type the following: 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-length 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 while 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

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 offers 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 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. 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 tiny 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 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 and more of the same version. It’s an account with all your licenses, not an installation on a PC. If you have two or more of the same, it reports the number of copies to choose from for the current device.

How To Find Your Microsoft Office Product Key

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. Using another PC 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. It will attach 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 full product key from your device, or in most cases, from your Microsoft account, you must 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, depending on which version of Office you’re checking, the steps for accessing the partial key are slightly different.

Obtaining Office Product Key from your Microsoft Account

If you bought the Windows license through the Microsoft Store, the product key was 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 becomes attached to 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

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 complete key, find the original packaging that includes those last five characters, or contact your administrator in networked situations.

How to Find Office 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 Windows PowerShell or Command Prompt commands, depending on your Office version 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. To obtain 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
  2. Select Windows PowerShell (Admin) or Command Prompt (Admin).
    How To Find Your Microsoft Office Product Key
  3. For Workplace Discount Program software, type in:
    wmic path SoftwareLicensingService get OA3xOriginalProductKey
    How To Find Your Microsoft Office Product Key
  4. You can also use the following:
    (Get-WmiObject -query 'select * from SoftwareLicensingService').OA3xOriginalProductKey
    How To Find Your Microsoft Office Product Key
  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
  2. Type “cmd” and select Run as administrator from the search results.
    How To Find Your Microsoft Office Product Key
  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
  4. Your partial key should appear on the screen. If nothing displays or it repeats the output as “OA3xOriginalProductKey,” 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

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
  2. When you find the PIN, type it in on this Microsoft website.
    How To Find Your Microsoft Office Product Key

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
  2. Tap “View product key” and then locate it on the screen.
    How To Find Your Microsoft Office Product Key

You should receive the product key in your inbox when you download Office from an online store. When searching your email for the receipt, 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 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 product 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 one that matches the last five characters.

Alternatively, when you purchase 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.

Most people’s personal or professional lives revolve around accessing Microsoft products frequently. When you upgrade or reinstall your software, 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 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.

Sign up and earn $1000 a day ⋙

How to open multiple programs with one shortcut on Windows 10

How to open multiple programs with one shortcut on Windows 10

How to open multiple programs with one shortcut on Windows 10, You can actually open multiple programs at the same time with a single key. Here's how to use one

How to delete old boot menu options on Windows

How to delete old boot menu options on Windows

How to remove old boot menu options on Windows, Windows 10 dual boot is useful but can leave redundant boot options in the menu. Here's how to remove the menu

Instructions for fixing Snipping Tool errors on Windows 11

Instructions for fixing Snipping Tool errors on Windows 11

Instructions for fixing Snipping Tool errors on Windows 11. Windows 11 has officially been released for a while, but during use there are still many errors

Instructions for entering text by voice on Windows 11

Instructions for entering text by voice on Windows 11

Instructions for entering text by voice on Windows 11, Entering text by voice on Windows 11 helps you significantly improve your work efficiency. Here's how

How to turn on/off Sticky Key on Windows 11

How to turn on/off Sticky Key on Windows 11

How to turn on/off Sticky Key on Windows 11, Sticky Key makes the PC keyboard easier to use. Here's how to turn Sticky Key on and off on Windows 11.

What is Windows Modules Installer?

What is Windows Modules Installer?

What is Windows Modules Installer?, Windows Modules Installer sometimes takes up a lot of system resources. Is Windows Modules Installer important or not?

How to increase volume in Windows 10

How to increase volume in Windows 10

How to increase volume in Windows 10, How to increase computer volume to maximum level? Let's learn with WebTech360 how to increase Windows 10 computer volume

How to use Windows 11 Installation Assistant to install Windows 11

How to use Windows 11 Installation Assistant to install Windows 11

How to use Windows 11 Installation Assistant to install Windows 11, Windows 11 Installation Assistant is one of the best ways to upgrade your computer to Windows 11.

How to turn off the startup sound in Windows 11

How to turn off the startup sound in Windows 11

How to turn off the startup sound in Windows 11, Does the PC startup sound bother you? Then please refer to how to turn off the startup sound for PC running Windows 11 below

Instructions for changing the screen lock timeout on Windows 11

Instructions for changing the screen lock timeout on Windows 11

Instructions for changing the screen lock timeout on Windows 11. While using Windows 11, there are times when users will need to leave the computer for a period of time.

Windows 11 optimization guide to increase FPS when playing games

Windows 11 optimization guide to increase FPS when playing games

Instructions for optimizing Windows 11 to help increase FPS when playing games, Windows 11 is an operating system platform that is introduced as more improved in gaming quality, helping games

Windows 11: How to use and customize the Quick Settings menu

Windows 11: How to use and customize the Quick Settings menu

Windows 11: How to use and customize the Quick Settings menu, Windows 11 brings some great new features and the Quick Settings menu is no exception. Here it is

How to fix the error of not being able to start Windows 11 after enabling Hyper-V

How to fix the error of not being able to start Windows 11 after enabling Hyper-V

How to fix the error of not being able to start Windows 11 after turning on Hyper-V. Hyper-V helps you run virtual machines on Windows. However, after enabling Hyper-V, you cannot post again

How to fix error 0xc00007b in Windows

How to fix error 0xc00007b in Windows

How to fix error 0xc00007b in Windows, Windows displays error 0xc00007b when the application does not work properly. Below is a step-by-step guide to fix error 0xc00007b in

How to change the login screen on Windows 10/11

How to change the login screen on Windows 10/11

How to change the login screen on Windows 10/11, Don't like the blurry screen when logging in on Windows 10/11? So, instructions on how to turn off and change the login screen

How to uninstall drivers in Windows 11

How to uninstall drivers in Windows 11

How to uninstall drivers in Windows 11, Do you want to remove unwanted drivers on Windows 11? Then please see instructions on how to remove drivers in Windows

How to fix No Internet Secured error on Windows 10

How to fix No Internet Secured error on Windows 10

How to fix No Internet Secured error on Windows 10, No Internet Secured is a common error on Windows 10. Below are simple ways to fix No Internet Secured error

How to fix the error of not being able to save Excel files on Windows

How to fix the error of not being able to save Excel files on Windows

How to fix the error of not being able to save an Excel file on Windows. If you can't save the Excel file, don't worry too much. Below are ways to fix the error of not being able to save the above Excel file

How to open DMG files on Windows

How to open DMG files on Windows

How to open DMG files on Windows, DMG is a file format specific to the macOS operating system. However, you still have a way to open DMG files on Windows.

How to delete Network Adapter in Windows 10 and Windows 11

How to delete Network Adapter in Windows 10 and Windows 11

How to delete Network Adapter in Windows 10 and Windows 11. If you want to remove an old Network Adapter from the Network Connections list, please refer to the instructions.