The fastest way to delete a file on your Mac
To delete a file on a Mac, select it in Finder, press Command+Delete, and confirm the deletion. The file moves to Trash. To permanently remove it, empty Trash by right-clicking the Trash icon in the Dock and selecting "Empty Trash", or by going to Finder menu > Empty Trash.
If you want the file gone immediately without using Trash, select it and press Command+Option+Delete instead. This bypasses Trash entirely and removes the file right away. This method is useful when you are deleting sensitive documents or freeing up space quickly.
You can also delete files by right-clicking them and selecting "Move to Trash" from the menu that appears. This takes the same number of steps as the keyboard shortcut but may feel more natural if you prefer using your trackpad or mouse.
Key Takeaways
- Command+Delete moves a file to Trash; Command+Option+Delete removes it permanently without using Trash.
- Files in Trash still take up storage space until you empty the Trash, which you can do from the Dock or the Finder menu.
- You can select multiple files at once by holding Command or Shift, then delete them all together.
- Deleted files cannot be recovered after you empty Trash, so double-check before confirming permanent deletion.
Deleting multiple files at once
If you need to remove several files, you can select them all before deleting. Hold down the Command key and click each file you want to remove. Once all files are highlighted in blue, press Command+Delete to move them all to Trash at the same time.
You can also select a range of files by clicking the first one, then holding Shift and clicking the last one. This selects everything in between. This method works well when the files are listed in order and you want to delete a block of them together.
Another option is to click one file, then press Command+A to select all files in the current folder. Be careful with this approach — make sure you are in the right folder and that you actually want to remove everything before you delete.
Understanding Trash and permanent deletion
When you delete a file using Command+Delete, it goes to Trash but still occupies storage space on your Mac. Think of Trash as a holding area. The file remains there until you empty Trash, which is when it actually leaves your computer.
To empty Trash, click the Trash icon in your Dock (it looks like a can), then click "Empty Trash" in the window that opens. You can also go to the Finder menu at the top of your screen and select "Empty Trash" from there. Either way, you will see a confirmation message asking if you are sure — click "Empty Trash" again to proceed.
Once you empty Trash, the files are gone and cannot be recovered through normal means. If you think you might need a file later, leave it in Trash for a while before emptying. This gives you a safety window to change your mind.
Deleting files from external drives and cloud storage
Deleting files from an external hard drive or USB stick works the same way as deleting from your Mac. Select the file, press Command+Delete, and it moves to Trash. When you empty Trash, the file is removed from the external drive.
Files stored in iCloud Drive, Google Drive, Dropbox, or other cloud services behave differently. When you delete a file from these services on your Mac, it is removed from the cloud as well — not just from your computer. The file disappears from all devices connected to that account. Be extra careful when deleting cloud files, since they are gone everywhere, not just on your Mac.
If you are unsure whether a file is stored locally or in the cloud, look at its location in Finder. Files in iCloud Drive show a cloud icon next to their name. Files in other cloud services usually appear in a folder labeled with the service name, like "Google Drive" or "Dropbox".
Freeing up storage space by deleting files
Deleting files is one way to make room on your Mac when storage is running low. However, remember that files in Trash still count toward your used storage until you empty it. If you are trying to free up space, emptying Trash is just as important as deleting the files themselves.
You can see how much space a file takes up by selecting it and pressing Command+I. A window opens showing the file size. Large video files, photo libraries, and old application installers often take up the most space. Focusing on these types of files gives you the biggest storage boost.
After you delete files and empty Trash, your Mac may take a moment to update the available storage shown in System Settings. Go to Apple menu > System Settings > General > Storage to see your current usage. The numbers should refresh within a few seconds.
Recovering files you deleted by mistake
If you deleted a file by accident and have not yet emptied Trash, recovery is simple. Open Trash from the Dock, find the file you want to keep, right-click it, and select "Put Back". The file returns to its original location on your Mac.
If you have already emptied Trash, recovery becomes much harder. Standard deletion on a Mac does not make data impossible to recover — specialized recovery software may be able to retrieve it — but this is not may provide and can be expensive. The best approach is to avoid this situation by checking Trash before emptying it.
For important files you might delete by mistake, consider using a backup system like Time Machine instead of relying on Trash. Time Machine automatically saves copies of your files, so you can restore an older version even after permanent deletion.
Deleting files that are locked or in use
Some files on your Mac are locked to prevent accidental deletion. If you try to delete a locked file, a message appears saying the file is locked. To delete it anyway, select the file, press Command+I, and uncheck the "Locked" box in the window that opens. Then you can delete it normally.
If a file is currently open in an application, you may not be able to delete it. Close the application first, then delete the file. If you still cannot delete it, restart your Mac. This closes any hidden processes that might be using the file.
System files and files that are part of macOS itself cannot be deleted through normal means — your Mac prevents this to keep the operating system working. If you see a message saying you do not have permission to delete a file, it is likely a protected system file that should not be removed.
Frequently Asked Questions
Can I recover a file after I empty Trash?
Recovery is possible but not may provide after emptying Trash. Specialized data recovery software may retrieve the file, though this is expensive and does not always work. The safest approach is to check Trash before emptying it and restore any files you need using "Put Back".
What is the difference between Command+Delete and Command+Option+Delete?
Command+Delete moves a file to Trash, where it stays until you empty Trash. Command+Option+Delete removes the file permanently without using Trash. Use the second method when you want to delete something immediately and are certain you will not need it.
Do deleted files take up space on my Mac?
Yes, files in Trash still use storage space. They only free up space after you empty Trash. If you are trying to make room on your Mac, emptying Trash is an important step after deleting files.
How do I delete a file I cannot move to Trash?
Check if the file is locked by selecting it and pressing Command+I, then uncheck "Locked". If the file is open in an application, close the application first. If you still cannot delete it, the file may be protected by macOS, which means it should not be removed.
What happens when I delete a file from iCloud Drive?
Deleting a file from iCloud Drive removes it from the cloud and from all devices signed into that account. The file does not go to Trash — it is deleted immediately. Be careful when deleting cloud files, since they disappear everywhere at once.