Where your computer stores browsing history
Your web browser keeps a record of every site you visit, every search you make, and every file you download. This record lives in your browser's cache and history folder, not in your operating system itself. When you delete history from your browser, you are removing that record — but the browser stores it in different places depending on whether you use Chrome, Firefox, Safari, or Edge.
Beyond the browser, your computer also stores temporary files, cookies (small files that websites use to remember you), and autofill data. These accumulate over time and can take up storage space. Deleting them does not affect your internet connection or your ability to browse — it simply removes the stored information.
Key Takeaways
- Browsing history is stored inside your web browser, not in Windows or macOS itself, so you delete it from within the browser application.
- Chrome, Firefox, Safari, and Edge all have a "Clear browsing data" or "Clear history" menu that lets you choose what to delete and how far back to go.
- You can delete history from a specific date range (last hour, last day, all time) or clear everything at once.
- Temporary files and cache can also be cleared from within most browsers, which may free up storage space on your computer.
- Closing your browser does not automatically delete history — you must manually clear it or set your browser to do so when it closes.
Deleting history in Chrome
Open Chrome and press Ctrl + H on Windows or Command + Y on Mac. This opens the History page. On the left side, click Clear browsing data. A window will appear with options at the top: choose the time range you want to clear (Last hour, Last 24 hours, Last 7 days, Last 4 weeks, All time). Then check the boxes for what you want to delete — History, Cookies and other site data, and Cached images and files are the most common choices.
Click the blue Clear data button at the bottom right. Chrome will delete your selection immediately. If you want Chrome to clear history automatically every time you close it, go to Settings, click Privacy and security, then turn on "Clear cookies and site data when you quit Chrome."
Deleting history in Firefox
Open Firefox and press Ctrl + H on Windows or Command + Y on Mac to open History. On the left, click Clear Recent History. A window opens with a dropdown menu at the top — select the time range (Last Hour, Last 2 Hours, Last 4 Hours, Today, Everything). Below that, check the boxes for Browsing & Download History, Cookies, and Cache.
Click Clear Now. To make Firefox clear history automatically when it closes, go to Settings, click Privacy & Security, scroll to History, and select "Firefox will use custom settings for history." Then check the box for "Clear history when Firefox closes."
Deleting history in Safari
Open Safari and click History in the menu bar at the top. Click Clear History. A dropdown menu appears asking how far back to clear — choose Last hour, Today, Today and yesterday, or All history. Click Clear History to confirm.
Safari also stores cookies and cache. To clear those, click Safari in the menu bar, then Settings (or Preferences on older versions). Click the Privacy tab, then click Manage Website Data. Select the websites you want to remove data for, or click Remove All to clear everything, then click Remove.
Deleting history in Microsoft Edge
Open Edge and press Ctrl + H on Windows to open History. On the left side, click Clear browsing data. A window appears with a time range dropdown at the top — select 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.
Click Clear now. To have Edge clear history automatically, go to Settings, click Privacy, search, and services, scroll to Clear browsing data, and turn on "Choose what to clear every time you close the browser."
Clearing temporary files on Windows
Windows stores temporary files in a folder that you can access directly. Press Windows key + R to open the Run dialog, type %temp%, and press Enter. A folder opens showing temporary files. Select all files with Ctrl + A, then press Delete. Windows may tell you some files are in use — click Skip to leave those alone and delete the rest.
You can also use Disk Cleanup, a built-in Windows tool. Press Windows key, type "Disk Cleanup," and open it. Select your C: drive (or whichever drive you want to clean), then click OK. Check the boxes for Temporary files, Recycle Bin, and Temporary internet files, then click Delete Files.
Clearing temporary files on Mac
Mac does not have a built-in temporary file cleaner like Windows Disk Cleanup. Instead, you can use the browser's built-in cache clearing (described above) or use a third-party tool. Most Mac users find that clearing browser cache is enough — the operating system automatically manages temporary files and deletes them when space is needed.
If you want to manually find cache files, open Finder, press Command + Shift + G to open Go to Folder, type ~/Library/Caches, and press Enter. You will see folders for each application. Deleting cache folders is safe, but most users do not need to do this manually.
Frequently Asked Questions
Does deleting history make my internet faster?
Deleting history does not speed up your internet connection. It may free up a small amount of storage space on your computer, but it does not affect browsing speed. Clearing cache can sometimes help if your browser is running slowly due to corrupted cached files, but this is rare.
Can someone recover my history after I delete it?
Once you delete history from your browser, it is gone from the normal view. However, your internet service provider (ISP) keeps its own record of sites you visit, and your router may keep logs. Deleting browser history does not hide your activity from your ISP or network administrator.
What is the difference between history and cache?
History is a list of websites you visited. Cache is the actual files (images, scripts, videos) that websites downloaded to your computer so they load faster next time. Deleting history removes the list; deleting cache removes the stored files. You can delete one without deleting the other.
Will deleting history sign me out of websites?
Deleting history alone will not sign you out. However, if you also delete cookies (which most clear-history tools do by default), you will be signed out of most websites because cookies store your login information. You can uncheck the "Cookies" box if you want to keep your logins.
How often should I delete my history?
How often you delete history is a personal choice. Some people clear it weekly, others monthly or yearly. If you are concerned about storage space, clearing it monthly is reasonable. If privacy is your concern, you can set your browser to clear history automatically when it closes.