How to uninstall WSL on Windows 11

You can remove WSL from Windows 11. You need to uninstall the components in order – here's how.

Windows 11 uninstall WSL
Windows 11 uninstall WSL
  • To uninstall WSL on Windows 11, open Settings > Apps > Installed apps and remove the Linux distros and “Windows Subsystem for Linux” components. Finally, open Settings > System > Optional features > More Windows Features and remove the WSL and virtual machine components.

UPDATE 12/12/2023: On Windows 11, it’s possible to uninstall the Windows Subsystem for Linux (WSL), but it requires multiple (in-order) steps. Although Microsoft has streamlined the installation with a single command or using the Microsoft Store, removing the platform is not as simple as clicking the “Uninstall” button from the “Installed apps” settings page.

If you want to uninstall WSL from your computer completely, you must remove the Linux distros, uninstall additional components, and disable the platform.

Although the ability to run Linux on Windows 11 is a useful feature for developers and users who need access to both platforms, there might come a time when you no longer need the platform or may need to reset it to fix problems. Whatever the reason, you can permanently remove WSL by uninstalling all the components in order.

In this guide, I will teach the steps to remove the Windows Subsystem for Linux platform on Windows 11. 

Uninstall WSL on Windows 11

To uninstall the Windows Subsystem for Linux from Windows 11, you first want to remove the distros, platform components, and the remaining operating system features.

1. Remove Linux distros

To uninstall a distro of Linux from WSL on Windows 11, use these steps:

  1. Open Settings on Windows 11.

  2. Click on Apps.

  3. Click the Installed apps page.

  4. Select the Linux distribution.

  5. Click the menu (three-dotted) button on the right and the Uninstall option.

    Uninstall WSL Linux distro

  6. Click the Uninstall option again.

Once you complete the steps, repeat the steps to remove any remaining distro as necessary.

2. Remove Windows Subsystem for Linux components

To uninstall the WSL Linux kernel and GUI components on Windows 11, use these steps:

  1. Open Settings.

  2. Click on Apps.

  3. Click the Installed apps page.

  4. Select the Windows Subsystem for Linux item.

  5. Click the menu (three-dotted) button on the right and the Uninstall button.

    Uninstall WSL components

  6. Click the Uninstall option again.

  7. Select the Windows Subsystem for Linux Update item (if applicable).

  8. Click the menu (three-dotted) button on the right and the Uninstall button.

  9. Click the Uninstall option again.

  10. Select the Windows Subsystem for Linux WSLg preview item (if applicable).

  11. Click the menu (three-dotted) button on the right and the Uninstall button.

  12. Click the Uninstall option again.

After you complete the steps, you can uninstall the platform from Windows 11.

3. Remove WSL from Windows 11

To uninstall the Windows Subsystem for Linux components from Windows 11, use these steps:

  1. Open Settings.

  2. Click on System.

  3. Click the Optional features page.

  4. Click the “More Windows features” option under the “Related settings” section.

    Open Windows features settings

  5. Clear the “Virtual Machine Platform” option.

  6. Clear the “Windows Subsystem for Linux” option.

    Windows 11 uninstall WSL

  7. Click the OK button to uninstall the features.

  8. Click the Restart now button.

Once you complete the steps, the Windows Subsystem for Linux will be completely removed from Windows 11.

Update December 12, 2023: This guide has been updated to ensure accuracy and reflect changes to the process.

About the author

Mauro Huculak is a Windows How-To Expert who started Pureinfotech in 2010 as an independent online publication. He has also been a Windows Central contributor for nearly a decade. Mauro has over 14 years of experience writing comprehensive guides and creating professional videos about Windows and software, including Android and Linux. Before becoming a technology writer, he was an IT administrator for seven years. In total, Mauro has over 20 years of combined experience in technology. Throughout his career, he achieved different professional certifications from Microsoft (MSCA), Cisco (CCNP), VMware (VCP), and CompTIA (A+ and Network+), and he has been recognized as a Microsoft MVP for many years. You can follow him on X (Twitter), YouTube, LinkedIn and About.me. Email him at [email protected].