When Excel shows the error "Not enough disk space," it means the system cannot save temporary files or complete operations due to insufficient storage. This isn't always about your main drive being full—it can also be triggered by low space on the system's temporary folder, network drives, or OneDrive sync locations. The fix involves freeing up space, redirecting temporary files, or adjusting Excel’s save behavior. No special tools are required, just basic file management and system settings access.

What You'll Need

  • A Windows or macOS computer with administrative privileges
  • Access to File Explorer (Windows) or Finder (macOS)
  • Internet connection (optional, for checking OneDrive or cloud sync status)
  • Time to clear temporary files and restart applications

Step-by-Step

  1. Close all open Excel files and exit Excel completely. Do not just minimize the window—use Task Manager (Ctrl+Shift+Esc on Windows) or Activity Monitor (macOS) to ensure no background Excel processes are running.
  2. Check your system drive’s available space. On Windows, open File Explorer and look at the C: drive capacity. On macOS, click the Apple menu, select "About This Mac," then "Storage." If less than 10 GB is free, proceed to clean up.
  3. Clear Windows Temp files: Press Win+R, type %temp%, then press Enter. Select all files (Ctrl+A), then press Delete. Skip files in use—Windows will warn you, and you can ignore those. Empty the Recycle Bin afterward.
  4. Clear Excel’s temporary files manually: Navigate to C:\Users\[YourUsername]\AppData\Local\Temp. Look for files starting with "XLS" or "~XL" and delete them. If you’re unsure, sort by date modified and delete files older than a day.
  5. Check your OneDrive or cloud sync folder. If Excel is set to save to OneDrive and the local sync folder is full, it can trigger this error. Open File Explorer, go to your OneDrive folder, and delete unused or duplicate files. Alternatively, pause OneDrive sync temporarily via the system tray icon.
  6. Change Excel’s default temporary file location (Windows only): Open Excel, go to File > Options > Save. Under "Save workbooks," find "Temporary file location" and click "Browse." Choose a drive with more free space (like D: or E:), create a new folder named "ExcelTemp," then select it. Click OK and restart Excel.
  7. On macOS, go to System Settings > General > Storage, click "Manage," and use the recommendations to optimize storage. Remove large downloads, old iOS backups, or unused apps that may be taking up space.
  8. If you use network drives or shared folders for Excel files, ensure they aren’t the source of the issue. Try saving a new file to your local C: drive instead. If that works, the problem is with the network location’s quota or permissions.
  9. Disable Excel’s AutoRecover temporarily: Go to File > Options > Save, uncheck "Save AutoRecover information every X minutes," then click OK. This reduces disk activity and helps isolate whether AutoRecover is causing the issue.
  10. Restart your computer. This clears any locked temporary files and refreshes system resources.
  11. After restarting, open Excel and try opening or saving your file again. If the error persists, proceed to troubleshooting.

Common Mistakes

  • Only deleting files from the desktop or downloads folder while ignoring AppData or Temp folders, where Excel actually stores temporary data.
  • Assuming the error means your hard drive is full when it’s actually the system’s temporary folder (often on a smaller SSD partition) that’s full.
  • Trying to save large Excel files to cloud drives with limited local sync space, without checking the local copy size.
  • Not closing Excel properly before attempting cleanup, leaving temporary files locked and undeletable.
  • Using third-party cleaners that may delete system-critical files or misidentify Excel’s active temp files as safe to remove.

Tips

  • Set up a routine monthly cleanup of %temp% and Excel’s temp folder to prevent buildup.
  • For large workbooks (>500 MB), always save locally first, then manually upload to OneDrive or SharePoint.
  • Use Excel’s "Compress Pictures" and "Remove Hidden Data" tools under File > Info > Check for Issues to reduce file size.
  • Convert .xlsx files to .xlsb (binary format) for better performance and smaller size—go to Save As and choose "Excel Binary Workbook" from the format dropdown.
  • Enable Storage Sense on Windows (Settings > System > Storage) to automatically delete temporary files and recycle bin contents.
  • If you frequently work with large datasets, consider upgrading to an SSD with more capacity or adding an external drive dedicated to Excel temp files.

Troubleshooting

If the error persists after following all steps:

  1. Check for disk errors. On Windows, open Command Prompt as Administrator and type chkdsk C: /f. Press Y to schedule a scan on reboot, then restart. On macOS, use Disk Utility > First Aid on your startup disk.
  2. Verify Excel is up to date. Go to File > Account > Update Options > Update Now. Outdated versions may have bugs that misreport disk space.
  3. Test with a new blank workbook. If it saves fine, your original file may be corrupted. Try opening it in Safe Mode: Hold Ctrl while launching Excel, then open the file.
  4. Reinstall Excel only if all else fails. Go to Windows Settings > Apps > Installed apps, find Microsoft Excel, click "Uninstall," then reinstall via Microsoft 365 portal. This preserves your files but resets settings.
  5. If you’re on a work computer and lack admin rights, contact IT—your organization may have group policies restricting temp folder locations or disk usage.

Frequently Asked Questions

Why does Excel say I don’t have enough disk space when I clearly do?

Excel checks the temp folder, not just the main drive. If your system temp folder (usually on the C: drive) is full—even if your D: drive has 500 GB free—it will show this error.

Can I fix this without deleting any files?

Yes. You can change Excel’s temporary file location to a drive with more space. This avoids deletion entirely and is often the cleanest solution.

Does this error mean my hard drive is failing?

No. This is a storage capacity issue, not a hardware failure. However, if you see this error frequently despite having ample space, check for disk errors using chkdsk or Disk Utility.

Why does this happen only with large Excel files?

Larger files require more temporary space during save, calculation, or recalculation. Excel creates multiple copies internally—especially with formulas, macros, or linked data—so even a 200 MB file might need 1 GB of temp space to process.

Will clearing temp files delete my Excel documents?

No. Temp files are only working copies created during editing. Your original .xlsx files remain untouched unless you manually delete them.

Can I use an external drive to solve this?

Yes. Change Excel’s temporary file location to an external drive with sufficient space. Ensure it’s connected every time you use Excel, or you may get errors when Excel tries to access it.