CodeSandbox VM Frozen: Credits Ran Out

Share
Ongoing Web Updated November 14, 2026Based on 2 user reportsHow we research

Quick answer

Per CodeSandbox docs, a VM Sandbox freezes when the workspace has too few credits to run it: on Free when credits run out, on Pro when the spending limit is reached. Upgrade, raise the limit, or wait for renewal.

Most likely fix: Raise the spending limit (Pro)

How to fix it

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

  1. 1. Raise the spending limit (Pro)

    1. Open workspace billing settings
    2. Increase the maximum spending limit
    3. Restart the VM Sandbox
    Did this fix it?
  2. 2. Upgrade from Free

    1. Open workspace billing and choose Pro
    2. Restart the frozen VM Sandbox
    Did this fix it?
  3. 3. Use Browser Sandboxes and reduce usage

    1. Browser Sandboxes do not consume credits, so use them for frontend-only work
    2. Shut down VMs you are not using and pick smaller VM specs
    Did this fix it?
  4. 4. Wait for renewal

    1. Credits renew at the start of the next billing cycle
    Did this fix it?

Symptoms

VM Sandboxes and repositories stop running and show as frozen; the preview does not come up.

Why it happens

  • Free workspace used its monthly credits
  • Pro workspace hit its maximum spending limit
  • Large VM specs or many VMs left running

This guide also covers

  • codesandbox credits ran out
  • codesandbox vm frozen
  • codesandbox spending limit
  • codesandbox free plan limits

Still not working?

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

We build software. Any software.

Paying for apps that don't quite fit? We build exactly what you need.

We're a small team of developers who build custom software fast. Not just tools like CodeSandbox: web and mobile apps, games, desktop software, AI tools, internal tools: whatever you have in mind. We build and run our own products too: booking platforms, games, learning apps. See our work

  • Web apps & SaaS
  • Mobile apps (iOS & Android)
  • Games
  • Desktop software
  • AI tools & automations
  • Internal tools & dashboards
  • Client portals & booking
  • Your own version of any tool
  • ✓ Free 15-min call to scope it
  • ✓ Price agreed up front
  • ✓ Your data, your code
Fixed it? Share this guide

The same problem in other apps

All plan limits, paywalls & watermarks guides →

Other CodeSandbox errors

All 10 CodeSandbox errors and fixes →