Microsoft Edge stops closing when a background process, extension, or setting keeps it running even after you click the X button

When you close Microsoft Edge, the window disappears but the program stays active in your system. This happens because Edge runs background tasks — syncing your passwords, checking for updates, or keeping extensions alive — that prevent a full shutdown. You may also have settings that reopen Edge automatically, or an extension that's blocking the close action.

The most common reason is background app permissions. Edge can run in the background even when you've closed the window, which is useful for notifications but frustrating when you're trying to fully quit the program. A second common cause is extensions — some are designed to stay active and can interfere with shutdown. A third is startup settings that reopen Edge when you restart your computer or log in.

Key Takeaways

  • Check Settings > System > Background apps and turn off "Microsoft Edge" if you want the program to fully close instead of running in the background.
  • Disable or remove extensions one at a time to find which one is preventing Edge from closing cleanly.
  • Open Task Manager (Ctrl+Shift+Esc) and look for Edge processes still running after you close the window — if they're there, an extension or background task is holding them open.
  • Turn off "Continue running background apps when Microsoft Edge is closed" in Edge Settings > System to stop the program from staying active after you close it.

Turn off background app permissions in Windows Settings

Windows lets Edge run in the background even after you close the window. This is why you might see Edge still using memory or CPU time when the window is gone. To stop this, open Windows Settings and navigate to System > Background apps. Scroll down until you find Microsoft Edge in the list.

Click on Microsoft Edge and toggle the switch to Off. This prevents Edge from running background processes when the window is closed. After you make this change, close Edge completely and check Task Manager (press Ctrl+Shift+Esc) to confirm that no Edge processes remain running.

If you want Edge to stay active for specific tasks — like receiving notifications or syncing passwords — you can leave this on. But if you want Edge to fully shut down when you close it, this is the setting to change.

Disable the "continue running background apps" setting in Edge itself

Edge has its own setting that overrides Windows background permissions. Open Microsoft Edge and click the three-dot menu in the top right corner. Go to Settings > System and performance. Look for the toggle that says "Continue running background apps when Microsoft Edge is closed" and turn it off.

This setting is separate from the Windows background apps permission. Even if you turned off background apps in Windows Settings, Edge may still run in the background if this toggle is on. Turning it off here ensures Edge closes completely when you close the window.

Check for extensions that prevent closing

Some extensions are designed to stay active and can block Edge from closing properly. The fastest way to find a problematic extension is to disable them all at once, then turn them back on one by one until the problem returns. That tells you which extension is the culprit.

To disable all extensions, click the three-dot menu in Edge, go to Extensions > Manage extensions, and toggle off each extension. Close Edge completely and check if it closes properly now. If it does, turn extensions back on one at a time, closing and reopening Edge after each one, until you find the one that causes the problem.

Once you identify the problematic extension, you have two choices: remove it entirely by clicking the Remove button on its extension page, or contact the extension's developer to report the issue. Some extensions have updates that fix closing problems, so check the extension's page in the Microsoft Edge Add-ons store to see if an update is available.

Remove Edge from startup apps if it reopens automatically

If Edge reopens every time you restart your computer or log in, it's set to launch at startup. Open Windows Settings and go to Apps > Startup. Find Microsoft Edge in the list and toggle it to Off. This prevents Edge from launching automatically.

You can also check Edge's own startup settings. In Edge, click the three-dot menu and go to Settings > On startup. Make sure the option is set to "Open the New Tab page" or "Open a specific page or pages" rather than "Continue where you left off". The "continue where you left off" option can cause Edge to reopen windows and tabs from your last session, which may feel like Edge won't close.

Use Task Manager to force Edge to close if nothing else works

If Edge still won't close after you've tried the steps above, open Task Manager by pressing Ctrl+Shift+Esc. Look for any process that starts with "Microsoft Edge" or "msedge". Click on it and click the End task button at the bottom right. This forces the process to stop when ready.

If multiple Edge processes appear in Task Manager, end all of them. This is a temporary fix — it doesn't solve the underlying problem — but it lets you fully close Edge when it's stuck. After you force-close Edge, go back through the steps above to find and fix the real cause. If the problem keeps happening, the issue is likely an extension or a corrupted Edge profile.

Repair or reset Edge if the problem persists

If Edge still won't close after disabling extensions and background apps, the program's files may be corrupted. Open Windows Settings and go to Apps > Apps and features. Find Microsoft Edge in the list, click on it, and click Repair. Windows will check Edge's files and fix any that are damaged.

If repairing doesn't work, you can reset Edge to its default state. In the same menu, click Microsoft Edge again and select Reset. This removes all extensions, clears your browsing data, and restores Edge's default settings. You'll lose saved passwords and bookmarks unless you've synced them to your Microsoft account, so back up anything important before you reset.

Frequently Asked Questions

Why does Edge stay in Task Manager after I close the window?

Edge runs background processes even after the window closes. Check Settings > System > Background apps and turn off Microsoft Edge. Also go to Edge Settings > System and performance and turn off "Continue running background apps when Microsoft Edge is closed".

Can I close Edge without using the X button?

Yes. Press Alt+F4 on your keyboard to close Edge, or right-click the Edge icon in your taskbar and select "Close all windows". If Alt+F4 doesn't work, an extension or background process is likely blocking it — follow the extension troubleshooting steps above.

Does closing Edge delete my browsing history?

No. Closing Edge only closes the window and stops the program. Your browsing history, passwords, and bookmarks stay saved. If you want to delete your history when you close Edge, go to Settings > Privacy, search, and services and turn on "Clear browsing data" under "Clear browsing data".

What if I need Edge to run in the background for notifications?

You can keep background apps on for notifications while still closing the window normally. In Windows Settings > Background apps, leave Microsoft Edge on. In Edge Settings > System and performance, turn off "Continue running background apps when Microsoft Edge is closed". This lets Edge send notifications but closes the window when you click X.