StackBlitz Unable to Run Embedded Project: Third-Party Cookies Blocked

Share
Workaround available Chrome, Chromium browsers Updated November 14, 2026Based on 2 user reportsHow we research

Quick answer

WebContainers need browser storage and service workers that blocked third-party cookies break. Enable storage partitioning or add cookie exceptions for the StackBlitz domains in Chrome.

Most likely fix: Enable storage partitioning in Chrome (preferred)

How to fix it

Try these in order — the most common fix is first.

  1. 1. Enable storage partitioning in Chrome (preferred)

    1. Go to chrome://flags/#third-party-storage-partitioning
    2. Choose Enabled in the dropdown (Default may also work in recent versions)
    3. Relaunch Chrome and reopen the project
    Did this fix it?
  2. 2. Add cookie exceptions

    1. Go to chrome://settings/cookies
    2. Under "Sites that can always use cookies" add https://[*.]stackblitz.io, https://[*.]webcontainer.io and https://[*.]webcontainer-api.io
    3. Reload the project
    Did this fix it?
  3. 3. Allow cookies for one project

    1. Click the lock icon in the address bar, then Cookies
    2. Select the blocked domain and click Allow
    3. Reload when prompted; repeat if the project domain changes later
    Did this fix it?

Symptoms

The project hangs on boot or will not run; the preview never loads, often in Chrome with third-party cookies blocked or in an embedded project.

Why it happens

  • Third-party cookies blocked in Chrome preferences
  • Brave Shields blocking cross-site cookies
  • Project domains change between sessions

This guide also covers

  • stackblitz unable to run embedded project
  • webcontainers third party cookies
  • stackblitz not loading chrome

Still not working?

If StackBlitz keeps failing, you're not alone. See every StackBlitz problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

The same problem in other apps

All plan limits, paywalls & watermarks guides →

Other StackBlitz errors

All 11 StackBlitz errors and fixes →