Microsoft Edge stays open when a background process is still running

Microsoft Edge sometimes refuses to close because a background task — like a download, a sync operation, or an extension — is still active. When you click the X button, Edge minimizes to the system tray instead of shutting down completely, or the window closes but the Edge process keeps running in Task Manager. This happens because Edge is designed to keep certain functions alive even after you close the visible window.

The most common culprit is background app refresh, a Windows setting that lets Edge run tasks when the window is closed. Edge also holds itself open if you have enabled sync, if a download is in progress, or if an extension is actively working. Some versions of Edge also stay running to support features like notifications or scheduled tasks.

Key Takeaways

  • Edge often stays open because background app refresh is turned on in Windows settings, allowing it to run even after you close the window.
  • Disabling background app refresh for Edge in Windows Settings will force it to fully close when you click the X button.
  • Downloads, active syncs, and certain extensions can also prevent Edge from closing completely.
  • If Edge still won't close after disabling background refresh, check Task Manager to see which Edge processes are still running and end them manually.

Turn off background app refresh in Windows Settings

The fastest way to make Edge close completely is to disable background app refresh. Open Windows Settings, go to Apps, then select Apps & features (or Installed apps on newer Windows versions). Scroll down and click on Microsoft Edge. Select Advanced options, then toggle off Let this app run in the background.

After you make this change, Edge will fully close when you click the X button instead of staying active in the background. This also stops Edge from running sync operations, checking for updates, or processing notifications when the window is closed. If you rely on Edge notifications or want it to finish downloads in the background, you may want to leave this on — but turning it off is the most reliable way to ensure a complete shutdown.

Check for active downloads and extensions

Before closing Edge, look at the download icon in the toolbar. If a download is in progress, Edge will often stay open until it finishes. Wait for the download to complete, then try closing again. You can also check the Downloads page by pressing Ctrl+J to see if any downloads are stuck or still running.

Extensions can also prevent Edge from closing. Open the Extensions menu (the puzzle piece icon), and look for any extension that shows it is actively working or syncing. Temporarily disable extensions one at a time to see if one of them is keeping Edge open. If disabling an extension fixes the problem, you may want to uninstall it or check its settings to see if you can change how it behaves.

End Edge processes in Task Manager

If Edge still won't close after you have disabled background refresh and checked for downloads, open Task Manager by pressing Ctrl+Shift+Esc. Look for any process that starts with "Microsoft Edge" or "msedge". You may see multiple entries — one for the main window, and others for extensions, tabs, or background tasks.

Select each Edge process and click End task. Start with the ones labeled "Background process" or "Extension process" first, then end the main Edge process last. This will force Edge to shut down completely. After you do this, Edge should close fully the next time you click the X button, as long as background app refresh remains disabled.

Disable sync if Edge keeps reopening

Edge's sync feature can cause the browser to stay open or reopen automatically. To turn off sync, click the profile icon in the top right corner of Edge and select Sync is on. Toggle it to Sync is off. This stops Edge from syncing your passwords, bookmarks, and browsing history across devices, but it also removes one reason Edge might stay running.

If you want to keep sync on but still close Edge completely, make sure sync has finished before you close the window. You can check the sync status in the same menu — it will show "Syncing" or "Synced" depending on whether it is still working. Wait until it says "Synced", then close Edge.

Reset Edge if the problem persists

If Edge still won't close after trying all of these steps, the browser settings may be corrupted. Go to Edge Settings, select Reset settings (under the "Reset" section), and click Restore settings to their default values. This will turn off all extensions, clear your cache, and reset Edge to its factory state. You will lose saved passwords and autofill data unless you back them up first.

After resetting, test whether Edge closes properly. If it does, you can re-enable extensions and settings one at a time to find which one was causing the problem. If Edge still won't close after a reset, the issue may be with Windows itself or a system-level background task, in which case restarting your computer or checking Windows Update for new drivers may help.

Frequently Asked Questions

Why does Edge show in Task Manager even after I close it?

Edge keeps a process running in the background to support notifications, sync, and other features. This is normal behavior unless you have disabled background app refresh. If you see Edge in Task Manager after closing the window, it means background refresh is still on. Disable it in Windows Settings under Apps & features, then Advanced options for Microsoft Edge.

Will disabling background app refresh affect my downloads?

Yes. If you disable background app refresh, Edge will pause downloads when you close the window instead of finishing them in the background. If you regularly download large files, you may want to leave background refresh on and instead wait for downloads to finish before closing Edge, or use a download manager extension that works independently.

Can an extension force Edge to stay open?

Yes. Some extensions, especially those that sync data or check for updates, can prevent Edge from closing. Try disabling extensions in the Extensions menu one at a time to see if one is causing the problem. If you find the culprit, you can uninstall it or check its settings to see if there is an option to stop it from running in the background.

What if restarting my computer doesn't fix it?

If Edge still won't close after a restart, try resetting Edge in Settings under Reset settings. If that does not work, uninstall Edge completely using Windows Settings (Apps & features), restart your computer, then reinstall Edge from the Microsoft website. This removes any corrupted files that might be causing the problem.