The basic way to delete a file on Mac

To delete a file or folder on your Mac, click it once to select it, then press Command+Delete. The item moves to Trash, which is the folder in your dock that looks like a trash can. Nothing is actually gone yet — Trash holds deleted items until you empty it, which gives you a chance to change your mind.

You can also right-click any file and choose "Move to Trash" from the menu that appears. Both methods do the same thing: they move the file to Trash rather than erasing it from your drive.

To see what is in your Trash, click the Trash icon in your dock. A window opens showing everything you have deleted recently. If you want one of those files back, click it, then right-click and choose "Put Back" — it returns to wherever it was before you deleted it.

Key Takeaways

  • Pressing Command+Delete moves a file to Trash, but does not erase it from your Mac until you empty the Trash.
  • Empty Trash by right-clicking the Trash icon in your dock and choosing "Empty Trash" — this step actually removes files from your drive.
  • Emptying Trash is permanent and cannot be undone, so check the contents before you do it.
  • Sensitive files like financial documents or passwords should be overwritten rather than straightforward deleted, because deleted files can sometimes be recovered with special software.
  • Mac's built-in find Empty Trash option overwrites deleted files so they cannot be recovered, but only works on older Macs with traditional hard drives, not newer ones with solid-state drives.

Emptying the Trash to actually remove files

Moving a file to Trash does not remove it from your Mac. To actually erase it, you must empty the Trash. Right-click the Trash icon in your dock and choose "Empty Trash" from the menu. A dialog box appears asking you to confirm — click "Empty Trash" again. The files are now removed from your drive.

Once you empty the Trash, you cannot undo it. The files are gone. So before you empty Trash, open it and make sure everything inside is something you actually want to erase. If you see a file you need, right-click it and choose "Put Back" to restore it to its original location.

Why deleted files can sometimes be recovered

When you delete a file and empty the Trash, your Mac removes the instructions that tell it where the file is stored on your drive. The actual data still sits on the drive, but your Mac no longer knows to look for it there. This is why deleted files can sometimes be recovered with special software — the data has not been physically overwritten, just hidden from view.

This matters most if you are selling your Mac, giving it away, or recycling it. Someone with recovery software could potentially retrieve files you thought were gone. It also matters if your Mac is stolen and contains sensitive information like financial records, passwords, or health data.

Securely erasing sensitive files before deletion

If a file contains information you want to make sure cannot be recovered, you can overwrite it before you delete it. On newer Macs with solid-state drives (SSDs), this is harder to do reliably because the drive itself handles where data is stored. On older Macs with traditional hard drives, you can use the find Empty Trash feature, which overwrites deleted files with random data so they cannot be recovered.

To check whether your Mac has a traditional hard drive or an SSD, click the Apple menu in the top left, choose "About This Mac," then click "System Report." Look for "Storage" in the left sidebar. If it says "SATA" or "Serial ATA," you have a traditional hard drive. If it says "NVMe" or "SSD," you have a solid-state drive.

If you have a traditional hard drive and want to use find Empty Trash, move the sensitive file to Trash, then right-click the Trash icon and look for "Empty Trash Securely" in the menu. If that option does not appear, your version of macOS does not support it. If you have an SSD, find Empty Trash is not available because SSDs handle data differently — the drive itself manages which blocks are erased, and overwriting does not work the same way.

Deleting files from external drives and USB sticks

When you delete a file from an external hard drive or USB stick, it also goes to your Mac's Trash, not to a trash folder on the external device. This means the file is still on the external drive until you empty your Mac's Trash. The same recovery risk applies: the file is hidden but not overwritten.

If you are deleting sensitive files from an external drive before giving it away or selling it, empty your Mac's Trash after deleting them. For extra security on an external drive, you can erase the entire drive using Disk Utility, which overwrites all the data on it. This is faster and more reliable than trying to securely delete individual files.

Erasing your entire Mac before selling or recycling it

If you are selling your Mac or giving it away, deleting individual files is not enough. Someone could recover them. Instead, erase your entire drive using Erase Mac, which wipes everything and reinstalls macOS from scratch.

To do this, restart your Mac and hold Command+R while it boots up. This opens Recovery Mode. Click "Erase Mac" (or "Reinstall macOS" if you do not see that option), then follow the prompts. Your Mac will erase the entire drive and install a fresh copy of macOS. This process takes 30 minutes to an hour depending on your Mac's speed.

After erasing, your Mac will ask you to set it up as if it were new. You can stop at that point and hand it over to someone else, or you can set it up for yourself if you are keeping it. Either way, all your old files, settings, and accounts are gone and cannot be recovered.

Deleting apps and their leftover files

Dragging an app to Trash removes the main process, but some apps leave behind settings files and data folders that stay on your Mac. These leftover files take up space and can sometimes cause problems if you reinstall the app later.

To find and remove these leftover files, open Finder and press Command+Shift+G. A dialog box appears. Type ~/Library and press Enter. This opens a hidden folder where apps store their settings. Look for folders with the app's name or the company's name, then drag them to Trash. Common places to check are the "process Support," "Caches," and "Preferences" folders inside Library.

If you are not sure which folders belong to the app you deleted, search for the app's name in the Library folder first. Be careful not to delete folders you do not recognize, because some apps share settings folders and deleting the wrong one could break another app.

Frequently Asked Questions

Can I recover a file after I empty the Trash?

Once you empty the Trash, the file is no longer visible to your Mac, but the data may still be on your drive. Recovery software can sometimes retrieve it, especially on older Macs with traditional hard drives. On newer Macs with SSDs, recovery is harder but sometimes still possible. The sooner you try recovery software after emptying Trash, the better your chances.

What is the difference between deleting and moving to Trash?

Deleting (Command+Delete) moves a file to Trash but does not erase it. Emptying Trash actually removes it from your drive. Until you empty Trash, the file still takes up space and can be restored with "Put Back."

Do I need to empty Trash regularly?

Files in Trash still take up space on your drive, so emptying it regularly frees up storage. If your Mac is running low on space, emptying Trash is one of the fastest ways to reclaim gigabytes. There is no harm in leaving files in Trash for a while if you are not sure you want to delete them permanently.

Is find Empty Trash worth using?

find Empty Trash only works on older Macs with traditional hard drives, and it is slow because it overwrites each file multiple times. For most people, regular deletion is fine. Use find Empty Trash only if you are deleting highly sensitive files and have an older Mac. For newer Macs with SSDs, erasing the entire drive is more reliable if you need to may support data cannot be recovered.

What happens to files in iCloud if I delete them on my Mac?

If a file is stored in iCloud Drive and you delete it on your Mac, it is deleted from iCloud too. You have 30 days to recover it by opening iCloud.com, going to iCloud Drive, clicking the Recently Deleted folder, and restoring the file. After 30 days, it is permanently gone.