How to Update WSL Kernel on Windows 11
Updating the Windows Subsystem for Linux (WSL) kernel on Windows 11 gives your Linux distributions the latest security patches and performance improvements. The whole job takes a few minutes and needs only one command in Windows Terminal.
Open Windows Terminal as administrator, type wsl –update and press Enter. The terminal downloads and installs the latest WSL kernel from Microsoft’s servers automatically. Run wsl –shutdown to restart the service, then reopen your Linux distribution to load the new kernel.
Why update the WSL kernel?
Microsoft ships it separately from Ubuntu, Debian or any other distribution you installed, so updating the distribution’s own packages does not update it. You have to update it on the Windows side.
A current kernel matters for three reasons:
- It includes the latest security fixes.
- It helps your Linux tools run faster and more reliably.
- It makes sure newer software works correctly on your system.
This tutorial applies to WSL 2, which is the default for new installs.
What happens when you are done?
When you finish, WSL will use the newest kernel version from Microsoft. Your Linux environment will be more stable, and you will have the latest features and performance improvements. Your distributions, files and settings are not touched by the update.
How to verify your current WSL kernel version
Before you update, check which kernel you are running. That gives you something to compare against afterward. Open Windows Terminal as an administrator and run the `wsl –status` command. The output shows the kernel number currently in use by WSL.
- Click Start and type Terminal.
- Right-click Terminal in the results and select Run as administrator. This step requires admin privileges, so you need an administrator account.
- Click Yes if User Account Control asks for permission. A terminal window opens with "Administrator" in the title bar.
- Type wsl --status and press Enter. The terminal prints a short summary of your WSL setup.
- Find the kernel version number in the output and write it down.
If the command is not recognized or prints no kernel line, WSL may not be installed yet, or your WSL version is very old. Updating, as described below, usually fixes the second case.
How to update WSL kernel on 🪟 Windows 11
To update the WSL kernel, run one command in the terminal. The `wsl --update` command finds the newest Linux kernel for WSL and installs it for you.
- Open Windows Terminal as an administrator, as in the previous section. This step requires admin privileges.
- Type wsl --update and press Enter. The terminal shows that it is checking for updates.
- Wait for the process to finish. It downloads the latest linux-msft-wsl package automatically, so do not close the window while it runs.
- Read the final message. It tells you whether the kernel was updated or whether you already had the latest version.
If the download fails, check that you are online and that a VPN or proxy is not blocking the connection, then run the command again. To confirm the update, run the version check from the previous section again and compare the kernel number with the one you wrote down.
How to update WSL kernel without Microsoft Store
You do not need the Microsoft Store for this. The `wsl --update` command gets the latest files directly from Microsoft's servers, so it works even if the Store is blocked or unavailable on your PC. This is useful on work computers where the Store is disabled by policy.
Is a system reboot required after updating?
Usually, you do not need to restart your computer. However, you must restart the WSL service so the new kernel loads.
- Save any work in your Linux windows first, because the next step stops everything running inside WSL.
- In your terminal, run
wsl --shutdown. This closes all running Linux distributions. - Open your Linux distribution again from the Start menu or from a terminal tab. It starts on the new kernel.
If the update says it is waiting for WSL to stop, or the kernel number has not changed, run the same command again and reopen your distribution. If it still looks wrong, restart Windows. That is rarely needed, but it clears any leftover WSL processes.
Summary
Keeping your WSL kernel updated on Windows 11 is important for security and speed. Run the `wsl --update` command in an administrator terminal, restart WSL, and you are done. Repeat the process every so often, since Microsoft releases new kernel versions regularly.
Have a question about this guide?
Answered by AI from this guide. Good questions may be added to this page — please don't include personal details.
Did this guide fix your problem?
About the Author
Richard
Tech Writer, IT Professional
Richard is a writer at Geek Rewind who turns complex IT tasks into clear, step-by-step guides. He draws on years of hands-on experience in system administration and enterprise IT operations, focusing on Windows, Linux and WordPress: the problems people actually run into, and the fixes that work. His server and WordPress guides come from systems he runs himself. Richard builds and maintains the platform behind Geek Rewind, from its Ubuntu servers and Nginx configuration to its custom WordPress plugins. Many new tutorials start with readers' questions, and he's always glad to answer them in the comments.
No comments yet — be the first to share your thoughts!