The shortcut to minimize the active window is Windows key + Down Arrow on Windows and Command + M on macOS. To maximize, use Windows key + Up Arrow on Windows or Control + Command + F on a Mac (or click the green button). These are built-in system shortcuts, so no extra software is needed.

What You'll Need

  • A computer running Windows 10 or 11, or macOS Ventura or later. The shortcuts also work on older versions, but menu labels may differ slightly.
  • A standard keyboard with a Windows key (or Command key on Mac). Laptop keyboards work fine.
  • No additional apps or settings changes are required for the basic shortcuts.

Step-by-Step

  1. Minimize the active window on Windows: Press and hold the Windows key (the key with the flag logo, usually between Ctrl and Alt), then tap the Down Arrow once. The window shrinks to the taskbar. Pressing the same combination again while the window is already minimized does nothing.
  2. Maximize the active window on Windows: Press and hold the Windows key, then tap the Up Arrow once. The window expands to fill the screen. If the window was already maximized, this does nothing. To snap a window to the left or right half of the screen, use Windows key + Left Arrow or Windows key + Right Arrow.
  3. Minimize all windows at once on Windows: Press Windows key + D. This shows the desktop and minimizes every open window. Press it again to restore all windows. Alternatively, Windows key + M minimizes all windows, but unlike Windows key + D, it does not restore them when pressed again.
  4. Minimize the active window on macOS: Press Command + M. The window drops into the Dock. Note that this minimizes only the frontmost window, not every window of that app. To minimize all windows of the active app, press Command + Option + M (this works in many apps but not all; if it does nothing, use the yellow minimize button).
  5. Maximize (zoom) the active window on macOS: Press Control + Command + F to enter full screen (the window expands to fill the entire screen and hides the menu bar). To exit full screen, press the same combination again. To simply zoom the window to fill the available space without going full screen, there is no default keyboard shortcut; click the green traffic-light button while holding the Option key, or double-click the window's title bar (if enabled in System Settings > Desktop & Dock).
  6. Minimize all windows on macOS: Press Command + Option + H to hide all windows of the active app, or Command + H to hide just the active app. To hide all other apps, press Command + Option + H again. To show the desktop, press F11 (or Fn + F11 on laptops without a dedicated F11 key).
  7. Test the shortcuts: Open any window (e.g., a browser or file explorer), then try the minimize and maximize combinations. If nothing happens, check that the window is active (click its title bar first) and that no other app is capturing the key combination.

Common Mistakes

  • Using the wrong modifier key: On Windows, the Windows key is not the same as Ctrl or Alt. On Mac, Command is the key with the ⌘ symbol, not Control. Mixing them up is the most frequent reason shortcuts fail.
  • Pressing the arrow key without holding the Windows key: The combination requires holding the modifier first, then tapping the arrow.
  • Expecting Command + M to minimize all windows on Mac: It only minimizes the frontmost window. Use Command + Option + M for all windows of the active app (where supported).
  • Confusing maximize with full screen on Mac: Control + Command + F toggles full screen, which hides the menu bar and Dock. It is not the same as the green zoom button, which resizes the window to fit content.
  • Assuming Windows key + M restores windows: It does not; use Windows key + D for a toggle, or click the taskbar icons.
  • Using a non-standard keyboard: Some compact or gaming keyboards remap or disable the Windows key. Check the keyboard's manual or companion software.

Tips

  • On Windows, you can also minimize a window by clicking its title bar and shaking it (Aero Shake) if that feature is enabled, but the keyboard shortcut is faster and more reliable.
  • On macOS, you can assign a custom shortcut for zoom (maximize) in System Settings > Keyboard > Keyboard Shortcuts > App Shortcuts, but this requires creating a menu item shortcut and is not a built-in default.
  • If you frequently switch between Windows and Mac, practice the two main combinations until they become muscle memory: Win+Down/Up versus Cmd+M / Ctrl+Cmd+F.
  • For window snapping on Windows, Win+Left/Right is handy for side-by-side comparison; on Mac, third-party apps like Rectangle (free) add similar snapping, but they are not required for basic minimize/maximize.

Troubleshooting

  • Shortcut does nothing: Click the window to make it active, then try again. If it still fails, check whether another app (e.g., a screen recorder or keyboard remapper) is intercepting the keys. Close that app or change its hotkeys.
  • Windows key is disabled: On some gaming keyboards, a "gaming mode" disables the Windows key. Press the designated key (often Fn + Windows key or a dedicated button) to re-enable it.
  • Mac: Command + M does nothing: Some apps (e.g., certain games or full-screen apps) do not support minimize. Try the yellow minimize button or press Control + Command + F to exit full screen first.
  • Windows: Win+Up does not maximize: If the window is already snapped to a side, Win+Up will maximize it. If it is already maximized, nothing happens. Press Win+Down to restore, then Win+Up to maximize.
  • Keyboard layout issues: On non-US layouts, the arrow keys and modifier positions are the same, but the Windows key may be labeled differently (e.g., "Super" or "Meta"). The physical position is what matters.
  • Still stuck: Restart the computer. If the problem persists, check for system updates (Settings > Windows Update on Windows; System Settings > General > Software Update on Mac).

Frequently Asked Questions

What is the shortcut to minimize all windows on Windows?

Press Windows key + D to show the desktop and minimize everything. Press it again to restore. Windows key + M also minimizes all windows but does not restore them.

How do I maximize a window on a Mac without full screen?

There is no default keyboard shortcut for the green zoom button. Hold Option and click the green button, or double-click the title bar (if enabled in System Settings > Desktop & Dock). Control + Command + F toggles full screen, which is different.

Can I change these shortcuts?

On Windows, you can remap keys with PowerToys Keyboard Manager (official Microsoft tool). On Mac, you can assign app-specific shortcuts in System Settings > Keyboard > Keyboard Shortcuts, but system-wide minimize/maximize shortcuts are not customizable without third-party apps.

Why does Windows key + Down Arrow not minimize my window?

Ensure the window is not already minimized and that the Windows key is enabled. If you are using a remote desktop or virtual machine, the host may capture the key combination; try the same shortcut inside the remote session or use the window's minimize button.

What is the difference between minimize and hide on Mac?

Minimize (Command + M) sends the window to the Dock. Hide (Command + H) makes the entire app invisible until you click its Dock icon or use App Switcher. Hide does not put windows in the Dock.

Do these shortcuts work in all apps?

Most standard apps support them, but some full-screen games, video players, and remote desktop clients may override or ignore them. In those cases, use the app's own window controls.