User Agents

Microsoft Edge Enhanced Security Settings Explained

Microsoft Edge's enhanced security setting is a toggle that runs unfamiliar websites in a stricter, more locked-down mode to reduce the risk of browser-based attacks. When enabled, Edge applies additional protections such as disabling just-in-time (JIT) JavaScript compilation and enabling Control Flow Guard (CFG) for sites you visit less often, while leaving your frequently used sites in normal mode for compatibility.

What Enhanced Security Mode Actually Does

Enhanced security mode in Microsoft Edge is designed to mitigate memory-corruption vulnerabilities and other exploit techniques that attackers use to compromise browsers. It does this by applying a set of hardening measures to web content, but only for sites that Edge considers less familiar or less trusted. The core protections include:

  • Disabling JIT compilation: Just-in-time JavaScript compilation is turned off for unfamiliar sites, which reduces the attack surface for exploits that rely on executable memory.
  • Enabling Control Flow Guard (CFG): This makes it harder for attackers to redirect code execution even if they find a vulnerability.
  • Blocking certain risky features: Some APIs and behaviors that are commonly abused in attacks may be restricted or disabled.

These protections are applied automatically based on site familiarity, which Edge determines from your browsing history and other signals. You can also customize the mode to apply to all sites or only to sites you haven't visited before.

How Edge Decides Which Sites Get Extra Protection

Edge uses a concept called "site familiarity" to decide when to apply enhanced security. By default, the mode is set to "Balanced," which means it applies to sites you haven't visited recently or haven't added to your favorites. Sites you visit often or that you explicitly mark as trusted are exempted, so everyday browsing stays fast and compatible.

The familiarity logic considers factors like how often you visit a site and whether you've interacted with it recently. This is why some users notice that a site works normally one day but gets stricter treatment after clearing their browsing data—the browser no longer recognizes it as familiar.

How to Turn On and Configure Enhanced Security

The setting lives in Edge's privacy and security section. Menu labels can vary slightly by version, but the general path is:

  1. Open Microsoft Edge and click the three-dot menu in the top-right corner.
  2. Select Settings.
  3. In the left sidebar, choose Privacy, search, and services.
  4. Scroll down to the Security section and find Enhance your security on the web.
  5. Toggle the feature on, then choose a level: Balanced (recommended) or Strict.
  6. Optionally, click Exceptions to add sites that should always bypass enhanced security.

In Balanced mode, enhanced security applies to unfamiliar sites. In Strict mode, it applies to all sites except those you explicitly add to the exceptions list. Strict mode offers maximum protection but can break some websites that rely on JIT compilation or other restricted features.

Balanced vs. Strict: Choosing the Right Level

The choice between Balanced and Strict depends on your tolerance for breakage versus your need for security. Balanced is the default for good reason: it protects you from drive-by attacks on sites you don't know while keeping your regular sites working smoothly. Strict is for users who want the strongest possible protection and are willing to troubleshoot sites that misbehave.

  • Balanced: Applies protections to unfamiliar sites; familiar sites run normally. Good for most users.
  • Strict: Applies protections to all sites except exceptions. Best for high-risk browsing or users who want maximum hardening.

You can switch between levels at any time, and changes take effect immediately for new page loads.

Common Problems and How to Fix Them

Because enhanced security disables JIT compilation and restricts some features, some websites may load slowly, display incorrectly, or fail to work. Common symptoms include:

  • Pages that rely heavily on JavaScript running sluggishly or not at all.
  • Interactive elements like maps, games, or complex web apps failing to load.
  • Login flows or form submissions not completing.

If a site breaks, you can add it to the exceptions list. Open the site, click the lock icon or the enhanced security indicator in the address bar, and choose to turn off enhanced security for that site. Alternatively, add the site manually under Settings > Privacy, search, and services > Enhance your security on the web > Exceptions. Keep in mind that adding a site to exceptions reduces your protection on that site, so only do it for sites you trust.

How Enhanced Security Compares to Other Browser Protections

Enhanced security mode is not the same as Edge's other security features. It complements them rather than replacing them. Here's how it fits in:

  • SmartScreen: Blocks known phishing and malware sites. Enhanced security adds hardening even on sites SmartScreen hasn't flagged.
  • Tracking prevention: Limits cross-site tracking. Enhanced security focuses on exploit mitigation, not privacy.
  • Sandboxing: Edge already runs tabs in a sandbox. Enhanced security adds another layer by reducing the attack surface within that sandbox.

Other browsers offer similar features—for example, Chrome has a "Secure DNS" and site isolation, but Edge's enhanced security mode is distinctive in its site-familiarity-based approach and its explicit JIT-disabling option.

Does Enhanced Security Affect Performance?

Disabling JIT compilation can slow down JavaScript-heavy sites because code runs in an interpreter rather than being compiled to native machine code. For typical browsing—reading articles, checking email, shopping—the impact is usually negligible. For complex web apps, you might notice slower load times or reduced responsiveness. The Balanced setting limits this trade-off by applying the restrictions only to unfamiliar sites.

If you frequently use web apps that feel sluggish, consider adding them to your exceptions list or switching to Balanced mode if you were using Strict.

Frequently Asked Questions

Is enhanced security mode the same as InPrivate browsing?

No. InPrivate browsing prevents Edge from saving your history, cookies, and form data locally. Enhanced security mode hardens the browser against exploits. They serve different purposes and can be used together.

Does enhanced security mode block all malware?

No single feature can guarantee complete protection. Enhanced security reduces the likelihood that a vulnerability in the browser or its components can be exploited, but it does not replace antivirus software, safe browsing habits, or keeping Edge updated.

Why do some sites stop working when I turn on enhanced security?

Some sites depend on JIT compilation or other features that enhanced security restricts. Adding the site to your exceptions list or switching to Balanced mode usually resolves the issue.

Can I use enhanced security mode on all sites?

Yes, by selecting Strict mode. However, be prepared to add exceptions for sites that break, and expect some performance impact on JavaScript-heavy pages.

Does enhanced security mode affect my favorites or history?

No. It only changes how web content is processed. Your favorites, history, and other browsing data are unaffected.

Is enhanced security mode available on Edge for mobile?

Enhanced security mode is primarily a desktop feature. Mobile versions of Edge have different security settings, and the enhanced security toggle may not be present or may work differently depending on the platform and version.