.NET 8 end of life was November 10, 2026: from that date Microsoft no longer provides free support or patches for it. Apps keep running, but the fix is to retarget them to .NET 10, the current LTS release, by changing net8.0 to net10.0 and testing.
Dates and version numbers below come from Microsoft's official support policy page, as of November 2026.
.NET 8 end of life: the dates
Microsoft lists .NET 8 under "Out of support versions", with an end-of-support date of November 10, 2026. The same page gives these dates for the releases around it:
| Version | Released | Type | End of support |
|---|---|---|---|
| .NET 8 | November 14, 2023 | LTS | November 10, 2026 |
| .NET 9 | November 12, 2024 | STS | November 10, 2026 |
| .NET 10 | November 11, 2025 | LTS | November 14, 2028 |
Two details are easy to miss. First, .NET 8 did not get a full three years: LTS releases are described as three years of support, but since .NET Core 3.1 the end date is moved to a Patch Tuesday (the second Tuesday of a month). The policy page uses .NET 6 as its example: released November 8, 2021, supported until November 12, 2024. Second, .NET 9 ends on the same day as .NET 8, so it is not a safe stopping point. That is why the target is .NET 10.
What end of life actually means
Microsoft's policy states that LTS releases get free support and patches for three years, and that "within a release's support lifecycle, systems must remain current on released patch updates." After the end date, the support and patch period is over. In practice:
- Your existing .NET 8 apps do not stop running. The runtime keeps working on machines that have it installed.
- New bugs and security vulnerabilities found after the end date will not be fixed in .NET 8. A vulnerability disclosed next month gets a patch for .NET 10, not for your version.
- The last .NET 8 patch listed on the policy page is 8.0.34, released November 10, 2026. Install it if you are staying on .NET 8 for a short while longer.
- Compliance rules, customer security questionnaires and cloud platform policies often require a supported runtime. Those are your own obligations, not something this page can tell you, so check them for your situation.
Which version to move to
Move to .NET 10. It is an LTS release and, per the policy page, supported until November 14, 2028. Microsoft's own wording is that the quality of LTS and STS releases is the same and "the only difference is the length of support", so there is no stability reason to pick .NET 9 here. .NET 11 appears in the same documentation, but it is not the right choice for a production app that needs the longest support window.
Going from 8 straight to 10 is allowed. The target framework monikers are plain: net8.0, net9.0, net10.0. You do not have to retarget twice.
Step 1: See what you have installed
Check which SDKs and runtimes are on the machine (or build agent) first:
dotnet --list-sdks
dotnet --list-runtimes
Example output (the format is from Microsoft's documentation; your versions will differ):
8.0.100 [C:\program files\dotnet\sdk]
10.0.100 [C:\program files\dotnet\sdk]
If there is no 10.x SDK in the list, install the .NET 10 SDK from the official download page. Installing an SDK also installs the matching runtime. dotnet --info prints both lists plus the OS version and runtime identifier.
Step 2: Update global.json if you have one
A global.json file pins which SDK the dotnet CLI uses. If you have one that pins an 8.0 SDK, the 10 SDK will not be picked, so change the version. The documentation's own example of a range-friendly setting is:
{
"sdk": {
"version": "10.0.100",
"rollForward": "latestFeature"
}
}
The version field needs a full version number. Values like 10 or 10.0 are rejected, and dotnet --info reports "Version '10.0' is not valid for the 'sdk/version' value." If you have no global.json, the highest installed SDK is used and nothing needs changing.
Step 3: Change the target framework
In each project file, change the target framework moniker. For one project:
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net10.0</TargetFramework>
</PropertyGroup>
</Project>
Windows desktop projects use the OS-specific form, for example net10.0-windows. A library that other teams consume can target several frameworks while they migrate, using the plural element: <TargetFrameworks>net8.0;net10.0</TargetFrameworks>. Keep that as a transition step only, since the net8.0 build is still an unsupported runtime target.
In a solution with many projects, search the repository for net8.0. It can also hide in Directory.Build.props, CI pipeline files, Dockerfiles and publish profiles, not only in .csproj files.
Step 4: Update package references
Microsoft's ASP.NET Core migration guide for 8 to 9 tells you to raise the version of each Microsoft.AspNetCore.*, Microsoft.EntityFrameworkCore.*, Microsoft.Extensions.* and System.Net.Http.Json package reference to the new major version or later. The same pattern applies for 10, so those packages should move to 10.0.0 or later. Third-party packages need their own check: look for a release that supports net10.0, or at least one that still targets netstandard2.0 or netstandard2.1, which .NET 10 can use.
Step 5: Read the breaking changes
Do this before you blame your code for a failure. Microsoft publishes a breaking-changes list for each release, grouped by area (ASP.NET Core, core libraries, cryptography, SDK and MSBuild, Windows Forms, WPF and others), and marks each entry as binary incompatible, source incompatible or a behavioral change. Because you are skipping .NET 9, read the .NET 9 list as well as the .NET 10 list. Entries on the .NET 10 page that commonly matter for real projects include:
- Containers: "Default .NET images use Ubuntu". If your Dockerfile relied on the previous default base image, check your package install commands.
- Cryptography: "OpenSSL 1.1.1 or later required on Unix".
- Runtime: ".NET runtime no longer provides default termination signal handlers".
- SDK: "
dotnet new slndefaults to SLNX file format" and "PackageReference without a version raises an error". - Extensions: "BackgroundService runs all of ExecuteAsync as a Task".
Microsoft notes that the .NET 10 list is a work in progress, so it may not be complete.
Step 6: Build, test and ship
dotnet restore
dotnet build
dotnet test
Fix compiler errors first, then read warnings that are new, then run the tests. Update the SDK and runtime in your CI image and in your container base image tags too, otherwise the pipeline builds fine locally and fails on the agent. Deploy to a staging environment before production, and exercise code paths the tests don't cover, such as startup, shutdown and anything that touches cryptography or file paths.
What about the Upgrade Assistant?
Microsoft's .NET Upgrade Assistant overview says the tool is officially deprecated and points to the GitHub Copilot modernization chat agent, included with Visual Studio 2026 and with Visual Studio 2022 17.14.16 or later. That agent produces a migration plan and commits each change so you can review or roll it back. For an 8 to 10 move on a typical project, the manual steps above are small enough to do by hand, and the docs' advice applies either way: after upgrading, test thoroughly.
If the upgrade is blocked
If a dependency has no .NET 10 version, or a large app can't be retested in time, you have three choices: replace the dependency, pin the work as a dated ticket and keep running on .NET 8 with the last patch (8.0.34) installed, or isolate the affected part behind its own service so the rest of the system can move. Running on an unsupported runtime is a risk you accept explicitly, so write down who accepted it and when it will be revisited.
Frequently asked questions
- Will my .NET 8 app stop working after end of life?
- No. Existing .NET 8 apps keep running because the runtime is not switched off. What ends is free support and patches: new bugs and security vulnerabilities found after November 10, 2026 will not be fixed in .NET 8. The longer the app stays on it, the more unpatched issues can accumulate.
- Should I upgrade to .NET 9 or .NET 10?
- Upgrade to .NET 10. Microsoft's support policy lists .NET 9 with the same end-of-support date as .NET 8 (November 10, 2026), so moving to it only repeats the problem. .NET 10 is an LTS release supported until November 14, 2028.
- Can I skip .NET 9 and jump straight from 8 to 10?
- Yes. You change the target framework from net8.0 to net10.0 directly. Read the breaking-changes lists for both .NET 9 and .NET 10, because changes from the skipped release still apply to your code.
- How long is a .NET LTS release supported?
- Microsoft's policy says LTS releases get free support and patches for three years and STS releases for two years. Even-numbered releases such as .NET 8 and .NET 10 are LTS; odd-numbered ones such as .NET 9 are STS. End dates are aligned to Patch Tuesday, so the real end date can differ slightly from the three-year mark.
Sources
- Microsoft .NET — .NET and .NET Core official support policy
- Microsoft Learn — Breaking changes in .NET 8
- Microsoft Learn — Breaking changes in .NET 10
- Microsoft Learn — Target frameworks in SDK-style projects
- Microsoft Learn — global.json overview
- Microsoft Learn — Check installed .NET versions
- Microsoft Learn — Migrate from ASP.NET Core 8 to 9
- Microsoft Learn — .NET Upgrade Assistant overview