CodeSandbox Not Loading or Not Starting
Quick answer
A sandbox that never starts is often blocked by a firewall or network filter, or by a frozen VM. Allowlist the CodeSandbox domains and check your credits.
Most likely fix: Allowlist CodeSandbox domains
How to fix it
Try these in order — the most common fix is first.
1. Allowlist CodeSandbox domains
- Ask your network admin (or check your firewall) to allow codesandbox.io, *.csb.app and worker.codesandbox.io
- Reload the sandbox
Did this fix it?2. Check credits and VM state
- Open the workspace usage page and confirm credits remain
- If the VM is frozen, upgrade, raise the spending limit, or wait for the next billing cycle
Did this fix it?3. Rule out the browser
- Try a private window with extensions off
- Clear site data for codesandbox.io and reload
Did this fix it?
Symptoms
The editor or preview spins forever, the sandbox never boots, or the VM stays on starting.
Why it happens
- Firewall, school or company network blocking CodeSandbox domains
- VM frozen because credits ran out
- Temporary service disruption
- Browser extensions or cached data interfering
This guide also covers
- codesandbox not loading
- codesandbox stuck on starting
- why is codesandbox not working
Still not working?
If CodeSandbox keeps failing, you're not alone. See every CodeSandbox 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 usThe same problem in other apps
All not loading, error messages & connection guides →
StackBlitz "Cannot load native addon because loading addons is disabled" (StackBlitz)
Codespace Running in Recovery Mode: "This codespace is currently running in recovery mode due to a container error" (GitHub Codespaces)
Replit Workspace Not Loading (Replit)
Ona AWS Runner Failed: ROLLBACK_COMPLETE and ECS Circuit Breaker Errors (Gitpod)
Other CodeSandbox errors
- CodeSandbox 502 "Dev Server Has Not Started Yet" Error
- CodeSandbox VM Frozen: Credits Ran Out
- CodeSandbox Preview Not Showing for Private Sandbox
- CodeSandbox "Request Entity Too Large" Error on Import or Commit
- CodeSandbox "Only a Max of 250 Modules Is Allowed" Import Error
- CodeSandbox "Could Not Find Dependency" Error
- CodeSandbox VM Slow or Out of Memory
- CodeSandbox Private Sandboxes on the Free Plan