The X button in the top-right corner of a Windows 11 window might not be doing what you think. According to MakeUseOf, many users are surprised to learn that clicking it often fails to fully close an application—instead, it merely dismisses the visual interface while leaving core processes running in the background. This behavior is not a bug; it’s a deliberate design choice that dates back decades, yet it still confuses even seasoned Windows users.

The Classic Misunderstanding: Window vs. Application

In Windows, there’s a fundamental distinction between a window and an application. A window is just a graphical container that an application can create to present its user interface. An application, on the other hand, is a running process (or collection of processes) that may have zero, one, or multiple windows open at any time. When you click the X button, you’re sending a close message to that specific window, not necessarily telling the entire application to shut down.

This design allowed early Windows users to work with multiple documents inside a single program—think Excel with several spreadsheets open. Closing one workbook shouldn’t exit Excel entirely. Over time, this flexibility evolved into a system where apps can choose to remain running after all windows are dismissed, either to provide notifications, sync data, or simply to speed up reopening later.

How Windows 11 Decides When to Quit

The behavior depends heavily on the app’s architecture. Traditional Win32 applications (like Notepad or Photoshop) typically follow a simple rule: if the window is the main frame and it receives a close command, the app exits completely. But many modern apps, especially those built on the Universal Windows Platform (UWP) or as Progressive Web Apps (PWAs), follow different patterns.

UWP apps are “suspended” when their windows are closed, kept in memory so they can resume quickly. PWAs might run service workers that persist even after the browser window is closed. Win32 apps, meanwhile, can override the default close behavior to minimize to the system tray or continue running background tasks. There’s no unified rule, and developers have wide latitude, which leads to inconsistent user experiences.

The System Tray: Where Background Apps Hide

The system tray (or notification area) is the most common refuge for apps that don’t truly quit when closed. Clicking the X on Slack, Microsoft Teams, Discord, Steam, or many antivirus programs will typically just minimize the window to the tray. A small icon remains visible near the clock, indicating the app is still running and consuming resources. To fully exit, you must right-click that icon and choose “Quit,” “Exit,” or “Close.”

Cloud storage clients like OneDrive, Google Drive, or Dropbox are prime examples. They’re designed to run constantly in the background, syncing files and showing status icons. Closing their windows does nothing to the underlying processes. Similarly, hardware utilities for graphics cards, keyboards, or mice often linger in the tray, quietly waiting for configuration changes or firmware updates.

Visual Indicators: How to Spot a Still-Running App

Not all background apps are obvious. Some hide their tray icons behind the small upward arrow, requiring an extra click to reveal. Others may have no visible presence at all, quietly running in the background. To check what’s actually running, open Task Manager (Ctrl+Shift+Esc). Under the Processes tab, look for app names even after you’ve “closed” all windows. Sort by CPU or memory to identify resource hogs.

Another clue: if you see a dot or underline under an app icon on the taskbar after clicking the X, it’s still active. In Windows 11, the taskbar doesn’t always show this indicator as clearly as older versions, but the app’s jump list (right-click the icon) may still offer “Close window” or “Quit” options if the process is alive.

How to Truly Close an App in Windows 11

There are several ways to ensure an app stops completely:

  • File > Exit: In traditional menu-driven apps, this command always shuts down the entire program, regardless of how many windows are open.
  • Right-click the taskbar icon: Select “Close window” if available. Some apps also show a dedicated “Quit” option here.
  • Use the system tray: Find the app’s icon in the notification area, right-click, and choose “Exit” or “Quit.”
  • Task Manager: Select the app and click “End task.” This forcefully terminates the process and all its associated windows.
  • Command line: For advanced users, taskkill /F /IM processname.exe can be scripted or used manually.

New in Windows 11: Taskbar “End Task” Option

Microsoft has acknowledged the confusion around app closing. In recent Windows 11 updates (rolling out gradually from build 22621 onward), a new “End task” option appears when you right-click an app icon on the taskbar. This acts like a shortcut to the Task Manager’s “End task” function, immediately killing the process. While convenient, it’s a nuclear option—any unsaved data will be lost. The feature is not enabled by default; you must turn it on via Settings > System > For developers > End Task.

This addition brings Windows closer to mobile operating systems where swiping an app away often closes it entirely. However, it doesn’t change the underlying design philosophy; many apps will still minimize to the tray unless the user explicitly quits them.

Why Background Apps Matter

Leaving apps running in the background isn’t always a bad thing. They can provide real-time notifications, sync data without user intervention, and offer faster launch times. But the downsides are equally real:

  • Performance: Every background process consumes CPU cycles and memory. On older or less powerful hardware, even a handful of idle apps can cause noticeable slowdowns.
  • Battery drain: Laptop users will see reduced battery life if background apps keep the system from entering low-power states.
  • Privacy: Apps that run silently may collect usage data, listen for updates, or maintain network connections without the user’s awareness.
  • Clutter: A crowded system tray makes it harder to find genuinely useful icons and notifications.

Windows 11 includes tools to help manage this, but they require active attention.

Take Control: Setting App Background Permissions

You can prevent unwanted background activity through Windows 11’s modern settings interface. Navigate to Settings > Apps > Installed apps, click the three-dot menu next to an app, and select Advanced options. Under “Background apps permissions,” you’ll often find a dropdown with three choices:

  • Always: The app can run background tasks at any time.
  • Power optimized (recommended): Windows will restrict background activity to preserve battery, but may allow it when plugged in or if the user interacts frequently with the app.
  • Never: The app is suspended when not in use. Notifications, syncing, and other background operations are stopped.

This granular control is especially useful for UWP and Store apps. Legacy Win32 apps may not appear in this list, but many have their own internal settings for minimizing to the tray or running on startup.

The Bottom Line

The X button’s behavior is a product of Windows’ long evolution, balancing flexibility with user expectation. It’s not a defect, but it can certainly feel like one when you discover a half-dozen programs still chewing through resources long after you thought you’d closed them. Windows 11’s newer features, like the taskbar End Task option and background permissions, give you more explicit control. Nevertheless, the onus remains on the user to understand the difference between dismissing a window and exiting an application.

Next time you reach for that X, pause and consider: is the app really done, or just hiding? A quick glance at the system tray or Task Manager could save your system’s performance—and your peace of mind.