How to Fix Microsoft Edge If It Closes Immediately After Opening

Try out the best expert-created solutions to this issue

Reading time icon 9 min. read


Readers help support Windows Report. We may get a commission if you buy through our links. Tooltip Icon

Read our disclosure page to find out how can you help Windows Report sustain the editorial team. Read more

Key notes

  • Users have reported that Microsoft Edge closed unexpectedly while browsing.
  • If you also have experienced Microsoft Edge closingย itself, continue reading our guide below.
  • You can consider using a different browser, along with other optimal solutions.
  • Find more solutions when Microsoft Edge opens, then closes in the following article.
Microsoft Edge closes immediately after opening
Instead of fixing issues with Edge, upgrade to a better browser: Opera One You deserve a better browser! Over 300 million people use Opera daily, a fully-fledged navigation experience coming with various built-in packages, enhanced resource consumption, and great design.Here's what Opera can do:
  • Easy migration: Use the Opera One assistant to transfer existing data, such as bookmarks, passwords, and more;
  • Optimize resource usage: Opera One uses your Ram more efficiently than Edge;
  • Enhanced privacy: Free and unlimited VPN integrated;
  • No ads: Built-in Ad Blocker speeds up the loading of pages and protects against data-mining
  • โ‡’ Get Opera One

Microsoft brought many changes with Windows 10, and one of the most significant changes is a new browser called Edge.

Even though Microsoft Edge is a great browser, some users reported that Microsoft Edge closes immediately after opening.

Here are some more examples of this problem:

  • Microsoft Edge opens and closes immediately -Even though crashes are usually followed by some error message, your browser may close immediately after opening, without any warning or error message.
  • Microsoft Edge keeps crashing – When Microsoft Edge hits, the system will likely notify you. Use that error message to determine what to do next, or apply the solutions from this article.
  • Microsoft Edge keeps freezing – The freezing problem will keep your browser running, but you won’t be able to do anything. Sometimes, you might not even be able to close it.
  • Microsoft Edge crashes after opening a tab – Even though we’re talking about the situation where Edge closes immediately after opening, you can apply the exact solutions if the browser crashes after opening a tab.

Having your Microsoft Edge close unexpectedly can cause a lot of frustrations, especially if you’re doing home office and need access to the Internet.

Why does Microsoft Edge keep closing itself?

As users have reported that Microsoft Edge keeps closing after a few seconds and that Edge keeps closing on its own, let’s look at some of the most common causes for your MS Edge browser suddenly shut down.

  • Low available system resources
  • Heavy processing tasks
  • Not using the latest version of the browser

As you can see, Microsoft Edge crashes after opening for a few possible reasons. Additionally, some users complained that Microsoft Edge closed unexpectedly on Windows 10 and 11, making this a windows-OS problem.

To learn how to resolve this issue once and for all, make sure to read the article in its entirety.

How do I fix Microsoft Edge opening and closing?

  1. Consider using a different browser
  2. Set a custom start page
  3. Turn on Windows Firewall
  4. Delete your browsing history
  5. Use a third-party tool
  6. Edit the registry
  7. Create a new user account
  8. Use PowerShell
  9. Switch to a local account
  10. Change the security permissions
  11. Reset the Nvidia Optimus Control Panel
  12. Install the latest updates

1. Consider using a different browser

Before committing to the multitude of solutions mentioned below, you should ask yourself whether it would be easier to switch to a different browser simply.

If you love Microsoft Edge because of its Chromium-based build, we recommend you try another Chromium-based browser: Opera One.

Opera One is highly sleek and modern and packs an entire arsenal of tools that make it an ideal browser, such as an ad-blocker or a VPN.

However, all those tools do not make the browser slow at all. On the contrary, you’ll be amazed by its low impact, even with multiple tabs opened at once.

Opera One

Switch to this highly responsive Chromium browser and say goodbye to errors and bugs.

2. Set a custom start page

  1. Start Microsoft Edge.
  2. Click the Menu button in the top right corner and choose Settings.
    microsoft-edge-closes-immediately-opening-settings
  3. Under the Open with section, select A specific page or pages, select Custom from the menu, and enter the web address of your new start page.
    microsoft-edge-closes-immediately-opening-custom
  4. After that, close Edge, turn on your Internet connection and check if the problem is resolved.

According to users, you can fix problems with Microsoft Edge simply by changing the start page. However, you might have to disable your Internet connection first or unplug your Ethernet cable.

3. Turn on Windows Firewall

  1. Press the Windows Key + S and enter the firewall.
  2. Select Windows Firewall from the list of results.
    microsoft-edge-closes-immediately-opening-firewall
  3. When the Windows Firewall window opens, click on Turn Windows Firewall on or off.
    microsoft-edge-closes-immediately-opening-tunr-off
  4. Select Turn On Windows Firewall for both private and Public network settings.
    microsoft-edge-closes-immediately-opening-turn-on
  5. Click OK to save changes.

A firewall is essential for your online safety, especially if you want to prevent unauthorized software from accessing the Internet.

Regarding firewalls, users claim that Windows Firewall might cause this problem; to fix it, you need to turn the Windows Firewall back on.

4. Delete your browsing history

  1. Click the More button in the top right corner and choose Settings from the menu.
  2. Now go to the Clear browsing data section and click the Choose what to clear button.
    microsoft-edge-closes-immediately-opening-clear
  3. Select Browsing history, Cookies and saved website data, Cached data, and files, and click the Clear button.
    microsoft-edge-closes-immediately-opening-clear-2
  4. After you clear your browsing history and cache, restart Edge and check if the issue is resolved.

Few users claim that you can fix the problem with Microsoft Edge simply by deleting your browser history.

5. Use a third-party tool

Cached temp files can cause this problem, and to fix this problem, you need to remove those files. One of the fastest and easiest ways to do so is to download and run specialized repair software.

Users reported that the issue with Microsoft Edge was resolved after using this type of software and removing the temp file. It takes care of this by replacing and fixing missing registries and DLLs, making your system react as if it were brand-new.

6. Edit the registry

  1. Press the Windows Key + R and enter Regedit.
    microsoft-edge-closes-immediately-opening-regedit
  2. When Registry Editor opens, in the left pane, navigate to this key: HKEY_CURRENT_USER/Software/Classes/Local/Settings/Software/Microsoft/Windows/CurrentVersion/App/Container/Storagemicrosoft.microsoftedge_8wekyb3d8bbwe
  3. Next, right-click this key and choose Permissions.
    microsoft-edge-closes-immediately-opening-permissions
  4. In Group or user names, select Account Unknown (S-1-15-3-3624051433…) and check Full Control in Allow column.
    microsoft-edge-closes-immediately-opening-full-control
  5. Click Apply and OK to save changes.

Changing the registry is somewhat an advanced procedure; sometimes, editing the registry can cause specific issues with your operating system; therefore, be extra cautious while editing the registry.

You might even want to create a backup of your registry, so you can quickly restore it in case anything goes wrong.

7. Create a new user account

  1. Start the Settings app and go to the Accounts section.
  2. Go to the Family & other users tab and click on Add someone else to this PC.
    microsoft-edge-closes-immediately-opening-add
  3. Click on I donโ€™t have this personโ€™s sign-in information.
    microsoft-edge-closes-immediately-opening-no-sign-in
  4. Click Add a user without a Microsoft account.
    microsoft-edge-closes-immediately-opening-no-ms
  5. Enter the username (and password) of the new account and click the Next button.
    microsoft-edge-closes-immediately-opening-next

After creating a new user account, switch to it. If Microsoft Edge works without problems on the latest version, you might want to move your files to this new account and use it as your main account.

8. Use PowerShell

  1. Press the Windows Key + R, enter %localappdata%, and press Enter.
    microsoft-edge-closes-immediately-opening-localappdata
  2. Go to the Packages folder and delete the following folder from it: Microsoft.MicrosoftEdge_8wekyb3d8bbwe
    microsoft-edge-closes-immediately-opening-microsoftedge
  3. Now start the PowerShell as administrator.
  4. Press the Windows Key + S, and enter Powershell.
  5. Right-click PowerShell from the list of results and select Run as administrator.
    microsoft-edge-closes-immediately-opening-run-as-admin
  6. When PowerShell opens, enter this line and press Enter: Get-AppXPackage -AllUsers -Name Microsoft.MicrosoftEdge |Foreach {Add-AppxPackage -DisableDevelopmentMode -Register "$($_.InstallLocation)AppXManifest.xml" -Verbose}
    microsoft-edge-closes-immediately-opening-powershell
  7. Close PowerShell, and restart your PC.

After your PC restarts, check if the issue is resolved. According to users, you can fix this problem by removing the Microsoft Edge folder from your AppData folder.

We must mention that PowerShell is a powerful tool that can cause stability issues if you donโ€™t use it properly. Therefore, you might want to create a System Restore point before trying out this solution.

9.  Switch to a local account

  1. Open the Settings app and go to the Accounts section.
  2. Go to the Your email and accounts tab, and click Sign in with a local account instead.
  3. Enter your current Microsoft account password and click Next.
  4. Now Enter your desired user name and password and click Next.
  5. After youโ€™re done, click Sign out and finish button.

Users claim you can fix Microsoft Edge problems simply by using a local Windows 10 account.

Using a Microsoft account for logging in has certain advantages, such as syncing your passwords and settings, but to fix this problem, you might have to switch to a local account.

After switching to a local account, Microsoft Edge should start working again without any problems. Remember that you can easily change back to Microsoft history if you wish.

10. Change the security permissions

  1. Open the AppDataLocal folder.
    • For more instructions on how to do this, check Step 1 from Solution 6.
  2. Go to the MicrosoftWindows folder.
    1. Locate the WER folder, right-click it, and choose Properties.
      microsoft-edge-closes-immediately-opening-properties
  3. Go to the Security tab and click the Edit button.
  4. Select the APPLICATION PACKAGES user and check Read & execute List folder contents and Read options in the Allow column.
  5. Click Apply and OK to save changes.

According to users, Microsoft Edge closes because the WER folder doesnโ€™t have the necessary permissions.

11. Reset the Nvidia Optimus Control Panel

Users reported that your Nvidia Optimus Control Panel settings could cause this issue.

It seems that Edge doesnโ€™t work well with dedicated Nvidia graphic cards. Therefore you need to use Optimus Control Center and set Edge to use your integrated graphics card instead.

Alternatively, you can just reset the Optimus Control Panel settings to default.

12. Install the latest updates

Sometimes you can fix problems with many applications simply by installing the latest Windows 10 updates.

Many of these updates address hardware and software issues, so use Windows Update and download the latest updates regularly.

How can I improve Microsoft Edge?

There are a few methods that can be applied for Microsoft Edge to work better, and we’ve covered all of them in the Fix Edge When is Slow or Lagging guide, so make sure to read through that as well.

  • Update to the latest version
  • Clear the caches and cookies
  • Optimize the download location for new files
  • Reset the host’s file

If Microsoft Edge closes immediately after opening on your PC, that can be a significant problem, but hopefully, you managed to fix it after using one of our solutions.

More about the topics: Browser errors, Microsoft Edge issues

User forum

2 messages