How to Disable Microsoft Defender Safe Links in Word and Excel
Question details
The user wants to stop Microsoft Defender Safe Links from scanning, blocking, or rewriting hyperlinks clicked within Microsoft Word and Excel documents.

- Product
- Microsoft Word, Microsoft Excel, Microsoft 365
- Device & OS
- not provided
- Scenario
- Clicking on embedded hyperlinks in Word or Excel documents to visit external websites.
- Observed behavior
- Hyperlinks trigger Microsoft Defender Safe Links security checks or blocks, preventing direct access to the intended URLs.
Ensure you know whether your Microsoft 365 account is managed by an organization (like a school or employer), as Safe Links policies are usually controlled exclusively at the administrator level.
Contact Your Microsoft 365 Administrator
Safe Links policies are enterprise-level security features enforced by organizational settings and cannot be disabled by end-users.
If you are using a work or school account, the Microsoft 365 Defender Safe Links feature is deployed globally to protect the network from malicious links. You must reach out to your IT department to adjust these security settings.
Determine who manages your organization's Microsoft 365 accounts and submit a support ticket internally.
Ask your administrator to review the applicable Defender for Office 365 Safe Links policy applied to your specific user group.
If globally disabling the feature is against company policy, ask the admin to add your specific trusted domains to the 'Do not rewrite the following URLs' list in the Microsoft 365 Defender portal.

Create a Support Request in the Microsoft 365 Admin Center
For administrators who are unable to modify or remove built-in Safe Links policies from the Defender portal, escalating to Microsoft Support is required.
Switch to WPS Office for a Streamlined Document Experience
If you find Microsoft 365's organizational security policies overly restrictive for your personal or small business needs, WPS Office offers a lightweight, highly compatible, and user-friendly alternative without forced enterprise link-rewriting checks.
- 1. Download and Install: Visit the official WPS Office website to download the free application for your operating system.
- 2. Open Your Documents: Launch WPS Office and open your existing .docx or .xlsx files directly.
- 3. Access Links Freely: Click on your hyperlinks to access websites directly through your default browser without enterprise proxy redirects.

Frequently Asked Questions
What is Microsoft Defender Safe Links?
Safe Links is a security feature in Microsoft Defender for Office 365 that provides URL scanning and rewriting of inbound email messages, as well as checking of URLs in Office documents like Word and Excel to protect users against phishing and malware.
Can I disable Safe Links on my personal Microsoft 365 Family account?
Safe Links is generally enabled by default for Microsoft 365 Family and Personal subscribers to ensure security. While you cannot entirely disable the backend service yourself, you can usually click through the warning prompts if you are certain the link is secure.
Why do URLs in my Word document look long and start with 'nam01.safelinks.protection.outlook.com'?
This happens because the Safe Links policy rewrites the original URL. When you click it, the click is routed through Microsoft's security proxy for real-time scanning before redirecting you to the actual website.
How can an IT administrator exclude certain URLs from Safe Links scanning?
Administrators can log into the Microsoft 365 Defender portal, navigate to Email & Collaboration > Policies & Rules > Threat Policies > Safe Links, edit the active policy, and add specific trusted URLs or domains to the 'Do not rewrite the following URLs' section.




