Mac User Taking a Window image Witout Shadow
Khamosh Pathak / How-To Geek

When you take a screenshot of a window on your Mac, it captures the shadow of the window as well. It looks great, but it might not be ideal if you’re sharing the screenshot online or for work. Here’s how to turn off the screenshot shadow on your Mac.

There are two ways to disable this window shadow. You can do it on a per-screenshot basis using a special keyboard shortcut, or you can use a Terminal command to disable shadows on all window screenshots going forward.

Disable Window Shadow in Screenshots Using a Keyboard Shortcut

Safari Window image with Shadow on mac
Window screenshot in Mac with shadows.

If you want to remove the window shadow from a particular screenshot, you can use a different shortcut variation when taking a screenshot.

To take a screenshot of a window, first, use the Command+Shift+4 keyboard shortcut. The cursor will now turn into a crosshair. Hover over the window that you want to capture and press the Spacebar.

The window will be selected. Now, hold the Option key when you press the Left Mouse button to take the screenshot.

When you go to your Desktop (or wherever you save screenshots), you’ll see that the screenshot doesn’t have a shadow!

Safari Window image Without Shadow on Mac
Window screenshot on Mac without shadows.

RELATED: How to Screenshot on a Mac

Disable Shadows for All Window Screenshots on Mac

Don’t want to use the Option key every time you take a window screenshot? You can use a Terminal command to disable shadows for all window screenshots captured on your Mac.

To do this, first, open the Terminal app. You can do this using Spotlight search by pressing Cmd+Space. You can also find it in Launchpad.

After opening Terminal, paste in the following line, then press the Return/Enter key.

defaults write disable-shadow -bool true

This will disable the window shadows feature. Paste the following line to save the preference and press the Return/Enter key.

killall SystemUIServer

Terminal Commands for Disabling image Shadows on Mac

And that’s it. Your window screenshots will no longer have a shadow!

If you want to reverse this change in the future, use the following lines of code.

defaults write disable-shadow -bool false

killall SystemUIServer

Annoyed with the little screenshot previews that show up in the bottom-right corner every time you take a screenshot? Here’s how you can easily disable the screenshot preview thumbnails on Mac.

RELATED: How to Disable the Screenshot Preview Thumbnails on a Mac

Profile Photo for Khamosh Pathak Khamosh Pathak
Khamosh Pathak is a freelance technology writer who specializes in tutorials. His work has also been published on Lifehacker, iPhoneHacks, Zapier's blog, MakeUseOf, and Guiding Tech. Khamosh has nearly a decade of experience writing how-tos, features and technology guides on the internet.
Read Full Bio »