User Agents

Web browsers and everyday web tech, explained

Chrome Site Isolation: How It Works and Why It Matters

· 6 min read · Browsers

In this article
  1. The Problem Site Isolation Solves
  2. How Site Isolation Works Technically
  3. The Impact on System Resources
  4. Comparing Site Isolation to the Same-Origin Policy
  5. Common Misconceptions and Clarifications
  6. Frequently Asked Questions

Chrome Site Isolation is a security feature that ensures pages from different websites are always put into different operating system processes. By creating a strict boundary between sites, it prevents a malicious website from using security vulnerabilities to steal data from another open tab or window.

The Problem Site Isolation Solves

To understand site isolation, one must first understand how browsers traditionally handled processes. In the early days of web browsing, a single process handled everything. If one tab crashed, the entire browser crashed. To fix this, Chrome introduced a multi-process architecture where different tabs were given their own processes. However, this wasn't a complete security solution. In the original multi-process model, a single process could still host content from multiple different websites if they were linked or embedded (such as through an iframe).

This created a critical vulnerability. If a user visited a malicious site that exploited a bug in the browser's rendering engine, that malicious code could potentially access the memory of other sites sharing the same process. This is particularly dangerous because of how computer memory works. A process has a certain amount of memory allocated to it, and if a piece of code can "read" that memory, it might find sensitive information—like session cookies, passwords, or personal data—belonging to a completely different website that happens to be running in that same process.

The most notorious examples of these vulnerabilities are side-channel attacks, such as Spectre and Meltdown. These hardware-level flaws allowed a program to read memory it wasn't supposed to access by observing how the CPU handles speculative execution. Without site isolation, a malicious website could potentially use these CPU flaws to read data from another site sharing its process, effectively bypassing the browser's "Same-Origin Policy."

How Site Isolation Works Technically

Site isolation elevates the browser's security model by moving the boundary of isolation from the "tab" level to the "site" level. Instead of saying "each tab gets a process," Chrome says "each single site gets its own process." This means that even if you have one tab open, but that page loads an advertisement from a third-party network and a video from a different hosting service, Chrome will spin up separate processes for each of those distinct origins.

The mechanism relies on several layers of the operating system and the browser engine:

  • Process-per-site: The browser identifies the "site for browsing context" (the domain and its subdomains). It then ensures that any content from a different site is hosted in a separate OS process.
  • Cross-Origin Isolation: When a page needs to display content from another site (like an iframe), Chrome doesn't just render it inside the main page's process. Instead, it creates an "out-of-process iframe." The main page sees the content, but the actual processing and memory usage happen in a separate, isolated sandbox.
  • OS-Level Sandboxing: By utilizing the operating system's own process boundaries, Chrome ensures that the CPU's memory management unit (MMU) prevents one process from reading the memory of another. This makes it significantly harder for a software exploit to jump from a malicious site to a banking site.
  • Inter-Process Communication (IPC): Because the sites are now in different processes, they can no longer share memory directly. They must communicate through a highly controlled and audited channel called IPC, which the browser monitors to ensure no unauthorized data is being transferred.

The Impact on System Resources

The primary trade-off for this increased security is the consumption of system resources, specifically Random Access Memory (RAM). Because creating a new process is "heavier" than creating a new thread or sharing a process, site isolation naturally increases the amount of memory Chrome uses.

Each single process requires its own overhead—a copy of the rendering engine, basic memory management, and various supporting libraries. When a single tab is split into five different processes because it loads content from five different domains, the memory footprint grows. For users with limited RAM, this can lead to more frequent use of the system's swap file or "virtual memory," which can slow down the overall performance of the computer.

However, Google has implemented several optimizations to mitigate this. Chrome uses a process-sharing logic for sites that are considered "related" or low-risk, and it aggressively discards memory from background processes that aren't being used. For the vast majority of modern computers with 8GB of RAM or more, the security benefits of site isolation far outweigh the marginal increase in memory usage.

Comparing Site Isolation to the Same-Origin Policy

A common misconception is that site isolation is the same as the Same-Origin Policy (SOP). While they work toward the same goal—preventing sites from stealing data from each other—they operate at completely different levels of the computing stack.

The Same-Origin Policy is a software-level rule. It is a set of instructions written into the browser's code that says: "Do not let JavaScript from site A access the DOM of site B." This is an essential security layer, but it is a logical check. If a hacker finds a bug in the browser's code (a memory corruption bug or a buffer overflow), they can bypass the SOP entirely because the code is running in the same memory space. The software "check" is simply skipped or overwritten.

Site isolation is a hardware-level defense. By putting the sites in different OS processes, Chrome is no longer relying solely on its own internal logic to keep sites apart. It is relying on the operating system and the CPU to enforce the boundary. Even if a hacker finds a bug that bypasses the SOP, they are still trapped inside a process that contains only the malicious site's data. To get to the banking data, they would have to find a second, much more difficult exploit to "break out" of the OS process sandbox.

Common Misconceptions and Clarifications

Many users believe that site isolation means their browsing history is hidden or that they are browsing in a "private" mode. This is incorrect. Site isolation is a technical security measure to prevent cross-site data theft; it has nothing to do with privacy from the website owner or the Internet Service Provider (ISP). The websites you visit can still see your IP address, your cookies, and your browser fingerprints.

Another common question is whether site isolation protects against phishing. It does not. If you are tricked into typing your password into a fake website that looks like your bank, site isolation cannot help you. The site is behaving exactly as intended; it is simply receiving data you are voluntarily providing. Site isolation protects you from technical attacks (where a site steals data without your knowledge), not social attacks (where you are tricked into giving data away).

Frequently Asked Questions

Does site isolation make Chrome slower?

In most cases, you will not notice a speed difference. While it uses more RAM, it can actually improve stability. Because each site is in its own process, if a single third-party script on a page crashes, it is less likely to crash the entire tab or the whole browser, as the failure is isolated to that specific process.

Can I turn off site isolation to save memory?

Site isolation is a core security feature and is enabled by default. While there are advanced command-line flags that developers use to modify browser behavior, it is strongly discouraged for general users to disable it. Doing so leaves your browser vulnerable to side-channel attacks and memory-reading exploits.

Does this protect me if I use Incognito mode?

Yes. Site isolation operates independently of Incognito mode. Incognito mode prevents the browser from saving history and cookies locally, while site isolation prevents websites from stealing data from each other in real-time. They provide two different types of protection that complement each other.

Why does my Task Manager show so many Chrome processes?

This is a direct result of site isolation and the multi-process architecture. Instead of one large process, Chrome breaks everything into small pieces: the browser process, the GPU process, the network process, and a separate process for every isolated site. This ensures that a failure or security breach in one area doesn't compromise the rest of the browser.