Install and activate Office, Project and Visio
Install and activate Office, Project or Visio 2016 to 2024 on Windows: redeem the key online, enter it in an app, or install an LTSC edition.
Last checked
These steps are for the one-time-purchase versions of Office, Project and Visio on Windows: 2024, 2021, 2019 and 2016. They are not for Microsoft 365 subscriptions. For a Mac, see How to install and activate Office on a Mac.
A key for these products is used in one of three ways, depending on the edition. You do not need to know which in advance: Which way is mine? below tells you how to find out.
Before you start
- Have your licence key ready. It is in your delivery email and on your order page. Copy it with the Copy button instead of typing it.
- Sign in to Windows as an administrator, and connect to the internet.
- Remove other versions of Office first. Open Settings, Apps, find the old Office and choose Uninstall, then restart. Microsoft does not support two versions of the Office suite side by side.
- If Office is staying and you are adding Project or Visio, read Installing Project or Visio beside Office further down first.
Which way is mine?
- If the product's name has "LTSC" in it, such as Office LTSC Professional Plus 2024, go to Way 3.
- Otherwise, try Way 1. If Microsoft's setup site accepts the key, carry on with Way 1.
- If the setup site says the key cannot be used there, the key is one that is entered in the app itself. Use Way 2 if the product is already installed on the PC, or Way 3 to install it.
Stop after one failed try at each step. A key can be locked after too many attempts. If you are unsure, email us with your order number and we will tell you which way applies.
Way 1: redeem the key with a Microsoft account
This ties the product to a Microsoft account. Use an account you intend to keep, because reinstalling later is done by signing in to it.
- In a browser, go to setup.office.com.
- Sign in with your Microsoft account, or create one. It is free.
- Enter the 25-character key, choose your country or region and your language, and choose Next.
- Follow the page to the end. The product is now listed in your account.
- Go to account.microsoft.com, open Services & subscriptions, find the product and choose Install.
- Run the file that downloads and wait for the installation to finish.
- Open Word (or Project or Visio). If it asks you to sign in, use the same Microsoft account.
To reinstall later, sign in to your Microsoft account and install from Services & subscriptions again. You do not enter the key a second time.
Way 2: enter the key in an app that is already installed
- Open one of the apps: Word for Office, or Project or Visio.
- Choose File, then Account.
- Under Product Information, choose Change Product Key. On some versions the button says Activate Product.
- If a sign-in window appears, look for the link that lets you enter a product key instead, and choose it.
- Enter the key and follow the steps. The PC needs to be online.
- Close the app and open it again.
The product that is installed has to be the one the key is for, in both edition and year. A key for Office Professional Plus 2021 does not activate Office 2019, for example. If they do not match, uninstall and install the matching product.
Way 3: install a long-term servicing edition
Microsoft has no ordinary setup file for its long-term servicing editions of 2019, 2021 and 2024. They are installed with the Office Deployment Tool, a small free program from Microsoft. It takes about fifteen minutes.
- Download the Office Deployment Tool from Microsoft and run it. When it asks where to put its files, make a new folder such as
C:\ODTand choose that. - Open Notepad and paste in the text below. Put your own key in place of the Xs, and change the product and channel to match what you bought, using the list under the steps.
<Configuration>
<Add OfficeClientEdition="64" Channel="PerpetualVL2024">
<Product ID="ProPlus2024Volume" PIDKEY="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX">
<Language ID="en-us" />
</Product>
</Add>
<Display Level="Full" AcceptEULA="TRUE" />
</Configuration>
- Save it in the same folder with the name
configuration.xml. In Notepad's Save as type box choose All files, so that it is not saved as a text file. - Open the Start menu, type
cmd, right-click Command Prompt and choose Run as administrator. - Type
cd C:\ODTand press Enter. Then typesetup /configure configuration.xmland press Enter. - Wait while it downloads and installs. A window shows the progress.
- Open Word (or Project or Visio), choose File, then Account, and check that it says the product is activated. If it asks for a key, choose Change Product Key and enter it.
What to put for the product and the channel:
- Office LTSC Professional Plus 2024: product
ProPlus2024Volume, channelPerpetualVL2024 - Project Professional 2024: product
ProjectPro2024Volume, channelPerpetualVL2024 - Visio Professional 2024: product
VisioPro2024Volume, channelPerpetualVL2024 - Office Professional Plus 2021: product
ProPlus2021Volume, channelPerpetualVL2021 - Project Professional 2021: product
ProjectPro2021Volume, channelPerpetualVL2021 - Visio Professional 2021: product
VisioPro2021Volume, channelPerpetualVL2021 - Office Professional Plus 2019: product
ProPlus2019Volume, channelPerpetualVL2019 - Project Professional 2019: product
ProjectPro2019Volume, channelPerpetualVL2019 - Visio Professional 2019: product
VisioPro2019Volume, channelPerpetualVL2019
For the 32-bit version, change 64 to 32. To install Project or Visio beside Office in one go, add a second <Product ... > block for it, with its own key, inside <Add>.
The 2016 versions are different. Their long-term form comes as a setup program on installation media, which asks for the key as it runs. It is not installed with the Office Deployment Tool.
Microsoft's own instructions are in its guide to deploying Office LTSC 2024.
Check that it is activated
Open any of the apps, choose File, then Account. Under Product Information it should name the product you bought and say Product Activated.
Installing Project or Visio beside Office
Project and Visio are separate products with their own keys. Microsoft has rules for putting them on a PC that has Office:
- The same bit version. If Office is 64-bit, Project and Visio must be 64-bit too. In Word, File, Account, About Word says which you have.
- The same way of installing. Products that install by Click-to-Run cannot share a PC with products of the same year that were installed the older way, with Windows Installer. All the 2019, 2021 and 2024 products use Click-to-Run. In an Office app, File, Account shows an Update Options button when the installation is Click-to-Run.
- The same update channel. Products installed by Way 3 must use the same channel in their configuration files.
Microsoft sets out which combinations work in its guide to installing Office, Project and Visio together.
If it does not work
- The key is refused as not valid. Check it against your order page, character by character. Keys never contain the letters O or I, or the numbers 0 or 1.
- The message says the key is for a different product. What is installed does not match what the key is for. Uninstall it and install the matching edition and year.
- The setup site refuses the key. Do not keep trying there. See Which way is mine? above.
- It installs but will not activate. Make sure the PC is online, restart it and try once more.
If it still fails, work through If your key does not activate, then email us with your order number, the name of the product, and the exact wording of the error. If the key is faulty, you choose a replacement or a refund.