Move windows without touching your mouse
You can move a window across your screen using only your keyboard. The method depends on your operating system — Windows, macOS, and Linux each have different shortcuts. On Windows 10 and 11, press Alt + Space to open the window menu, then press M for move. Your cursor will change, and you can use arrow keys to reposition the window, then press Enter to lock it in place. On macOS, there is no built-in keyboard shortcut for moving windows, but you can enable this through accessibility settings or use third-party tools. Linux desktop environments like GNOME and KDE offer keyboard window movement through their window manager settings.
Keyboard window movement is useful when your mouse stops working, when you prefer keyboard navigation, or when you need to move multiple windows quickly. It also works in full-screen or maximized states on some systems, though the window must be in a floating or windowed state to move it.
Key Takeaways
- On Windows, press Alt + Space, then M, then use arrow keys to move the window and Enter to confirm.
- macOS does not have a native keyboard shortcut for moving windows, but you can enable this through System Preferences or use third-party applications.
- Linux desktop environments like GNOME and KDE allow keyboard window movement through their settings or by using the Super key plus arrow combinations.
- The window must be in a floating or windowed state, not maximized or full-screen, for keyboard movement to work on most systems.
- Some applications override system shortcuts, so keyboard window movement may not work in every program.
Windows 10 and 11: Using Alt + Space
The fastest way to move a window on Windows is through the window menu. Press Alt + Space to open a small menu with options like Move, Resize, Minimize, and Maximize. Press M to select Move. Your cursor will change to a four-directional arrow, and the window becomes attached to your cursor position.
Once Move is active, use your arrow keys to reposition the window. Press the up arrow to move the window up, down arrow to move it down, left arrow to move it left, and right arrow to move it right. Hold an arrow key to move the window faster. When the window is where you want it, press Enter to confirm and release it. Press Escape at any time to cancel the move and return the window to its original position.
This method works on all versions of Windows 10 and 11, including in most applications. Some full-screen programs or games may not respond to this shortcut because they override system keyboard commands.
macOS: Enabling keyboard window movement
macOS does not include a built-in keyboard shortcut for moving windows by default. However, you can enable this feature through System Preferences. Open System Preferences, go to Keyboard, then select Shortcuts. In the left sidebar, click App Shortcuts. Click the plus button to create a new shortcut, select All Applications from the dropdown, type the exact menu item name (usually "Move Window"), assign a key combination like Control + Command + M, and click Add.
This method works only if the application has a "Move Window" option in its menu. Many macOS applications do not include this menu item, so the shortcut will not function. For broader keyboard window control on macOS, consider third-party tools like Spectacle, Rectangle, or Magnet, which offer keyboard shortcuts for moving and resizing windows to specific positions on your screen.
Linux: GNOME and KDE window movement
Linux desktop environments handle keyboard window movement differently depending on which one you use. On GNOME, press Super + F7 (where Super is the Windows key) to enter move mode, then use arrow keys to reposition the window. Press Enter to confirm or Escape to cancel. Some GNOME versions may use Alt + F7 instead, depending on your configuration.
On KDE Plasma, press Alt + F7 to activate move mode. Use arrow keys to move the window, then press Enter to confirm. You can also customize these shortcuts through System Settings by going to Shortcuts and searching for "Move Window" or "Window Move" to assign your own key combination.
Other Linux desktop environments like Xfce, LXDE, and i3 have their own window management systems. Check your desktop environment's documentation or settings panel under Keyboard Shortcuts to find the correct command for your setup.
When keyboard window movement does not work
Some situations prevent keyboard window movement from functioning. If the window is maximized or in full-screen mode, you must first restore it to a floating window state. On Windows, press Alt + Space, then press R for Restore, or double-click the title bar to unmaximize the window. On macOS and Linux, click the green maximize button or use the window menu to exit full-screen mode.
Certain applications, especially games and media players, intercept keyboard input and prevent system shortcuts from working. In these cases, you may need to exit the application's full-screen or exclusive mode first. Some terminal emulators and development tools also override standard window shortcuts. If Alt + Space does not work in a specific program, try using your desktop environment's window switcher or task manager to move the window instead.
Alternative methods: Window snapping and tiling
If keyboard window movement feels slow or awkward, consider using window snapping instead. On Windows 10 and 11, press Super + Left Arrow to snap a window to the left half of the screen, or Super + Right Arrow to snap it to the right half. These shortcuts move and resize the window in one action. On macOS, you can use Mission Control (F3 or Control + Up Arrow) to see all open windows and drag them with your keyboard using Tab to cycle between windows.
Linux desktop environments offer similar tiling features. GNOME allows you to press Super + Left or Super + Right to tile windows. KDE Plasma includes a window tiling mode that you can activate through System Settings. These alternatives are often faster than manual keyboard movement for organizing multiple windows on your screen.
Frequently Asked Questions
Why does Alt + Space not work in my application?
Some applications, particularly games and full-screen programs, intercept keyboard input before your operating system can process it. Try exiting full-screen mode first, or check the application's settings to see if it has its own window movement shortcuts. If the application is running in exclusive full-screen mode, you may need to switch to windowed mode in the game or program settings.
Can I move a window to a specific position using the keyboard?
Standard keyboard shortcuts move windows using arrow keys, which is slower than dragging. On Windows, you can use third-party tools like AutoHotkey to create custom scripts that move windows to exact coordinates. On macOS and Linux, window management tools like Rectangle, Spectacle, or i3 allow you to assign keyboard shortcuts that move windows to predefined positions or snap them to grid layouts.
Does keyboard window movement work on multiple monitors?
Yes, keyboard window movement works across multiple monitors on Windows, macOS, and Linux. When you move a window with arrow keys, it will cross from one monitor to another if you continue pressing the arrow key in that direction. The window stays attached to your cursor position throughout the movement.
What if my keyboard does not have an Alt key?
On Windows, you can use the Menu key (usually located between the right Alt and Ctrl keys) instead of Alt + Space to open the window menu. On macOS, if your keyboard lacks standard keys, check your keyboard's documentation for key mapping. On Linux, you can remap keyboard shortcuts through your desktop environment's settings to use keys that are available on your keyboard.
Can I move a window without using Alt + Space on Windows?
Alt + Space is the standard method, but you can create custom shortcuts using AutoHotkey or similar automation tools. You can also use Windows 11's built-in window snapping shortcuts (Super + Left, Super + Right, Super + Up, Super + Down) to move and resize windows to predefined positions, which is often faster than manual keyboard movement.