Files · free up space
How to delete files on a Mac
Select the file and press Command-Delete, or drag it to the Trash in the Dock. That only moves it: the file is deleted, and its space freed, when you empty the Trash, by clicking Empty in the Trash window or choosing Finder → Empty Trash. Until then you can put it back with File → Put Back. Once the Trash is emptied, only a backup can bring it back.
Move a file to the Trash
- Select the file or folder in Finder.
- Press Command-Delete, or drag it to the Trash in the Dock.
- If the item is locked, macOS asks first; click Continue to move it anyway.
To unlock an item instead, select it, choose File → Get Info (Command-I) and untick Locked. Nothing is gone yet: the file sits in the Trash, still taking the same space, until the Trash is emptied.
Empty the Trash
- Open the Trash from the Dock.
- Click Empty at the top right of the window, or choose Finder → Empty Trash (Shift-Command-Delete).
- Click Empty Trash in the warning.
This one cannot be undone. Apple's warning is that items emptied from the Trash are permanently deleted and are no longer available. Holding Option as you click Empty skips the warning once; the setting to drop it for good is in Finder → Settings → Advanced, and it is worth keeping.
Delete one item for good
To remove a single file and leave the rest of the Trash as it is, open the Trash, Control-click the item, choose Delete Immediately, and click Delete in the warning. Like emptying, it is permanent.
Let the Trash empty itself
Choose Finder → Settings, click Advanced, and select Remove items from the Trash after 30 days. Each item then gets a month before it goes. Items moved to the Trash from iCloud Drive are removed after 30 days whatever this setting says.
Get a file back
- Still in the Trash: drag it out, or select it and choose File → Put Back.
- Trash already emptied: only a backup has it. With Time Machine, open Time Machine (Spotlight finds it; it is in the Other folder), use the arrows beside the Finder windows to go back to a backup that has the file, select it and click Restore.
Apple's advice is to make a backup copy before deleting if Time Machine is off or has not run recently.
When a file will not delete
- It is locked. Untick Locked in File → Get Info, as above, or click Continue when asked.
- You do not have permission. File → Get Info shows the privileges under Sharing & Permissions. Click the lock to change them; on a shared Mac, ask its administrator.
- An app has it open. If Finder says the item is in use, quit the app that is using it and try again.
- It is inside the Photos library. Delete a photo in Photos, never in Finder; see the Photos library is taking up space.
Where the app comes in
RefreshYourMac lists what is taking the space before anything goes, and what it removes from your own files, such as Large Files, Duplicate Files and the Downloads Folder, is moved to the Trash, so Put Back still works. Caches it deletes outright, because apps rebuild them. Its Trash category, in the download edition, shows how much the Trash holds and empties it permanently when you clean it, the same as Empty Trash. For finding the files worth deleting, see how to find large files on a Mac, and for whether a secure delete still exists, where Secure Empty Trash went.
What to do next: see these numbers for your own Mac. Download RefreshYourMac free, or get it on the Mac App Store.
What it costs to have an app do this
| RefreshYourMac | CleanMyMac | MacKeeper | |
|---|---|---|---|
| Pay once | $24.99 | €119.95 on MacPaw’s store; $89.99 for CleanMyMac X on the Mac App Store | subscription only |
| Yearly | $14.99 a year, first 7 days free | $39.99/yr; €19.91/yr for the cleaning-only Essential Trio | €71.40 for the first year, 1 Mac. Their page shows it against a €119.40 list price |
| Monthly | $1.99 a month | $9.99/mo | €10.95/mo |
| Account needed | No | Yes | Yes |
Before you pay anything, both versions give you 3 free scans. CleanMyMac and MacKeeper prices read from their own pages and the Mac App Store on 27 October 2026; the full comparison is at RefreshYourMac vs CleanMyMac and MacKeeper.
Frequently asked questions
Does moving a file to the Trash free up space?
No. A file in the Trash still takes the same space. The space comes back when you empty the Trash, by clicking Empty in the Trash window or choosing Finder → Empty Trash.
How do I delete one file without emptying the whole Trash?
Open the Trash, Control-click the item, choose Delete Immediately and click Delete in the warning. It is permanent, like emptying the Trash.
Can I get a file back after emptying the Trash?
Not from the Trash. Apple’s warning is that emptied items are permanently deleted. Only a backup has it then: open Time Machine, go back to a backup that holds the file, select it and click Restore. While a file is still in the Trash, File → Put Back returns it.
Why won’t a file on my Mac delete?
It may be locked, which you can undo by unticking Locked in File → Get Info; you may not have permission, which Get Info shows under Sharing & Permissions; or an app may still have it open, in which case quit that app and try again. Photos should be deleted in Photos, never in Finder.