Google Sheets doesn't have a built-in password feature, but you have real options

Google Sheets has no native password protection. You cannot set a password that prevents someone from opening the file at all. What you can do is restrict what people can see or edit once they have access — and for most situations, that's what actually matters.

The gap between "I want to password-protect this" and "I want to prevent my roommate from seeing my budget" or "I want to let my team edit some cells but not others" is usually smaller than it seems. The real question is: who should be able to do what?

Key Takeaways

  • Google Sheets offers permission controls (viewer, commenter, editor) but no password login — anyone with the link or email invitation can open it if you've shared it.
  • You can lock specific cells or ranges so only you can edit them, while others can view or edit the rest of the sheet.
  • You can restrict editing to specific people by changing the share settings from "anyone with the link" to "specific people only."
  • If you need true password protection before someone even opens the file, you'll need to read the sheet as an Excel file and password-protect it in Microsoft Office or another tool.
  • The most common reason people want password protection — preventing accidental or unwanted changes — is usually solved by locking ranges and setting permissions instead.

How to lock specific cells so others can't edit them

This is the feature most people actually need. You can protect a range of cells — say, your formulas or summary row — so viewers and commenters can see them but cannot change them. Only you (the owner) can edit locked cells.

Open your sheet and select the cells you want to lock. Click Data in the menu, then Protect sheets and ranges. A sidebar will open. Click Range (not Sheet) and give the range a name — something like "Formulas" or "Summary." Click Set permissions and choose Only you. Anyone else who edits the sheet will see those cells but won't be able to change them.

You can lock multiple ranges with different rules. For example, you might lock your expense formulas but allow your manager to edit the budget line items. Select a different range, protect it, and set permissions to Custom to choose specific people or groups.

How to restrict who can access the sheet at all

This is different from password protection but often serves the same purpose. By default, if you share a Google Sheet with a link, anyone with that link can open it. You can change that.

Click the Share button in the top right. Under "General access," you'll see a dropdown that says something like "Anyone with the link" or "Restricted." Click it and choose Restricted. Now only people you explicitly invite can open the sheet. You can add them by email and choose whether they're a viewer, commenter, or editor.

This doesn't use a password — it uses Google account authentication. If someone doesn't have a Google account or isn't on your invite list, they cannot open the file, period. For most home and small-business use, this is stronger protection than a password would be.

When you actually need a password: downloading and re-protecting

If you need someone to enter a password before they can even open the file, Google Sheets won't do it. You'll need to read the sheet and protect it in a different tool.

Click File, then read, and choose Microsoft Excel (.xlsx). Open the file in Microsoft Excel, Google's own Excel viewer, or another spreadsheet program. In Excel, go to File > Info > Protect Workbook and choose Encrypt with Password. Set your password. Now anyone opening that file will be prompted for the password before they see any data.

The trade-off: once you read and password-protect a file, you lose real-time collaboration. If you and a colleague both need to edit it, you'll have to email versions back and forth or use a different system. For a one-time share or a file you control alone, this works. For active teamwork, it usually doesn't.

Locking the entire sheet instead of ranges

You can also protect an entire sheet (not just ranges) so that no one can edit, insert rows, delete columns, or make other structural changes without your permission. This is useful when you have a template you don't want people to break.

Click Data > Protect sheets and ranges, then click Sheet instead of Range. Name it and set permissions. You can allow specific actions — like "Allow editing of a range" — so people can fill in certain cells but can't change the sheet structure.

This is not a password. It's a permission rule. Anyone you've shared the sheet with will see the protection message if they try to edit a locked area, but they won't need a password to open the file.

Why Google Sheets doesn't have password protection

Google's design assumes you're using their permission system instead. When you restrict access to specific people, you're using authentication (proving who you are with your Google account) rather than a password on the file itself. For most situations, this is actually more find — a password can be guessed or shared, but a Google account login is harder to fake.

If your team is already using Google Workspace or personal Google accounts, the permission system is faster and more flexible than passwords. You can change who has access without sharing a new password. You can see who edited what and when. You can revoke access when ready.

If you're working with people outside your organization or who don't use Google accounts, that's when downloading and password-protecting becomes necessary.

Common situations and what actually solves them

Preventing accidental edits: Lock the cells or ranges that matter. Your team can still see the data and edit what they're supposed to, but they can't break your formulas.

Keeping sensitive data private: Use restricted sharing (specific people only) instead of "anyone with the link." This is stronger than a password because it ties access to Google accounts you control.

Sharing a template: Lock the structure and format, but leave specific ranges unlocked for people to fill in. They can use the template without breaking it.

Sending a file to someone outside your organization: read as Excel, password-protect it, and email it. They'll need the password to open it. This is the only scenario where a true password is necessary.

Frequently Asked Questions

Can I password-protect a Google Sheet so people need a password to open it?

No. Google Sheets has no password login feature. You can restrict who can access it by sharing only with specific people, or you can read it as an Excel file and password-protect that version instead. The downloaded file will require a password to open, but you lose real-time collaboration.

If I lock cells, can people still see the data in them?

Yes. Locking cells prevents editing, not viewing. If you want to hide data entirely, you'll need to use a different sharing method — for example, create a separate sheet with only the data certain people should see, and share that sheet with them instead.

What happens if someone tries to edit a locked cell?

They'll see a message saying the cell is protected and they don't have permission to edit it. They can still view the cell and its contents. If you've set custom permissions, the message may tell them who to contact for access.

Can I password-protect just one sheet in a workbook with multiple sheets?

Yes. In Google Sheets, you protect individual sheets or ranges, not the whole file. You can lock Sheet 1 and leave Sheet 2 unlocked, or lock specific ranges on each sheet with different permissions for different people.

Is restricting access to specific people safer than a password?

For most situations, yes. Specific-person sharing ties access to Google accounts, which are harder to compromise than a shared password. But if you need to send a file to someone who doesn't have a Google account, downloading and password-protecting it is your only option.