Mac Window Screenshots Without the Shadow Border
The soft shadow macOS bakes into window screenshots is wider than it looks — it can add sixty-odd pixels of transparent border on every side. Drop it into a slide or a card and the window suddenly looks small and floaty, marooned in empty space. The quickest fix is to hold Option as you click the window; if you want tight edges every time, one setting removes the shadow for good.
The Option-click shortcut
You don't need to change anything to get one clean shot. In window-capture mode, hold Option before you click:
- Press Shift+Cmd+4, then tap Space so the pointer turns into a camera.
- Hover the window so it highlights.
- Hold Option and click.
The captured PNG is cropped tight to the window's own rounded corners — no shadow, no padding. Release Option and the shadow returns on the next shot, so this is ideal when you want the shadow as your default and a tight version only now and then.
Why the border is a problem for layouts
The shadow isn't a solid frame; it's semi-transparent pixels fanning out from the window edge. That causes two headaches when you place the image somewhere:
- The visible window shrinks inside a much larger canvas, so at a fixed width it reads smaller than the surrounding text or UI.
- On any colored or textured background, the baked-in grey shadow shows through and clashes — you can't cleanly restyle it because it's part of the pixels.
A shadowless capture sidesteps both: you get the exact window, and you can add your own shadow later in the layout tool if you want one that matches.
Make tight edges the default
If you're capturing windows all day, flip the shadow off globally so every shot is already tight:
# No shadow border on any window screenshot
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServer
To undo it and return to the shadowed look:
# Bring the shadow border back
defaults write com.apple.screencapture disable-shadow -bool false
killall SystemUIServer
killall SystemUIServer reloads the capture service so the change is immediate — no logout. It behaves the same across macOS 13 Ventura, 14 Sonoma, and 15 Sequoia.
Instead of remembering Option at capture time or the disable-shadow flag, Mainspring gives you a labelled switch for tight window edges — one of 90+ hidden macOS settings it makes one-click and fully reversible.
Signed & notarized by Apple · 1-day free trial · $29 once
Cropping to an exact size afterwards
Tight edges pair well with a precise final size. If your layout needs windows at a fixed pixel width, see how to capture a screenshot at an exact pixel size on Mac to nail the dimensions before you place the image.