What "clearing" your Mac means and which method you need

Clearing a Mac can mean three different things, and which one you need depends on what's slowing it down or taking up space. You might need to delete old files and empty the trash to free up storage. You might need to clear cached files that apps have stored without asking. Or you might need to restart your Mac in a way that closes everything and starts fresh. Most people need one or two of these, not all three.

The fastest way to know which one applies to you: open System Settings, click General, then Storage. If your drive is nearly full (less than 10 percent free), you need to delete files. If your Mac is running slowly but storage looks fine, you likely need to clear cache. If an app is frozen or behaving oddly, a restart usually fixes it.

Key Takeaways

  • Emptying the Trash and deleting old files frees up storage space; check System Settings > General > Storage to see how much space you have left.
  • Clearing cache files (stored by browsers and apps) can speed up a slow Mac without deleting anything you created yourself.
  • Restarting your Mac closes all running programs and clears temporary memory, which fixes most freezing and slowness problems.
  • Safari, Chrome, and Firefox each have their own cache-clearing steps; clearing one browser's cache does not clear the others.
  • If you want to erase your entire Mac before selling or giving it away, use Erase Mac in System Settings rather than manually deleting files.

Empty the Trash and delete files you no longer need

When you delete a file on your Mac, it moves to the Trash but still takes up space on your drive. To actually free that space, you must empty the Trash. Click the Trash icon in your Dock (it looks like a can), then click Empty in the window that opens. This permanently removes the files.

Before you empty the Trash, look through it to make sure nothing important is there. Once you empty it, you cannot undo the action. If you see files you want to keep, drag them back to your Desktop or Documents folder first.

To find files taking up the most space, open System Settings, click General, then click Storage. Your Mac will show you which folders and apps are using the most room. Photos and videos usually take the most space. If you have old downloads, old backups, or duplicate files, those are safe to delete. You can also move large files to an external drive or cloud storage (like iCloud or Google Drive) instead of keeping them on your Mac.

Clear browser cache in Safari, Chrome, or Firefox

Your web browser stores copies of websites you visit so they load faster next time. Over time, this cache can grow large and slow down your browser. Clearing it does not delete your passwords or saved usernames — it only removes the stored website files.

In Safari: Click Safari in the menu bar, then History, then Clear History. Choose how far back you want to clear (Last hour, Today, Today and yesterday, or All time). Select "all history" from the dropdown, then click Clear History.

In Chrome: Click the three dots in the top right, then Settings, then Privacy and security, then Clear browsing data. Make sure "Cached images and files" is checked. Choose your time range at the top (Last hour, Last 24 hours, Last 7 days, Last 4 weeks, or All time), then click Clear data.

In Firefox: Click the menu button (three horizontal lines) in the top right, then Settings, then Privacy & Security. Under Cookies and Site Data, click Clear Data. Make sure "Cached Web Content" is checked, then click Clear.

Clear app cache and temporary files

Apps store temporary files and cache on your Mac just like browsers do. Clearing these can free up space and sometimes fix an app that is behaving strangely. The fastest way is to use your Mac's built-in storage tools rather than hunting through hidden folders.

Open System Settings, click General, then Storage. Look for apps listed there that you no longer use — click on them and select Delete. This removes the app and its associated files. If you want to keep an app but clear only its cache, you can delete and reinstall it, which removes all cached data but keeps your settings if the app syncs them to the cloud.

Some apps (like Spotify, Adobe Creative Cloud, or Slack) have their own cache-clearing settings. Open the app, look for Preferences or Settings, and search for "cache" or "storage". If you find a Clear Cache button, click it. This is faster than deleting and reinstalling.

Restart your Mac to clear memory and fix freezing

Restarting your Mac closes all running programs and clears temporary memory that apps are using. This fixes most freezing, spinning wheels, and slowness that happens during a single session. You do not need to do this often — once a week or when something is not responding is normal.

Click the Apple menu in the top left, then Restart. Your Mac will close all open apps (it will ask you to save unsaved work first), then shut down and start back up. This takes about one to two minutes.

If an app is frozen and you cannot click Restart, hold down Command + Option + Esc to open Force Quit. Click the frozen app, then click Force Quit. This closes only that app without restarting your whole Mac. After you force quit, you can restart normally or just reopen the app.

Put your Mac to sleep versus shutting it down

Sleep and shutdown are not the same. Sleep keeps your Mac powered on but uses very little energy — your Mac wakes up when ready when you touch the trackpad or keyboard. Shutdown turns your Mac completely off and uses no energy, but it takes longer to start back up.

For daily use, sleep is fine. Your Mac will sleep automatically after a few minutes of no activity if you set it to. For clearing memory and fixing slowness, a full restart (shutdown and startup) works better than sleep, because sleep does not clear all temporary files.

If you are not using your Mac for more than a few hours, shutdown saves energy. If you are stepping away for a few minutes, sleep is faster.

Erase your entire Mac before selling or giving it away

If you are selling your Mac or giving it to someone else, do not just delete your files — use Erase Mac instead. Deleting files leaves traces that can sometimes be recovered. Erase Mac wipes everything and prepares your Mac for a new owner.

Back up your Mac first using Time Machine or iCloud, so you have a copy of your files. Then open System Settings, click General, then click Transfer or Reset. Click Erase All Content and Settings. Your Mac will ask for your Apple ID password, then erase everything and restart as if it were brand new. This takes 30 minutes to an hour depending on how much is on your drive.

After erasing, your Mac is ready for the next person to set up with their own Apple ID and files. Do this before you hand over the Mac, not after.

Frequently Asked Questions

Will clearing my cache delete my passwords or saved logins?

No. Clearing cache removes only the temporary files websites store (images, scripts, and data). Your passwords, usernames, and saved payment methods stay in your browser unless you specifically choose to clear them. When you clear cache in Safari, Chrome, or Firefox, those apps ask which data to clear — uncheck "Passwords and other sign-in data" if you want to keep them.

How much space will I free up by clearing cache?

It depends on how long it has been since you last cleared it and how much you browse. Browser cache is usually between 100 MB and 1 GB. App cache varies widely — some apps store gigabytes, others store almost nothing. Check System Settings > General > Storage to see which apps are using the most space, then clear those first.

Can I clear my Mac while it is sleeping?

No. Your Mac must be awake to clear files or cache. If your Mac is asleep, move your mouse or press a key to wake it up first. Clearing cache or deleting files requires your Mac to be running and responsive.

What is the difference between clearing cache and clearing cookies?

Cache is the temporary files websites store so they load faster. Cookies are small text files that remember your login, preferences, and shopping cart. Clearing cache does not delete cookies. Clearing cookies removes your saved logins and preferences on websites. Most people should clear cache regularly but clear cookies only if a website is behaving strangely or you want to log out everywhere.

Do I need to clear my Mac if I am not having problems?

Not necessarily. If your Mac is running fast and you have plenty of free storage, clearing is optional. If you notice slowness, your storage is nearly full, or a website is not loading correctly, that is when clearing helps. Many people clear cache once a month as routine maintenance, but it is not required.