What’s actually slowing this PC down?
Pick the symptom - the matching free tool is one click away.
Some links on this page are affiliate links: if you buy through them we may earn a commission, at no extra cost to you.
If Windows says libgcc.dll or libgcc_s_seh-1.dll is missing, the program cannot find the GCC runtime shipped with its MinGW-w64 toolchain. Windows does not normally include this developer runtime. The reliable fix is to repair or reinstall the application that supplied the file, or—if you use MSYS2—install the package matching the program’s architecture and runtime family, then correct PATH. Do not download an arbitrary DLL from a mirror or copy it into System32; the correct filename and folder differ between 32-bit, 64-bit MSVCRT and UCRT builds.
What is libgcc.dll, and is it part of Windows?
libgcc is the low-level GCC runtime used by programs built with MinGW-w64. MSYS2 describes it as the “Low-level runtime library shipped by GCC (mingw-w64).” It supplies support code that a compiled application expects at launch; it is not a universal Windows component such as a standard system DLL.
As an Amazon Associate I earn from qualifying purchases.
Free tools Windows power users keep installed
One-click scans. No signup required.
Windows normally does not install this developer runtime for every application. A missing-file dialog therefore usually means that a particular game tool, emulator, mod manager, launcher, or other program was installed without its expected MinGW runtime, the runtime was removed, or Windows cannot locate the directory that contains it.
The wording can be misleading. An installer may say libgcc.dll even though the package actually contains an architecture-specific file. Current MSYS2 packages use these names and locations:
Popular on Amazon
- BLUE LIGHT BLOCKING GLASSES: Our blue light glasses for women boast UV400 protection, blocking harmful blue rays from computer screens. With these bluelight glasses women, you can enjoy gaming, reading, or watching TV with no worries of eye strain.
- EYE RELIEF: Our blue light glasses are engineered to reduce blurry vision or strain caused by prolonged screen time. These womens blue light glasses aid in better sleep by preventing blue light from disrupting your natural sleep cycle, helping you fall asleep faster and enjoy a more restful night's sleep, making them the perfect christmas present.
- COMFORTABLE: Crafted from durable material, our trendy blue light glasses for woman or blue light glasses men ensure long-lasting comfort. The high-transmittance lenses accessories, gamer gifts for men, help keep your eyes relaxed. Perfect stocking stuffers, gifts for gamers men, christmas gifts for men, halloween costumes.
- LIGHTWEIGHT: These clear blue light glasses feature a lightweight frame, meaning they’ll stay comfy for long-term wear. Perfect as blue blockers glasses for women or mens blue light glasses, these non-prescription fake glasses for men can be worn throughout the day. The blue light blocking glasses women feature polycarbonate HD lenses, which are anti-reflective and restore true color.
- WORRY-FREE PURCHASE: If you experience any issues, our support team is ready to assist you quickly. These are the perfect costume glasses for cosplay dressing up.
| Environment | Package command | Runtime file | Typical directory |
|---|---|---|---|
| MinGW-w64 64-bit (MSVCRT) | pacman -S mingw-w64-x86_64-libgcc |
libgcc_s_seh-1.dll |
C:msys64mingw64bin |
| MinGW-w64 64-bit (UCRT64) | pacman -S mingw-w64-ucrt-x86_64-libgcc |
libgcc_s_seh-1.dll |
C:msys64ucrt64bin |
| MinGW-w64 32-bit (mingw32) | pacman -S mingw-w64-i686-libgcc |
libgcc_s_dw2-1.dll |
C:msys64mingw32bin |
The 64-bit packages listed above were version 16.2.0-6 in MSYS2’s 2026 package listings. Package versions change, so use the package manager’s current repository rather than copying a file from another computer. A 32-bit executable and a 64-bit executable cannot safely use interchangeable runtime files, and an MSVCRT build should not be “fixed” with a UCRT directory simply because both are 64-bit.
How do I fix “libgcc.dll is missing” when only one program fails?
Start with the application’s own installation. A single-app failure usually points to a damaged, incomplete, or moved application runtime rather than a Windows-wide problem.
1. Identify the exact program and its installation source
Note the executable named in the dialog and where it came from. A publisher installer, a game launcher, an emulator bundle, and an MSYS2-built utility can all use MinGW-w64 while requiring different repair methods. If the program was recently moved to another drive, restored from a backup, or updated by replacing only part of its folder, reinstalling from the original publisher is safer than adding a random DLL.
2. Use Windows’ built-in app repair
For a desktop app that exposes repair controls, open Settings > Apps > Installed apps, select the app’s three-dot menu, choose Advanced options, and select Repair. This attempts to restore the installation without deleting its data. Launch the program again after the operation completes.
If Repair does not help, return to the same page and choose Reset when it is available. Reset can remove the app’s local data and settings, so back up saves, profiles, plug-ins, and configuration files first. If neither option is available or the error remains, uninstall the application, restart Windows, and install a fresh copy from the publisher or the store that supplied it.
3. Check whether security software quarantined the runtime
Open your antivirus or Windows Security protection history and look for the executable or DLL named by the error. Restore a file only when you recognize the application and have verified that the installer came from a trustworthy source; otherwise reinstall the application and let your security software rescan it. Restoring a quarantined file does not correct a wrong architecture or a missing dependency.
Also popular on Amazon
- WINDEX GAMING WIPES: effortlessly clean all your gaming gear and gaming electronics in one easy step with our new Windex Gaming Wipes
- AMMONIA FREE: our ammonia-free formula is safe to use on all of your favorite gaming equipment like consoles, headsets, controllers, screens, keyboards, and more
- PRE-MOISTENED WIPES: each wipe instantly removes dust, dirt, and stubborn smudges and fingerprints leaving a streak-free shine
- ANTI-STATIC: great for cleaning and wiping down your gaming gear and electronics leaving behind no visible residue
- COMPACT RESEALABLE PACKAGE: store your pack of Windex Gaming Wipes anywhere in your home for whenever a quick and easy wipedown is needed
4. Test from the application’s own folder
Look in the program’s installation directory for libgcc_s_seh-1.dll (64-bit) or libgcc_s_dw2-1.dll (32-bit). Do not rename another DLL to match the error. If the expected file is absent, the installation is incomplete and a repair or reinstall is the appropriate fix. If it is present, the program may be loading a different copy from PATH, or another dependency may be missing; continue with the architecture and PATH checks below.
How do I restore libgcc with MSYS2?
MSYS2 users should reinstall the package that matches the environment used to build the failing executable. Open the MSYS2 terminal associated with that environment and use its package manager, rather than downloading a standalone DLL.
Update the package database first
- Close programs that were built with MSYS2.
- Open the appropriate MSYS2 terminal. The environment name matters: MINGW64, UCRT64, and MINGW32 use different package prefixes.
- Update the system with
pacman -Syu. If MSYS2 asks you to close the terminal and reopen it, do so, then run the update command again until the update completes as instructed by MSYS2.
Install the matching libgcc package
- For a 64-bit MINGW64 build, run
pacman -S mingw-w64-x86_64-libgcc. - For a 64-bit UCRT64 build, run
pacman -S mingw-w64-ucrt-x86_64-libgcc. - For a 32-bit MINGW32 build, run
pacman -S mingw-w64-i686-libgcc. - Accept the package installation and allow dependencies to be synchronized from the same MSYS2 installation.
The package places the runtime in the environment’s bin directory. Installing a package for one environment does not automatically repair an executable built for another. If you are unsure which terminal produced the program, inspect its documentation or rebuild it in a single, known environment so that the runtime family is consistent.
Confirm that the file is present
In the corresponding MSYS2 terminal, run a directory listing such as ls /mingw64/bin/libgcc*, ls /ucrt64/bin/libgcc*, or ls /mingw32/bin/libgcc*. In Windows Explorer, the equivalent locations are commonly C:msys64mingw64bin, C:msys64ucrt64bin, and C:msys64mingw32bin. A customized MSYS2 installation may use another root directory; use the path shown by your installation rather than assuming C:msys64.
Windows Errors? Fix Them Before They Spread
Repair common Windows errors and clear accumulated junk for a smoother, more stable PC - no reinstall needed.Free scan · no reinstallCrashes, No Sound, or Screen Glitches?
Random freezes, missing sound and display glitches usually trace back to one bad driver. Find and replace yours safely.Free scan · under a minuteHow do I fix PATH so Windows can find libgcc?
PATH is only relevant when the application expects the runtime to be found outside its own folder. Add the exact bin directory for the program’s toolchain, then start a new terminal or application process.
- Press Windows, search for Environment Variables, and open Edit the system environment variables.
- In System Properties, select Environment Variables.
- Under User variables (for your account) or System variables (for all users), select Path and choose Edit.
- Select New and add the real directory, for example
C:msys64mingw64binorC:msys64ucrt64bin. Add only the environment that matches the executable. - Confirm every dialog, close existing Command Prompt, PowerShell, launcher, and IDE windows, then open a new one. Existing processes retain the old PATH.
To inspect the active value, run where libgcc_s_seh-1.dll in Command Prompt or Get-Command libgcc_s_seh-1.dll in PowerShell. If no result appears, PATH does not expose that filename. If a result points to an unrelated toolchain, remove the conflicting entry or place the intended directory earlier in PATH. Avoid putting several incompatible MinGW distributions ahead of one another; that can make one program load a runtime from the wrong family.
Also popular on Amazon
- Ergonomic & Adjustable Design: Fight "text neck" and improve your posture. Designed for comfort, it offers an adjustable height (7.1in-8.5in) (1.4in adjustable range) and angle (5°-85°) Please note: cell phone stand is only 9 inches tall—the length of a standard pencil
- Without blocking subtitles Perfect for office desk Tiktok Face Time Zoom video—this is the ultimate kitchen desk essential for phones! Perfect viewing experience while reducing neck back strain, A must-have for gamers streamers desk, and anyone who values both style and support!
- Sleek & Stable Design fits Otterbox Case: Say goodbye to bent cables, tangles, and tip-overs! LISEN’s stylish adjustable desk phone holder features a built-in charging hole and smart cable management, keeping your phone secure and your workspace clutter-free cool gadgets for men
- ANTI-SLIP DESIGN free hands: The under 10.00 items easy gadgets back and the bottom of this kitchen essentials for women are fully covered by anti-skid silicone, which LISEN stand up desk decor can provide maximum protection device from any scratches and slides
- Your Perfect Viewing Companion:If your product arrives damaged or breaks within 365 days, reach out to LISEN for a quick and hassle-free solution. Struggling with assembly, like tightening the screw? We’ve got your back! Your experience matters to us. (Product including: phone Holder stand*1, screw*1, hexagon screwdriver*1, specification*1)
For a self-contained application, keeping the correct runtime beside the executable is often preferable to a global PATH change. Ask the application publisher which deployment layout it supports before moving files, because some launchers intentionally set their own PATH.
How can I tell whether the problem is 32-bit, 64-bit, MSVCRT, or UCRT?
Match three things: the executable’s CPU architecture, the toolchain environment used to build it, and the runtime directory being searched. The words “64-bit” alone are not enough because 64-bit MINGW64 and 64-bit UCRT64 are separate environments.
Quick wins for a faster PC:
Clear out junk files and repair common Windows errorsFree Scan →Fix the driver behind crashes, sound loss and screen glitchesFind Drivers →Repair Windows errors before they cause bigger problemsFix Now →- 32-bit MINGW32: normally uses
libgcc_s_dw2-1.dllfrom themingw32bintree. - 64-bit MINGW64: normally uses
libgcc_s_seh-1.dllfrom themingw64bintree and the MSVCRT-based environment. - 64-bit UCRT64: normally uses
libgcc_s_seh-1.dllfrom theucrt64bintree but belongs to the UCRT environment.
Check the application’s release notes, build script, or installer name for clues such as i686, x86_64, mingw32, mingw64, or ucrt64. A developer can inspect a binary with a PE analysis utility, while a regular user should rely on the publisher’s stated requirements. Installing a 32-bit runtime into a 64-bit program folder, or mixing MSVCRT and UCRT dependencies, can replace one startup error with a different missing-DLL or entry-point error.
Should I run SFC or DISM for a missing libgcc DLL?
Use Windows integrity tools only when the symptoms extend beyond one MinGW application or Windows itself reports damaged system files. They do not install an application’s GCC runtime.
- Open Windows Terminal (Admin) or Command Prompt (Admin).
- Run
DISM.exe /Online /Cleanup-image /Restorehealthand wait for it to finish. DISM repairs the Windows component store that Windows uses for system-file servicing. - Run
sfc /scannowand wait for verification to reach 100 percent. - Restart Windows and test the affected program again.
If SFC reports that it could not repair some files, repeat the process after DISM completes and review the result in the command output. If only one game or utility still reports libgcc, return to its installer or the matching MSYS2 package; system repair is not a substitute for restoring that application’s dependency.
What should I not do when libgcc.dll is missing?
- Do not use a random DLL download site. The filename shown in the error may not be the package filename, and an untrusted or mismatched binary can introduce security and compatibility problems.
- Do not copy the file into
C:WindowsSystem32. That directory is not the correct installation location for an application’s MinGW runtime and can create conflicts for unrelated programs. - Do not rename
libgcc_s_dw2-1.dlltolibgcc_s_seh-1.dll. The names identify different runtime arrangements, not interchangeable labels. - Do not mix package roots. A DLL from another MSYS2 installation, compiler version, or UCRT/MSVCRT family may satisfy the first lookup while breaking a later dependency.
- Do not delete package metadata. Let the publisher installer or
pacmanmanage dependencies so future updates can replace compatible files.
Which repair route should I choose?
Use the source of the program and the scope of the failure to select the shortest safe route.
Also popular on Amazon
- Easy Installation: Our gaming lights have been designed to enhance your entertainment experience. Simply position the led light bar next to your TV or game console to create a game room environment with ease. They come with USB power and a 60 inch cord for direct mounting and mobility
- Audio Syncing & Extensive Mode: The built-in high-sensitivity music sensor allows you to sync the TV led lights to your favorite music. Lights react and move to the beat of music, film and game audio, creating an incredible immersive sound and light experience – and all without the need for an additional hub. You can choose from 64+ patterns, including strobe, illusion, jump, energy, gradient, running, chasing, fluttering mode etc. Each mode can be applied to different scenes
- 64+ Chasing IC+RGB & W Effect: The independent control design of IC+RGB and white all-in-one multifunctional rgbw led bar lights monitor backlight allows you to easily switch the led lights for desk between IC+RGB and white to enjoy a variety of lighting effects, you can choose white lighting mode with high brightness for better illumination when working, etc. Choose IC+RGB lighting mode when you need to create an entertaining atmosphere for the light show, 16 million colours of Color changing rgb light bar let you dance to the beat and create a dynamic party atmosphere
- Dynamic and Dimmable Lights: 1%-full brightness free brightness adjustment gives you the flexibility to adjust dimmable led light bar for room decorations or a variety of occasions
- USB Powered: USB light bars for room can be powered by powernank, usb charger, TV, Monitor, laptop PC mainframe, making behind TV led lighting bar easy to install in any location.TV led lights are powered by the TV usb interface / PC mainframe, can be turned on/off synchronously with TV / PC
| What you observe | Best first action | Why |
|---|---|---|
| One installed app fails; it came from a publisher or store | Windows Repair, then Reset or reinstall | The app’s bundled runtime or files are likely damaged. |
| An MSYS2-built tool fails in one environment | Install the matching mingw-w64-…-libgcc package |
The package manager restores the correct architecture and dependencies. |
| The runtime exists but a new terminal cannot locate it | Correct PATH and open a new terminal | Existing processes do not receive environment-variable changes. |
| A 32-bit/64-bit or MSVCRT/UCRT mismatch is suspected | Verify the build environment and reinstall its complete runtime | Similar filenames do not mean compatible binaries. |
| Several unrelated Windows programs fail or Windows reports corruption | Run DISM, then SFC as administrator | The problem may involve the Windows image, not one app’s GCC files. |
Does this advice apply to Windows 10 and Windows 11?
Yes. The repair paths above cover both editions, although menu wording can vary slightly by update. Microsoft states that Windows 10 support ended on October 14, 2025; the operating system can still run existing software, but it no longer receives Microsoft support after that date. Keep that lifecycle limitation in mind when deciding whether a recurring toolchain problem is a reason to move the computer to a supported Windows release.
If you want an optional shortcut after trying the manual steps, Outbyte PC Repair can look for common Windows issues such as broken system elements, invalid redirects and shared DLL problems, while also offering cleanup, privacy checks and an app-crash log. It complements antivirus software rather than replacing it; results vary, no tool repairs every crash, and its free trial is category-limited before a subscription.
Independent reader supportYour contribution helps us test, update, and keep practical guides available for everyone.Frequently asked questions
Can I download libgcc_s_seh-1.dll by itself?
The safer approach is to restore the complete application or MSYS2 package that owns the file. A standalone copy does not carry the package’s dependency metadata and may come from a different compiler build, so it can leave the program failing on another runtime or entry point.
Will installing the Microsoft Visual C++ Redistributable fix libgcc?
Usually not. Visual C++ Redistributable packages provide Microsoft compiler runtimes, while libgcc belongs to GCC/MinGW-w64; install the dependency named by the application instead of substituting an unrelated runtime.
Why does the error appear after I move a game or emulator folder?
Some portable-looking programs rely on a relative folder layout or a launcher that sets PATH before starting the executable. Moving only the executable can separate it from its bin directory; restore the original folder structure or reinstall to the new location using the publisher’s installer.
Why does reinstalling one MSYS2 package not fix every program?
Each executable may have been built for a different environment. A MINGW32 program, a MINGW64 program and a UCRT64 program can require different package prefixes and search paths, so identify the failing binary before choosing the package.
What if the dialog names libgcc.dll but no file with that exact name exists?
Treat the message as a runtime-family clue, not as an exact filename. Check whether the matching package supplies libgcc_s_seh-1.dll or libgcc_s_dw2-1.dll, then repair the originating installation so the application receives the filename it was actually built to load.
Also popular on Amazon
- Compatible with Wide Screens - To ensure compatibility with the dual monitor mount, your each monitor must meet three conditions at the same time: First, computer screens size range: 13 to 32 inches. Second, screen weight range: 4.4 to 19.8 lbs. Third, the back of the monitor screen must have VESA mounting holes with a pitch of 75x75mm or 100x100mm.
- Regarding the compatibility with desks - Your desk must meet three conditions at the same time: First, desk material: Only wooden desks are recommended, plastic or glass desks cannot be used. Second, desk thickness range: 0.59" - 3.54". Third, the bottom of the desk should not have any cross beams or panels, as this will interfere with installation. We recommend carefully checking that your desk and monitors meets all above conditions before purchasing.
- Dual C-Clamp Hold - Worried your dual monitors might wobble or slip? Our upgraded base uses a larger platform plus a dual C-clamp structure to lock the dual monitor arm firmly to your desk. Each arm safely keeps your screens steady while you type, click and game—no shaking, no sliding, just a clean and secure setup you can trust every day. It also provides Grommet Mounting installation choice, both options ensure stable and secure fixation for your 0.59" - 3.54" desk.
- Full-Motion Adjustment For Comfortable View - Pull the screen closer when you’re deep in a spreadsheet, push it back to watch videos, or rotate to portrait for coding — moving everything smoothly with just one hand. The monitor stand offers +85°/-50° tilt, ±90° swivel and 360° rotation. Raise your monitor up to 15.75″ to support a healthy sitting posture. Whether you’re working from home, gaming through the night, or switching between video calls and documents, getting the screens to your natural line of sight helps relieve neck, shoulder and back strain so you can stay focused longer with less fatigue.
- Keep Your Desk Organized: By lifting both screens off the desktop, this dual monitor stand opens up valuable space for your keyboard, notebook, docking station or a simple, clutter-free work area. Built-in cable management guides wires along the arms, keeping cords out of sight and out of the way. Enjoy a tidy, modern workstation that looks as good as it feels to use.
Frequently Asked Questions
Can I download libgcc_s_seh-1.dll by itself?
The safer approach is to restore the complete application or MSYS2 package that owns the file. A standalone copy does not carry the package’s dependency metadata and may come from a different compiler build, so it can leave the program failing on another runtime or entry point.
Will installing the Microsoft Visual C++ Redistributable fix libgcc?
Usually not. Visual C++ Redistributable packages provide Microsoft compiler runtimes, while libgcc belongs to GCC/MinGW-w64; install the dependency named by the application instead of substituting an unrelated runtime.
Why does the error appear after I move a game or emulator folder?
Some portable-looking programs rely on a relative folder layout or a launcher that sets PATH before starting the executable. Moving only the executable can separate it from its bin directory; restore the original folder structure or reinstall to the new location using the publisher’s installer.
Why does reinstalling one MSYS2 package not fix every program?
Each executable may have been built for a different environment. A MINGW32 program, a MINGW64 program and a UCRT64 program can require different package prefixes and search paths, so identify the failing binary before choosing the package.
What if the dialog names libgcc.dll but no file with that exact name exists?
Treat the message as a runtime-family clue, not as an exact filename. Check whether the matching package supplies libgcc_s_seh-1.dll or libgcc_s_dw2-1.dll, then repair the originating installation so the application receives the filename it was actually built to load.
Do these 3 things before closing this tab:
1Repair Windows errors before they cause bigger problems2Scan for outdated or missing drivers - takes under a minute3Clear out junk files and repair common Windows errorsQuick Recap
Product prices and availability are accurate as of the date/time indicated and are subject to change. Any price and availability information displayed on Amazon at the time of purchase will apply.

