Clearing your cache and cookies in Windows 10 can fix slow loading, free up disk space, and resolve login or display issues in your browser. This guide covers the built-in tools and browser settings you need, with no extra software required.
What You’ll Need
- Administrator access to your PC (usually the account you log in with)
- Your browser closed or open (you can clear data while it’s open, but restart it afterward)
Step-by-Step
- Clear browser cache and cookies (the most common method)
- Open your browser (Edge, Chrome, Firefox, or Opera).
- Press Ctrl + Shift + Delete to open the clear browsing data window. (In Firefox, it’s Ctrl + Shift + Delete too.)
- Choose a time range. Select “All time” to clear everything, or pick a specific period like “Last hour” or “Last 7 days.”
- Check the boxes for “Cookies and other site data” and “Cached images and files.” You can also clear browsing history if you want.
- Click “Clear data” or “Clear now.” Wait for the confirmation.
- Restart your browser to apply the changes.
- Clear temporary files from Windows (for system cache)
- Press Windows + R to open the Run dialog.
- Type
%temp%and press Enter. This opens the Temp folder for your user account. - Select all files (press Ctrl + A) and delete them. If some files are in use, skip them and continue.
- Open the Run dialog again (Windows + R), type
temp, and press Enter. Delete all files in this folder as well. - Open Run again, type
prefetch, and press Enter. Delete the files inside. (These are safe to remove; Windows will recreate them.)
- Use Disk Cleanup for a thorough system cleanup
- Type “Disk Cleanup” in the Start menu and open it.
- Select your drive (usually C:) and click OK.
- Click “Clean up system files” at the bottom left. Select the drive again.
- Check all the categories you want to clean, especially “Temporary files,” “Temporary Internet Files,” and “Delivery Optimization Files.”
- Click OK and then “Delete Files” to confirm.
- Clear DNS cache (if websites aren’t loading properly)
- Open Command Prompt as administrator. Right-click the Start button and select “Command Prompt (Admin)” or “Windows PowerShell (Admin).”
- Type
ipconfig /flushdnsand press Enter. - You’ll see a confirmation message: “Successfully flushed the DNS Resolver Cache.”
- Clear Microsoft Store cache (if Store apps are misbehaving)
- Press Windows + R, type
wsreset.exe, and press Enter. - A blank Command Prompt window will appear. Wait for it to finish (it may take a minute). The Store will open automatically.
- Press Windows + R, type
Common Mistakes
- Not choosing “All time” – If you only clear the last hour, old cache files remain. For a full cleanup, select “All time.”
- Deleting saved passwords – When clearing cookies, uncheck “Passwords and other sign-in data” if you want to keep your logins.
- Forgetting to restart the browser – Some cache data is held in memory until the browser closes. Always restart after clearing.
- Deleting system files while in use – If you get an error that a file is in use, skip it. It’s normal and doesn’t harm anything.
- Clearing cache too often – Doing it daily can slow down browsing because sites have to reload all assets. Do it monthly or when issues arise.
Tips
- Use a dedicated cleanup tool – Windows 10’s Storage Sense (Settings > System > Storage) can automatically clear temporary files on a schedule.
- Clear cache for a single site – In Chrome, click the padlock icon next to the URL, then “Site settings,” and under “Data” click “Clear data.” This avoids nuking all cookies.
- Keep cookies for trusted sites – If you don’t want to lose logins, use the “Cookies and other site data” option but uncheck “Passwords.”
- Use incognito mode for testing – If a site is broken, open it in an incognito window. If it works, the issue is likely cache/cookies.
- Update your browser – Outdated browsers can have cache bugs. Keep them updated to avoid weird issues.
Troubleshooting
If clearing cache doesn’t fix the issue:
- Check extensions – Disable browser extensions one by one. Sometimes an extension causes the problem, not cache.
- Reset browser settings – In Chrome, go to Settings > Advanced > Reset and clean up > Restore settings to their original defaults. This keeps bookmarks and passwords but removes extensions and resets settings.
- Check for malware – Run Windows Defender (Windows Security) full scan. Malware can hijack browser settings and mimic cache issues.
- If the Temp folder won’t clear – Some files are locked by running programs. Close all apps and try again. If it still fails, restart your PC and try again.
- If Disk Cleanup is stuck – Wait a few minutes; it can take time on large drives. If it never finishes, run it in Safe Mode.
- DNS cache flush fails – Make sure you’re running Command Prompt as administrator. If you get “Unable to flush,” check your network connection.
Frequently Asked Questions
Will clearing cookies log me out of websites?
Yes, clearing cookies will sign you out of most sites. You’ll need to log in again. Your saved passwords (if you kept them) will autofill, but you’ll still have to confirm.
Is it safe to delete all temporary files?
Yes, Windows will recreate any that are needed. You might have to log in to some apps again, but no personal data is lost.
How often should I clear cache?
It depends on your usage. If you browse a lot, once a month is fine. If you notice issues, clear it then. Over-clearing can slow down browsing.
Does clearing cache in one browser affect another?
No, each browser stores its own cache and cookies. You need to clear them separately for each browser you use.
Can I clear cache without deleting cookies?
Yes, in the clear browsing data window, uncheck “Cookies and other site data” and only check “Cached images and files.” This keeps your logins.
What’s the difference between cache and cookies?
Cache stores parts of web pages (images, scripts) to load them faster on repeat visits. Cookies are small files that remember your preferences, logins, and tracking information.
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
- How to Factory Reset a Laptop Without a Password
- How to Access Gmail with Mozilla Thunderbird
- Fix Broken Icons on Windows 11
- Prepare Your Nothing Phone for an Android Update
- Fix AirPlay Not Working on Roku
- How to Retrieve Deleted Voicemail on iPhone