How to Password Protect a Google Doc
You can't password protect a Google Doc itself, because Google Docs has no password setting. With sharing set to Restricted, a doc opens only for the Google accounts you add, so their sign-in does the job a password would. When you need a real password or passcode, you put it on a copy: a PDF sent through Gmail's confidential mode, or a Word or PDF file you encrypt on your own computer.
Last updated: October 2026
Quick Answer
Google Docs has no password option. The closest built-in lock is restricted sharing: click Share, set General access to Restricted, and add only the people who should see the doc. Each of them has to sign in with that Google account to open it. For a true password, download the doc as a PDF and email it with an SMS passcode in Gmail's confidential mode, or encrypt a Word or PDF copy.
At a glance
What Works Instead of a Password
Google's own help on Office files puts it plainly: "Native Google Docs, Sheets, and Slides don't support passwords." Each workaround guards against something different, so start with what worries you: strangers finding the doc, people you trust copying it, or the file opening without a password.
| Option | What it stops | What it doesn't | Who can use it |
|---|---|---|---|
| Restricted sharing | Anyone you haven't added from opening the doc | People you added copying or retyping it | Every Google account |
| Download, copy and print turned off | Those menu options, for the roles you pick | Screenshots and phone photos | Every Google account |
| Access expiration | Access after a date you set, up to a year out | Anything they saved before that date | Work and school accounts |
| Gmail confidential mode | Opening without the SMS code, plus forwarding, copying, printing and downloading | Screenshots and phone photos | Gmail, unless a work or school admin turns it off |
| Password on a Word or PDF copy | Opening the file without the password | Anyone you give the password to | The Word desktop app, or Preview on a Mac |
| Client-side encryption | Google's servers and third parties reading the content | People you share it with | Enterprise Plus, Education Standard and Plus, Frontline Plus |
For most docs, restricted sharing plus the download setting is enough, and neither changes how the doc works for the people you invite. The other options trade some convenience for a real passcode or encryption.
Method 2: Send It With a Passcode (Gmail Confidential Mode)
For an actual passcode, use Gmail. Its confidential mode can make the recipient type in a code sent to their phone by text, and it switches off forwarding, copying, printing and downloading for the message and its attachments. You also pick a date when it expires.
Send the doc as a PDF attachment, not as a link. Google says the expiration date and passcode "affect how recipients access the message text and any attachments." A Google Doc goes into Gmail as a Drive link instead, and Gmail asks you to change the doc's own sharing so your recipients can open it. So a PDF stays behind the passcode, and a link to the doc doesn't.
On a computer
- In the doc, click File › Download › PDF Document (.pdf).
- In Gmail, click Compose and attach the PDF.
- At the bottom of the compose window, click Toggle confidential mode (the padlock with a clock).
- Choose when the email should expire.
- Under the passcode options, choose SMS passcode, then click Save.
- Click Send. When Gmail asks for phone numbers, enter the recipient's, not yours.
In the Gmail app
Tap Compose, then More options at the top right, then Confidential mode. Turn it on, set the expiration, choose a passcode option and tap Save. One label differs by platform: the apps call the no-text option Standard, while Gmail on a computer calls it No SMS passcode. With that option, Gmail users open the email directly and everyone else gets the passcode by email.
To cut access before the expiry date, open Sent, open the email and click Remove access.
What it can't stop. Google says recipients "can still take screenshots or photos of your emails," and that "recipients with malicious programs may still be able to copy or download your messages." SMS passcodes only work for phone numbers from some regions: Google lists North America, South America, Europe, Australia, India, Korea and Japan. On a work or school account, your admin can turn confidential mode off for the whole organization.
Method 3: Put a Real Password on a Word or PDF Copy
If the file itself has to ask for a password, make a copy that isn't a Google Doc. The copy won't change when you edit the original, and nobody can work on it together in Docs, so do this last, once the content is final. One catch if you keep a locked Word copy in Drive: opening it there asks for the password, then offers Preview or Edit. Edit opens it in Docs and removes the password from the file for all users, so choose Preview (Google's Office files help).
Windows: Word
- In Google Docs, click File › Download › Microsoft Word (.docx).
- Open the file in the Word desktop app.
- Click File › Info › Protect Document › Encrypt with Password.
- Type a password, click OK, type it again and click OK.
- Save the file. The password only takes effect once you save.
Want a locked PDF instead? In Word for Windows, choose File › Save a Copy and pick PDF as the file type. Click Options (under More Options in some versions), tick Encrypt the document with a password and click OK. Type the password twice, then save. These steps follow Microsoft's help on password-protecting a Word document and on saving as PDF.
Mac: Word or Preview
In Word for Mac, click Review › Protect › Protect Document, then set a password to open the file under Security.
No Word? Preview, the PDF viewer built into macOS, can lock a PDF:
- In Google Docs, click File › Download › PDF Document (.pdf), then open the PDF in Preview.
- Choose File › Export. Give it a new name if you want to keep an unlocked original.
- Click Permissions, select Require Password To Open Document and type the password twice.
- Type an Owner Password twice as well. Anyone who wants to print or change the PDF needs it, unless you tick those permissions.
- Click Apply, then Save.
Word can't recover a lost password. Microsoft says passwords are case-sensitive, can be up to 15 characters, and that if you forget one, "Word won't be able to recover it for you." Word for the web can't add a password at all, so use the desktop app. And send the password a different way from the file, by text or on a call.
Method 4: Client-Side Encryption (Work and School Accounts)
This is the one way Google offers to add your own layer of encryption to a doc and keep editing it in Docs. It needs Google Workspace Enterprise Plus, Education Standard, Education Plus or Frontline Plus, and your admin has to set it up first (Google's admin overview). Docs files are already encrypted in transit and at rest. Client-side encryption adds a separate layer on top, and Google says neither its servers nor third parties can decrypt it.
- New encrypted doc: in Drive, click New, point to the arrow next to Docs and choose Blank encrypted document. From inside a doc, it's File › New › New encrypted document.
- Encrypt an existing doc: click File › Make a copy and select Add additional encryption.
It still isn't a password prompt. People you share with prove who they are through your organization's sign-in, and Google lists real trade-offs:
- Only one person can edit an encrypted file at a time.
- No editing in the mobile apps, no add-ons and no downloading.
- Encrypted docs max out at 100 MB.
- Encrypting an existing doc turns checklists and embedded drawings, charts and tables static, and removes eSignature fields.
Third-Party Encryption Apps and Online PDF Lockers
Check what a tool actually locks before you trust it. Vault apps such as Cryptomator encrypt files on your own computer before they sync to cloud storage. That works for a Word or PDF copy you keep in Drive. A Google Doc lives on Google's servers, though, and never passes through the vault.
Most free "protect PDF" websites, Adobe's included, upload your file to their servers to lock it. For a file sensitive enough to need a password, that's the wrong way round. Word and Preview do the same job without the file leaving your computer.
Troubleshooting
- People I never added can open it. General access is set to Anyone with the link. Switch it to Restricted. Google says a few anonymous animals can linger even then, from old sessions, messaging apps that scan links for threats, or browser extensions that open links on their own.
- There's no Add expiration option. Expiration dates are only for work and school accounts, and on a folder they only work for the Viewer role.
- I can't change who has access. Only the owner can share, plus editors unless the owner switched that off. A shared folder's settings override the file's, and work or school admins can limit sharing outside the organization.
- Gmail has no confidential mode button. On a work or school account, your admin may have turned it off.
- The passcode text never arrived. Check the phone number you entered for them, and that it's from one of the regions Google sends SMS passcodes to.
- I forgot the password on my Word or PDF copy. Word can't recover it. Download a fresh copy from the Google Doc and lock that instead, which is one good reason to keep the original in Docs.
Frequently Asked Questions
Can you password protect a Google Doc?
No. Google Docs has no password setting. The closest built-in option is restricted sharing, where only the Google accounts you add can open the doc. For an actual password, put it on a copy: a PDF sent with an SMS passcode in Gmail confidential mode, or a Word or PDF file you encrypt in Word or Preview.
Can I password protect a folder in Google Drive?
No, folders take no passwords either. Restrict the folder the same way: right-click it in Drive, click Share and set General access to Restricted. Anyone you share a folder with can open the files inside it, so share the smallest folder that does the job.
How do I stop people from downloading or copying my Google Doc?
Click Share, then Settings (the gear). Under People who can download, copy, print, and access, untick Editors, Commenters and Viewers, or both. That removes the menu options, but it cannot stop screenshots.
Does Gmail confidential mode protect a Google Doc link?
No. Confidential mode covers the email and its attachments, but a Google Doc goes into Gmail as a Drive link, and that link follows the doc's own sharing settings. To keep the content behind the passcode, download the doc as a PDF and attach the PDF.
Can I password protect a Google Doc on my iPhone or Android phone?
Not with a password. In the Google Drive app, tap More next to the doc, then Manage access, and set General access to Restricted. To send it with a passcode, attach a PDF copy in the Gmail app and turn on confidential mode: tap Compose, then More options, then Confidential mode.
Is restricted sharing secure enough?
For most documents, yes, as long as the accounts involved are secure. Each person has to sign in to the exact Google account you shared with, and a forwarded link only gets a stranger a Request access page. Turn on 2-Step Verification for your own account, since it opens every doc you own.
Teaching a team to share docs safely?
Record the steps once with the Deckoholic Chrome extension. It trims the pauses and ums, adds zooms and captions, and exports an MP4 or a step-by-step help doc.
Try Deckoholic Free