Skip to main content
  1. Home
  2. Computing
  3. How tos

How to clear a scratch disk in Photoshop

Add as a preferred source on Google
A photographers computer with a PC in the background, which has an image editing program (Photoshop) open.
Witthaya Prasongsin/Getty Images

As Photoshop is known for being one of the most powerful image editors available, it shouldn’t surprise you that it can take a toll on your PC’s hard drive.

Image editing is not confined to simple tasks like adding text and increasing brightness. Using the more demanding tools on Photoshop requires the use of your system’s memory in order to save temporary files. This element is largely controlled by the scratch disk feature. Without managing it properly, it can become overwhelmed with data, and thus lead to Photoshop malfunctioning.

Let’s take a look at how to clear a scratch disk in Photoshop.

Recommended Videos

Difficulty

Easy

Duration

5 minutes

What You Need

  • Photoshop

  • PC

Scratch disk error

Instead of using your system’s RAM, a scratch disk is Photoshop making use of your computer’s hard drive and solid-state drives for the purpose of saving data related to your images, such as edits.

Using the Purge tool

The Purge tool deletes all the cache files of a given Photoshop file. If you don't need access to those files anymore, use this method.

Step 1: Click Edit and then choose the Purge field.

Step 2: From the corresponding drop-down menu that appears, you can purge Clipboard, Histories, All, and Video cache. Click the All option.

The All option within Purge for Photoshop, which removes cache files for the opened image project.
Image used with permission by copyright holder

Deleting temporary Photoshop files

I’m not exaggerating when I say that it’s entirely possible that your hard drive contains many GBs of temporary Photoshop files that no longer serve any purpose. In some cases, it may even reach a figure that exceeds 100GB. So if you’ve used Photoshop for many years without getting rid of such data, it can naturally take up a lot of storage space.

Deleting them will not only immediately clear a scratch disk, but it will also help Photoshop run more efficiently.

Step 1: You need to go to your Temp folder on your PC. Within your user folder, open AppData > Local > Temp. You can also reach this destination by entering %temp% in your start menu’s search bar.

Note: If you don't see the AppData folder there, you may need to enable hidden files.

Step 2: Look for all the files within that folder named either PST.tmp or Photoshop Temp. All these files will include some variation of numbers.

Select the files in question and delete them. Be sure to empty your trash to confirm their removal from your system. In the image below, a single Photoshop temp file I located is taking up nearly 500MB of disk space.

A temporary Photoshop file located within the Temp folder in Windows.
Image used with permission by copyright holder

How to prevent a Scratch Disk from getting full

Now that we’ve explained a few methods for clearing a scratch disk in Photoshop, let’s take a look at how to prevent the situation (a scratch disk getting full) from occurring in the first place.

A scratch disk is automatically located in your main hard drive, which would be the C: drive for most of us. Photoshop provides an option to shift that location elsewhere, namely to another internal or external hard drive that has ample space to save Photoshop’s temporary files and data. You can also attach a scratch disk to multiple HDDs/SSDs.

Step 1: Click Edit > Preferences > Scratch disks. If you’re running earlier versions of Photoshop, then the Scratch disks segment will be located within Performance.

The Performance tab in Photoshop.
Image used with permission by copyright holder

Step 2: Either deselect the C: drive and then select another drive you’ve installed onto your PC or tick the drives of your choice. As shown in the image below, I’ve selected my 4TB SSD.

As showcased within the description segment underneath the Scratch disks section, Adobe itself recommends you use reliable, fast external or internal drives as opposed to your boot drive to ensure optimum performance. If your system is equipped with a hard drive(s) to meet this criteria, unselect the C: drive and with your arrow key and position your newly selected drive to the top of the disk order.

Click OK and restart the program to confirm the switch.

The Scratch Disks configuration window in Photoshop.
Image used with permission by copyright holder

Photoshop isn't alone in using your computer's storage for maintaining temporary versions of images. The best Photoshop alternatives also use this trick, and you can use similar methods to discard of this cached data.

Zak Islam
Former Contributor
Zak covers the latest news in the technology world, particularly the computing field. A fan of anything pertaining to tech…
AI agents are acting like rogues and causing a huge headache for US banks
US banks block AI agents over fears they could make unauthorised financial moves
Banking

US banks are facing a new kind of digital headache: artificial intelligence agents attempting to access customer accounts and perform actions that may go beyond what users intended. As AI tools become more capable of navigating websites and carrying out tasks independently, financial institutions are scrambling to prevent them from crossing security boundaries.

According to a report published by Axios on October 22, major US banks have detected third-party AI agents operating inside customer accounts without authorisation. Some agents reportedly appeared to attempt actions independently of user instructions. The banks involved have not publicly detailed every incident, and there is no evidence that the reported activity resulted in widespread theft of customer funds.

Read more
Canva enters the AI image generation race with Craft, and it’s thinking beyond pretty pictures
The new model plans layouts before generating images, with precise editing and support for 30 aspect ratios.
Canva Craft Featured Image

AI can generate all kinds of pretty pictures, but getting it to spell a headline correctly or keep a poster's layout intact can be another story. Canva wants to fix that with Canva Craft, its first in-house image generation model. Rather than focusing primarily on photographs, Craft is designed around the posters, presentations, social media graphics, and other visual content people actually create. The goal is simple: spend less time fixing AI's mistakes and more time making something useful.

Canva Craft plans before it generates

Read more
Mori might be the cutest AI companion robot yet, and it reacts to you like a pet
The Pokémon-like companion can blink, dance, act shy, and respond to what is happening around it.
OKA Mori The Nature Companion AI Home Robot

With AI progressing so fast, it's only a matter of time before we start getting AI companions like the ones we used to see in movies like R2-D2, Wall-E, or Baymax. Now, Singapore-based OKA Technology has unveiled Mori, a cute little AI companion that looks less like a conventional home robot and more like someone turned the Pokémon Foongus into a table lamp.

Mori isn't meant to clean your house or control your smart home, but to serve as what OKA calls a "Nature Companion." It uses subtle movements, warm lighting, nature-inspired sounds, and small reactions to make its presence around the house feel calming rather than distracting. Mori can sit quietly while you read, sway along to music, welcome you when you enter a room, or encourage you to slow down for a moment without requiring a screen or a conversation.

Read more