How to Move a Window With Your Keyboard (Windows, Mac & Linux)
Moving windows around your screen without touching the mouse sounds like a niche trick — but once you know the shortcuts, it becomes one of those things you use constantly. Whether your mouse has stopped responding, you're navigating a multi-monitor setup, or you just prefer keeping your hands on the keyboard, there are reliable built-in ways to reposition any window using only keys.
Why Moving Windows by Keyboard Actually Matters
Most people drag windows by the title bar without thinking about it. But keyboard-based window management becomes genuinely useful in several situations:
- A window has moved off-screen and you can't click its title bar to drag it back
- You're working with multiple monitors and need precise placement
- You're using a laptop trackpad that makes fine dragging tedious
- You prefer tiling or snapping windows into predictable positions without hunting for screen edges
The method you'll use depends heavily on your operating system — and even your specific version of it.
How to Move a Window With the Keyboard on Windows 🖥️
Windows has a built-in feature called the Window Move command, accessed through the system menu (also called the control menu).
Using the System Menu (Works on Almost All Windows Versions)
- Make sure the window you want to move is active/focused
- Press Alt + Space to open the window's system menu
- Press M to select "Move"
- Use the Arrow keys to reposition the window
- Press Enter to confirm the new position
The window will snap to wherever the arrow keys guided it. This method works even when a window is partially or fully off-screen — which makes it the go-to fix when a window has "escaped" to a second monitor that's no longer connected.
Windows Snap Shortcuts
Windows 10 and Windows 11 include Snap Assist, which lets you position windows into halves, quarters, or specific monitor positions using the keyboard:
| Shortcut | What It Does |
|---|---|
| Win + Left Arrow | Snap window to left half of screen |
| Win + Right Arrow | Snap window to right half of screen |
| Win + Up Arrow | Maximize window (or snap to top half in Win 11) |
| Win + Down Arrow | Minimize or restore window |
| Win + Shift + Left/Right | Move window to another monitor |
| Win + Shift + Up | Stretch window vertically to full height |
The Win + Shift + Left/Right shortcuts are particularly useful in multi-monitor setups — they move the active window to the next display in either direction while keeping its size roughly intact.
What Affects This on Windows
- Windows 11 vs. Windows 10: Snap Layouts in Windows 11 add more snap zones (including thirds and quarters), which you can trigger with Win + Z
- Snap settings: If snapping shortcuts don't work, check that Snap is enabled under Settings → System → Multitasking
- Remote Desktop or virtual machines: Some shortcuts get intercepted by the host system and may not pass through correctly
How to Move a Window With the Keyboard on macOS 🍎
macOS does not include a native keyboard shortcut to freely reposition a window. This is one of the clearest functional differences between macOS and Windows in everyday use.
What macOS Does Offer Natively
macOS has some keyboard-based window controls, but they focus on sizing rather than movement:
| Shortcut | What It Does |
|---|---|
| Ctrl + Command + F | Toggle full screen |
| Command + M | Minimize to Dock |
| Command + Option + Zoom button | Tile window to half screen (macOS Sequoia and later) |
Starting with macOS Sequoia (2024), Apple introduced native window tiling, which lets you snap windows to halves and corners — closing some of the gap with Windows Snap. But free-form keyboard movement still isn't built in.
Third-Party Tools on macOS
Most Mac users who want keyboard-based window control install a dedicated window manager. Popular categories include:
- Keyboard-driven tiling apps — let you define custom grid positions and move windows between those positions using hotkeys you configure
- Snap-style utilities — replicate the Windows Snap behavior using the menu bar or system extensions
What works best here depends on your workflow, how many displays you use, and how granular you want your control to be.
How to Move a Window With the Keyboard on Linux
Linux behavior varies significantly by desktop environment, but most popular ones include built-in keyboard window movement.
GNOME
- Super + Left/Right Arrow: Snap to half of screen
- Super + Up: Maximize
- Super + Down: Restore or minimize
- Alt + F7: Activate "Move" mode — then use arrow keys freely, just like Windows' Alt+Space method
KDE Plasma
KDE offers one of the most customizable keyboard window management experiences:
- Win + Left/Right/Up/Down: Snap to halves or maximize
- You can configure nearly any shortcut through System Settings → Shortcuts → KWin
What Affects This on Linux
The desktop environment matters far more than the distro itself. GNOME, KDE, XFCE, and i3 all handle window movement differently — and tiling window managers like i3 or Sway treat every window placement as keyboard-first by default, with no mouse required.
The Variable That Changes Everything
The same goal — moving a window with the keyboard — has meaningfully different solutions depending on whether you need:
- A one-time fix (window stuck off-screen) vs. a daily workflow
- Snapping to predefined positions vs. free-form pixel-level repositioning
- Single monitor vs. multi-monitor navigation
- Built-in OS features vs. third-party tools you're willing to install and configure
Someone on Windows 11 with dual monitors will use a different combination of shortcuts than someone on macOS trying to replicate that same experience, or a Linux user running a tiling window manager where this behavior is built into the entire philosophy of the environment.
The right approach starts with identifying which of those situations actually describes your setup.