Edge stays open because a background process or extension is keeping it running
Microsoft Edge sometimes refuses to close even when you click the X button or use Alt+F4. This happens because Edge has background tasks still running — usually an extension, a synced tab from another device, or a process that Edge started before you tried to close it. The browser thinks it still has work to do, so it stays in memory instead of shutting down completely.
The fastest fix is to close Edge through the Task Manager, which forces the browser to stop all its processes at once. If that keeps happening, you likely have an extension or setting causing the problem, and you can find and disable it in a few steps.
Key Takeaways
- Edge stays running because a background process, extension, or synced feature is still active, not because of a bug in the close button itself.
- Open Task Manager (Ctrl+Shift+Esc), find Microsoft Edge in the list, and click End Task to force the browser closed immediately.
- If Edge keeps refusing to close, disable extensions one at a time in Edge Settings to find which one is causing the problem.
- Turn off "Continue running background apps when Microsoft Edge is closed" in Edge Settings if you do not need background syncing or notifications.
Force Edge closed using Task Manager right now
The quickest way to shut down Edge when it will not close normally is to use Task Manager, which bypasses Edge's own shutdown process. Press Ctrl+Shift+Esc on your keyboard to open Task Manager immediately.
Look for an entry that says Microsoft Edge in the list of running programs. You may see more than one Edge entry — that is normal. Click on the one labeled "Microsoft Edge" (not the ones with longer names), then click the End Task button in the bottom right corner. Edge will close within a second or two.
This works every time, but it is a temporary fix. If Edge keeps refusing to close on its own, something is telling it to stay running, and you need to find and remove that thing.
Turn off background processes that keep Edge running
Edge has a setting that lets it keep running even after you close the window. This is useful if you want notifications or synced tabs to update while you are not using the browser, but it also means Edge never fully shuts down. If you do not need this feature, turning it off will let Edge close completely.
Open Edge and click the three-dot menu in the top right corner. Select Settings, then click System and performance in the left sidebar. Look for the toggle that says Continue running background apps when Microsoft Edge is closed and click it to turn it off. Close and reopen Edge — it should now close fully when you click the X button.
If that does not solve it, Edge still has something running in the background. Move to the next step to find out what.
Disable extensions one at a time to find the culprit
A single extension can prevent Edge from closing properly. Extensions run their own code inside the browser, and a poorly written one might not shut down when Edge tries to close. The way to find it is to disable extensions until Edge closes normally again.
Open Edge and click the three-dot menu, then select Extensions. You will see a list of all installed extensions with toggle switches next to each one. Start by clicking the toggle next to the first extension to turn it off. Close Edge completely (using the X button), then reopen it and try to close it again. If it closes normally, you found the problem extension — leave it off or uninstall it. If Edge still will not close, turn that extension back on and disable the next one. Repeat until Edge closes on its own.
Once you identify the extension causing the problem, you can either leave it disabled, uninstall it entirely, or check the extension's website to see if an update has fixed the issue.
Check for stuck processes in Task Manager
Sometimes Edge starts a process that does not stop when you close the browser window. You can see these stuck processes in Task Manager and end them manually. Open Task Manager again with Ctrl+Shift+Esc and look at the list. If you see multiple entries with "Microsoft Edge" in the name, click on each one and select End Task until they are all gone.
If the same processes keep appearing after you close Edge, write down their exact names and search for them online along with the words "Edge browser" — you may find that a specific extension or Windows service is creating them. Some antivirus software and VPN extensions are known to do this.
Restart Edge in safe mode to rule out extensions
Edge has a safe mode that disables all extensions and some features, which helps you figure out whether an extension is the problem or whether something else is keeping Edge running. Close Edge completely, then open it again by holding Ctrl and clicking the Edge icon on your desktop or taskbar. Edge will ask if you want to run in safe mode — click Yes.
Try to close Edge normally. If it closes without trouble in safe mode, you know an extension is the problem, and you can go back to the extension-disabling steps above. If Edge still will not close even in safe mode, the problem is a setting or a Windows process, not an extension.
Update Windows and Edge to the latest version
Older versions of Edge sometimes have bugs that prevent them from closing properly. Updating both Windows and Edge to their latest versions often fixes these issues. Open Edge, click the three-dot menu, and select Help and feedback, then About Microsoft Edge. Edge will check for updates automatically and install them if any are available. You may need to restart your computer.
While you are at it, check that Windows itself is up to date. Click the Windows Start button, type Update, and select Check for updates. Install any updates Windows offers and restart your computer if prompted. After both Edge and Windows are fully updated, try closing Edge again.
Frequently Asked Questions
Is it bad to force Edge closed using Task Manager?
Forcing Edge closed with Task Manager does not damage the browser or your computer, but it may cause you to lose unsaved work in web forms or documents you were editing. Use Task Manager when Edge will not respond to normal closing, but try closing it normally first if you have important work open.
Why does Edge keep running in the background even after I close it?
Edge has a setting called "Continue running background apps when Microsoft Edge is closed" that keeps it running to deliver notifications and sync tabs from other devices. Turn this setting off in Settings > System and performance if you do not want Edge running when the window is closed.
Can a virus make Edge refuse to close?
A virus or malware could theoretically cause this, but it is much more common for an extension or Windows setting to be the cause. If you suspect malware, run a full scan with Windows Defender (built into Windows) or another antivirus program you trust.
What if Edge closes but then immediately reopens?
This usually means Edge is set to restore your previous session when it starts. Open Edge, click the three-dot menu, go to Settings > On startup, and change it from "Restore previous pages" to "Open the New Tab page" or "Open a specific page or set of pages."
Do I need to close Edge completely, or is it okay to leave it running?
Leaving Edge running uses a small amount of memory and battery power, but it is not harmful. If you want to close it completely to save resources, use the steps above. If you are happy with it running in the background, you do not need to force it closed.