Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

How to Get Rid of System Junk (Windows & Mac)

· 6 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

System junk is the leftover files—temporary caches, old update files, browser debris, and logs—that pile up as you use your computer. Removing it frees storage space and can make your system feel snappier. The short answer: use the built-in disk cleanup tools first, then clear browser caches, and finally remove leftover app files. You don't need third-party “cleaner” apps; the built-in tools are safer and just as effective. This guide covers both Windows and Mac, with steps that work on most recent versions.

What You'll Need

  • A Windows PC (Windows 10 or 11) or a Mac (macOS 11 or later)
  • Admin rights on the computer (you'll need to allow some actions)
  • About 15–30 minutes of time
  • No third-party software required—everything uses built-in tools

Step-by-Step

On Windows

  1. Run Disk Cleanup (the classic tool). Press the Windows key, type “Disk Cleanup,” and open it. Select your main drive (usually C:). It scans and shows a list of file types. Check the boxes for “Temporary files,” “Recycle Bin,” “Delivery Optimization Files,” and “Temporary Internet Files.” Click OK and confirm deletion.
  2. Use Storage Sense (Windows 10/11). Go to Settings > System > Storage. Turn on “Storage Sense” if it's off. Click “Clean now” (or “Clean up now”) to remove temporary files, recycle bin items older than 30 days, and old Windows update leftovers. You can also set it to run automatically.
  3. Clear the Windows Update cache manually (if needed). If Disk Cleanup didn't remove old update files, open File Explorer and navigate to C:\Windows\SoftwareDistribution\Download. Delete the contents of that folder. You may need admin permission—click “Continue” when prompted. This only removes downloaded update files, not installed updates.
  4. Clear your browser cache. In Chrome/Edge: press Ctrl+Shift+Delete, choose “All time,” check “Cached images and files,” and click “Clear data.” In Firefox: press Ctrl+Shift+Delete, select “Cache,” and click “Clear.” This frees space and can speed up browsing.
  5. Remove leftover files from uninstalled programs. Open File Explorer and go to %temp% (type that in the address bar). Select all files and folders inside and delete them. Some may be in use—skip those. Also check C:\Program Files and C:\Program Files (x86) for folders of programs you've uninstalled; if you find one, delete it (but only if you're sure the program is gone).
  6. Empty the Recycle Bin. Right-click the Recycle Bin on your desktop and choose “Empty Recycle Bin.” Confirm.

On a Mac

  1. Use Storage Management. Click the Apple menu > About This Mac > Storage > Manage. You'll see recommendations like “Empty Trash,” “Optimize Storage,” and “Reduce Clutter.” Click “Empty Trash” to permanently delete items in the Trash. Click “Reduce Clutter” to see large files and delete ones you don't need.
  2. Clear system caches (safe method). Open Finder, press Cmd+Shift+G, type ~/Library/Caches and press Enter. You'll see folders for each app. You can delete the contents of these folders (but not the folders themselves). For example, delete everything inside com.apple.Safari to clear Safari's cache. Be careful: only delete cache files, not other data.
  3. Clear browser caches. In Safari: go to Settings > Privacy > Manage Website Data, then click “Remove All.” In Chrome: press Cmd+Shift+Delete, choose “All time,” check “Cached images and files,” and click “Clear data.”
  4. Remove old iOS backups and device backups. In Finder (macOS Catalina and later), connect your iPhone/iPad and go to Manage Backups. Delete old backups you don't need. These can be huge.
  5. Empty the Trash. Right-click the Trash icon in the Dock and choose “Empty Trash.”

Note: Menu names and options may differ slightly depending on your Windows or macOS version. If you can't find a specific setting, use the search bar in Settings or System Preferences.

Common Mistakes

  • Using third-party “registry cleaners” or “PC optimizers.” These often cause more harm than good and are rarely needed. Stick to built-in tools.
  • Deleting files in C:\Windows or /System manually. You can break your OS. Only delete files in the specific folders mentioned above.
  • Clearing all caches on a Mac. Some caches are used by apps to speed up launch; deleting them just means apps rebuild them, which is fine, but don't delete anything else in ~/Library.
  • Skipping the Recycle Bin/Trash. Files you delete are still taking up space until you empty it.
  • Running Disk Cleanup as “clean up system files” and then deleting everything. That's usually fine, but if you're low on disk space, you might want to keep “Windows Update Cleanup” if you plan to roll back a recent update.

Tips

  • Schedule automatic cleanup. On Windows, turn on Storage Sense and set it to run weekly. On a Mac, you can't schedule it, but you can set a monthly reminder to do the steps above.
  • Use the built-in “Clean up system files” button in Disk Cleanup. It finds additional junk like old Windows installations (Windows.old) and update logs.
  • Move large files to an external drive or cloud storage. This isn't junk, but it frees space.
  • Restart your computer after cleaning. This clears any temporary files still in use and refreshes system processes.
  • Check your browser's “clear browsing data” options regularly. You can set Chrome or Edge to clear cache automatically on exit (in Settings > Privacy and Security).

Troubleshooting

If Disk Cleanup or Storage Sense doesn't free as much space as expected: Run it again after a restart. Some files are in use and can't be removed until you reboot. Also, click “Clean up system files” in Disk Cleanup to see more options.

If you get “Access Denied” when deleting temp files: Some temp files are locked by running programs. Close all apps (especially browsers) and try again. If it persists, restart and try again.

If your Mac's storage still shows “System” as huge: That's often due to Time Machine local snapshots or old backups. Go to System Settings > General > Time Machine, and if it's on, you can exclude large folders or delete local snapshots via Terminal (but that's advanced—consider restarting to clear them).

If you accidentally delete something important: Check the Recycle Bin or Trash immediately and restore it. If you've already emptied it, you may need a file recovery tool, but that's not guaranteed. Always be careful with manual deletions.

If your computer becomes slow after cleaning: That's rare, but if it happens, restart. Caches will rebuild over time. If the problem persists, run the built-in disk check (on Windows: chkdsk /f in Command Prompt as admin; on Mac: Disk Utility > First Aid).

Frequently Asked Questions

Is it safe to delete everything in the Temp folder?

Yes, mostly. Windows will skip files that are in use. You can select all and delete; any that fail, skip them. It's safe.

Will clearing browser cache log me out of websites?

Usually not. Cache is different from cookies. If you clear “cached images and files” only, you stay logged in. If you clear cookies too, you'll be logged out.

Do I need a paid cleaner app?

No. The built-in tools are sufficient and safer. Paid apps often do the same thing or push unnecessary features.

How often should I clean system junk?

Once a month is enough for most users. If you're low on storage, do it more often.

Will cleaning junk speed up my computer?

It can, if the drive was nearly full. If you have plenty of free space, the effect is minimal. But it's still good for hygiene.

What's the difference between “Temporary Files” and “System Junk”?

They're basically the same. System junk is a broad term for temporary files, caches, logs, and leftovers. Disk Cleanup calls them “Temporary files.”