What "clearing" your Mac actually means
Clearing your Mac is not one thing — it is several separate tasks that each solve a different problem. You might want to delete files you no longer need to free up storage space. You might want to remove programs that slow down your computer at startup. You might want to erase your entire drive to sell the machine or start fresh. Or you might want to clear your browser cache and cookies to reclaim a few gigabytes and improve privacy. Each one requires different steps, and doing the wrong one wastes time.
This guide walks you through the most common clearing tasks in the order most people need them. Start with the easiest — finding and deleting large files — and move to more involved steps only if you need them.
Key Takeaways
- The fastest way to free up space is to find and delete large files and old downloads using Finder's search tools, which takes 10 to 15 minutes.
- Browser cache and temporary files can occupy several gigabytes; clearing them in Safari, Chrome, or Firefox is a one-time task that takes five minutes per browser.
- Removing programs you no longer use from Applications folder and their associated login items can noticeably speed up startup time.
- Emptying the Trash and permanently deleting files requires two steps — moving to Trash, then emptying Trash — because macOS does not delete immediately.
- Erasing your entire Mac requires a backup first and should only be done if you are selling the machine, giving it away, or starting completely fresh.
Finding and deleting large files you no longer need
Large files and folders are usually the fastest way to reclaim storage space. Open Finder, click on your hard drive name in the sidebar (usually "Macintosh HD"), then click File and select Find. In the search window, click the plus sign to add a search rule. Change the first dropdown from "Kind" to "File Size", then set it to "is greater than" and enter a size like 500 MB or 1 GB. This shows you every file larger than that threshold.
Look through the results for things you recognize and no longer need — old video files, installers, duplicate photos, or archived projects. Drag them to the Trash. Pay special attention to your Downloads folder, which often contains old installers and files you downloaded months ago and forgot about. You can also search by date: add another rule, change it to "Created Date", set it to "is before", and pick a date from several years ago. This surfaces files you have not touched in years.
Do not delete system files or anything in your Library folder unless you know exactly what it is. If you are unsure, leave it alone and move to the next file.
Clearing browser cache and temporary files
Your web browser stores copies of every webpage, image, and video you visit so pages load faster next time. Over months or years, this cache can grow to several gigabytes. Clearing it frees space and can also improve privacy by removing records of where you have been online.
In Safari, click Safari in the menu bar, select Settings, click Privacy, then click Manage Website Data. You will see a list of every website that has stored data on your Mac. Click Remove All to delete everything, or select specific sites and click Remove. Then go back to the Privacy tab and click Remove All Website Data to clear the cache itself.
In Chrome, click the three dots in the top right, select Settings, click Privacy and Security, then Clear Browsing Data. A window appears with options for what to delete. Make sure the time range is set to All Time, check Cookies and Other Site Data and Cached Images and Files, then click Clear Data.
In Firefox, click the menu button (three horizontal lines) in the top right, select Settings, click Privacy and Security, scroll to Cookies and Site Data, and click Clear Data. Make sure both checkboxes are selected, then click Clear.
Removing programs and login items that slow startup
Every program you install can potentially run when your Mac starts up, which slows down boot time. Open System Settings (or System Preferences on older Macs), click General, then click Login Items. You will see a list of programs that launch automatically. Remove anything you do not need to start with your Mac by selecting it and clicking the minus sign.
You should also delete programs you no longer use. Open Finder, click Applications in the sidebar, and look through the list. Drag any program you no longer need to the Trash. Some programs leave behind preference files and support folders in your Library, but for most everyday applications, dragging to Trash is enough. If a program came with an uninstaller, use that instead — look in the program's folder for an Uninstall or Remove option.
After removing programs and login items, restart your Mac. You should notice startup is faster.
Emptying the Trash to permanently delete files
When you drag a file to the Trash, it does not disappear from your drive immediately — it sits in the Trash folder until you empty it. This means you can recover deleted files if you change your mind. Once you empty the Trash, recovery is much harder.
To empty the Trash, click the Trash icon in your Dock (it looks like a can), then click Empty in the window that appears. On newer Macs, you can also right-click the Trash icon and select Empty Trash. A confirmation message appears — click Empty to confirm. The files are now removed from your drive and the space is available for new files.
If you want to be extra sure a file is unrecoverable — for example, if you are selling your Mac and want to make sure deleted files cannot be recovered — you can use Secure Empty Trash. On older Macs, this option appears in the Finder menu. On newer Macs, you may need to use Terminal or a third-party tool, as Apple removed the built-in option.
Clearing your entire Mac before selling or giving it away
If you are selling your Mac, giving it to someone else, or starting completely fresh, you need to erase the entire drive and reinstall macOS. This removes all your files, accounts, and settings. Before you do this, back up everything you want to keep using Time Machine or by copying files to an external drive.
To erase your Mac, restart it and hold Command and R while it boots. This starts Recovery Mode. Click Disk Utility, select your hard drive from the list on the left, click Erase, choose a format (APFS for newer Macs, Mac OS Extended for older ones), and click Erase again. This wipes the drive completely. After it finishes, you can reinstall macOS by clicking Reinstall macOS in the Recovery Mode menu, or you can give or sell the Mac as-is with a blank drive.
Do not skip the backup step. Once you erase a drive, recovering files is possible but difficult and expensive. If you have any doubt, back up first.
Checking how much space you have freed
After you complete these steps, you can see how much space you have reclaimed. Click the Apple menu in the top left, select About This Mac, then click Storage. You will see a bar showing how much of your drive is used and how much is free. Compare this to what you saw before you started clearing files. Most people free up between 5 and 20 gigabytes by deleting large files and clearing browser cache.
If your Mac is still running slowly after clearing space, the problem may not be storage — it could be RAM, a failing drive, or too many programs running at once. In that case, check Activity Monitor (open Spotlight by pressing Command and Space, type Activity Monitor, and press Enter) to see which programs are using the most CPU and memory.
Frequently Asked Questions
Is it safe to delete files from my Downloads folder?
Yes, in most cases. Your Downloads folder is meant to be temporary storage for files you download from the internet. If you downloaded an installer six months ago and already installed the program, the installer is safe to delete. If you downloaded a document and already saved it elsewhere, the download is safe to delete. The only risk is if you delete something you actually need — so scan the folder first and only delete things you recognize.
Will clearing my browser cache log me out of websites?
Clearing cache alone usually does not log you out, because your login information is stored in cookies, which are separate. However, if you also clear cookies (which most people do at the same time), you will be logged out of most websites and will need to log back in. This is normal and not a problem.
How often should I clear my Mac?
There is no fixed schedule. Clear your browser cache every few months if you want to reclaim space and improve privacy. Delete large files and old downloads whenever you notice your drive is getting full — macOS will warn you when you have less than a few gigabytes free. You do not need to clear your Mac regularly unless you are running low on space or experiencing slowness.
What happens if I delete a program but it does not disappear from my Applications folder?
Some programs do not delete cleanly by dragging to Trash. Try restarting your Mac and dragging it to Trash again. If that does not work, look for an Uninstall option inside the program's folder, or check the program's website for uninstall instructions. A few programs require you to use a dedicated uninstaller application.
Can I recover files after I empty the Trash?
Yes, but it becomes harder the more you use your Mac after emptying. When you empty Trash, the files are marked as deleted but the space they occupied is not immediately overwritten. Recovery software can sometimes find them if you act quickly. Once you add new files to your Mac, the old deleted files may be overwritten and become unrecoverable. If you accidentally deleted something important, stop using your Mac and look for recovery software or contact a data recovery service.