Running out of hard drive space can slow down your computer and prevent you from installing new programs or saving files. This guide shows you a systematic way to free up space on Windows or macOS, from quick wins like clearing temporary files to deeper cleanups like removing duplicate files and moving large files to external storage. You don’t need any special software—just a bit of time and the built-in tools on your system.
What You’ll Need
- Administrator access to your computer (to delete system files and empty the Recycle Bin/Trash).
- An external hard drive or cloud storage (optional, for moving large files).
- About 30–60 minutes of uninterrupted time.
Step-by-Step
- Check what’s taking up space. Before deleting anything, see where your space is going. On Windows, go to Settings > System > Storage and click on each category (Apps, Temporary files, etc.) to see sizes. On macOS, click the Apple menu > About This Mac > Storage and click Manage. This gives you a breakdown of what’s using your drive.
- Empty the Recycle Bin or Trash. This is the easiest win. Right-click the Recycle Bin (Windows) or Trash (macOS) and select Empty Recycle Bin or Empty Trash. This permanently deletes files you’ve already removed, freeing up space immediately.
- Delete temporary files. Windows: Open Settings > System > Storage > Temporary files, check the boxes for items like “Temporary files” and “Delivery Optimization Files,” then click Remove files. macOS: Go to Finder > Go > Go to Folder, type
~/Library/Caches, and delete the contents of folders you no longer need (be careful not to delete system-required caches). Alternatively, use a tool like CleanMyMac or OnyX, but the manual method is free. - Uninstall programs you don’t use. Go to Control Panel > Programs > Uninstall a Program (Windows) or drag apps from the Applications folder to the Trash (macOS). Sort by size to see which are hogging space. Pay special attention to trial software, old games, and toolbars you never use.
- Move large files to external storage or cloud. Look for files bigger than 1 GB—videos, ISO images, disk images, and old backups. Move them to an external drive or upload to a cloud service like Google Drive or OneDrive. On Windows, you can use Storage Sense to automatically move files to OneDrive if you have it set up. On macOS, use Optimize Storage to keep only recent files locally.
- Clear browser cache and downloads. Open your browser (Chrome, Edge, Firefox, Safari) and clear the cache. Also, empty your Downloads folder—it often accumulates large files you’ve already used. On Windows, you can set Downloads to auto-delete after 30 days via Storage Sense.
- Delete duplicate files. Use a free tool like dupeGuru or CCleaner’s Duplicate Finder (Windows) or Gemini 2 (macOS) to find and remove duplicate documents, photos, and music. Be careful to review before deleting—you might have different versions of the same file that you want to keep.
- Compress old files. If you have folders you rarely access but don’t want to delete, right-click and select Compress (macOS) or Send to > Compressed (zipped) folder (Windows). This can shrink files by 30–50%, especially for text documents and spreadsheets.
- Disable hibernation (Windows) or use optimized storage (macOS). Windows: Open Command Prompt as administrator and type
powercfg /h offto disable hibernation and delete thehiberfil.sysfile (which can be several GB). macOS: In About This Mac > Storage > Manage, enable Optimize Storage to automatically remove watched movies and TV shows from Apple TV. - Run Disk Cleanup (Windows) or Storage Management (macOS). Windows: Type “Disk Cleanup” in the Start menu, select your drive, and check all boxes, especially “System files.” This removes Windows Update leftovers, old logs, and more. macOS: Use the Manage button in Storage settings to review recommendations like emptying Trash automatically and reducing clutter.
Common Mistakes
- Deleting files you still need. Always double-check before deleting, especially in AppData or Library folders. If unsure, move to an external drive first.
- Ignoring the Recycle Bin/Trash. Files you delete still take up space until you empty it. Make it a habit to empty it weekly.
- Deleting system files you don’t understand. Never delete files in
System32,WinSxS, or/Systemunless you know exactly what they are. Use built-in tools instead. - Not checking for duplicates. People often have multiple copies of the same photo or document scattered across folders. Use a duplicate finder to catch these.
- Forgetting about the Downloads folder. It’s easy to accumulate GBs of installers and PDFs you’ve already used. Clean it regularly.
Tips
- Use Storage Sense on Windows. Go to Settings > System > Storage and turn on Storage Sense to automatically delete temporary files and empty the Recycle Bin on a schedule.
- Enable Optimize Storage on macOS. This automatically removes watched Apple TV content and can store iCloud files only on demand, freeing up local space.
- Move your page file or virtual memory to another drive. If you have a second drive, you can move the page file to it, freeing up space on your main drive (though this is advanced).
- Use a disk usage analyzer. Tools like WinDirStat (Windows) or DaisyDisk (macOS) give you a visual map of what’s taking up space, making it easier to spot large files.
- Regularly clean up every 3–6 months. Don’t wait until you’re out of space. Set a reminder to do a quick cleanup quarterly.
Troubleshooting
If you still don’t have enough space after following these steps:
- Check for system restore points. On Windows, System Restore can use several GB. Go to Control Panel > System > System Protection and reduce the disk space usage or delete old restore points.
- Look for hidden large files. Use a disk analyzer to find files over 1 GB that you might have missed. Sometimes old virtual machine images or game captures are hidden in user folders.
- Consider upgrading your drive. If you’re consistently running out of space, it might be time to replace your hard drive with a larger one or add an external drive for bulk storage.
- If you can’t delete a file because it’s in use, restart your computer and try again. If it’s a system file, run a disk check or use the built-in cleanup tools.
Frequently Asked Questions
How much space can I realistically free up?
It depends on how cluttered your drive is. Typically, you can free up 5–20 GB by clearing temporary files, emptying the Recycle Bin, and uninstalling unused programs. If you have large media files, you could free up hundreds of GB by moving them.
Is it safe to delete files in the AppData or Library folder?
Generally, yes, but only for specific subfolders like Temp or Cache. Never delete the entire AppData or Library folder—it contains program settings and data. Use the built-in cleanup tools instead.
Will deleting temporary files break my programs?
No. Temporary files are meant to be deleted. Programs will recreate them as needed. However, avoid deleting files in the System32 or WinSxS folders on Windows, as those are critical.
How do I find large files on my computer?
On Windows, use File Explorer’s search and sort by size, or use a tool like WinDirStat. On macOS, use Finder’s All My Files and sort by size, or use DaisyDisk.
What’s the difference between clearing cache and deleting cookies?
Clearing cache removes temporary files that speed up websites, while deleting cookies removes login sessions and preferences. Both are safe to delete, but you’ll have to log into websites again. Clearing cache frees up more space.
Can I move installed programs to another drive?
Yes. On Windows, you can use the Move option in Settings > Apps > Installed apps (for some apps). On macOS, you can drag the app to another drive, but it may not work if it has system components. It’s often easier to uninstall and reinstall on the other drive.
Related
General steps for current mainstream versions; menus can differ by device and version. See the disclaimer or report an error.
More in this bed
- Mac Restart Problem? Fix the Error
- MacBook Sleep Mode: How to Turn It Off
- Oculus Air Link Not Working on Windows? Fixes
- Windows 10 Can’t Detect Hard Drive? Fixes That Work
- How to Archive Emails in Outlook Automatically or Manually
- Restore iPhone from Backup: iCloud & iTunes Steps