How to Unblock Excel Files So Macros Are Not Blocked by Windows
Updated 2026 • 6 min read
Are you getting the error “Microsoft has blocked macros from running” when opening Excel files?
This problem often occurs after downloading Excel files from the internet. Windows automatically blocks macros for security reasons. Here's how to unblock Excel files so that macros can run again.
Why are Excel macros blocked?
Windows uses a security system called Mark of the Web (MOTW). Every downloaded file is given a special mark so that macros are not immediately activated.
How to Unblock Excel Files in Windows 10 & 11
- Right-click on the downloaded Excel file.
- Select Properties.
- At the bottom, find the Unblock option.
- Check Unblock.
- Click Apply then OK.
After Unblocking, What Next?
Reopen the Excel file, then click:
- Enable Content
- or Enable Macro
If Enable Macro Does Not Appear
If the Enable Content button still does not appear:
- Make sure the file has been unblocked
- Resave the file to a different folder
- Make sure the file is not a locked ZIP extract
Is it safe to enable macros?
It is safe if the file comes from a trusted source. Do not enable macros from unknown files.
Conclusion
Unblocking Excel files is very easy and only needs to be done once. With this step, macros can run normally without security errors.
Related Articles