keepcalculator

06 Numbers and Powers

Safari No Space Left on Device? Fixes That Work

Card No. 06·66083 · Updated · Standard formula, shown below

If Safari says “no space left on device” but your iPhone or Mac shows plenty of free storage, the problem is usually not your overall capacity—it’s a full cache, a stuck temporary file, or a system partition that iOS or macOS has reserved. The fix is to clear Safari’s website data, force-quit and restart the browser, and if that fails, check your device’s actual storage breakdown and free up space in the system category. Below are the exact steps for iPhone, iPad, and Mac, plus what to do when the message persists even after you delete files.

Why Safari Shows This Error When Storage Seems Fine

Safari stores website data—cookies, local storage, IndexedDB, and cached images—in a dedicated container. On iOS, this container lives in the system partition, which is separate from your photos and apps. If that partition fills up, you get “no space left on device” even though the main storage bar shows plenty of free GB. On macOS, the same message can come from a full APFS volume, a corrupted cache file, or a temporary download that Safari couldn’t finish. The error is a filesystem-level message, not a user-friendly “storage full” warning, so it appears even when your free space counter looks healthy.

How to Clear Safari’s Cache and Website Data on iPhone or iPad

Start with the simplest fix that resolves most cases:

  1. Open Settings → Safari.
  2. Tap Clear History and Website Data. This removes cookies, cache, and browsing history.
  3. If the message still appears, go to Settings → General → iPhone Storage (or iPad Storage). Look for Safari in the list. If it shows “Documents & Data” in gigabytes, tap it and swipe left on the entry to delete it.
  4. Force-quit Safari: swipe up from the bottom and hold, then swipe the Safari card away. Restart the app.

If you don’t want to lose all history, you can instead go to Settings → Safari → Advanced → Website Data and swipe to delete individual sites. This is slower but preserves your login sessions on other sites.

How to Fix It on a Mac

On macOS, the steps are similar but the underlying causes differ:

  1. Open Safari and go to History → Clear History. Choose “all history” and clear.
  2. Go to Safari → Settings → Privacy → Manage Website Data. Click Remove All.
  3. Quit Safari completely (Cmd+Q). Then open Finder and press Cmd+Shift+G, type ~/Library/Caches/com.apple.Safari, and delete the contents of that folder. Empty the Trash.
  4. If the error appears when downloading a file, check the Downloads folder—a failed download can leave a hidden .download file. Delete it and try again.

If the problem persists, restart your Mac. A reboot clears temporary system files and often releases the locked cache that Safari is trying to write to.

What to Do When Clearing Safari Doesn’t Help

If you’ve cleared everything and the error still shows up, the issue is likely outside Safari:

  • Check system storage on iPhone/iPad: Settings → General → iPhone Storage. If “System Data” (or “Other”) is huge, you may need to offload apps or delete large videos. A full system partition can cause Safari to fail even after clearing its own data.
  • Check APFS snapshots on Mac: If you use Time Machine, local snapshots can fill the disk invisibly. Open Disk Utility, select your main volume, and see if “Snapshots” shows many entries. Deleting old Time Machine backups frees space.
  • Restart your device: This is the single most effective step for a stuck filesystem lock. On iPhone, press and hold the side button and either volume button until the power slider appears. On Mac, choose Apple menu → Restart.
  • Update iOS or macOS: A bug in Safari’s storage handling has been fixed in past updates. Go to Settings → General → Software Update on iPhone, or System Settings → General → Software Update on Mac.

Common Misconception: “I Have 50 GB Free, So It’s Not Storage”

Many users assume the error means their device is full. In reality, Safari on iOS writes to a private container that is capped by the system, not by your free space. Apple reserves a portion of storage for system files, and if that reserved area is full—often due to a runaway cache from a single website—Safari cannot create new files. This is why you can delete 10 GB of photos and still see the error. The fix is always to clear Safari’s own data first, not to mass-delete your library.

How to Prevent It From Happening Again

Once you’ve cleared the error, a few habits reduce the chance of recurrence:

  • Periodically clear website data for sites you don’t use often (Settings → Safari → Advanced → Website Data).
  • Avoid leaving a single tab open that auto-refreshes a heavy web app (like a large dashboard or game) for days.
  • On Mac, keep Downloads folder tidy—Safari writes partial downloads there before moving them.
  • Restart your device at least once a week. This clears temporary files and resets the filesystem state.

When to Reset All Settings (Last Resort)

If nothing else works, you can reset all settings on your iPhone or iPad without deleting your data. Go to Settings → General → Transfer or Reset iPhone → Reset → Reset All Settings. This restores defaults for Wi-Fi, Bluetooth, and Safari preferences, but keeps your photos, messages, and apps. On Mac, the equivalent is to delete Safari’s preferences file (~/Library/Preferences/com.apple.Safari.plist) after quitting Safari, then restart it. Back up first if you’re unsure.

Frequently Asked Questions

Will clearing history log me out of websites?

Yes, clearing history and website data removes cookies, so you’ll be logged out of most sites. You’ll need to sign in again. If you want to stay logged in, use the per-site deletion method instead.

Does the error mean my iPhone is damaged?

No. It’s a software/filesystem error, not a hardware failure. It’s almost always caused by a full cache or a corrupted temporary file. Restarting and clearing Safari data resolves it in the vast majority of cases.

Why does Safari use so much storage on my iPhone?

Safari stores cached images, scripts, and local databases for every website you visit. A single heavy site (like a streaming service or a web app) can accumulate gigabytes over time. You can check the exact amount in Settings → General → iPhone Storage → Safari.

Can I move Safari’s cache to an SD card or external drive on Mac?

No, not safely. Safari expects its cache in the system-managed folder. Redirecting it can cause instability and is not supported. Instead, you can use a different browser for heavy downloads, or periodically clear Safari’s cache.

Is it safe to delete the entire ~/Library/Caches/com.apple.Safari folder?

Yes. Safari will recreate it automatically. You might lose some cached page assets, which just means pages will load slightly slower the first time you visit them. It won’t delete bookmarks, history, or passwords.

What if the error appears only when downloading a specific file?

That usually means the file is larger than the free space on the destination volume, or the download was interrupted and left a hidden .download file. Check the Downloads folder for a file with a .download extension, delete it, and try again. If the file is huge, free up space on the drive where you’re saving it.

Related

Method: the standard formula for this calculation, rounded as each result states. See how the calculators work or report an error.

More cards in this drawer

The whole Numbers and Powers drawer →