How to Uninstall Ubuntu on Windows 11: A Step-by-Step Guide

Have you installed Ubuntu alongside Windows 11 but now want to remove it? Maybe you no longer need Linux, or perhaps you want to free up disk space. Whatever the reason, you’ll need to uninstall Ubuntu properly to avoid boot errors and wasted storage.

Don’t worry—this guide will walk you through everything step by step. Whether you installed Ubuntu using dual boot or via the Windows Subsystem for Linux (WSL), you’ll find clear instructions here.


📝 Key Takeaways

  • Ubuntu on Windows 11 can be installed in two ways: Dual Boot or WSL (Windows Subsystem for Linux).

  • The uninstallation process depends on which method you used.

  • For WSL, uninstalling is as simple as running a command.

  • For Dual Boot, you’ll need to remove partitions and fix the bootloader.

  • Always back up important data before uninstalling Ubuntu.


Why Uninstall Ubuntu from Windows 11?

You might want to uninstall Ubuntu for several reasons:

  • 🛠️ Free up storage space – Linux partitions can take tens of gigabytes.

  • 🔄 Simplify booting – No more GRUB menu at startup.

  • 💻 Switching to another OS – Maybe you want to try Fedora or another Linux distro.

  • 🚀 Performance reasons – Avoid unnecessary dual-boot overhead.

  • 🧹 Cleanup – If you rarely use Ubuntu, uninstalling keeps things tidy.


Step 1: Identify How You Installed Ubuntu

There are two main ways Ubuntu runs on Windows 11:

  1. Dual Boot (installed alongside Windows)

    • Uses partitions on your hard drive.

    • You see a boot menu (GRUB) when starting your PC.

  2. WSL (Windows Subsystem for Linux)

    • Ubuntu runs inside Windows, like an app.

    • No boot menu—launches via terminal or Start Menu.

👉 The removal steps differ depending on your setup.


Method 1: Uninstall Ubuntu Installed with WSL (Windows Subsystem for Linux)

This is the simplest case.

Steps:

  1. Open PowerShell (Admin):

    • Press Windows + X > Windows Terminal (Admin).

  2. List installed WSL distributions:

    wsl --list

    You’ll see something like:

    Ubuntu
    Ubuntu-20.04
    Ubuntu-22.04
  3. Unregister (uninstall) Ubuntu:

    wsl --unregister Ubuntu
  4. Check if removed:

    wsl --list

✅ Ubuntu is now fully removed from WSL.


Method 2: Uninstall Ubuntu in Dual Boot with Windows 11

This process is more detailed because Ubuntu lives on separate partitions and controls the boot process with GRUB.

Step 1: Backup Important Data

Before making changes, copy files from Ubuntu partitions to an external drive or cloud.

Step 2: Delete Ubuntu Partitions

  1. Press Windows + X > Disk Management.

  2. Find Ubuntu partitions:

    • Usually Ext4 format (won’t show drive letters like C: or D:).

    • Sometimes labeled as “Healthy (Primary Partition).”

  3. Right-click each Ubuntu partition > Delete Volume.

  4. The space will turn into Unallocated Space.

👉 You can now extend your Windows partition (C:) or create a new one.


Step 3: Remove GRUB Bootloader

When you uninstall Ubuntu, the GRUB bootloader remains. If not removed, your PC may fail to boot.

Option A: Use Windows Boot Repair (Automatic)

  1. Restart PC > enter Windows Recovery Environment (hold Shift + Restart).

  2. Navigate to: Troubleshoot > Advanced Options > Command Prompt.

  3. Run:

    bootrec /fixmbr
    bootrec /fixboot
    bootrec /scanos
    bootrec /rebuildbcd
  4. Restart. Windows bootloader will replace GRUB.

Option B: Use Windows 11 Installation Media

  1. Boot from a Windows 11 USB installer.

  2. Choose Repair your computer > Troubleshoot > Command Prompt.

  3. Run the same commands as above.


Step 4: Reclaim Free Space

After removing Ubuntu:

  • Open Disk Management again.

  • Right-click your C: drive > Extend Volume.

  • Add the unallocated space back to Windows.


Alternative: Using Third-Party Tools

If you’re not comfortable with Disk Management and boot repair, tools like EaseUS Partition Master or MiniTool Partition Wizard can simplify the process. They:

  • Delete Ubuntu partitions.

  • Repair the Windows bootloader.

  • Reclaim disk space.


Comparison: WSL vs Dual Boot Uninstallation

Feature WSL (Easy) Dual Boot (Advanced)
Method Run a command Delete partitions + repair bootloader
Risk Low Higher (if bootloader not fixed)
Time 2–5 minutes 20–30 minutes
Tools PowerShell Disk Management + Bootrec

Troubleshooting Common Issues

  • PC won’t boot after uninstall → Boot from Windows USB and run bootrec /fixmbr.

  • Can’t delete partitions → Make sure you’re deleting the correct Linux partitions, not Windows.

  • GRUB menu still appears → Re-run boot repair commands.

  • Storage missing → Extend C: or create a new partition in Disk Management.


Safety Tips Before Removing Ubuntu

  • Always backup data from both Windows and Ubuntu.

  • Don’t delete partitions unless you’re sure they belong to Ubuntu.

  • Keep a Windows 11 recovery USB handy in case of boot problems.

  • If using dual boot, uninstall carefully—bootloader repair is crucial.


Conclusion

Uninstalling Ubuntu on Windows 11 is straightforward if you know how you installed it.

  • If you used WSL, you just need one simple command.

  • If you installed dual boot, you’ll need to:

    1. Backup files.

    2. Delete Ubuntu partitions.

    3. Repair the Windows bootloader.

    4. Reclaim the space.

By following these steps, you’ll safely remove Ubuntu and return to a clean Windows-only setup.

👉 Ready to free up space and simplify your boot process? Follow the steps above, and you’ll be done in no time.


FAQs: How to Uninstall Ubuntu on Windows 11

1. Is it safe to uninstall Ubuntu from Windows 11?
Yes, as long as you back up files and repair the bootloader (for dual boot).

2. Will uninstalling Ubuntu affect my Windows files?
No, if you delete only Ubuntu partitions. Be careful not to touch C: or other Windows partitions.

3. How do I know if I’m using WSL or dual boot?

  • If Ubuntu runs like an app in Windows → WSL.

  • If you see a GRUB menu on startup → Dual Boot.

4. Can I reinstall Ubuntu later?
Yes, you can always reinstall either via WSL or dual boot.

5. Do I need third-party software to uninstall Ubuntu?
Not necessary—Windows built-in tools are enough. Third-party tools just make it easier.

Scroll to Top