Microsoft Edge is stuck and won't respond to the close button

When Edge refuses to close, the problem is usually one of three things: a frozen process still running in the background, an extension or plugin that has crashed, or a corrupted cache file that loads every time you start the browser. The fastest fix is to force-close the process through your system's task manager, then clear the browser's cache and restart. If Edge keeps getting stuck after that, you likely have a problematic extension or a corrupted profile that needs to be removed or reset.

The reason Edge won't close cleanly is that the browser process is still active even after you click the X button. This happens most often when a webpage, extension, or plugin is frozen and preventing the normal shutdown sequence. Your operating system is waiting for that process to finish before it lets the window close, but the process never does.

Key Takeaways

  • Force-close Edge through Task Manager (Windows) or Activity Monitor (Mac) when the close button does not work, then restart the browser normally.
  • Clear your browsing cache and site data after force-closing, because corrupted temporary files often cause Edge to freeze on startup or shutdown.
  • Disable all extensions one at a time and restart Edge after each one to find which extension is causing the freeze.
  • If Edge still won't close after clearing cache and disabling extensions, reset your profile to factory settings, which removes corrupted data without deleting your passwords or bookmarks.

Force-close Edge through Task Manager

On Windows, open Task Manager by pressing Ctrl+Shift+Esc, or right-click the taskbar and select "Task Manager". Look for "Microsoft Edge" in the list. Click it once to select it, then click "End Task" at the bottom right. The browser window will close when ready, even if it was frozen.

On Mac, open Activity Monitor by pressing Command+Space, typing "Activity Monitor", and pressing Enter. Search for "Edge" in the list. Click it once, then click the X button labeled "Force Quit" at the top left. Confirm that you want to force quit the process.

After you force-close Edge, wait a few seconds before opening it again. This gives your system time to fully release the browser's memory and processes. If Edge opens normally and closes normally the next time, the problem was a one-time freeze and you do not need to do anything else.

Clear your cache and browsing data

If Edge closes normally after the force-close but then freezes again the next time you use it, the problem is likely corrupted cache files. Open Edge and press Ctrl+Shift+Delete (Windows) or Command+Shift+Delete (Mac). The "Clear browsing data" window will open.

Set the time range to "All time" using the dropdown at the top. Check the boxes for "Cookies and other site data" and "Cached images and files". Leave the other boxes unchecked unless you want to delete your browsing history as well. Click "Clear now". Edge will delete the temporary files that may be causing the freeze.

Restart Edge after clearing the cache. If it now closes normally, the corrupted cache was the problem. If Edge still freezes when you try to close it, move to the next step.

Disable extensions to find the culprit

Extensions can freeze Edge if they crash or conflict with the browser's shutdown process. Open Edge and press Ctrl+Shift+M (Windows) or Command+Shift+M (Mac) to open the Extensions menu. You will see a list of all installed extensions with toggle switches next to each one.

Turn off the first extension by clicking its toggle switch. The switch will turn gray. Close Edge normally. If it closes without freezing, that extension was the problem — you can leave it off or uninstall it by clicking "Remove" in the Extensions menu. If Edge still freezes, turn that extension back on and disable the next one. Repeat this process for each extension until you find the one causing the freeze.

If you have many extensions, this process can take time, but it is the most reliable way to find the problem. Once you identify the problematic extension, you can either leave it disabled or uninstall it entirely by clicking "Remove" in the Extensions menu.

Reset your Edge profile if the problem persists

If Edge still won't close after clearing the cache and disabling all extensions, your user profile may be corrupted. Resetting your profile removes all corrupted data and returns Edge to its default state, but it keeps your passwords, bookmarks, and autofill information intact.

Open Edge and click the three-dot menu in the top right corner. Select "Settings", then click "Reset settings" in the left sidebar. Click "Restore settings to their default values". A window will appear asking you to confirm. Click "Reset" to proceed. Edge will restart and your profile will be reset.

After the reset, close and reopen Edge a few times to make sure it closes normally. If the freeze is gone, the corrupted profile was the cause. If Edge still freezes, the problem may be a Windows or Mac system issue rather than an Edge issue, and you should restart your computer and try again.

Uninstall and reinstall Edge as a last resort

If none of the above steps work, Edge itself may be corrupted. On Windows, open Settings, click "Apps", then "Apps and features". Search for "Microsoft Edge" and click it. Click "Uninstall" and follow the prompts to remove Edge completely. Restart your computer, then read Edge from microsoft.com and install it fresh.

On Mac, open Finder and click "Applications" in the sidebar. Find Microsoft Edge, right-click it, and select "Move to Trash". Empty the trash. Restart your computer, then read Edge from microsoft.com and install it fresh. A clean installation will remove any corrupted system files that a reset cannot fix.

Frequently Asked Questions

Why does Edge freeze when I try to close it?

A frozen webpage, crashed extension, or corrupted cache file is preventing Edge from shutting down normally. The browser is waiting for the frozen process to finish, but it never does. Force-closing through Task Manager or Activity Monitor stops the process when ready.

Will clearing my cache delete my passwords and bookmarks?

No. Clearing cache removes only temporary files and cookies. Your passwords, bookmarks, and autofill data are stored separately and will not be affected. You can choose what to delete in the "Clear browsing data" window.

Can a single extension really freeze the entire browser?

Yes. If an extension crashes or enters an infinite loop, it can prevent Edge from shutting down cleanly. Disabling extensions one at a time is the fastest way to find which one is causing the problem.

What if Edge freezes again after I reset my profile?

Restart your computer, then try opening and closing Edge a few times. If the freeze returns, uninstall and reinstall Edge completely. A fresh installation removes corrupted system files that a profile reset cannot fix.

Is it safe to force-close Edge?

Yes. Force-closing stops the process when ready without saving unsaved work, so you may lose text you typed in a webpage or email. However, it does not damage Edge or your computer. Your bookmarks, passwords, and browsing history are stored safely and will not be affected.