How to Move Windows with Keyboard Shortcuts
In this article
Yes, you can move any open window using only your keyboard. The quickest method is pressing Alt + Space followed by the M key to enter move mode, then using the arrow keys to shift the window and Enter to lock it in place.
What You'll Need
- A Windows PC running Windows 10 or Windows 11
- A physical keyboard (laptop keyboards work too)
- No external tools or settings changes required
Step-by-Step
- Activate the System Menu: Click on the window you want to move to make sure it is the active window. Then, press and hold the Alt key and tap the Spacebar. This opens a small context menu at the top-left corner of the window. You do not need to click this menu; just ensure it has appeared.
- Select the Move Command: While still holding Alt, press the letter M on your keyboard. This selects the "Move" option from the system menu. You will see the cursor change to a four-way directional arrow, indicating that the window is now ready to be repositioned.
- Release Keys and Use Arrows: Release both the Alt key and the Spacebar. Now, use the Arrow Keys (Up, Down, Left, Right) to nudge the window around the screen. Each press moves the window by a few pixels. If you hold an arrow key down, the window will continue to move smoothly until you release it.
- Handle Multi-Monitor Setups: If you are moving a window between different monitors, simply keep pressing the arrow key in the direction of the other screen. When the window crosses the edge, it will appear on the adjacent display. Continue nudging it into position.
- Lock the Position: Once the window is exactly where you want it, press the Enter key. This confirms the new position and locks the window in place. Alternatively, you can click anywhere on the desktop with your mouse to cancel the move operation if you change your mind.
Common Mistakes
One frequent error is forgetting to release the Alt key after pressing M. If you keep holding Alt, you might accidentally trigger other shortcuts or keep the system menu open, preventing smooth movement. Another mistake is trying to drag the window with the mouse while in move mode; the keyboard command takes precedence, so let go of the mouse button before clicking elsewhere.
Tips
If you find pixel-by-pixel movement too slow, try this trick: press the arrow key once to start the window moving, then immediately press the same arrow key again. On some systems, this double-tap can increase the speed of the movement. Also, remember that this method works for maximized windows too. Even if a window is stretched across the entire screen, you can un-maximize and move it using these steps without touching the mouse.
Troubleshooting
If the Alt + Space shortcut does not work, first check if another application is intercepting the key combination. Some gaming overlays, screen recording software, or macro utilities may have assigned Alt + Space to a different function. Try closing background apps one by one to identify the conflict.
If the window still refuses to move, ensure that the window is not set to "Always on Top" in a way that restricts interaction, though this rarely blocks basic movement. Restarting the Explorer process can also help if the shell is frozen. Press Ctrl + Shift + Esc to open Task Manager, find "Windows Explorer," right-click it, and select Restart. This refreshes the desktop interface without logging you out.
Frequently Asked Questions
Can I move windows with the touchpad?
No, the native keyboard move command requires physical arrow keys. However, you can use the mouse to drag the window title bar if your touchpad supports multi-finger gestures or standard dragging.
Does this work on Mac computers?
MacOS uses different shortcuts. On a Mac, you typically use Option + Command + Arrow keys to resize or move windows, but the specific "move mode" via Alt+Space is unique to Windows.
Why is my window stuck on the edge of the screen?
This often happens if a window gets partially hidden behind the taskbar or monitor bezel. Use the keyboard move method described above to nudge it back into view when the mouse cannot reach it.
Can I snap windows with the keyboard?
Yes. Instead of pressing M, press Win + Up/Down/Left/Right arrows to snap windows to halves or quarters of the screen. This is faster than manual positioning for standard layouts.
Is there a way to move windows with more precision?
The arrow keys provide fine control. For even finer adjustments, press the arrow key gently. There is no built-in "micro-move" setting, but consistent light taps allow for pixel-perfect placement.