Microsoft Edge Enhanced Security Mode: What It Is
Microsoft Edge's Enhanced Security Mode is an optional browsing mode that reduces the risk of memory-corruption attacks by applying stricter security mitigations to web pages, such as disabling just-in-time (JIT) JavaScript compilation and enabling additional mitigations like Control Flow Guard and Arbitrary Code Guard. It is designed to protect against zero-day exploits and other attacks that rely on memory safety vulnerabilities, at the cost of some performance and compatibility on sites that depend on JIT for speed.
Background: Why Edge Added Enhanced Security Mode
Modern browsers are complex pieces of software that process untrusted content from the web. A large share of serious browser exploits target memory-safety bugs in the JavaScript engine or other components. Attackers often chain a memory-corruption bug with a JIT-spray technique: they use the JIT compiler to place attacker-controlled code in executable memory, then redirect execution to it. Enhanced Security Mode breaks that chain by turning off JIT compilation for JavaScript and by enabling operating-system-level mitigations that make it harder to execute attacker-supplied code even if a memory bug is triggered.
Microsoft introduced Enhanced Security Mode in Edge version 96 (late 2021) as an opt-in feature. It was not the first browser to offer such a mode—Firefox has a similar strict mode—but Edge's implementation is notable because it is built on Chromium and integrates with Windows security features. The mode is intended for users who visit unfamiliar sites or who want a higher baseline of protection without switching browsers. It is not a replacement for keeping the browser updated, using a password manager, or avoiding phishing links; it is one layer among many.
How Enhanced Security Mode Works
When Enhanced Security Mode is active for a page, Edge applies a set of mitigations. The exact set can vary by platform and Edge version, but the core behavior includes:
- Disabling JIT compilation for JavaScript. Without JIT, JavaScript runs in the interpreter, which is slower but removes a common exploitation primitive.
- Enabling Control Flow Guard (CFG) and Arbitrary Code Guard (ACG) on Windows. These make it harder for an attacker to redirect execution to arbitrary memory.
- Disabling some web features that are not essential for most sites, such as certain shared memory and WebAssembly features, depending on the configuration.
- Forcing HTTPS and blocking mixed content in some configurations, reducing the chance of injected scripts over insecure connections.
These mitigations are applied per-site. Edge maintains a list of sites where the mode is enabled by default (for example, sites you have not visited before) and a list of trusted sites where it is turned off to preserve functionality. You can also set the mode to be always on or always off, or to use the default balanced setting.
Choosing the Right Setting
Edge offers three main choices for Enhanced Security Mode, accessible from Settings > Privacy, search, and services > Security. The labels can differ slightly by Edge version, but the options are typically:
- Off: No additional mitigations. This is the default on many managed devices unless an administrator enables it.
- Balanced (recommended): Enhanced Security Mode is applied to sites you have not visited before and to sites that are not in your trusted list. Frequently used sites are excluded so that performance and compatibility remain normal.
- Strict: Enhanced Security Mode is applied to all sites except those you explicitly add to an exception list. This offers the most protection but can break sites that rely on JIT or other disabled features.
You can also add specific sites to an exception list so that they always load without the stricter mitigations. This is useful for web apps that misbehave under the mode, such as some online productivity tools or games. The exception list is managed in the same settings page.
Common Problems and How to Fix Them
Because Enhanced Security Mode disables JIT and some other features, some websites may load more slowly or not work correctly. Common symptoms include:
- Pages that feel sluggish, especially those with heavy JavaScript.
- Web apps that fail to load or show errors related to WebAssembly or shared memory.
- Some interactive features, such as certain games or data-visualization tools, not responding.
If a site breaks, you can add it to the exception list in the Enhanced Security Mode settings. Alternatively, you can switch the mode to Balanced or Off temporarily. Edge also shows an informational page when it blocks a feature due to Enhanced Security Mode, which can help you identify the cause. If performance is a concern, keep the mode on Balanced rather than Strict; Balanced excludes sites you visit often, so everyday browsing stays fast.
How It Compares to Other Security Features
Enhanced Security Mode is not the same as SmartScreen, which blocks known phishing and malware sites, nor is it a sandbox. Edge already runs tabs in a sandbox, and SmartScreen uses reputation data to warn about dangerous downloads and sites. Enhanced Security Mode is a set of exploit mitigations that reduce the impact of a successful attack. It complements these features rather than replacing them. For example, SmartScreen might block a malicious site outright; Enhanced Security Mode would make it harder for an exploit on a legitimate-but-compromised site to succeed. Similarly, it is distinct from tracking prevention, which limits cross-site tracking but does not address memory-safety exploits.
Compared with similar modes in other browsers, Edge's implementation is integrated with Windows security features like CFG and ACG, which are not available on all platforms. On macOS and Linux, some mitigations may differ. The mode is also configurable via group policy for organizations, allowing administrators to enforce Balanced or Strict settings across managed devices.
Is It Safe to Use?
Yes, Enhanced Security Mode is safe to use and is designed to improve security. It does not collect additional personal data or change your privacy settings beyond the security mitigations. However, it is not a guarantee against all attacks. It reduces the attack surface but does not eliminate the need for software updates, cautious browsing, and other security practices. Some users may find that Strict mode breaks too many sites; in that case, Balanced is a reasonable compromise. The mode is also not a substitute for antivirus software or a firewall, though it works alongside them.
Frequently Asked Questions
Does Enhanced Security Mode slow down browsing?
It can, especially on JavaScript-heavy sites, because JIT compilation is disabled. In Balanced mode, frequently visited sites are excluded, so the impact on everyday browsing is limited. Strict mode may cause noticeable slowdowns on some sites.
Can I turn it on for specific sites only?
Yes. In the Enhanced Security Mode settings, you can add sites to an exception list so they are excluded from the stricter mitigations. You can also choose Balanced mode, which applies the mode only to sites you have not visited before.
Does Enhanced Security Mode block ads or trackers?
No. It is focused on exploit mitigations, not content blocking. For ad and tracker blocking, Edge offers tracking prevention and supports extensions.
Is Enhanced Security Mode available on all platforms?
It is available on Windows, macOS, and Linux versions of Edge. Some mitigations, such as CFG and ACG, are specific to Windows, so the exact behavior may vary by platform.
Will it break my favorite websites?
Most sites work fine, but some web apps that rely on JIT or WebAssembly may not. If a site breaks, add it to the exception list or switch to Balanced mode.
Can administrators enforce Enhanced Security Mode?
Yes. Organizations can use group policy to set Enhanced Security Mode to Balanced or Strict for managed devices, and to configure the exception list.