How to Change Default Screenshot Save Location and File Format on Mac

Capturing screen snippets, full-window images, and display recordings is an integral daily routine on macOS for developers, designers, and office professionals. By default, pressing native macOS screenshot shortcuts (Command + Shift + 3, Command + Shift + 4, or Command + Shift + 5) dumps every captured image directly onto your Desktop as an uncompressed, high-resolution PNG file. Over the course of a single working week, this default behaviour clutters your desktop with dozens of visual assets and consumes hundreds of megabytes of disk space.

Fortunately, macOS provides flexible native mechanisms to redirect screenshot destinations to a dedicated, organised folder and change the underlying graphics format to lightweight JPGs, high-efficiency HEIF files, or vector PDFs. You can configure these preferences visually through the built-in Screenshot applet or apply permanent system modifications using macOS Terminal commands. This guide walks you through changing the default screenshot save location, modifying file formats, eliminating window drop shadows, and automating desktop decluttering on Mac.

Changing Screenshot Save Location via the Graphical Screenshot Tool

Apple introduced a unified on-screen capture toolbar in modern versions of macOS that allows you to designate a custom target folder without running any command-line scripts:

  1. Press Command + Shift + 5 on your Mac keyboard to open the floating Screenshot control bar.
  2. Click the Options menu button located on the toolbar.
  3. Under the Save to section, macOS presents several preset directories: Desktop, Documents, Clipboard, Mail, Messages, and Preview.
  4. To designate a custom storage location, click Other Location… at the bottom of the list.
  5. A Finder window appears. Navigate to your desired directory (for example, create a new folder named Screenshots inside your Pictures or Documents directory).
  6. Select your target folder and click Choose.
  7. Press Esc or click the X button to close the floating toolbar.

From this point onward, every screenshot or screen video you capture—regardless of whether you invoke it via Command + Shift + 3 or Command + Shift + 4—will save automatically into your chosen directory, keeping your Mac Desktop entirely pristine.

Changing Screenshot Save Location via Terminal

If you are provisioning remote Macs via SSH, writing shell setup scripts, or prefer terminal workflows, you can modify the com.apple.screencapture system preference domain directly using the defaults command:

  1. Open Terminal from Spotlight (Command + Space) or find it in Applications > Utilities.
  2. First, create your target screenshot directory if it does not already exist:
    mkdir -p ~/Pictures/Screenshots
  3. Write the new path to your screenshot preferences:
    defaults write com.apple.screencapture location ~/Pictures/Screenshots
  4. Restart the macOS SystemUIServer process to apply the change immediately:
    killall SystemUIServer

To audit file integrity or verify cryptographic checksums on newly captured assets in Terminal, consult our tutorial on how to check and verify file checksums on Mac using Terminal.

Changing the Default Screenshot File Format (PNG, JPG, PDF, HEIF)

By default, macOS saves screenshots as lossless PNG images. While PNG ensures pixel-perfect clarity, file sizes can reach 5MB to 10MB per capture on Retina 4K and 5K displays. Switching your default file format significantly reduces disk usage and speeds up email attachments:

  • Convert to JPG (Standard Compressed): Ideal for general web sharing and smaller email attachments:
    defaults write com.apple.screencapture type jpg && killall SystemUIServer
  • Convert to HEIF (High Efficiency): Apple’s modern compression format, offering half the file size of JPG with superior colour depth:
    defaults write com.apple.screencapture type heif && killall SystemUIServer
  • Convert to PDF (Multi-Page Document Ready): Excellent for legal documentation or inserting directly into report drafts:
    defaults write com.apple.screencapture type pdf && killall SystemUIServer
  • Revert to Default PNG: If you ever need to restore original lossless capture quality:
    defaults write com.apple.screencapture type png && killall SystemUIServer

Disabling the Window Drop Shadow in Captured Windows

When you capture a specific application window using Command + Shift + 4 followed by the Space bar, macOS automatically renders an expansive semi-transparent drop shadow around the window perimeter. While visually elegant, this shadow inflates image canvas dimensions and complicates documentation formatting. To disable the shadow permanently:

defaults write com.apple.screencapture disable-shadow -bool true && killall SystemUIServer

To re-enable the classic drop shadow in the future, simply run:

defaults write com.apple.screencapture disable-shadow -bool false && killall SystemUIServer

For additional macOS file system workflow enhancements, explore how to create reusable document templates on Mac using Finder Stationery Pad.

Get the best tech tips delivered straight to your inbox.

Join thousands of readers mastering Apple, Google, Microsoft, and Linux.