How to Delete Cache on Your Computer (Windows & Mac)
Cache files are everywhere on your computer — tucked inside browsers, apps, and the operating system itself. Clearing them can free up disk space, fix sluggish performance, and resolve strange software behavior. But "cache" isn't a single thing, and deleting it isn't a single action. Here's what you actually need to know.
What Cache Files Actually Are
Cache is temporary data your computer saves to speed things up. When you visit a website, your browser stores images, scripts, and page elements locally so the page loads faster on your next visit. When apps run, they save processing data so they don't have to rebuild it from scratch each time.
Over time, these files accumulate. They can grow to several gigabytes on an active machine, become outdated, or even get corrupted — which is when they cause more problems than they solve.
There are three main types of cache most users encounter:
- Browser cache — stored web content from sites you've visited
- System/OS cache — temporary files created by Windows or macOS during normal operation
- App cache — data stored by individual applications like Spotify, Adobe software, or Microsoft Office
Each type is cleared differently.
How to Clear Browser Cache 🖥️
This is the most common cache-clearing task and works similarly across all major browsers.
Google Chrome:
- Press
Ctrl + Shift + Delete(Windows) orCmd + Shift + Delete(Mac) - Set the time range to All time
- Check Cached images and files
- Click Clear data
Mozilla Firefox:
- Open Settings → Privacy & Security
- Under Cookies and Site Data, click Clear Data
- Check Cached Web Content and confirm
Microsoft Edge:
- Press
Ctrl + Shift + Delete - Select Cached images and files
- Click Clear now
Safari (Mac):
- Go to Safari → Settings → Advanced
- Enable Show Develop menu in menu bar
- Click Develop → Empty Caches
Clearing browser cache signs you out of nothing by default — unless you also check cookies. Keep that distinction in mind before confirming.
How to Clear System Cache on Windows
Windows manages most of its own temporary files automatically, but you can clear them manually when disk space is tight or performance dips.
Using Disk Cleanup:
- Press
Windows + S, search for Disk Cleanup - Select your main drive (usually C:)
- Check Temporary files, Temporary Internet Files, and Thumbnails
- Click OK → Delete Files
Using Storage Sense:
- Open Settings → System → Storage
- Click Temporary files
- Review the categories listed and select what to remove
- Click Remove files
Manually via Run:
- Press
Windows + R, type%temp%and press Enter - Select all files (
Ctrl + A) and delete them - Skip any files that are currently in use — Windows will prompt you
The %temp% folder can safely be cleared regularly. Files still in use by active processes will be skipped automatically.
How to Clear System Cache on macOS
macOS handles cache differently. There's a user-level cache and a system-level cache, both stored in Library folders that are hidden by default.
Clearing user cache manually:
- Open Finder
- Click Go → Go to Folder (or press
Cmd + Shift + G) - Type
~/Library/Cachesand press Enter - Open individual app folders and delete their contents (not the folders themselves)
Avoid deleting folders you don't recognize without researching them first. Some app caches rebuild automatically; others take time to regenerate and may slow down the app on first launch after clearing.
Using macOS built-in tools: macOS doesn't have a one-click cache cleaner built in, but System Settings → General → Storage shows storage categories and lets you review recommendations for freeing space.
Third-party utilities like CleanMyMac or OnyX can automate cache clearing, though they vary in how aggressively they clean and which caches they target.
How to Clear App Cache
Individual apps often store their own cache independently of the browser or OS.
| App Type | Where Cache Lives | How to Clear |
|---|---|---|
| Spotify (Windows) | %AppData%SpotifyStorage | Settings → Clear Cache |
| Spotify (Mac) | ~/Library/Caches/com.spotify.client | Settings → Clear Cache |
| Microsoft Teams | %AppData%MicrosoftTeams | Close app, delete folder contents |
| Discord | %AppData%discordCache | Settings → Clear Cache |
| Chrome extensions | Included in browser cache | Cleared with browser cache |
Most apps with significant cache footprints — streaming services, communication tools, creative software — have a cache option somewhere in their settings menu. It's worth checking there before diving into system folders.
Variables That Affect How You Should Approach This 🔧
How aggressively you should clear cache — and which types — depends on factors specific to your setup:
Available storage: On a machine with 256GB or less of storage, regular cache clearing matters more. On systems with 1TB+, the impact is less urgent unless you're seeing specific issues.
OS version: Windows 11's Storage Sense works differently from Windows 10's. macOS Sonoma handles system caches differently than older versions. The exact menu paths and available options vary.
What problem you're solving: Clearing cache to fix a broken webpage is very different from clearing it to recover 10GB of disk space. Targeting the right type of cache matters.
Technical comfort level: Manually navigating hidden Library folders on macOS or deleting contents of %temp% is straightforward for experienced users, but carries some risk if you're unsure what you're looking at.
App dependencies: Some software caches data that affects offline functionality — clearing it means that content has to re-download. For users on metered connections or with large local libraries, that tradeoff is worth considering.
The right approach isn't universal. A developer running low on an SSD, a casual browser with a slow-loading page, and a creative professional with buggy software are all asking the same question but need different answers based on what's actually happening on their machine.