Appearance
How to Password-Protect a PDF or Word Document
Applies to: Microsoft Word and Excel (Microsoft 365, Office 2019 and later); Adobe Acrobat; Windows
Article Type: How-To
Last Updated: 2026-08-08
Summary
This guide adds an open password to a Word document, an Excel workbook, or a PDF, so the file demands the password before it shows a single page — on any computer, in any app. Understand the trade before you start: the encryption is real, and so is the consequence. A forgotten password cannot be recovered by you, by your IT department, or by Microsoft.
Before You Start
- The Word or Excel desktop app. The steps below match Microsoft 365; the same File > Info path exists in Office 2019 and later.
- A password you will not lose — store it in your password manager before the file goes anywhere.
- Know what the free tools can and cannot do: Adobe Acrobat Reader opens password-protected PDFs but cannot create them. Section 4 covers what actually can.
Instructions
1. Password-Protect a Word Document
This encrypts the file itself — from the next open, Word demands the password before showing the contents.
- Open the document in the Word desktop app and click File. The backstage view opens with Info selected.
- Click Protect Document, then choose Encrypt with Password from the menu.
- Type the password in the Encrypt Document dialog and click OK, then type it again to confirm and click OK. Choose a password you can retrieve later — a forgotten password is permanent, and no one can lift it for you.
- The Protect Document area is now highlighted and reads
A password is required to open this document.Save the file with Ctrl + S — the password takes effect from the next time the file is opened. - To remove the password later, open the file with the password, return to Protect Document > Encrypt with Password, delete the contents of the password box, click OK, and save. The file is back to normal — removal works only while you still know the password.
2. Save a Password-Protected PDF from Word
To send a protected copy that opens in any PDF viewer, export the PDF with encryption switched on.
- With the document open in Word, click File > Save As, then Browse, and pick a folder.
- In the Save As dialog, change Save as type to PDF (*.pdf). An Options... button appears in the dialog.
- Click Options..., tick Encrypt the document with a password at the bottom of the Options dialog, and click OK.
- Type the password twice in the Encrypt PDF Document dialog and click OK. Word requires 6 to 32 characters here and rejects anything outside that range.
- Click Save. The exported PDF now asks for the password in every viewer — Edge, Acrobat Reader, a phone — before showing any content. Your original Word file is unchanged and carries no password of its own unless you also followed section 1.
3. Protect an Excel Workbook the Same Way
Excel uses the identical path, and the same warnings apply.
- In Excel, click File > Info > Protect Workbook > Encrypt with Password, type the password twice, and save.
- Do not confuse this with sheet protection (Review > Protect Sheet): that stops accidental edits, but anyone can open and read the workbook — see How to Protect a Sheet or Workbook in Excel for when each applies.
4. Add a Password to a PDF You Already Have
The free Adobe Acrobat Reader has no way to add a password — these are the routes that work.
- Best case: you or a colleague still have the source document the PDF was made from. Add the password there and export a fresh protected PDF, following sections 1 and 2. The source file is always the cleanest place to do this.
- If the PDF is all you have, round-trip it through Word: open the PDF in Word (File > Open — Word converts it to an editable copy, as described in How to Convert a PDF to an Editable Word Document), then export it back to PDF with a password per section 2. Conversion can shift the layout — check the result page by page before sending it anywhere.
- If your team handles confidential PDFs routinely, the honest answer is the paid tier: full Adobe Acrobat (Standard or Pro) adds passwords directly — look for Protect a PDF in its tools list. Ask whoever manages software purchases whether a license exists before buying anything yourself.
- Do not use free "protect my PDF" websites for anything confidential. Uploading a sensitive file to an unknown server defeats the purpose of protecting it.
5. Share the File and the Password Separately
A password sent next to its file protects nothing.
- Send the protected file as you normally would — attachment, OneDrive link, or shared folder.
- Deliver the password through a different channel: a Teams message, a phone call, or in person. Never put it in the same email or the same thread as the file — anyone who reaches the mailbox gets both at once.
- A password protects the file wherever it lands, but the email it travels in is a separate exposure — to protect the message itself, see How to Encrypt an Email in Outlook.
- If your organization uses Microsoft 365 sensitivity labels, prefer them for internal documents: a label encrypts the file and controls exactly who can open it, with no password to share or lose — see How to Use Sensitivity Labels in Microsoft 365.
Troubleshooting
DANGER
There is no "forgot password" for an encrypted document. Microsoft has no reset process, IT cannot bypass the encryption, and recovery tools do not work on modern Office files. Store the password in your password manager the moment you set it, and keep the unprotected original in a location only you can open, such as your own OneDrive.
| Symptom / Error | Potential Cause | Solution |
|---|---|---|
| Encrypt with Password is grayed out | The file is read-only or opened in Protected View | Click Enable Editing in the yellow bar, or save a local copy and retry. If it is still locked, your organization manages protection centrally — ask IT: "Ask IT to confirm whether a sensitivity-label policy replaces manual document passwords, and include the file's location and name." |
| The Options button shows no encryption checkbox | Save as type is not set to PDF | Pick PDF (*.pdf) first — the contents of the Options dialog change with the chosen file type. |
| Word rejects the PDF password | Outside the allowed length | Word's PDF encryption requires 6 to 32 characters — pick a password inside that range. |
| The recipient says the password does not work | Typo, autocorrect, or case mismatch | Passwords are case-sensitive. Read it out over a call, or paste it into a chat message where autocorrect cannot rewrite it. |
| You forgot the password | No recovery exists for encrypted files | Rebuild the document from the unprotected original or the source material. This is why the password goes into a password manager at the moment you set it. |