Why windows move off-screen and how to bring them back
A window can slip off your screen when you drag it by the title bar, when your monitor setup changes, or when a program remembers a window position from a display that's no longer connected. The window still exists and is still running — you just can't see it or grab it to move it back. The fix depends on what operating system you're using and whether you can still access the window's controls.
The fastest solution is usually keyboard shortcuts that force the window back into view without touching the mouse. If that doesn't work, you have several other routes depending on whether the window is maximized, minimized, or just positioned beyond the edge of your screen.
Key Takeaways
- Press Alt + Space on Windows or Control + F7 on Mac to open the window menu, then select Move to reposition the window with arrow keys.
- On Windows, Win + Shift + Left Arrow or Win + Shift + Right Arrow snaps the window to the left or right half of the screen, which forces it back into view.
- If you can see part of the window's title bar, drag it back onto the screen by clicking and holding the title bar, then moving your mouse toward the center of the screen.
- Disconnecting and reconnecting an external monitor often triggers this problem — check your display settings to see if Windows is still trying to use a monitor that's no longer there.
- Restarting the program or your computer will reset the window position to its default location if other methods don't work.
Use keyboard shortcuts to move the window back (Windows)
The fastest fix on Windows is to use keyboard shortcuts that don't require you to see the window. First, click the window's icon in the taskbar at the bottom of your screen to make sure the window is active — you'll see the taskbar button highlight or show a preview.
Once the window is active, press Alt + Space. This opens a small menu with options including Move, Size, Maximize, and Minimize. Press the M key to select Move. Your cursor will change to a four-way arrow, and now you can use your arrow keys to move the window back onto the screen. Press the arrow keys to nudge the window left, right, up, or down. Once the window is visible again, press Enter to lock it in place.
If the Alt + Space menu doesn't appear, try clicking the taskbar button again and waiting a moment before pressing the keyboard shortcut. Some programs don't respond to this command if they're not fully focused.
Snap the window to the screen edge (Windows)
Windows has a built-in snap feature that forces windows into standard positions. Click the taskbar icon for the off-screen window to make it active, then press Win + Shift + Left Arrow to snap it to the left half of your screen, or Win + Shift + Right Arrow to snap it to the right half. This instantly repositions the window so it's fully visible.
If the window is already maximized (taking up your entire screen), this shortcut will unmaximize it and snap it to one side instead. If the window is minimized, click the taskbar button to restore it first, then use the snap shortcut.
Drag the window back using the title bar (all systems)
If you can see even a small part of the window's title bar at the edge of your screen, you can drag it back manually. Click and hold on the visible part of the title bar, then drag your mouse toward the center of your screen. The window will follow your mouse movement and come back into view.
This method works on Windows, Mac, and Linux. The title bar is the colored strip at the top of the window that usually shows the program name or document title. If the window is completely off-screen and you can't see any part of it, this method won't work — use the keyboard shortcuts instead.
Move the window on Mac using keyboard controls
On Mac, click the window's icon in the Dock to make it active. Then press Control + F7 to enable keyboard control of the window. This activates a mode where you can use arrow keys to move the window. Press the arrow keys to nudge the window back onto your screen, then press Enter when it's positioned correctly.
If Control + F7 doesn't work, your Mac's keyboard navigation settings may be turned off. Go to System Settings, select Accessibility, click Keyboard, and make sure "Full Keyboard Access" is turned on. Then try the Control + F7 shortcut again.
Alternatively, you can right-click the window's Dock icon and look for a "Zoom" option, which may reposition the window to fit your screen. Some Mac programs also have a Window menu at the top that includes options to move or resize windows.
Check your display settings if a monitor was disconnected
If you recently unplugged an external monitor or changed your display setup, Windows or Mac may still be trying to display windows on a monitor that's no longer there. This is the most common cause of off-screen windows.
On Windows, right-click your desktop and select Display Settings. Look at the diagram showing your connected monitors. If you see a monitor labeled as "Disconnected" or a number that doesn't match your actual setup, click it and select "Disconnect this display" at the bottom. Then click Apply. Windows will move any windows that were on that monitor back to your main screen.
On Mac, go to System Settings, click Displays, and check which displays are listed. If you see a display you no longer have connected, it should disappear from the list once you restart your Mac or wait a few moments. You can also try unplugging and replugging your current monitor to reset the display configuration.
Restart the program or your computer
If none of the above methods work, restarting the program will reset its window position to the default location. Close the program completely — if you can't access it normally, use Task Manager on Windows (press Ctrl + Shift + Esc, find the program, and click End Task) or Force Quit on Mac (press Command + Option + Esc, select the program, and click Force Quit). Then open the program again.
If the window goes off-screen again immediately, the program is saving a bad window position. Some programs store this information in a settings file or preferences folder. Restarting your computer will often clear temporary settings and reset the window to a visible position. If the problem persists after a restart, the program may need to be reinstalled.
Frequently Asked Questions
Can I move a window that's completely hidden behind other windows?
Yes, use Alt + Tab on Windows or Command + Tab on Mac to cycle through open windows until the hidden window is active, then use the keyboard shortcuts in this guide to move it. You can also click its taskbar icon (Windows) or Dock icon (Mac) to bring it to the front.
What if the window is minimized and I can't find its taskbar button?
On Windows, open Task Manager (Ctrl + Shift + Esc), find the program in the list, right-click it, and select Restore. On Mac, check the Dock for a small dot or label showing the program is running, click it, and select the window from the menu that appears.
Why does the window go off-screen again after I move it back?
The program is saving the off-screen position and loading it every time it starts. Restart your computer to clear temporary settings, or uninstall and reinstall the program. You can also try moving the window, maximizing it, then closing it — some programs save the maximized state instead of the exact position.
Does this work for dialog boxes and smaller windows?
Yes, the same methods work for any window type. Dialog boxes and tool windows can also move off-screen. Use Alt + Space and Move on Windows, or Control + F7 on Mac, just as you would for a regular window.
Can I prevent this from happening in the future?
Avoid dragging windows by the title bar to the very edge of your screen. If you use multiple monitors, be careful when unplugging them — disconnect them through your display settings first rather than just pulling the cable. Keep your operating system and programs updated, as newer versions often fix window positioning bugs.