The fastest way to delete a file
To delete a file on Mac, click it once to select it, then press the Delete key (or Fn + Delete on newer MacBooks). A dialog box will appear asking you to confirm. Click "Remove" and the file moves to Trash. That is the whole process.
If you do not see a Delete key on your keyboard, you can also right-click the file and choose "Move to Trash" from the menu that appears. Both methods do the same thing — they send the file to Trash, where it sits until you empty the Trash bin.
The file is not actually gone until you empty Trash. Until then, you can recover it by opening Trash (look for the Trash icon in your Dock at the bottom of the screen), finding the file, right-clicking it, and choosing "Put Back". This is why Trash exists — it gives you a safety window to change your mind.
Key Takeaways
- Select a file and press Delete (or Fn + Delete), then click "Remove" to send it to Trash.
- Files in Trash are not permanently deleted until you empty the Trash bin, which you can do by right-clicking the Trash icon and choosing "Empty Trash".
- You can recover a file from Trash by opening Trash, finding the file, and clicking "Put Back" before you empty it.
- Emptying Trash permanently deletes files from your Mac, so double-check that you do not need anything in there first.
- If a file is locked or in use by another program, Mac will tell you and prevent deletion until you close the program or unlock the file.
What happens when you move a file to Trash
When you delete a file, Mac does not erase it from your hard drive right away. Instead, it marks the file as deleted and moves it to a folder called Trash. The file still takes up space on your Mac until you empty Trash. This two-step process protects you from accidentally losing something you need.
You can see everything in your Trash by clicking the Trash icon in the Dock (it looks like a trash can). If the Trash icon shows a small "x" or looks empty, your Trash bin is already empty. If it shows crumpled paper inside, you have files waiting to be permanently deleted.
How to permanently delete a file
To permanently delete a file and free up the space it uses, you must empty Trash. Right-click the Trash icon in your Dock and select "Empty Trash". A confirmation dialog will appear. Click "Empty Trash" again to confirm. Once you do this, the files are gone and cannot be recovered through normal means.
If you want to empty Trash but keep one or two files, open Trash first, right-click the files you want to keep, and choose "Put Back". Then empty Trash. This way you recover what you need before the permanent deletion happens.
When Mac will not let you delete a file
Sometimes you will try to delete a file and Mac will show a message saying the file is "in use" or "locked". This happens when another program has the file open. Close the program first, then try deleting again. For example, if a document is open in Word, you cannot delete it until you close Word.
A file can also be locked if you or someone else set it that way. To unlock a file, right-click it and choose "Get Info". In the window that opens, look for a checkbox that says "Locked" near the bottom. Uncheck it, close the window, and try deleting again.
Deleting files from external drives and cloud storage
If you delete a file from an external hard drive or USB stick, it goes to Trash on your Mac, not to a trash bin on the external drive. You can still recover it from your Mac's Trash. Once you empty your Mac's Trash, the file is gone.
Files stored in iCloud Drive, Google Drive, or Dropbox work differently. When you delete them, they may move to a trash or bin within that service, not to your Mac's Trash. Each service keeps deleted files for a limited time — usually 30 days — before permanently removing them. Check the service's website or app to recover a file if you deleted it by mistake.
Freeing up space by deleting old files
If your Mac is running slowly or you are running out of storage, deleting old files you no longer need is one way to free up space. Before you delete anything, think about whether you might need it later. Photos, videos, and large documents take up the most space.
A safer approach is to move old files to an external hard drive or cloud storage first, then delete them from your Mac. This way you keep them but get the storage space back. Once the files are safely backed up elsewhere, you can delete them from your Mac and empty Trash.
Frequently Asked Questions
Can I recover a file after I empty Trash?
Once you empty Trash, recovery is very difficult and usually requires paid software or professional help. This is why it is important to double-check Trash before you empty it. If you realize you deleted something by mistake, do not use your Mac much — the more you use it, the harder recovery becomes.
What is the difference between Delete and moving to Trash?
On Mac, pressing Delete moves the file to Trash. The file is not truly deleted until you empty Trash. Some other systems permanently delete files right away, but Mac gives you this safety step in between.
Can I delete a file that is synced to iCloud?
Yes, but deleting it from your Mac also removes it from iCloud and any other devices signed into that iCloud account. If you only want to remove it from one device, you may need to use that device's settings to stop syncing that particular file.
Why does Mac say a file is locked?
A file is locked when you or someone else set it to read-only mode, or when another program is actively using it. Right-click the file, choose "Get Info", and uncheck "Locked" to unlock it. If a program is using it, close that program first.
Does deleting a file from my Mac delete it from my backup?
Not when ready. If you use Time Machine or another backup service, deleted files usually stay in your backup for a set period — often 30 days or longer. You can recover an old version of a file from your backup even after you delete it from your Mac.