What clearing a hard drive means and when you need to do it
Clearing a hard drive on a Mac means removing files and data to free up storage space, but the term covers several different situations. You might want to delete old files you no longer use, wipe everything before selling or giving away the Mac, or reset the drive to fix performance problems. Each situation requires a different approach, and doing the wrong one can mean losing files you meant to keep.
Before you start, figure out which of these three situations matches yours: you want more storage space on a Mac you still use; you want to erase everything because you are selling or recycling the machine; or you want to reset the drive because the Mac is running slowly. The steps are different enough that starting with the wrong one wastes time and creates risk.
Key Takeaways
- Freeing up space on a Mac you still use means finding and deleting large files and old backups, not erasing the entire drive.
- Before you delete anything, check how much storage you actually have and what is using it by opening About This Mac in the Apple menu.
- If you are selling or recycling the Mac, use Erase Mac from System Settings to wipe everything securely, not just dragging files to Trash.
- Erasing the drive removes the operating system, so you will need the macOS installation files or recovery mode to make the Mac usable again.
- External drives and Time Machine backups take up significant space and are usually safe to delete once you have verified the files you need are elsewhere.
Check what is using your storage before you delete anything
Open the Apple menu in the top left corner and select About This Mac. Click the Storage tab. You will see a colored bar showing how much space is used and what type of files are taking it up — Documents, Photos, Backups, and so on. This tells you where the problem actually is before you start deleting.
Click Manage to see a more detailed breakdown. This window shows you the largest files and folders on the drive, sorted by size. Look for things like old backups, duplicate photos, or downloads you no longer need. Many people find that backups and old video files account for half their storage problem. Knowing this before you start means you can delete the right things instead of clearing out files you actually use.
Delete large files and old backups to free up space
Start with the easiest targets: old backups, large video files, and downloads you have not opened in months. Open Finder and navigate to your Downloads folder. Sort by date modified and delete anything older than six months that you do not recognize. Most people accumulate hundreds of megabytes of installers and old documents here.
Check your Documents and Desktop folders the same way. Look for duplicate files, old project folders, and anything with a date from more than a year ago. If you use Photos, open the Photos app and check the Recently Deleted album — deleted photos stay there for 30 days before they are removed permanently, and they still count against your storage. Empty that album if you are sure you do not need those photos.
If you have Time Machine backups stored on an external drive, those can be deleted once you have verified the files you need are backed up elsewhere. Connect the external drive, open Finder, and look for a folder called Backups.backupdb. You can delete this entire folder if you have another backup method in place. Do not delete it if this is your only backup.
Remove old backups and cache files from your Mac
Your Mac stores temporary files and old backups that you cannot see in the normal Finder view. Open Finder and press Command+Shift+Period (the period key) to show hidden files. Navigate to your home folder — the one with your username. Look for folders named .cache, .trash, and Library. These contain temporary files that can safely be deleted.
Inside the Library folder, look for a Caches folder. This holds temporary data from apps you use. You can delete the contents of this folder without breaking anything — the apps will recreate what they need. Be careful not to delete the entire Library folder itself, only the files inside Caches.
If you have multiple user accounts on the Mac, repeat this process for each account. Each user has their own Library and Caches folder. You can also delete entire user accounts if someone no longer uses the Mac — open System Settings, click General, then Users & Groups, select the account, and click the minus button. This removes all files associated with that account.
Erase the entire drive if you are selling or recycling the Mac
If you want to remove everything and start fresh, or if you are giving the Mac to someone else, use Erase Mac instead of just deleting files. This securely removes all data so it cannot be recovered. Open System Settings, click General, then click Erase All Content and Settings. The Mac will ask you to sign out of your Apple ID and confirm the action.
The process takes 30 minutes to several hours depending on how full the drive is. Your Mac will restart several times. When it finishes, the drive will be completely empty and the Mac will boot into the macOS setup screen, as if it were brand new. This is the only way to may support that deleted files cannot be recovered by someone with technical knowledge.
Do not use Erase Mac if you plan to keep using the Mac yourself — you will need to reinstall macOS afterward, which requires the installation files or access to recovery mode. If you just want more storage space, use the file deletion methods in the earlier sections instead.
Reinstall macOS after erasing if you are keeping the Mac
If you erased the drive but want to keep the Mac, you need to reinstall the operating system. Restart the Mac and hold Command+R while it boots. This opens Recovery Mode, which lets you reinstall macOS without needing installation files. Click Reinstall macOS and follow the prompts. The process takes 30 minutes to an hour depending on your internet speed.
If Command+R does not work, try Command+Option+R to install the macOS version that came with your Mac, or Command+Shift+Option+R to install the latest compatible version. Once macOS is installed, you can sign back into your Apple ID and restore files from a Time Machine backup if you have one.
Use external drives to move files instead of deleting them
If you are not sure whether you need a file, move it to an external drive instead of deleting it. Connect an external drive to your Mac, open Finder, and drag large files or folders to the drive. This frees up space on your Mac while keeping the files safe. You can always move them back later if you need them.
External drives are inexpensive and much faster than cloud storage for moving large amounts of data. A 2 TB external drive costs between $50 and $100 and can hold years of photos, videos, and documents. Once files are on the external drive, eject it safely by right-clicking it in Finder and selecting Eject, then disconnect it.
Frequently Asked Questions
How much free space should I keep on my Mac?
Keep at least 10 to 15 percent of your total drive capacity free. If your Mac has a 256 GB drive, that means keeping 25 to 40 GB empty. When the drive gets too full, the Mac slows down because it cannot create temporary files it needs to run. Once you drop below 5 percent free space, performance problems become noticeable.
Can I recover files after I empty the Trash?
Files deleted from Trash can sometimes be recovered with special software, but it becomes harder the more you use the Mac afterward. If you deleted something important by accident, stop using the Mac and contact a data recovery service. Do not install new programs or read files, as this overwrites the space where deleted files were stored.
What is the difference between emptying Trash and using Erase Mac?
Emptying Trash removes files from the Trash folder but leaves data on the drive where it can be recovered. Erase Mac securely overwrites the entire drive so deleted data cannot be recovered. Use Erase Mac only when you are selling the Mac or completely resetting it. For everyday file deletion, emptying Trash is sufficient.
Should I delete my Time Machine backup to free up space?
Only delete Time Machine backups if you have another backup method in place, such as files stored in iCloud or on an external drive. Time Machine is your safety net if something goes wrong. If this is your only backup, keep it even if it uses significant space. You can delete older backups while keeping recent ones by opening Time Machine preferences.
Why is my Mac still slow after I deleted files?
Deleting files does not always speed up a Mac if the problem is caused by too many apps running at startup, outdated software, or a failing hard drive. Check System Settings under General, then Login Items to see what programs start automatically. Restart your Mac regularly and keep macOS updated. If the Mac is still slow after these steps, the hard drive itself may be failing and need replacement.