What gets deleted when you clear your history

When you delete history from your computer, you are removing records of websites you visited, searches you performed, and files your browser downloaded. Most browsers also delete cookies (small files that remember your login information and preferences) and cached files (copies of web pages stored locally to load faster next time). What actually disappears depends on which browser you use and which options you select during deletion.

Clearing history does not uninstall programs, delete your documents, or remove files you saved intentionally to your computer. It only removes the temporary records that browsers create automatically. If you want to delete other types of files — documents, photos, or programs — those require different steps.

The steps differ between Chrome, Firefox, Safari, and Edge because each browser stores this information in different locations. This guide covers the most common browsers on Windows and Mac computers.

Key Takeaways

  • Browsing history, cookies, and cached files are stored separately, and you can delete them together or one at a time depending on your browser's settings.
  • Chrome, Firefox, Safari, and Edge all have a keyboard shortcut to open the deletion menu: Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac.
  • You can set your browser to delete history automatically every time you close it, rather than doing it manually each time.
  • Deleting history from your browser does not remove files you saved to your Downloads folder or Documents folder — those require separate deletion.

Delete history in Google Chrome

Open Chrome and press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac. A window titled "Clear browsing data" will appear. At the top, you will see a dropdown menu that says "All time", "Last hour", "Last 24 hours", "Last 7 days", "Last 4 weeks", or "Last 90 days" — select the time range you want to delete.

Below that, checkboxes appear for what to delete. Make sure these are checked: "Cookies and other site data" and "Cached images and files". The box for "Browsing history" is usually already checked. Leave unchecked anything you want to keep. Click the blue "Clear data" button at the bottom right. Chrome will delete the selected items immediately.

If you want Chrome to delete history automatically every time you close the browser, click the three-line menu in the top right corner, select "Settings", then click "Privacy and security" on the left. Under "Clear browsing data", turn on the toggle for "Delete cookies and site data when you quit Chrome".

Delete history in Mozilla Firefox

Open Firefox and press Ctrl+Shift+Delete on Windows or Command+Shift+Delete on Mac. The "Clear Recent History" window opens. At the top, a dropdown shows "Everything", "Last Hour", "Last 2 Hours", "Last 4 Hours", "Today", or "Last 7 Days" — choose your time range.

Below that, expand the "Details" section to see all options. Check "Browsing & Download History", "Cookies", and "Cache". Uncheck anything you want to keep. Click "Clear Now". Firefox removes the selected data right away.

To set Firefox to clear history automatically on exit, click the three-line menu in the top right, select "Settings", then click "Privacy & Security" on the left. Scroll to "Cookies and Site Data" and check the box that says "Delete cookies and site data when Firefox is closed".

Delete history in Safari (Mac only)

Open Safari and click "History" in the menu bar at the top of the screen. Select "Clear History..." from the dropdown. A small window appears asking how far back to delete: "the last hour", "today", "today and yesterday", or "all history". Choose your range and click "Clear History".

This removes your browsing history but not cookies or cached files by default. To delete those as well, click "Safari" in the menu bar, select "Settings", then click the "Privacy" tab. Click "Manage Website Data..." to see stored cookies and cached data. Select the websites you want to remove data for, or click "Remove All" to delete everything, then click "Remove".

To make Safari clear history automatically, go to "Safari" > "Settings" > "General" tab and look for "Remove history items". Choose "after one day", "after one week", "after two weeks", "after one month", or "manually".

Delete history in Microsoft Edge

Open Edge and press Ctrl+Shift+Delete on Windows. The "Clear browsing data" window opens. At the top, select your time range from the dropdown: "Last hour", "Last 24 hours", "Last 7 days", "Last 4 weeks", or "All time".

Check the boxes for "Browsing history", "Cookies and other site data", and "Cached images and files". Uncheck anything you want to keep. Click "Clear now". Edge deletes the selected items immediately.

To delete history automatically when you close Edge, click the three-dot menu in the top right, select "Settings", then click "Privacy, search, and services" on the left. Scroll to "Clear browsing data" and turn on the toggle for "Choose what to clear every time you close the browser". You can also turn on "Clear browsing data" to delete automatically at exit.

Delete temporary files and cache separately

Your browser stores temporary files in a cache folder on your hard drive. Deleting cache through your browser settings (as described above) removes most of these files, but some temporary files may remain in your system folders. On Windows, these are usually in C:\Users\[Your Username]\AppData\Local\Temp. On Mac, they are typically in /Library/Caches.

To delete these manually on Windows, open File Explorer, type %temp% in the address bar at the top, and press Enter. A folder opens showing temporary files. Select all files (Ctrl+A), then delete them (press Delete key). Some files may be in use and cannot be deleted — skip those and delete the rest.

On Mac, open Finder, press Command+Shift+G to open "Go to Folder", type ~/Library/Caches, and press Enter. You can delete individual cache folders for specific programs, or select multiple folders and delete them together. Deleting cache files does not harm your computer — they will rebuild automatically when you use those programs again.

What to do if history will not delete

If you try to delete history and nothing happens, the most common cause is that your browser is still running in the background. Close the browser completely — not just the window, but the entire program. On Windows, check the taskbar at the bottom to make sure no browser windows are open. On Mac, press Command+Q to fully quit the browser instead of just closing the window.

If history still will not delete, your browser may need an update. Open your browser's settings and look for an "About" or "Help" section that checks for updates automatically. Install any available updates and restart your browser, then try deleting history again.

Another possibility is that your user account does not have permission to delete files. On Windows, right-click the browser icon and select "Run as administrator", then try deleting history. On Mac, this is less common, but you can try restarting your computer and trying again.

Frequently Asked Questions

Does deleting history hide my activity from my internet provider?

No. Your internet service provider can still see which websites you visit because that information travels through their network. Deleting browser history only removes the record from your computer. If you want to hide your activity from your provider, you would need to use a VPN (virtual private network), which is a separate tool.

Can I recover history after I delete it?

Once you delete browsing history through your browser, it is very difficult to recover. However, if you have not restarted your computer or used your browser since deletion, a data recovery program might retrieve it. For most users, deletion is permanent. If you think you might need history later, consider exporting it or taking screenshots instead of deleting.

Will deleting history speed up my computer?

Deleting old browsing history and cache files may free up a small amount of storage space, but the effect on speed is usually minimal unless your cache folder is extremely large. The main reason to delete history is privacy, not performance.

What is the difference between clearing history and clearing cache?

Browsing history is the list of websites you visited. Cache is the copies of those web pages stored on your computer to load faster next time. Clearing history removes the list; clearing cache removes the stored files. Most browsers delete both together, but you can choose to delete only one if you prefer.

Can I delete history for only one website?

Yes. In Chrome, Firefox, and Edge, you can right-click any website in your history list and select "Delete" or "Remove from history" to remove just that site. In Safari, you can select individual sites in the history menu and delete them. This is faster than clearing all history if you only want to remove one or two entries.