Photoshop stores files in three places, and deleting from one place doesn't delete from the others
When you delete something in Photoshop, you're usually just removing it from the current project — the file itself stays on your computer until you take a separate step. Photoshop also keeps temporary files, cached data, and recent file lists that take up space and clutter your workspace. Understanding where each type of file lives and how to actually remove it will save you storage space and keep your project list readable.
The three main places are: the open project file itself (the .psd or .psb), Photoshop's cache and temporary files on your hard drive, and the list of recent files Photoshop displays when you open the program. Each one requires a different action to clear.
Key Takeaways
- Deleting layers or content from a Photoshop project does not reduce the file size on disk — you must save the file after deleting, and sometimes flatten or merge layers first.
- Photoshop's cache folder (separate from your project files) can grow to several gigabytes and should be cleared through Preferences, not by manually deleting folders.
- The recent files list in Photoshop's File menu is just a shortcut list and does not affect your actual files on disk.
- Temporary files Photoshop creates during editing are usually deleted automatically when you close the program, but can be manually removed if Photoshop crashes.
Delete layers and content from your current project
To remove a layer from the project you're working on, right-click the layer in the Layers panel on the right side of the screen and select Delete Layer. You can also click the layer once to select it, then click the trash icon at the bottom of the Layers panel. If you want to delete multiple layers at once, hold Ctrl (Windows) or Command (Mac) and click each layer name, then delete.
Deleting a layer from the Layers panel removes it from your project, but the file size on your hard drive does not shrink until you save. After you delete the layers you don't need, go to File > Save (or press Ctrl+S on Windows, Command+S on Mac) to write the changes to disk. If you're working with a large file and want to reduce its size significantly, consider flattening the image first: go to Image > Flatten Image. This merges all layers into one, which can reduce file size, but you cannot undo this step after saving, so save a backup copy first if you might need the layers later.
Clear Photoshop's cache and temporary files
Photoshop stores cached versions of your recent projects and temporary data in a folder on your hard drive separate from your actual project files. Over time this cache can grow to several gigabytes. To clear it safely, go to Edit > Preferences (Windows) or Photoshop > Settings > Preferences (Mac), then click Performance in the left menu.
In the Performance window, look for the Scratch Disks section. Below that, you will see a button labeled Purge with a dropdown menu next to it. Click the dropdown and select All, then click Purge. This clears Photoshop's cache without affecting your saved project files. You can also purge specific types of cache — Undo clears the undo history, Clipboard clears copied content, and Video Cache clears temporary video files if you work with video layers.
Do not manually delete the Photoshop cache folder from your hard drive. Photoshop expects these files to be in a specific location and may behave unpredictably if you remove them outside the program. Always use the Purge command instead.
Remove files from the recent files list
When you open Photoshop, the File menu shows a list of recently opened projects. This list is just a shortcut — removing a file from it does not delete the file from your computer. To remove a single recent file from the list, right-click its name in File > Open Recent and select Remove from Recent. The file stays on your hard drive; it just stops appearing in the menu.
If you want to clear the entire recent files list at once, go to Edit > Preferences (Windows) or Photoshop > Settings > Preferences (Mac), click File Handling, and set Recent File List Contains to 0. This empties the list. The next time you open Photoshop, no recent files will appear in the File menu.
Delete temporary files left behind after a crash
If Photoshop crashes or closes unexpectedly, it may leave temporary files on your hard drive that are not automatically cleaned up. These files have names like "Photoshop Temp" or end in .tmp and are usually stored in your system's temporary folder. On Windows, this is typically C:\Users\[Your Username]\AppData\Local\Temp. On Mac, it is /var/folders.
You can safely delete these files manually if Photoshop is completely closed. On Windows, open File Explorer, paste the path above into the address bar, and look for any Photoshop-related temp files. On Mac, open Finder, press Command+Shift+G, paste the path, and look for Photoshop temp files. Select them and press Delete. If you're not comfortable navigating these folders, you can also use a disk cleanup utility like CCleaner (free version available) to remove temporary files safely.
Do not delete temporary files while Photoshop is running. Photoshop may be using them and deleting them could cause the program to crash.
Reduce file size by exporting instead of saving
If you're working with a large .psd file and need to send it to someone or store it in less space, exporting to a different format can reduce the file size significantly. Go to File > Export As and choose a format like JPEG, PNG, or TIFF. JPEG files are usually the smallest but lose some image quality. PNG preserves quality but creates larger files than JPEG. TIFF is lossless (no quality loss) but creates very large files.
Exporting creates a new file in the format you choose; it does not change your original .psd file. You can then delete the .psd if you no longer need the layers and editable version. However, save a backup of the .psd before deleting it, in case you need to make changes later. Once you delete a .psd and export to JPEG or PNG, you cannot go back and edit individual layers.
Manage your scratch disk to prevent slowdowns
Photoshop uses a scratch disk — a section of your hard drive — to store temporary data while you're editing. If your scratch disk is full or fragmented, Photoshop will slow down or become unstable. To check your scratch disk settings, go to Edit > Preferences (Windows) or Photoshop > Settings > Preferences (Mac), then click Performance.
In the Scratch Disks section, you will see a list of drives with checkboxes. The first checked drive is your primary scratch disk. Make sure your primary scratch disk has at least 10 to 20 gigabytes of free space. If it doesn't, either free up space on that drive or assign a different drive as your primary scratch disk by unchecking the full drive and checking a drive with more space. You can also add a second scratch disk by checking an additional drive; Photoshop will use both if the first one fills up.
Frequently Asked Questions
Does deleting a layer make my Photoshop file smaller?
Not until you save the file. Deleting a layer removes it from your project, but the file size on disk stays the same until you save. After you save, the file size will be smaller. If you delete many layers and the file is still large, try flattening the image (Image > Flatten Image) before saving, which merges all remaining layers and can reduce size further.
Where does Photoshop store its cache files?
On Windows, cache is usually in C:\Users\[Your Username]\AppData\Local\Adobe\Common\Media Cache Files. On Mac, it's in ~/Library/Caches/Adobe/Common/Media Cache Files. However, you should always clear cache through Photoshop's Preferences menu (Edit > Preferences > Performance > Purge) rather than deleting the folder manually.
Can I recover a file I deleted from the recent files list?
Yes. Removing a file from the recent list only removes the shortcut in Photoshop's menu. The actual file is still on your computer. You can open it by going to File > Open and navigating to the folder where you saved it, or by searching for it in Windows File Explorer or Mac Finder.
What should I do if Photoshop keeps running out of scratch disk space?
First, free up space on your primary scratch disk drive by deleting files you don't need. If that's not possible, assign a different drive with more free space as your primary scratch disk in Edit > Preferences > Performance > Scratch Disks. You can also reduce the size of your project by flattening layers or exporting to a compressed format like JPEG instead of keeping it as a large .psd.
Is it safe to delete files in the Temp folder?
Yes, it's safe to delete Photoshop temporary files from your Temp folder, but only when Photoshop is completely closed. These files are usually cleaned up automatically when Photoshop exits normally. If Photoshop crashed and left temp files behind, you can delete them without affecting your saved projects.