How to Delete Files in Photoshop (And What That Actually Means)
Photoshop is a file-heavy environment. Between raw images, layered PSDs, exported assets, and scratch disk data, it's easy to accumulate clutter — both inside a project and on your system. But "deleting files in Photoshop" means something different depending on what you're trying to remove. Layers, placed files, cached data, and documents on disk all behave differently, and understanding those distinctions saves you from accidentally losing work or wondering why your storage hasn't freed up.
What "Deleting" Can Mean Inside Photoshop
When most people search this, they're thinking of one of four things:
- Deleting a layer or layer group within an open document
- Deleting a placed or embedded file (a Smart Object)
- Deleting Photoshop's temporary or cache files from disk
- Deleting an entire PSD or exported file from your storage
Each of these has its own method and its own consequences.
How to Delete Layers in Photoshop
The most common task is removing a layer from your working canvas.
To delete a single layer:
- Select the layer in the Layers panel
- Press the Backspace key (Windows) or Delete key (Mac), or drag the layer to the trash icon at the bottom of the Layers panel
- Confirm if prompted
To delete multiple layers at once:
- Hold Shift to select a range, or Ctrl/Cmd to select non-adjacent layers
- Use the same Backspace/Delete method or the panel trash icon
To delete hidden layers (a useful cleanup move):
- Go to Layer > Delete > Hidden Layers
This removes all layers with visibility turned off in one step — handy when you've been experimenting with alternatives and want to trim a bloated file.
⚠️ Deleting a layer is non-destructive only if you haven't saved yet. Once you save and close, that layer is gone. If you're using History States, you may be able to undo — but history doesn't persist between sessions.
Deleting Smart Objects and Placed Files
Smart Objects in Photoshop are embedded or linked files — they hold their own data separately from the rest of your canvas.
- Embedded Smart Objects store file data inside the PSD itself. Deleting the layer removes it from the document, but the original file on disk is unaffected.
- Linked Smart Objects reference an external file. Deleting the layer removes the reference in Photoshop, but the original file stays on your drive unless you manually delete it through your file system.
If you want to truly clear the source file of a linked Smart Object, you'll need to do that outside of Photoshop — via Finder, File Explorer, or whatever file manager your OS uses.
How to Delete Photoshop's Temporary and Cache Files 🗂️
Photoshop generates scratch disk files and cache data as you work. These are temporary files stored on your hard drive that Photoshop uses when it runs out of RAM. They can grow large — sometimes several gigabytes — and they don't always clean themselves up perfectly.
To purge in-session cache (without leaving Photoshop):
- Go to Edit > Purge, then choose from:
- Undo — clears undo history
- Clipboard — frees memory from copied content
- Histories — clears all history states for open documents
- All — purges everything above at once
This frees RAM during a session but doesn't delete files from disk.
To delete scratch disk files from disk: Scratch files are usually written to your system drive or a designated scratch disk and are named with temporary identifiers. Photoshop is supposed to delete these on clean exit, but if Photoshop crashes, they may linger.
- On Windows, look in C:Users[Username]AppDataLocalTemp for files with "Photoshop" or "PST" in the name
- On Mac, scratch files may appear in /private/var/folders/ or your designated scratch disk location
Manually deleting these when Photoshop is fully closed is generally safe, but verify Photoshop isn't running before you do.
Deleting the Actual PSD or Exported File
If you want to delete a Photoshop document entirely — the .psd, .psb, or any exported file like a .png or .jpg — you do this through your operating system, not through Photoshop itself.
Photoshop's File > Revert option restores a document to its last saved state, but it doesn't delete files. The application doesn't include a built-in "delete this file from disk" option in most versions.
Some versions integrated with Adobe Creative Cloud may show cloud-synced documents in the Home Screen, and you can right-click those to remove or delete them from cloud storage. But local files remain under OS control.
Variables That Affect Your Approach
How you handle file deletion in Photoshop depends on a few factors that vary by setup:
| Factor | How It Changes Things |
|---|---|
| Photoshop version | Older versions have fewer cloud/home screen options |
| Creative Cloud sync enabled | Cloud documents behave differently from local PSDs |
| Scratch disk configuration | Affects where temp files land and how large they grow |
| Available RAM | Low RAM = more scratch disk use = more temp file buildup |
| Workflow type | High-volume retouchers accumulate cache faster than occasional users |
A user running Photoshop on a machine with 8GB of RAM and a single small SSD will manage scratch and cache files very differently than someone on a workstation with 64GB of RAM and dedicated scratch disk storage.
Layer Deletion vs. File Deletion vs. Cache Purging
These three operations solve different problems. Deleting layers cleans up your document structure. Purging cache frees memory mid-session. Deleting files from disk reclaims storage. They're related but independent actions, and conflating them is where most confusion starts.
Your actual need — whether it's reducing file size, recovering disk space, or simplifying a complex document — determines which of these actions applies. The right move looks different depending on your storage setup, your Photoshop version, and how your workflow generates data in the first place.