Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Disable Shadow Screenshots on Mac: Full Guide

· 5 min read · Home Tech

In this article
  1. Why Mac Screenshots Have Shadows
  2. How the Shadow Is Controlled
  3. Method 1: Using Terminal (Built-in, No Extra Software)
  4. Method 2: Using a Third-Party App (For Non-Technical Users)
  5. How to Re-enable Shadows
  6. Common Problems and Troubleshooting
  7. Alternative: Remove Shadow Manually in an Editor
  8. Frequently Asked Questions

To disable shadow screenshots on a Mac, you must change a Terminal command or use a third-party tool, as macOS does not offer a built-in setting for this. The quickest method is running a single Terminal command that removes the shadow from all future screenshots. This guide explains why shadows appear, how to remove them, and how to restore the default look if you change your mind.

Why Mac Screenshots Have Shadows

When you capture a window on macOS using Shift-Command-4 and then press the Space bar, macOS takes a screenshot of just that window and adds a drop shadow around it. The shadow is part of the window's visual styling, making the captured image look like a floating window. This is a deliberate design choice by Apple to make screenshots appear more polished in documents and presentations. However, the shadow adds extra pixels around the window, which can be annoying when you need a precise image for a tutorial or a design mockup. The shadow is not added when you capture the entire screen or a selected region—only when you use the window-capture mode.

How the Shadow Is Controlled

The shadow is not a simple preference you can toggle in System Settings. Instead, it is controlled by a hidden preference in the macOS user defaults system. The relevant setting is AppleWindowTabbing? No, actually it is NSWindowShouldDragOnGesture? Not quite. The correct key is com.apple.screencapture with the property disable-shadow. When this property is set to true, macOS stops drawing the shadow in window screenshots. The change takes effect immediately after you kill the SystemUIServer process, which restarts the screenshot service. This hidden preference has existed for many years and remains the standard method across recent macOS versions, including Sonoma and Sequoia.

Method 1: Using Terminal (Built-in, No Extra Software)

The most direct way to disable shadows is through the Terminal app, which is pre-installed on every Mac. Follow these steps:

  1. Open Terminal from Applications → Utilities, or use Spotlight (Command-Space) and type “Terminal”.
  2. Type the following command exactly and press Enter:
    defaults write com.apple.screencapture disable-shadow -bool true
  3. Then restart the screenshot service by typing:
    killall SystemUIServer

After the second command, your Mac's menu bar and window server will briefly restart, but your open apps will remain. Now take a window screenshot (Shift-Command-4, then Space) and you will see no shadow. The image will be cropped tightly to the window's edges.

Method 2: Using a Third-Party App (For Non-Technical Users)

If you prefer a graphical interface, several free and paid apps can toggle this setting with a click. Popular options include TinkerTool, Onyx, and Supercharged. These apps typically have a “Screenshots” section where you can check a box to disable shadows. They modify the same hidden preference, so the effect is identical. Using such an app is safer for beginners because it avoids typing commands, but it requires downloading and trusting third-party software. Always download from the official developer’s site or the Mac App Store to avoid malware.

How to Re-enable Shadows

If you later want the shadow back, simply reverse the command. In Terminal, run:

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

Alternatively, use the same third-party app to uncheck the option. The shadow will return immediately. There is no risk of data loss; this setting only affects how screenshots are generated.

Common Problems and Troubleshooting

Sometimes the command doesn't work as expected. Here are frequent issues and fixes:

  • Shadow still appears after running the command: Make sure you ran killall SystemUIServer. Without it, the change is not applied until you log out or restart. If it still persists, try logging out and back in.
  • Terminal says “defaults write: Could not write domain”: This usually happens if you are not an administrator. Ensure your user account has admin privileges, or use sudo before the command (you will be prompted for your password).
  • Shadow is gone but window corners are now jagged: The shadow also smooths the corners visually. Without it, the window's actual shape (which may have slightly rough edges) is visible. This is normal and unavoidable.
  • Command works but only for some apps: Some apps draw their own shadows (e.g., certain video players). The setting only affects the shadow added by macOS, not app-specific overlays.

Alternative: Remove Shadow Manually in an Editor

If you don't want to change system settings, you can remove the shadow after taking the screenshot. Open the image in Preview, Photos, or any editor, and crop the transparent border. However, the shadow is semi-transparent, so cropping may leave a faint gray edge. A better approach is to use the “Instant Alpha” tool in Preview to remove the shadow automatically, but that can be time-consuming for multiple screenshots. The Terminal method is far more efficient if you take screenshots regularly.

Frequently Asked Questions

Does disabling shadows affect all screenshot types?

No. The setting only affects window screenshots (the mode you enter by pressing Space after Shift-Command-4). Full-screen and selected-area screenshots never had a shadow, so they remain unchanged.

Will this work on macOS Sequoia or future versions?

Yes, as of macOS Sequoia (2024), the hidden preference still works. Apple has not removed it, and it is likely to remain for backward compatibility. If a future version changes the behavior, the third-party apps will update accordingly.

Is it safe to use Terminal commands?

Yes, this particular command is safe and widely documented. It only changes a screenshot preference. However, always be cautious with Terminal commands from unknown sources, as they can modify system files.

Can I disable shadows for screenshots taken with the Touch Bar?

No, the Touch Bar screenshot (Shift-Command-6) captures the entire Touch Bar without any shadow, so there is nothing to disable.

Does this work on older macOS versions like Mojave or Catalina?

Yes, the same command has worked since at least macOS 10.14 Mojave and continues to work in all versions up to the latest. It is a legacy setting that Apple has never removed.

Why would someone want to disable the shadow?

Common reasons include creating clean images for documentation, reducing file size (shadows add transparent pixels), and matching a specific visual style in presentations. It is also useful when you need to place screenshots side-by-side without gaps.