This site will have limited functionality while we undergo maintenance to improve your experience. If an article doesn't solve your issue and you want to ask a question, we have our support community waiting to help you at @FirefoxSupport on Twitter and/r/firefox on Reddit.

Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

Firefox instantly closes after opening it

  • 3 பதிலளிப்புகள்
  • 0 இந்த பிரச்னைகள் உள்ளது
  • 25 views
  • Last reply by zeroknight

As described in the title Firefox instantly closes after opening it. I can see the window opening for half a second but then it closes again. Same with Troubleshoot mode. New installation of Windows 11, new installation of Firefox, only the standard antivirus from Windows. I don't know what could pose an issue except maybe some corrupt data that was downloaded from Onedrive although I already deleted the profiles in the AppData folder.

As described in the title Firefox instantly closes after opening it. I can see the window opening for half a second but then it closes again. Same with Troubleshoot mode. New installation of Windows 11, new installation of Firefox, only the standard antivirus from Windows. I don't know what could pose an issue except maybe some corrupt data that was downloaded from Onedrive although I already deleted the profiles in the AppData folder.

All Replies (3)

You can check for issues caused by a corrupted or incomplete Visual C++ installation that is missing runtime components (Redistributable Packages) required by Firefox, especially VCRUNTIME140_1.dll.

See "Visual Studio 2015, 2017, 2019, and 2022":

Download the latest vc_redist.x64 and vc_redist.x86 files.

You need to reboot the computer.


Boot the computer into Windows Safe Mode with network support to see if that has effect.

Thank you for your answer. I installed the packages. Firefox still didn't start. However, in Safe Mode Firefox seems to operate normally. Any ideas on why that is the case / how to fix it? I never had an issue like this before.

It sounds like your Microsoft account has parental controls enabled which limits what browsers you can use, you could try to get this limitation removed or create a new account. Renaming firefox.exe to something else can get it working but this will break DRM protected videos.