How To Minimize And Maximize A Window With The Keyboard (2026)
Press the Windows key and Up arrow to maximize the active window, and the Windows key and Down arrow to minimize it.
Windows 11 also has shortcuts that minimize every window at once, restore them again and snap windows to the screen edges.
This guide lists each shortcut from Microsoft’s own documentation and explains when to use which one.
Table of Contents
- Quick answer: the main shortcuts
- Maximize a window with the keyboard
- Minimize a window with the keyboard
- Restore a snapped or maximized window
- Minimize every window at once
- Use the window menu with Alt+Spacebar
- Snap windows with the arrow keys
- Win+M, Win+D and Win+Home compared
- Which shortcut to use by goal
- Open the Snap flyout from the keyboard
- Move a window to another monitor
- Mouse and taskbar methods
- Minimize and maximize by voice
- If the shortcuts do not work
- Official sources
- More laptop and PC hardware guides
Quick answer: the main shortcuts
| Shortcut | What it does |
|---|---|
| Win+Up arrow | Maximize the active window |
| Win+Down arrow | Minimize the active window |
| Win+M | Minimize all windows |
| Win+Shift+M | Restore minimized windows |
| Win+Home | Minimize or restore all windows except the active window |
| Win+D | Display and hide the desktop |
The Win key is the key with the Windows logo, usually between Ctrl and Alt on the bottom row.
Maximize a window with the keyboard
Click the window you want to enlarge so it is the active window.
- Hold the Windows key.
- Press the Up arrow.
- Release both keys and the window fills the screen.
Microsoft’s shortcut list describes Win+Up arrow as maximizing the active window.
Minimize a window with the keyboard
Use Win+Down arrow to minimize the active window to the taskbar.
Microsoft lists this exact shortcut under minimizing in its Windows key table.
To bring the window back, select its icon on the taskbar or press Alt+Tab and choose it.
Restore a snapped or maximized window
Win+Shift+Down arrow restores a window that is snapped or maximized.
Win+Shift+M restores windows you minimized earlier.
| Goal | Shortcut |
|---|---|
| Un-maximize one window | Win+Shift+Down arrow |
| Bring back minimized windows | Win+Shift+M |
| Show the desktop, then return | Win+D twice |
Minimize every window at once
Win+M minimizes all windows, and Win+D displays or hides the desktop.
Win+Home keeps the active window and minimizes everything else, which is useful when you want to focus on one task.
Press Win+Home again to restore the other windows.
Use the window menu with Alt+Spacebar
Alt+Spacebar opens the context menu for the active window.
That menu holds the Restore, Move, Size, Minimize, Maximize and Close commands, which you can pick with the arrow keys and Enter.
Each command in the menu has an underlined letter, so you can press that letter instead of moving to it.
Microsoft says Alt+F4 closes the active window, so avoid it when you only want to minimize.
Snap windows with the arrow keys
Microsoft’s snap page says to hold the Windows key and press an arrow key to place the current app on that side of the screen.
| Shortcut | Result |
|---|---|
| Win+Left arrow | Snap the window to the left side |
| Win+Right arrow | Snap the window to the right side |
| Win+Alt+Up arrow | Snap the active window to the top half |
| Win+Alt+Down arrow | Snap the active window to the bottom half |
| Win+Shift+Up arrow | Stretch the window to the top and bottom of the screen |
| Win+Z | Open the Snap flyout |
Our guide to splitting the screen in Windows 11 walks through snapping step by step.
Win+M, Win+D and Win+Home compared
Three shortcuts clear the screen, but they behave differently.
| Shortcut | Active window | Other windows | Undo it with |
|---|---|---|---|
| Win+M | Minimized | Minimized | Win+Shift+M |
| Win+D | Hidden with the desktop view | Hidden with the desktop view | Win+D again |
| Win+Home | Stays on screen | Minimized | Win+Home again |
Pick Win+D when you only want a quick look at the desktop, because it hides and shows the windows in one step.
Pick Win+M when you want the windows tucked into the taskbar until you choose one.
Which shortcut to use by goal
| You want to | Press |
|---|---|
| Make a window full screen | Win+Up arrow |
| Send one window to the taskbar | Win+Down arrow |
| Focus on a single window | Win+Home |
| Put two windows side by side | Win+Left arrow and Win+Right arrow |
| Open the window menu | Alt+Spacebar |
| Undo a snap or maximize | Win+Shift+Down arrow |
Learn the first two shortcuts and Win+Home, and you will cover most daily use.
Open the Snap flyout from the keyboard
Press Win+Z to open the Snap flyout without touching the mouse.
Microsoft lists Win+Z as a way to open the flyout alongside hovering over the restore or maximize button.
- Click the window you want to place.
- Press Win+Z to show the layouts.
- Choose a layout, then fill the remaining zones with other open windows using Snap Assist.
Snap Assist is the Microsoft feature that lets you fill the rest of the layout after you place the first window.
The hover version of the flyout depends on the Multitasking setting described below.
Move a window to another monitor
Win+Shift+Left arrow moves the active window to the monitor on the left.
Win+Shift+Right arrow moves it to the monitor on the right.
Mouse and taskbar methods
If you prefer the mouse, hover over a window’s maximize button to see the Snap flyout, which Microsoft says appears when you hover over that button.
You can turn that off in Settings, then System, then Multitasking, with the setting named Show snap layouts when I hover over a window’s maximize button.
If the flyout bothers you, read how to turn off Snap layouts in Windows 11.
The far corner of the taskbar is a show desktop button that minimizes all open windows, and selecting it again restores them.
- Right-click an empty area of the taskbar and choose Taskbar settings.
- Expand Taskbar behaviors.
- Toggle Select the far corner of the taskbar to show the desktop.
Minimize and maximize by voice
Microsoft’s voice access page lists commands for controlling windows.
| Action | Voice command |
|---|---|
| Minimize | Minimize window, or Minimize and the app name |
| Maximize | Maximize window, or Maximize and the app name |
| Restore | Restore window, or Restore and the app name |
| Show the desktop | Go to desktop |
Voice access must be turned on before these commands work.
If the shortcuts do not work
- Click the window first, because the shortcuts act on the active window.
- Check that the Windows key on your keyboard works by pressing it alone and looking for the Start menu.
- Restart the laptop if only some Windows key shortcuts fail.
For a full list of combinations, open the Windows 11 keyboard shortcuts list.
You may also like our guide to using virtual desktops in Windows 11.
Official sources
- Keyboard shortcuts in Windows (Microsoft Support)
- Snap your windows (Microsoft Support)
- Customize the taskbar in Windows (Microsoft Support)
- Use voice to work with windows and apps (Microsoft Support)
More laptop and PC hardware guides
- How To Turn On The Keyboard Backlight On A Dell Laptop (2026)
- How To Turn On The Keyboard Light On A Lenovo Laptop (2026)
- How To Turn On The Keyboard Light On An HP Laptop (2026)
- How To Clean A Keyboard After A Spill (2026)
- Windows 11 Keyboard Shortcuts: Complete List (2026)
- How To Open The Emoji Keyboard And Symbols Panel In Windows 11 (2026)