Skip to content

How to move a window on a Mac by dragging anywhere inside it

A hidden macOS setting lets you hold Control and Command and drag a window from any point, not just its title bar. How to turn it on, and what to watch for.

Guide · Updated 22 October 2026

How do I drag a window from anywhere?

  1. Open Terminal and run the line below.
  2. Log out and back in, or quit and reopen your apps.
  3. Hold ⌃ ⌘ and drag anywhere inside a window. The whole window moves.
defaults write -g NSWindowShouldDragOnGesture -bool true

To turn it off again:

defaults delete -g NSWindowShouldDragOnGesture

Does it work in every app?

It works in apps that use the Mac's own windows, which is most of them. Some apps draw their own windows and ignore it. The setting is still present in macOS 27, but it is hidden and Apple does not document it, so a future update could change it.

Does it clash with anything?

⌃ ⌘ with a click is rarely used by apps, but if one of yours uses it, the window drag takes over. Remove the setting if you notice a shortcut stop working.

Other ways to rescue a stuck window: can't move a window and window off screen. Moving without dragging at all: ClutterFreeMac moves windows along its strip with ⌃ ⌥ ⇧ and an arrow.

Checked on 22 October 2026 on a MacBook Air (M1) running macOS 27.0.1: the NSWindowShouldDragOnGesture setting is present in the system.

Questions

Can I move a Mac window without the title bar?

Yes. Turn on NSWindowShouldDragOnGesture in Terminal, log out and in, then hold Control Command and drag.

How do I undo the drag from anywhere setting?

Run defaults delete -g NSWindowShouldDragOnGesture and log out.

Does Control Command drag work in all apps?

In most apps that use standard Mac windows. Some apps ignore it.