Close Window Shortcut Key (and Every Window Shortcut You Should Know)
Reaching for the mouse to close, minimize, or resize a window dozens of times a day adds up. Learning a handful of keyboard shortcuts makes Windows faster and your workflow smoother. This guide covers the close window shortcut key plus the full set of window-management shortcuts worth memorizing.
The Close Window Shortcut Key
The fastest way to close the active window depends on what you’re closing:
- Alt + F4 — closes the active window or app. On the desktop with nothing open, it brings up the shut-down dialog.
- Ctrl + W — closes the current tab or document within an app (browser tab, document, file window) without closing the whole app.
- Ctrl + F4 — closes the active document in apps that use multiple document windows. Quick rule: Use Ctrl + W to close one tab/document, and Alt + F4 to close the whole window or app.
Minimize and Maximize Shortcuts
| Action | Shortcut |
|---|---|
| Minimize active window | Win + Down arrow |
| Maximize active window | Win + Up arrow |
| Minimize all windows (show desktop) | Win + D |
| Minimize all except active | Win + Home |
| Restore minimized windows | Win + Shift + M |
The Windows key plus arrow keys is the core of fast window control — once it’s muscle memory, you rarely touch the mouse for resizing.
Snapping Windows Side by Side
Windows has built-in snapping for split-screen multitasking:
- Win + Left arrow — snap window to the left half.
- Win + Right arrow — snap window to the right half.
- Win + Up after snapping — move it into a quarter.
- Win + Z — open Snap Layouts (Windows 11) to choose a layout.
These are ideal for working with two windows at once — a document and a browser, for example.
Switching Between Windows
- Alt + Tab — cycle through open windows.
- Ctrl + Alt + Tab — keep the switcher open to pick with arrow keys.
- Win + Tab — open Task View, including virtual desktops.
- Win + number (1–9) — jump to the app pinned in that taskbar position.
The Sleep Shortcut and Power Actions
There isn’t a single dedicated “sleep” key on most keyboards, but you can sleep your PC quickly:
- Press Win + X to open the Power User menu.
- Press U, then S for Sleep (or U then U to shut down).
Alternatively, Alt + F4 on the desktop opens the shut-down dialog where Sleep is selectable. Some keyboards also have a dedicated sleep button you can map in power settings.
Complete Window Shortcut Cheat Sheet
| Task | Shortcut |
|---|---|
| Close window / app | Alt + F4 |
| Close tab / document | Ctrl + W |
| Minimize window | Win + Down |
| Maximize window | Win + Up |
| Show desktop | Win + D |
| Snap left / right | Win + Left / Right |
| Snap Layouts (Win 11) | Win + Z |
| Switch windows | Alt + Tab |
| Task View | Win + Tab |
| Sleep menu | Win + X, then U, S |
| Lock PC | Win + L |
| Open Run | Win + R |
| File Explorer | Win + E |
| Settings | Win + I |
Why These Shortcuts Matter
- Speed. Keyboard actions are faster than aiming a cursor.
- Less strain. Fewer mouse movements over a long day.
- Multitasking. Snapping and switching make small screens far more usable.
- Consistency. These work across most Windows 10 and Windows 11 apps.
If your Windows key isn’t responding for any of the Win-based shortcuts above, that’s a separate fixable issue — our guide on a Windows key that’s not working covers it.
Conclusion
The close window shortcut key is Alt + F4 for whole windows and Ctrl + W for individual tabs — but the real productivity boost comes from learning the full set: minimize, maximize, snap, switch, and sleep. Keep the cheat sheet above handy for a week, and these will become automatic. Your hands stay on the keyboard, and Windows starts to feel a lot faster.
Frequently Asked Questions
What is the close window shortcut key in Windows?
Alt + F4 closes the active window or app. Ctrl + W closes the current tab or document within an app without closing the whole program.
How do I minimize a window with the keyboard?
Press Win + Down arrow to minimize the active window, or Win + D to minimize everything and show the desktop.
What’s the shortcut to maximize a window?
Win + Up arrow maximizes the active window. Pressing it again after snapping can move the window into a corner.
Is there a sleep shortcut key in Windows?
There’s no single default key, but Win + X then U then S puts the PC to sleep quickly. Some keyboards have a dedicated sleep button you can configure in power settings.
What does Alt + F4 do on the desktop?
With no window active, Alt + F4 opens the shut-down dialog, where you can choose Sleep, Restart, or Shut down.
How do I snap two windows side by side?
Press Win + Left arrow for one window and Win + Right arrow for another, or use Win + Z for Snap Layouts in Windows 11.
Do these shortcuts work in Windows 10 and 11?
Yes. The core window-management shortcuts work in both, with Windows 11 adding Snap Layouts (Win + Z).
Digital Keys
2 thoughts on “Close Window Shortcut Key (and Every Window Shortcut You Should Know)”