Screenshot a window on a Mac without the shadow

Press Shift-Command-4, then the Space bar, and hold Option as you click the window: the screenshot leaves out the window’s shadow. Click without Option to keep the shadow. Either way, only that window is captured, and it is saved to the desktop as a PNG file.

  • macOS 27
  • Updated

The same keys capture the menu bar, and Terminal’s screencapture command can leave out the shadow too. For a window on a background of your choosing, see the ClearShot section at the end.

Capture one window without its shadow

  1. Press Shift-Command-4. The pointer turns into a crosshair.

  2. Press the Space bar. The pointer changes to a camera.

  3. Hold Option and click the window.

To cancel before clicking, press Esc. Clicking the menu bar instead of a window captures the menu bar.

Keep the shadow

Click the window without holding Option, and the screenshot includes the window’s shadow. Screenshot (Shift-Command-5) also has a tool for a single window: choose it, then click the window.

Copy a window instead of saving it

Hold Control with the shortcut: press Control-Shift-Command-4, then the Space bar, then click the window. The screenshot goes to the clipboard and no file is saved to the desktop.

Where the window screenshot goes

Like any screenshot taken with the keys, it is saved to the desktop as a PNG file whose name begins with “Screenshot” and includes the date and time. If the floating thumbnail appears in the corner, drag it straight into a document or an email, or click it to mark up the window.

To save window screenshots to another folder, see where screenshots are saved on a Mac; to add arrows, text or a filled shape, see how to annotate a screenshot on a Mac.

From Terminal

The screencapture command has an option that leaves out the shadow. In Terminal, run:

screencapture -i -w -o ~/Desktop/window.png

-i makes the capture interactive, -w allows only a window to be chosen, and -o leaves out the window’s shadow. Click the window to capture it, or press Esc to cancel. To send the window to the clipboard instead of a file, use -c in place of the file name:

screencapture -i -w -o -c

Add -x to either command to capture without playing a sound.

Windows that won’t capture

Some apps don’t allow screenshots of their windows. Apple names DVD Player and the Apple TV app as examples.

With ClearShot: a window on a clean background

ClearShot is a free, open-source screenshot app for macOS 27. Its Capture Window takes a window with or without its shadow and wallpaper. A window taken “With wallpaper” is saved as a document, the window plus the wallpaper behind it, so the background can be changed or removed later.

The Annotate editor’s background tool puts any capture on a gradient, a wallpaper, a colour or a picture of your own, with padding, a shadow and rounded corners, and the background stays editable after you’re done. Settings › Screenshots › Background preset can apply one to every new capture, with a separate preset for window screenshots; hold Shift as you click a window to skip it for that shot.

Screenshots and screen recordings from the menu bar, with nothing uploaded and no account.

  • Free
  • Open source
  • macOS 27 or later

Sources