How to Screenshot a Window on Mac (With or Without Shadow)
Screenshot one window on a Mac with Shift-Command-4 and Space, drop the shadow with Option, turn shadows off for good, or capture several windows at once.
GuideUpdated 8 min read
On this page
To screenshot a window on a Mac, press ⇧⌘4 (Shift-Command-4), then press Space. The pointer turns into a camera and the window under it is highlighted. Click the window to save it as a PNG on your Desktop. Hold Option (⌥) while you click to leave out the window's shadow.
How to screenshot a window on Mac with ⇧⌘4 and Space
This works in every current macOS version and needs no setup.
- Press ⇧⌘4. The pointer becomes a crosshair.
- Press Space. The pointer becomes a camera.
- Move the pointer over the window you want. macOS highlights it.
- Click to take the screenshot. Press Esc to cancel instead.
A few details that help:
- Press Space again to switch back to the crosshair and drag an area instead.
- The screenshot is saved as a PNG on your Desktop by default. If you're not sure where yours went, see where screenshots go on a Mac.
- A thumbnail appears in the bottom-right corner of the screen for a few seconds. Click it to edit the screenshot.
- To copy the window to the clipboard instead of saving a file, add Control: press ⌃⇧⌘4 (Control-Shift-Command-4), then Space, then click. More on that in how to screenshot to the clipboard.
- You can capture an open menu the same way: open the menu, press ⇧⌘4, press Space and click the menu.
What it can't do: it captures one window per screenshot, and by default it includes the window's shadow.
Capture a window from the Screenshot toolbar (⇧⌘5)
If you'd rather click than remember keys, or you need a delay, use the Screenshot toolbar.
- Press ⇧⌘5 (Shift-Command-5). The toolbar appears at the bottom of the screen.
- Click Capture Selected Window.
- Move the pointer over the window and click it.
The Options menu in the toolbar sets where screenshots are saved, a timer delay, whether the mouse pointer is shown, and whether the floating thumbnail appears. The Option-click trick to drop the shadow works here too.
Remove the window shadow
A macOS window screenshot includes the window's drop shadow on a transparent background. That makes the image noticeably larger than the window itself, and the soft shadow can look wrong when you paste it on a colored page or into a document.
To leave the shadow out of a single screenshot:
- Press ⇧⌘4, then Space.
- Hold Option (⌥).
- Click the window while still holding Option.
The result is just the window, cropped to its edges.
Turn off window shadows permanently
If you never want the shadow, change the screenshot setting in Terminal. It applies to every window screenshot until you undo it.
Open Terminal (in Applications › Utilities) and run:
defaults write com.apple.screencapture disable-shadow -bool true
killall SystemUIServerThe first line tells macOS to leave out the shadow in window screenshots. The second restarts a system process (SystemUIServer) so the change applies right away; it relaunches on its own.
To check the setting, run this. It prints 1 when shadows are off:
defaults read com.apple.screencapture disable-shadowTo undo it and get shadows back:
defaults delete com.apple.screencapture disable-shadow
killall SystemUIServerCapture several windows in one screenshot
macOS's window mode captures one window at a time. The built-in workaround is an area screenshot:
- Arrange the windows so they sit close together.
- Press ⇧⌘4 and drag a rectangle around all of them.
This works, but you also get whatever is between and behind the windows: desktop icons, wallpaper, other apps. The rounded window corners also show whatever is behind them, since an area screenshot is a plain rectangle.
Capture several windows with Pixfinch
We make Pixfinch, a menu-bar screenshot tool for macOS 14 Sonoma or later, and multi-window capture is one of the things it adds over the built-in tools. It composes only the windows you pick, with nothing else from the screen.
- Press ⌃⇧5 (Control-Shift-5), Pixfinch's default Capture Window shortcut, or choose Capture Window from the Pixfinch menu-bar menu.
- Hover over a window. Pixfinch highlights it and shows its title.
- ⇧-click each window you want. Each one gets a numbered bracket. ⇧-click a selected window again to remove it.
- Press Return to capture them together in one image. A plain click on another window also adds it and captures.
Pixfinch stacks the windows back to front, in the area they cover together, at the highest display scale among them, and styles them with the window style you've set (see the next section). Press Esc to cancel. For a single window, just click it without holding ⇧.
Pixfinch's shortcuts use Control-Shift so they don't replace macOS's own ⇧⌘3, ⇧⌘4 and ⇧⌘5. You can change them in Settings › Shortcuts.
Put a window on a clean background
The built-in tools give you the window with a shadow or without one. If you want it on a color, gradient or your wallpaper, you have to place the screenshot in another app afterward.
In Pixfinch, choose the look before you capture under Settings › Capture › Window captures › Style:
| Style | What you get |
|---|---|
| Shadow on transparent (default) | The window with the system shadow on a transparent background, like ⇧⌘4 then Space |
| No shadow | Just the window; its rounded corners stay transparent |
| On wallpaper | The window and its shadow on its screen's wallpaper, with a Wallpaper blur slider from 0 to 30 pt (default 12) |
| Apply Beautify look… | The window on a Beautify look you've saved, chosen in the Look picker. With no saved looks yet, window captures get the system shadow |
You can also change your mind after the shot. Open a single-window capture in the Pixfinch editor and turn on Beautify. The panel shows a Window switcher (Shadow, Plain, Wallpaper, Look) that rebuilds the capture and keeps your annotations. Two limits: switching restarts the undo history, and multi-window captures don't have the switcher.
The Beautify panel gives you more control than the presets:
- Background: None, Auto, a solid color, one of 16 gradients, or a picture (your wallpaper or up to 8 of your own pictures).
- Padding, Corners and Drop shadow sliders, each with a field for typing an exact number.
- Size: ratios such as 16:9, 1:1 and 4:5, or exact social sizes such as X 1600 × 900 and LinkedIn 1200 × 627.
- Save Look… to reuse the same background, padding and shadow later, or to apply it to every window capture through the Apply Beautify look… style.
The window captures docs page has the full details.


Hide desktop clutter behind the window
A window-mode screenshot doesn't include the desktop, so icons only get in the way when you capture an area around several windows, or the full screen.
Hide desktop icons with Terminal
This hides every file and folder icon on the desktop until you turn it back on. Your files stay where they are; Finder just doesn't draw them.
defaults write com.apple.finder CreateDesktop -bool false
killall FinderTo show the icons again:
defaults write com.apple.finder CreateDesktop -bool true
killall Finderkillall Finder restarts Finder so the change applies. Finder relaunches on its own.
This doesn't affect desktop widgets on macOS 14 Sonoma and later. To hide those, open System Settings, search for "widgets", and turn off showing them on the desktop.
Hide desktop icons with Pixfinch
Pixfinch has two options that don't touch your Finder settings:
- Hide desktop icons and widgets in captures in Settings › Capture leaves icons and widgets out of Pixfinch's area and full-screen captures. Your desktop on screen doesn't change.
- More › Hide Desktop Icons in the menu-bar menu covers the icons on screen with your wallpaper, on all Spaces. That's useful before a screen recording or a capture with another tool. It turns off when Pixfinch quits.
Which method to use
| Method | Shadow control | Several windows in one image | Background options |
|---|---|---|---|
| ⇧⌘4 then Space | Option-click drops it | No (area capture as a workaround) | No |
| ⇧⌘5 toolbar | Option-click drops it | No | No |
Terminal disable-shadow | Off for every window screenshot | No | No |
| Pixfinch (⌃⇧5) | Four styles, switchable later for single windows | Yes, ⇧-click to pick | Wallpaper, gradients, colors, pictures, saved looks |
For an occasional window screenshot, ⇧⌘4 then Space is enough. Pixfinch helps when you capture windows often for docs, bug reports or social posts and want them to look the same every time without extra steps. Pixfinch is part of MacSuite; you can try it free for 7 days.
If it doesn't work
Nothing happens when you press ⇧⌘4. The shortcut may be turned off or reassigned. Open System Settings, search for "Keyboard Shortcuts", and check the Screenshots section. Another app can also claim the same keys. More fixes are in Mac screenshots not working.
Pressing Space switches modes back and forth. Space toggles between the crosshair and the camera. Press it once after ⇧⌘4, and don't hold it.
The screenshot has a wide empty border. That's the transparent shadow area. Hold Option when you click, or use the Terminal setting above.
The shadow is still there after the Terminal command. Run defaults read com.apple.screencapture disable-shadow to confirm it prints 1. If it does, run killall SystemUIServer again. If it doesn't, check that the command was typed exactly as shown.
Pixfinch shows a Screen Recording message or captures fail. Pixfinch needs Screen Recording permission. Open System Settings › Privacy & Security and turn on Pixfinch under Screen & System Audio Recording (called Screen Recording on macOS 14). Then click Quit & Reopen in Pixfinch's permission window, because macOS usually applies the change only after the app reopens. See Pixfinch permissions.
You can't find the screenshot. macOS saves to the Desktop unless you changed it in the ⇧⌘5 Options menu. Pixfinch copies to the clipboard by default and shows a card in the screen corner. It only saves a file if you click Save on the card or turn on Save to folder under Settings › General › After capture (default folder: your Desktop). If the card closed before you used it, press ⌃⇧Z to bring it back, or open Capture History… from the menu-bar menu.
FAQ
Why is my window screenshot bigger than the window?
The PNG includes the window's shadow on a transparent background. Hold Option when you click the window to get just the window.
Can I screenshot a window to the clipboard?
Yes. Press ⌃⇧⌘4, then Space, then click the window. Nothing is saved to the Desktop; paste it where you need it.
Can I screenshot a window with a timer?
Yes. Press ⇧⌘5, choose Capture Selected Window, and pick a delay under Timer in the Options menu. Pixfinch's Self-Timer menu covers only areas and the full screen; for a window, open the link pixfinch://capture/window?delay=5 to start a window capture after 5 seconds. The automation docs list the options.
For every screenshot key combination, see Mac screenshot shortcuts. For areas, full screens and scrolling pages, see how to screenshot on a Mac.