The fastest way to lock a Word document
The simplest method is to set a password that someone must enter to open the file. In Microsoft Word on Windows or Mac, go to File > Info > Protect Document > Encrypt with Password. Type a password twice to confirm it, then save the file. Anyone who tries to open it will see a password prompt before the document appears.
This password-protection is built into Word itself and works across Windows, Mac, and the web version. The document remains a normal .docx file — you do not need special software to open it, only the correct password. If you forget the password, Microsoft cannot recover it, so write it down somewhere safe or use a password manager.
For Google Docs, the process is different: you cannot encrypt the file itself, but you can restrict who can view or edit it by changing the share settings. This protects the document through Google's servers rather than through encryption on the file.
Key Takeaways
- Word's built-in encryption (File > Info > Protect Document > Encrypt with Password) is the fastest way to lock a document with a password.
- The password must be entered every time someone opens the file, and Microsoft cannot recover a forgotten password.
- Encrypted Word documents remain .docx files and open in any version of Word without additional software.
- Google Docs does not support file-level encryption, but you can restrict access by changing share permissions instead.
- For maximum security, use a strong password with uppercase, lowercase, numbers, and symbols.
Password protection versus full file encryption
Word's built-in password feature protects the document from being opened without the password, but it does not encrypt the file's contents on your computer's hard drive. If someone gains access to your computer itself, they may be able to recover the file through other means.
For stronger security, you can encrypt the entire file using your operating system's built-in tools. On Windows, right-click the file, select Properties > Advanced, check Encrypt contents to secure data, and click OK. On Mac, use Finder > select the file > File > Compress to create an encrypted .zip archive, or use third-party encryption software like VeraCrypt.
For most people, Word's password protection is sufficient. Full file encryption is more useful if you store sensitive documents on a shared computer or an external drive that could be physically stolen.
Protecting specific sections or tracked changes
If you want to lock only certain parts of a Word document while leaving other sections editable, use Protect Document > Restrict Editing. This lets you choose which sections are locked and which remain open for editing or comments.
You can also protect a document to allow only tracked changes, preventing anyone from making direct edits without showing what was changed. Go to Review > Protect Document > Restrict Editing and select Tracked changes only. This is useful for shared documents where you want to see every modification.
These options do not encrypt the file — they only prevent editing without a password. Someone determined to modify the document can still remove the protection through workarounds, so this method is best for preventing accidental changes rather than securing sensitive information.
Encrypting Word documents on shared cloud storage
If you store Word files in OneDrive, Google Drive, or Dropbox, the files are encrypted during transfer to the cloud, but they are decrypted on the server. Anyone with access to your cloud account can read them. Password-protecting the Word file itself adds a second layer of security.
For OneDrive specifically, you can also enable Personal Vault, which stores files in a separate encrypted folder that requires additional authentication. Open OneDrive, select Files > Personal Vault, and upload sensitive documents there. This protects them even if someone gains access to your OneDrive account.
If you use Google Drive, consider downloading the file, password-protecting it in Word, and then uploading the protected version. This way, even if someone shares the link with you or gains access to your Drive, they still cannot open the document without the password.
Removing password protection from a Word document
If you have the password, you can remove it by opening the file, going to File > Info > Protect Document > Encrypt with Password, and leaving the password field blank. Save the file, and the password protection is gone.
If you have lost the password, there is no built-in recovery method in Word. Some third-party tools claim to crack Word passwords, but their success depends on password strength and Word version. For documents created in older versions of Word (pre-2007), password recovery is sometimes possible. For newer versions with strong passwords, recovery is extremely difficult.
The best approach is to keep a record of important passwords in a password manager like Bitwarden, 1Password, or Dashlane, which can store and retrieve them securely.
Comparing encryption methods for different situations
| Method | Best For | How Strong | How to Use |
|---|---|---|---|
| Word password protection | Preventing accidental opening; sharing with trusted people | Moderate — protects from casual access | File > Info > Protect Document > Encrypt with Password |
| Operating system encryption (Windows) | Protecting files on your computer or external drive | Strong — encrypts the entire file | Right-click file > Properties > Advanced > Encrypt contents |
| OneDrive Personal Vault | Cloud storage with extra security | Strong — requires additional authentication | OneDrive > Files > Personal Vault > Upload file |
| Restrict Editing (tracked changes only) | Collaborative documents where you want to see all changes | Weak — prevents editing but not determined tampering | Review > Protect Document > Restrict Editing |
Frequently Asked Questions
Can I password-protect a Word document on my phone or tablet?
Yes, but the process varies by app. In Microsoft Word for iPhone or iPad, open the document, tap File > Info > Protect Document > Encrypt with Password. On Android, the steps are similar. Google Docs on mobile does not support file-level encryption, but you can restrict access through share settings.
What happens if I forget the password to my encrypted Word document?
Microsoft cannot recover it. You will need to use a third-party password recovery tool, which may or may not work depending on the password strength and Word version. For future documents, store passwords in a password manager or write them down in a secure location.
Does password-protecting a Word document hide it from antivirus scans?
No. Antivirus software can still scan password-protected Word files for malware. The password only prevents someone from opening and reading the contents without entering it first.
Can I encrypt a Word document and still allow comments?
Yes. Use Review > Protect Document > Restrict Editing and select Comments only. This lets people add comments without editing the main text, and you can password-protect this setting. You can also password-protect the document separately using Encrypt with Password for an additional layer of security.
Is Word's password protection strong enough for confidential business documents?
For most business purposes, yes — it prevents casual access and is suitable for sharing with colleagues. For highly sensitive information like financial records or trade secrets, combine Word's password with operating system encryption or store the file in a Personal Vault or encrypted folder for additional security.