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 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 (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 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 (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. 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 (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 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 (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 the following:
    (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.

    How to Find Your Microsoft Office Product Key (9)

  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 (10)

  2. Typecmdand select Run as administrator from the search results.

    How to Find Your Microsoft Office Product Key (11)

  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 (12)

  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 (13)

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 (14)

  2. When you find the PIN, type it in on this Microsoft website.

    How to Find Your Microsoft Office Product Key (15)

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 (16)

  2. Tap “View product key” and then locate it on the screen.

    How to Find Your Microsoft Office Product Key (17)

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 Microsoft Workplace Discount Program

Your Mac could be using the Microsoft Workplace Discount 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 Workplace Discount Program.

    How to Find Your Microsoft Office Product Key (18)

  2. Type your country or region and work email address.

    How to Find Your Microsoft Office Product Key (19)

  3. Select Don’t Know Your Program Code and Tap Verify Email.

    How to Find Your Microsoft Office Product Key (20)

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.

Related Posts

The Best Webinar Platforms to Sell a Product OnlineWhat Is the Option Key on a Windows Keyboard?How to Get Your Private Key in Trust WalletHow To Get your Stream Key for TwitchHow to Set an Out of Office Automatic Reply in OutlookHow To Set an Out-of-office in Google CalendarHow To Delete All Blank Columns in Microsoft ExcelHow To Password Protect in Microsoft ExcelHow to Fit a Table to the Page in Microsoft Word

How to Find Your Microsoft Office Product Key (2024)

FAQs

How to Find Your Microsoft Office Product Key? ›

On the My account page, choose Subscriptions. You'll see the services that you're licensed to use, such as the latest desktop version of Microsoft 365, SharePoint in Microsoft 365 or OneDrive for work or school, and Exchange Online.

How do I check my Microsoft Office license? ›

On the My account page, choose Subscriptions. You'll see the services that you're licensed to use, such as the latest desktop version of Microsoft 365, SharePoint in Microsoft 365 or OneDrive for work or school, and Exchange Online.

How do I find my Microsoft Office product key from command prompt? ›

Tip 3. Run CMD to Find Office Product Key
  1. Search CMD in the search box and run as administrator.
  2. Type the following command according to your needs. Office 2013 (32-bit)(Win32-bit): cscript "C:\Program Files\Microsoft Office\Office15\OSPP.VBS" /dstatus. ...
  3. Your product key should appear here.
Nov 23, 2023

How do I find my Office version with product key? ›

If you have Windows, open a Word document, choose File from the top left corner, and then click either Account or Help on the left nav bar. You'll see your Office version and information under Product information, on the right side of the window.

How to check product key in Windows 10? ›

Replies (6) 
  1. Press the Windows key and R keys, simultaneously.
  2. Type cmd in the run dialogue box. and hit the - Enter key.3.
  3. in the resulting cmd.exe window type this code.
  4. wmic path softwareLicensingService get OA3xOriginalProductKey. After entering the above commnad .. press - Enter.
Dec 2, 2023

How do I retrieve my Microsoft Office product key? ›

Here's how to view your product key in the Microsoft Store: Go to www.microsoftstore.com. In the upper right-hand corner, select Sign in and enter the user ID and password you used to buy Office. After you sign in, select your name in the upper right-hand corner, and then select Order History.

How to find product key for Microsoft Office already installed? ›

Log into your Microsoft account and go to “Digital Content” or “Product Key” sections. You can view and obtain the product key from there.

Where is my Microsoft product key stored? ›

Generally, if you bought a physical copy of Windows, the product key should be on a label or card inside the box that Windows came in. If Windows came preinstalled on your PC, the product key should appear on a sticker on your device.

How to activate MS Office without product key? ›

You activate Microsoft 365 by signing in with a Microsoft account. If we detect your Microsoft account, we'll show it on this screen. After you sign in, your product is added to your Microsoft account, so that you can reinstall it later, or manage your new subscription, without a product key.

How do I transfer Microsoft Office to another computer? ›

Understanding the transfer process
  1. Deactivate License: Open any Office app on old computer. ...
  2. Uninstall Office: Go to Control Panel on old computer. ...
  3. Sign in to Microsoft Account: ...
  4. Download & Install Office: ...
  5. Activate License on New Computer: ...
  6. Transfer Files:

What is Microsoft product key ID? ›

A product key is a 25-character code that's used to activate Windows and helps verify that Windows hasn't been used on more PCs than the Microsoft Software License Terms allow.

How do I check my Microsoft Office activation status? ›

Click on File tab. Select Account. On the right-hand side of the screen, you will see the product activation information as displayed below.

How do I find my Office 21 product key? ›

  1. Sign into your Microsoft Account (MSA): Account.Microsoft.com/Account.
  2. Click "Services and subscription" and scroll down to "Products you've purchased" (Figure 35). ...
  3. Click "Copy Key" and then click "Install" (the Office installer will download and reinstall Office on your computer).
Feb 23, 2024

How do I find my Microsoft product key for Windows 10? ›

If you still don't find it, log into the Microsoft Store > Downloads > Product Keys > Subscription page. Then click the Digital Content tab to see your previous purchases along with your product key.

How to find Microsoft Office product key using command prompt? ›

How to Find Your Microsoft Office Product Key
  1. Run “Command Prompt” as Administrator.
  2. Type the following: cscript “C:\Program Files (x86)\Microsoft Office\Office16\OSPP. ...
  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.)
Sep 13, 2023

How do I know what Windows product key I have? ›

Get the Windows Central Newsletter
  1. Open Start.
  2. Search for Command Prompt, right-click the top result, and select the Run as administrator option.
  3. Type the following command to determine the license type and press Enter: slmgr /dli.
Jan 18, 2024

How do I check my Microsoft Office activation? ›

To check the activation status in Windows 10 or 11, select the Start button.
  1. Select Settings icon.
  2. Select Update & Security, and then select Activation. This page indicates whether Windows is activated.
Feb 23, 2024

How to check Microsoft Office license validity? ›

Option 1 Using Microsoft 365 Admin Center
  1. Login to the Microsoft 365 admin center.
  2. To check Office 365 license expiry date in admin portal, navigate to Billing»Your Products.

How do I find my Microsoft Windows license? ›

The product key is in the confirmation email you received after buying your digital copy of Windows. Microsoft only keeps a record of product keys if you purchased from the Microsoft online store. You can find out if you purchased from Microsoft in your Microsoft account Order history.

Where can I find my product key on my Microsoft account? ›

Method 2: Using the Microsoft account website
  1. Login to the Microsoft account on their website.
  2. Go to the “Services & subscriptions” section.
  3. Find the Microsoft 365 subscription in the list and select it.
  4. You'll find the product key under the “Product keys” section on the details page.

Top Articles
Latest Posts
Article information

Author: Ray Christiansen

Last Updated:

Views: 6307

Rating: 4.9 / 5 (49 voted)

Reviews: 80% of readers found this page helpful

Author information

Name: Ray Christiansen

Birthday: 1998-05-04

Address: Apt. 814 34339 Sauer Islands, Hirtheville, GA 02446-8771

Phone: +337636892828

Job: Lead Hospitality Designer

Hobby: Urban exploration, Tai chi, Lockpicking, Fashion, Gunsmithing, Pottery, Geocaching

Introduction: My name is Ray Christiansen, I am a fair, good, cute, gentle, vast, glamorous, excited person who loves writing and wants to share my knowledge and understanding with you.