Your Desktop doesn't have to be a screenshot graveyard
Every Mac screenshot lands on your Desktop as a PNG file named Screenshot 2026-03-24 at 14.32.07.png. After a week of development, your Desktop looks like a landfill. The files are huge, the names are useless, and half of them are captures you took by accident.
macOS lets you change all of this — the save location, the file format, the shadow effect, even the floating thumbnail that appears after every capture. Some settings live in the Screenshot toolbar GUI. Others require a quick Terminal command. This guide covers both.
Change where screenshots are saved
Method 1: The Screenshot toolbar (no Terminal)
Press Cmd+Shift+5 to open the screenshot toolbar. Click Options in the toolbar. Under the "Save to" section, pick a location: Desktop, Documents, Clipboard, Mail, Messages, Preview, or choose Other Location to select any folder on your Mac.
This is the easiest method and persists across restarts. If you create a dedicated ~/Screenshots folder first, it will appear as an option after you select it once with "Other Location."
Method 2: Terminal command
Open Terminal and run:
defaults write com.apple.screencapture location ~/Screenshots
killall SystemUIServer
Replace ~/Screenshots with any valid path. The folder must exist before you run the command — macOS won't create it for you. The killall SystemUIServer restarts the process that handles screenshots so the change takes effect immediately.
To reset back to the Desktop:
defaults delete com.apple.screencapture location
killall SystemUIServer
Change the screenshot file format
By default, macOS saves screenshots as PNG files. PNGs are lossless and support transparency, but they're large. A typical Retina screenshot of a code editor runs 3–5 MB. If you're taking dozens of screenshots a day and don't need transparency, JPG saves significant disk space.
To switch to JPG:
defaults write com.apple.screencapture type jpg
killall SystemUIServer
Supported formats:
| Format | Terminal value | Best for |
|---|---|---|
| PNG | png |
Default. Lossless, supports transparency. Large files. |
| JPG | jpg |
Smaller files. Good for sharing and documentation. |
| TIFF | tiff |
High quality archival. Very large files. |
pdf |
Vector-friendly. Good for print-quality captures. | |
| GIF | gif |
Limited color palette. Rarely useful for screenshots. |
To reset to the default PNG format:
defaults delete com.apple.screencapture type
killall SystemUIServer
Remove the window shadow
When you capture a specific window with Cmd+Shift+4 then Space, macOS adds a drop shadow around the window. It looks polished in presentations but adds extra padding and file size. Developers sharing UI screenshots in pull requests or Slack usually don't want it.
To disable the shadow globally:
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
You can also remove the shadow on a per-capture basis: hold Option while clicking a window during a Cmd+Shift+4+Space window capture. This keeps the global shadow enabled but skips it for that one capture.
To re-enable the shadow:
defaults write com.apple.screencapture disable-shadow -bool false
killall SystemUIServer
Disable the floating thumbnail
Since macOS Mojave, a small thumbnail preview appears in the bottom-right corner after every screenshot. You can click it to annotate or share, or wait 5 seconds for it to disappear and save to disk. The problem: during those 5 seconds, the file isn't available yet. If you're trying to capture and immediately use a screenshot, you're waiting for the thumbnail to dismiss itself.
Method 1: Screenshot toolbar
Press Cmd+Shift+5, click Options, and uncheck Show Floating Thumbnail. Screenshots now save immediately to disk with no delay.
Method 2: Terminal
defaults write com.apple.screencapture show-thumbnail -bool false
killall SystemUIServer
Change the default file name prefix
macOS names screenshots Screenshot [date] at [time] by default. If you want a different prefix — for organization or to make screenshots easier to search — you can change it:
defaults write com.apple.screencapture name "Capture"
killall SystemUIServer
This changes the naming pattern to Capture 2026-03-24 at 14.32.07.png. You can use any string as the prefix. To reset to the default:
defaults delete com.apple.screencapture name
killall SystemUIServer
Quick reference: all Terminal commands
| Setting | Command |
|---|---|
| Save location | defaults write com.apple.screencapture location ~/path |
| File format | defaults write com.apple.screencapture type jpg |
| Disable shadow | defaults write com.apple.screencapture disable-shadow -bool true |
| Disable thumbnail | defaults write com.apple.screencapture show-thumbnail -bool false |
| File name prefix | defaults write com.apple.screencapture name "Prefix" |
| Reset any setting | defaults delete com.apple.screencapture [key] |
After any change, run killall SystemUIServer to apply it immediately.
The limits of customizing built-in screenshots
These settings handle storage and formatting, but they don't change the core workflow. You still capture a file, find the file, open it, annotate it if needed, then share it. For developers sending screenshots to AI coding assistants or pasting into Slack and Jira, the settings don't solve the real friction — the window-switching and manual pasting.
LazyScreenshots captures, annotates, and auto-pastes screenshots directly into the app of your choice in a single shortcut. No file management. No window switching. The screenshot goes straight from your screen to Claude, Cursor, ChatGPT, or wherever you need it.
Stop managing screenshot files. LazyScreenshots captures, annotates, and auto-pastes into your AI assistant in one shortcut. $29 one-time.
Try LazyScreenshots — $29 one-time