What temporary internet files are and why they pile up

Temporary internet files are copies of web pages, images, videos, and other content that your browser saves to your computer automatically. When you visit a website, your browser downloads these files to a folder on your hard drive so the page loads faster the next time you visit it. This is called caching, and it is a useful feature — but the files keep accumulating until you delete them.

Over time, these cached files can take up several gigabytes of storage space, slow down your computer, or cause a website to display an outdated version of itself. Clearing them is one of the simplest ways to free up disk space and troubleshoot display problems without affecting your passwords, bookmarks, or other important browser settings.

Key Takeaways

  • Temporary internet files are cached copies of web pages and images your browser stores automatically to speed up loading times.
  • Clearing these files frees up storage space and can fix problems where websites display outdated content or load incorrectly.
  • The steps to clear cached files differ depending on whether you use Chrome, Firefox, Safari, or Edge, but all take less than two minutes.
  • You can set your browser to clear these files automatically every time you close it, so you do not have to remember to do it manually.

How to clear temporary files in Google Chrome

Open Chrome and click the three vertical dots in the top right corner. Select Settings from the menu, then click Privacy and security on the left side. Choose Clear browsing data.

A window will appear with several checkboxes. Make sure Cached images and files is checked — this is the temporary internet files folder. You can leave the other boxes checked or unchecked depending on what else you want to remove. At the top of the window, use the dropdown menu to select All time if you want to clear everything, or choose a shorter time period like Last 7 days. Click the blue Clear data button at the bottom right.

How to clear temporary files in Mozilla Firefox

Open Firefox and click the three horizontal lines (called a hamburger menu) in the top right corner. Select Settings, then click Privacy & Security on the left. Scroll down to the section labeled Cookies and Site Data.

Click the button that says Clear Data. A box will pop up with two checkboxes. Make sure Cached Web Content is checked — that is Firefox's name for temporary internet files. Leave Cookies and Site Data unchecked unless you want to log out of websites. Click Clear to finish.

How to clear temporary files in Safari and Microsoft Edge

In Safari on a Mac, click Safari in the top menu bar, then select Clear History. A dropdown menu appears asking how far back to clear — choose All history to remove all cached files. Click Clear History to confirm. On an iPhone or iPad, go to Settings > Safari > Clear History and Website Data.

In Microsoft Edge, click the three dots in the top right corner and select Settings. Click Privacy, search, and services on the left. Under Clear browsing data, click Choose what to clear. Check the box for Cached images and files, set the time range to All time, and click Clear now.

Setting your browser to clear files automatically

Instead of clearing temporary files manually every few weeks, you can tell your browser to do it automatically when you close it. In Chrome, go to Settings > Privacy and security > Clear browsing data, then check the box that says Clear cookies and other site data when you quit Chrome. In Firefox, go to Settings > Privacy & Security, scroll to Cookies and Site Data, and check Delete cookies and site data when Firefox is closed.

In Safari on Mac, click Safari > Settings > Privacy, then check Remove all website data when quitting Safari. In Edge, go to Settings > Privacy, search, and services and toggle on Clear browsing data under the section labeled Clear browsing data. Once you turn this on, your browser will handle the cleanup without any action from you.

When clearing temporary files fixes common problems

If a website looks broken, displays old information, or refuses to load properly, clearing your cached files is often the first thing to try. Sometimes a website updates its design or fixes a bug, but your browser keeps showing you the old cached version. Clearing the cache forces your browser to read the current version the next time you visit.

Clearing temporary files can also help if you are having trouble logging into a website, seeing outdated prices or inventory, or experiencing slow page load times. It is a safe action — you will not lose your passwords, bookmarks, or browser history unless you specifically check those boxes when clearing data. The only downside is that websites will load slightly slower the first time you visit them after clearing, because your browser has to read everything fresh.

Frequently Asked Questions

Will clearing temporary files delete my passwords or bookmarks?

No. Temporary internet files are separate from passwords and bookmarks. When you clear cached images and files, your saved passwords and bookmarks stay in place. If you want to keep those, just make sure those checkboxes are unchecked when you clear data.

How much storage space do temporary files usually take up?

It varies widely depending on how much you browse and how long it has been since you last cleared the cache. For most people, temporary files take up between 100 megabytes and 2 gigabytes. If your computer is running low on storage, clearing the cache can free up noticeable space.

Is it safe to clear temporary files?

Yes, it is completely safe. Temporary files are meant to be deleted. The only effect you might notice is that websites load slightly slower the first time you visit them after clearing, because your browser has to read the files again.

Do I need to clear temporary files on my phone?

Phones manage storage differently than computers, and most phones clear cached data automatically. If your phone is running slowly or you are low on storage, clearing the browser cache can help, but it is usually less urgent than on a desktop computer.