Computer storage cleanup removes unnecessary files to free up disk space, improve system performance, and prevent slowdowns or errors from low storage. You don’t need special tools—just built-in utilities and a few minutes of your time. This guide covers Windows and macOS steps clearly and safely.
What You’ll Need
- Access to your computer (Windows 10/11 or macOS 12 or later)
- Administrative privileges (to delete system files)
- 10–30 minutes of uninterrupted time
- Optional: an external drive or cloud storage for backup before major deletions
Step-by-Step
- Open Disk Cleanup (Windows) or Storage Management (macOS)
On Windows, press Windows + S, type Disk Cleanup, and open it. Select the drive (usually C:), then click OK. On macOS, click the Apple menu > About This Mac > Storage > Manage. Both interfaces scan your drive—wait for this to finish. - Review and Select Files to Delete
On Windows, Disk Cleanup lists categories like Temporary files, Downloaded program files, Recycle Bin, and System error memory dump files. Check the boxes next to items you’re confident about (e.g., temporary files, thumbnails, temporary setup files). For deeper cleanup, click Clean up system files and repeat—this unlocks additional options like Windows Update Cleanup and Previous Windows installations (if present). On macOS, Storage Management shows categories like Recommendations, Optimize Storage, and Empty Trash. Use the Empty Trash button if items are already in the bin, or review Large Files and Old Files to delete manually. - Clear Browser Cache and Cookies
Open your web browser. In Chrome (Windows/macOS): go to Settings > Privacy and security > Clear browsing data. Select Cached images and files and Cookies and other site data, choose Last hour or All time, then click Clear data. In Firefox: Settings > Privacy & Security > Clear Data. In Safari (macOS): Safari > Clear History and check Remove all website data. This frees up gigabytes over time, especially if you browse heavily. - Uninstall Unused Programs
On Windows: Settings > Apps > Installed apps. Sort by Size to find large, rarely used apps. Click the three dots (⋮) next to each and select Uninstall. On macOS: drag apps from /Applications to the Trash, then empty it. For apps with extra files (e.g., Steam, Adobe programs), use their built-in uninstallers or tools like AppCleaner (free, from dev Macjanitor) to remove leftover preference and cache files. - Move or Delete Large Files Manually
On Windows, open File Explorer, go to This PC, right-click your main drive (C:), and choose Properties > General tab. Click Disk Cleanup > Clean up system files, then check Temporary files and Downloaded program files. For direct search, type size:gigantic in the File Explorer search bar (Windows 11) or use Kind:document and sort by Size to find large documents, videos, or ISOs. On macOS, in Storage Management, go to Large Files to see files over 100 MB. Delete or move them to an external drive or cloud storage (e.g., iCloud, Google Drive). - Empty the Recycle Bin or Trash
On Windows, right-click the Recycle Bin icon on the desktop and select Empty Recycle Bin. Confirm the prompt. On macOS, open the Trash (click the Dock icon), then click Empty in the top-right corner. Note: Deleted files here are no longer recoverable without data-recovery software. - Disable Hibernation (Windows Only, Advanced)
Hibernation creates a hidden file (hiberfil.sys) roughly equal to your RAM size. To disable it: open Command Prompt as Administrator (search for cmd, right-click > Run as administrator), then typepowercfg /h offand press Enter. This frees up RAM-sized space instantly. Re-enable withpowercfg /h onif needed later.
Common Mistakes
- Deleting system-critical files in Disk Cleanup without checking—only select items you recognize or the guide recommends.
- Emptying the Recycle Bin/Trash without backing up important work first—accidental deletions can’t be undone easily.
- Uninstalling programs you still rely on (e.g., drivers, utilities like NVIDIA Control Panel or Intel Graphics Command Center).
- Running Disk Cleanup or storage management while running other heavy apps—this can cause errors or incomplete scans.
Tips
- Run cleanup monthly—small, frequent tasks prevent large buildups.
- Use Storage Sense on Windows (Settings > System > Storage) to automate temporary file deletion and Recycle Bin emptying.
- On macOS, enable Optimize Storage in Storage Management to automatically remove downloaded emails, photos, and files after 30 days.
- For photos and videos, upload to cloud services like Google Photos (free, compressed) or iCloud Photos, then delete originals after confirming uploads succeed.
- Keep a list of large folders (e.g., Downloads, Documents, Desktop) and review them quarterly for duplicates or outdated files.
Troubleshooting
If Disk Cleanup or Storage Management hangs or shows no space freed:
- Restart your computer first—this closes background processes that lock files.
- Run as Administrator (Windows): right-click Disk Cleanup and choose Run as administrator to ensure full access.
- Check disk health: On Windows, open Command Prompt as admin and run
chkdsk C: /f, then restart. On macOS, open Disc Utility > select your drive > First Aid > Run. - Use third-party tools cautiously: If built-in methods fail, try free tools like WinDirStat (Windows) or DaisyDisk (macOS) to visualize disk usage. Avoid paid tools with aggressive upselling.
- If low space causes boot issues (e.g., Windows won’t start), boot into Safe Mode (hold Shift while clicking Restart) and run Disk Cleanup from there.
Frequently Asked Questions
Does cleaning storage make my computer faster?
Only if low disk space (<10% free) was causing slowdowns. Freeing space helps with temporary file access and system responsiveness, but it won’t fix slow hardware or outdated software.
Is it safe to delete temporary files?
Yes—temporary files are meant to be removed. Disk Cleanup marks them as safe. If a program is actively using one, it won’t be deleted.
Can I delete Windows.old?
Only if you’ve used Windows for at least 10 days and are satisfied with the current version. It contains your old OS files for rollback. Use Disk Cleanup’s Clean up system files option to remove it safely.
Why does my storage keep filling up even after cleanup?
Check for auto-updates, system restore points (Windows), or app caches that rebuild quickly. Enable Storage Sense or review Recent files in your cloud services. Large downloads (e.g., game installers) may reappear if not deleted.
Does deleting files permanently erase them?
No—files in the Recycle Bin/Trash are recoverable. Emptying them makes recovery difficult but possible with tools. For secure deletion, use built-in options like Secure Empty Trash (macOS, disabled by default in newer versions) or third-party tools like Eraser (Windows).
How much free space should I leave on my drive?
Aim for at least 10–15% free space. SSDs especially need room for wear leveling and performance. Below 5% free, your system may slow down significantly.