How to Turn Off Protected View in Excel

To work on a file once, click the Enable Editing button in the yellow bar at the top of the window. To stop the yellow bar appearing for every downloaded file, go to File → Options → Trust Center → Trust Center Settings → Protected View and uncheck the boxes there — but read the security note below before you do, because that lowers your protection on every file from then on.
Protected View tends to appear at the worst moment: a deadline is looming, you open the attachment a colleague sent, and Excel refuses to let you type. Getting past it takes one click. The harder question is whether to switch it off permanently — this guide covers both the quick fix and the safer alternatives, on Windows and on Mac.
What Protected View is and why it exists
Protected View is a read-only, sandboxed mode that Excel uses to open files it considers risky. When a workbook opens in Protected View, you can read it and scroll through it, but editing, macros, and most external connections are blocked until you explicitly allow them. The idea is to give you a chance to look at a file before any potentially malicious content in it can run.
Excel turns it on automatically in a few situations:
- Files from the internet — anything downloaded through a browser, downloaded from cloud storage, or saved from a chat app.
- Email attachments — workbooks opened directly from Outlook.
- Files in potentially unsafe locations — the Temp folder and similar system locations.
- Files that failed validation — a workbook that looks corrupt or was blocked by your File Block settings.
This matters because spreadsheet files are a genuine attack vector. Malicious macros and crafted file structures have been used to deliver malware for years, and Protected View exists specifically to put a barrier between “I double-clicked a file” and “code ran on my machine.” So the balanced advice is this: treat Protected View as a feature, not an obstacle. For a file you created or that came from a trusted colleague, click Enable Editing and move on. For a file you didn’t expect, or one from an unknown sender, leave it in Protected View and look before you allow it. Disabling the feature entirely is a convenience that trades away a real safety net.
The quick fix: Enable Editing
In almost every case this is all you need. When the workbook opens, look for the yellow message bar across the top that reads PROTECTED VIEW along with a short warning. Click the Enable Editing button on the right side of that bar.
The file reloads, the bar disappears, and you have full editing rights. This affects only the file in front of you — it is the right tool when you trust this particular workbook but still want Protected View guarding everything else. If you only opened the file to read it, you do not need to click anything; you can view and even print it while it stays sandboxed.
How to turn Protected View off in the Trust Center (Windows)
If you are constantly enabling the same kinds of files and want to stop the yellow bar appearing, you can change the underlying settings. This is a global change, so weigh it against the safer options in the next section first.
- Open Excel and click the File tab.
- Click Options (near the bottom of the left-hand menu).
- In the Excel Options window, click Trust Center in the left column.
- Click the Trust Center Settings button on the right.
- In the Trust Center window, click Protected View in the left column.
You will see three checkboxes:
- Enable Protected View for files originating from the Internet
- Enable Protected View for files located in potentially unsafe locations
- Enable Protected View for Outlook attachments
Uncheck whichever ones you want to disable, then click OK, and OK again to close Excel Options. Unchecking all three switches Protected View off completely. A more measured choice is to leave the internet box ticked — that is the riskiest category — and only uncheck the location or Outlook boxes if those are causing you grief.
While you are in that same Trust Center area, note that the Trusted Documents and File Block Settings sections live nearby; they interact with Protected View and are worth a look if you handle older file formats. Macros are governed separately under Macro Settings, so disabling Protected View does not automatically enable macros — see our guide on how to enable macros in Excel if a workbook’s automation still will not run.
Safer alternatives to switching it off
Turning Protected View off everywhere is rarely the right answer. Two built-in features let you skip the prompt for the files you trust without lowering your guard against everything else.
Trusted Locations. A Trusted Location is a folder that Excel treats as safe; files opened from it skip Protected View entirely. In the Trust Center, click Trusted Locations, then Add new location, browse to the folder, and confirm. Keep these folders local where possible — Excel warns against trusting network locations for good reason, since you do not control what others might drop there. This is the cleanest approach for a working folder where you save your own spreadsheets.
Trusted Documents. When you click Enable Editing on a specific file, Excel remembers your choice and will not prompt you again for that exact file. That happens automatically — no setup required — and it is why a workbook you opened yesterday no longer triggers the yellow bar today. You can clear this memory under Trust Center → Trusted Documents if you ever want to reset it.
Unblock the file from Windows. When you download a file, Windows attaches a hidden “mark of the web” flag that tells Excel the file came from the internet. You can strip that flag without changing any Excel setting: right-click the file in File Explorer, choose Properties, and on the General tab look at the bottom for a security notice. Tick the Unblock checkbox and click OK. The next time you open the file, Protected View will not appear — for that one file only. This is often the tidiest fix, because it leaves Excel’s defenses intact for everything else. The same Unblock trick resolves a lot of macro headaches too, as covered in unblocking macros in Excel.
Protected View on Mac
This is where many guides go wrong, so to be accurate: Excel for Mac does not give you the same Protected View controls that Windows does. There is no equivalent Trust Center → Protected View panel with three checkboxes on the Mac, and the read-only sandbox behaves differently from the Windows version.
In practice, on macOS you are far more likely to run into Apple’s own quarantine prompt — the dialog that asks whether you are sure you want to open a file downloaded from the internet — than a Windows-style PROTECTED VIEW bar. macOS handles a lot of this at the operating-system level through Gatekeeper and file quarantine rather than inside Excel. If a downloaded workbook opens read-only on a Mac, the usual fixes are to confirm Apple’s open-anyway prompt, or to copy the file out of Downloads into a normal working folder before opening it. The point is: do not go hunting in Excel for Mac for a Protected View toggle that mirrors Windows — it is not there.
Troubleshooting: when Protected View won’t turn off
Enable Editing is greyed out. This usually means the file was blocked by File Block Settings rather than ordinary Protected View, or the file is genuinely corrupt. Go to Trust Center → File Block Settings and check whether the file’s format is set to block opening. Old binary formats are common culprits — see opening an XLS file for the file-type angle.
The file is still read-only after Enable Editing. Protected View and read-only mode are not the same thing. A file can be read-only because of its file attributes, because it was opened as read-only, or because of a recommendation set when it was saved. Our walkthrough on removing read-only in Excel covers those causes, which are separate from Protected View.
It says “Marked as Final.” A workbook marked as final is intentionally set to read-only by whoever saved it; that is a different mechanism from Protected View. Clear it by going to File → Info → Protect Workbook → Mark as Final to toggle it off, as explained in marking a workbook as final in Excel.
The file is locked by another user. If a shared workbook says it is locked or in use, Protected View is not the issue — someone else has it open, or a stale lock file is hanging around. Closing the file everywhere, or waiting for the other user to exit, generally releases it.
The sheet or workbook is password-protected. If you can open the file but cannot edit certain cells or the structure, that is sheet or workbook protection, not Protected View. Use unprotecting a sheet in Excel to lift it. To learn the difference between protecting a file and protecting its content, see password-protecting an Excel file and allowing input while protecting formulas.
You lost work when the file would not open. If a workbook crashed or closed in Protected View before you could save, the recover unsaved Excel file guide explains how to get it back from AutoRecover.
A security caveat worth repeating
Protected View is cheap insurance. Clicking Enable Editing for one trusted file, or unblocking a single download, costs you a second and keeps the safety net in place for everything else. Switching the feature off entirely is convenient right up until the day a malicious attachment lands in your inbox and Excel opens it with no questions asked. If you share a computer, manage data for an organization, or open files from people you do not know, leave the internet and Outlook boxes checked and rely on Trusted Locations and Trusted Documents instead.
Frequently Asked Questions
How do I turn off Protected View in Excel?
Go to File → Options → Trust Center → Trust Center Settings → Protected View and uncheck the three boxes for internet files, unsafe locations, and Outlook attachments, then click OK. To handle just the file in front of you instead, click Enable Editing in the yellow bar — that is the recommended approach because it leaves Protected View active for every other file.
How do I disable Protected View for just one file?
You do not need to change any settings. When the file opens, click Enable Editing in the yellow PROTECTED VIEW bar. Excel then adds that file to its Trusted Documents list and will not prompt you for it again. Alternatively, right-click the file in Windows File Explorer, choose Properties, tick Unblock, and click OK before opening it.
How do I enable editing in Excel?
Click the Enable Editing button in the yellow message bar at the top of the window. The workbook reloads with full editing rights. If there is no yellow bar and you still cannot edit, the file may be read-only or marked as final rather than in Protected View — check the troubleshooting section above.
Why won’t Protected View turn off in Excel?
The most common reason is that what is blocking you is not Protected View at all. A greyed-out Enable Editing button usually points to File Block Settings; a file that stays read-only after Enable Editing is held by file attributes, a “Mark as Final” flag, sheet protection, or another user having it open. Each of those has its own fix, linked in the troubleshooting section.
Does Excel for Mac have Protected View settings?
Not in the same form as Windows. Excel for Mac does not offer the Trust Center → Protected View panel with its three checkboxes. On macOS, read-only and security prompts are largely handled by the operating system’s Gatekeeper and file quarantine, so you confirm Apple’s “open anyway” dialog or move the file out of Downloads rather than toggling a setting inside Excel.
Is it safe to turn off Protected View?
For a single trusted file, yes — that is what Enable Editing is for. Turning it off globally is riskier, because spreadsheet files are a real malware vector and Protected View is the barrier between opening a file and running its content. If you must reduce prompts, use Trusted Locations for your own working folders or unblock individual downloads rather than disabling the feature for everything.