To lock a sheet in Google Sheets, open it on a computer, select Data > Protect sheets and ranges, choose the sheet, and restrict editing permissions to Only you. This protects the selected tab while leaving other tabs under their existing permissions. The spreadsheet owner always retains editing rights, even when someone else creates the protection.
You can also allow specific people to edit, leave input cells editable, or protect selected formulas. If someone should have no editing access to any tab, change their whole-file sharing role to Viewer or Commenter.
The short version
- Lock one tab: Create a sheet protection and select Restrict who can edit this range.
- Keep inputs editable: Check Except certain cells when protecting the sheet.
- Block edits throughout the file: Change collaborators to Viewer or Commenter and review link access.
- Use a computer: Create sheet and range protections in the web app; mobile apps support whole-file sharing controls.
| Option | What it affects | When to use it |
|---|---|---|
| Only you | One protected tab | Limit editing to you and the owner |
| Custom | One protected tab or range | Allow selected collaborators to edit |
| Copy permissions from another range | A new or existing protection | Reuse an existing editor allowance |
| Except certain cells | A sheet excluding specified cells | Leave input fields editable |
| Range protection | Selected cells, rows, or columns | Protect formulas or headers |
| Show a warning when editing this range | A chosen sheet or range | Prompt before edits without blocking them |
| Viewer sharing | The entire spreadsheet | Allow viewing without content edits |
| Commenter sharing | The entire spreadsheet | Allow feedback without content edits |
| General access roles | Access through the selected audience | Remove editing rights from link access |
| Restricted | Broad link access | Keep access limited to separately authorized people |
| Editors can change permissions and share | Editors’ sharing permissions | Limit further sharing without removing editing rights |
| Mobile sharing controls | The entire spreadsheet | Share without editing rights from your phone |
| Mobile access removal | A selected person’s access | Remove their access to the file |
| Excel conversion | A separate Google Sheets file | Make native sheet protection available |
| Toolbar or menu search | Access to the protection command | Find the controls another way |
| Parent folder permissions | Access inherited by folder contents | Remove editing rights granted through a folder |
Lock an entire sheet
On a computer, open the spreadsheet and select Data > Protect sheets and ranges. Click Add a sheet or range, select Sheet, and choose the tab you want to protect.
Click Set permissions, then select Restrict who can edit this range. Choose Only you and click Done. Although the permission label says “range,” it applies to the whole tab when you select Sheet.
Repeat these steps for any additional tabs you want to protect. Protecting one sheet does not apply the same restriction to every tab in the spreadsheet.
Allow specific people to edit
Follow the same steps to select the tab, click Set permissions, and select Restrict who can edit this range. Choose Custom instead of Only you, specify the permitted collaborators, then click Done. The owner keeps editing access regardless of your selection.
To adjust an existing protection, open Data > Protect sheets and ranges and select it. Click Change permissions, select Restrict who can edit this range, update who can edit, and click Done.
To reuse another protection’s permissions, create or select a protection and click Set permissions or Change permissions. Select Restrict who can edit this range, choose Copy permissions from another range, select the existing protection, and click Done.
Leave input cells editable
For a calculator or template, you can protect the sheet while leaving its input fields editable. Open Data > Protect sheets and ranges, click Add a sheet or range, select Sheet, and choose the tab. Check Except certain cells, then specify the cells that should remain editable.
Click Set permissions and select Restrict who can edit this range. Choose who may edit the protected portion, then click Done. The excluded cells remain outside that sheet protection, so collaborators can enter values there under their existing file permissions.
Make the whole spreadsheet view only
Use sharing permissions when someone should be able to view the spreadsheet without editing any tab. In Google Drive, right-click the spreadsheet and select Share. Open the role dropdown beside each person or group, select Viewer, and click Save.
Choose Commenter when someone should be able to leave feedback without changing cell content. Review every access grant that permits editing, since reducing one grant does not cancel another. You need permission to manage access to make these changes.
Next, review General access in the sharing window. For Anyone with the link, set the role to Viewer or Commenter, then click Done. To disable broad link access entirely, select Restricted and click Done. Named people and groups keep their separately granted access.
As the owner, you can also open Share > Settings, uncheck Editors can change permissions and share, then click Done. This limits further sharing but does not stop existing editors from editing. Access granted through a parent folder also needs separate attention.
Protect formulas or selected cells
Use range protection when only part of a tab needs a lock. After you multiply values in Google Sheets, you can protect the formula cells while keeping surrounding inputs editable. You can also protect a header range after you rename columns in Google Sheets.
Select Data > Protect sheets and ranges, then click Add a sheet or range and choose Range. Enter the range or use the spreadsheet icon to select the cells, rows, or columns. Click Set permissions, select Restrict who can edit this range, choose the permitted editors, and click Done.
Add separate protections for additional ranges as needed. If you only want headers to stay visible while scrolling, you can freeze a row in Google Sheets, but freezing does not prevent edits.
Show a warning before edits
To reduce accidental changes without blocking editing, create a sheet or range protection through Data > Protect sheets and ranges and click Set permissions. Select Show a warning when editing this range, then click Done. This can also warn you before making your own accidental edits.
Anyone who receives the warning can confirm and continue with the change. If you need to stop someone from editing, choose Restrict who can edit this range instead, select the permitted editors, and click Done.
Change sharing from your phone
Google directs you to a computer to create sheet or range protection on Android, iPhone, and iPad. From your phone, you can share the entire spreadsheet without editing rights. In the Google Drive app, select the file, open Share, enter the person or Google Group, choose Viewer or Commenter, and tap Send. Review any existing editing grants too, because sharing without editing rights does not cancel another grant.
To remove someone’s access, tap More beside the spreadsheet, open Manage access, select the person, and tap Remove. To disable broad link access, under General access tap Change, tap the current audience, and select Restricted. These controls affect the whole file, and access inherited from a folder may require changes at that folder.
Fix missing controls or continued editing
If your spreadsheet is an Excel file opened in Office editing mode, convert it before applying native Sheets protection. In Google Drive on a computer, double-click the Excel file, then select File > Save as Google Sheets. Apply protection to the new Sheets file through Data > Protect sheets and ranges. The original Excel file remains separate.
To reach the protection command another way, click Search in the toolbar or open Help > Search the menus. Search for Protect sheets and ranges and select it. You can also open search with Alt + / on Windows or ChromeOS, or Option + / on Mac. These shortcuts open search; you still need to configure the protection.
When someone can still edit a protected tab, review its permissions for a warning-only setting or an editor allowance. The owner always retains editing rights, so sheet protection cannot lock the owner out. If the issue concerns whole-file sharing, review both named collaborators and link access.
A spreadsheet can't be less accessible than the folder it's in, so you can't reduce folder-inherited editing access on the file itself. Either change the person's role at the parent folder or move the spreadsheet to a folder that doesn't grant them editing access. To change the folder, right-click the parent folder in Drive, select Share, reduce the relevant person or group to Viewer or Commenter, and save the change. Changing folder permissions affects its other contents too, and separate file-level editing grants still need review.
Frequently Asked Questions
Can you password protect a sheet in Google Sheets?
Google Sheets does not provide password protection for sheets or ranges. You cannot require a password to edit protected cells.
Does protecting a sheet stop people from copying or exporting it?
No, sheet protection does not prevent copying or exporting content. You should not use it to keep visible information confidential.
Can you lock formatting while allowing people to change values?
Google Sheets protection cannot lock formatting while allowing value edits in the same cells. You cannot separate those permissions with sheet or range protection.
Does hiding a tab protect it from changes?
Hiding a tab does not protect it from edits. You still need to apply sheet or range protection if you want to restrict changes.
Can formula results change after you protect their cells?
Yes, formula results that reference external data can still change. Protecting those cells does not freeze their calculated results.











