Upgrades and deprecations
Upgrade Node 18 to the Latest LTS: Hop Order and Dates
In short
The official schedule gives Node.js 18 an end of life of 30 April 2025. The lines in LTS today are 22, 24 and 26, and 26 is the newest. The route is 20, 22, 24, then 26, reading each major's changelog on the way. I would aim for 24 or 26, because 22 itself ends on 30 April 2027.
When did Node 18 reach end of life?
The Node.js release schedule file lists Node 18 (Hydrogen) with LTS from 25 October 2022, maintenance from 18 October 2023 and end of life on 30 April 2025. The releases page shows its last update as 27 March 2025, so its last update is more than 18 months old.
nodejs.org's end-of-life page states that an EOL line receives no further updates, including security patches. It adds that this holds even when a vulnerability found in a newer line also affects the old one.
Which Node lines are LTS today?
The table joins the dates in the schedule file with the status on the releases page. The page labels v22, v24 and v26 simply LTS and names v26.13.1 as the latest LTS. I derived Active and Maintenance from the schedule dates myself.
Node 27 is in Alpha. The releases page says that from Node 27 the cycle is annual and every major moves to LTS after its Current phase, so the even-and-odd pattern ends after 26.
| Line | Codename | LTS since | Maintenance since | End of life | Status on 19 Nov 2026 |
|---|---|---|---|---|---|
| 18 | Hydrogen | 25 Oct 2022 | 18 Oct 2023 | 30 Apr 2025 | End of life |
| 20 | Iron | 24 Oct 2023 | 22 Oct 2024 | 30 Apr 2026 | End of life |
| 22 | Jod | 29 Oct 2024 | 21 Oct 2025 | 30 Apr 2027 | Maintenance LTS |
| 24 | Krypton | 28 Oct 2025 | 20 Oct 2026 | 30 Apr 2028 | Maintenance LTS |
| 26 | Lithium | 28 Oct 2026 | 20 Oct 2027 | 30 Apr 2029 | Active LTS |
In what order should the hops go?
I found no official Node upgrade guide that walks from one major to another. What nodejs.org publishes is a changelog per major with a Notable Changes section. The odd lines, 19, 21, 23 and 25, were short-lived Current releases and are listed as end of life, and each has its own changelog.
I would plan the route as 18, 20, 22, 24, 26 and read the notes of the odd lines in between, because a change is listed only in the changelog of the release that made it. Node 20 is already past end of life and 22 ends on 30 April 2027, so I would use both as test checkpoints and ship at 24 or 26.
Checked against: source 1, source 2, source 4, source 5, source 6, source 7, source 8, source 9, source 10, source 11
What do the changelogs list as breaking at each hop?
These are entries from the notes of each major release, mostly under Notable Changes and Deprecations and Removals. They are the ones I would search a codebase for first, and the full notes are longer.
- 18 to 20: Node 19 turns HTTP keep-alive on by default for outgoing connections, with a 5-second waiting window, removes DTrace, SystemTap and ETW support and runtime-deprecates integer coercion in
process.exit(). Node 20 requires theversionoption innew WASI(), validates Web Crypto arguments against their WebIDL definitions, changes how single executable apps are prepared, warns whenurl.parse()gets an invalid port and runs ESM loader hooks on a separate thread. - 20 to 22: Node 21 removes the ESM
globalPreloadhook. Node 22 drops import assertions, raises the default streamhighWaterMark, enables the WebSocket client by default and movescrypto.createCipher()andcreateDecipher()to end of life. - 22 to 24: Node 23 removes 32-bit Windows support. Node 24 runtime-deprecates
url.parse()andSlowBuffer, removestls.createSecurePair, deprecates calling Zlib classes withoutnewand passingargstospawnandexecFile, makesAsyncLocalStorageuseAsyncContextFrameby default, renames the permission flag to--permissionand requires ClangCL to build on Windows. - 24 to 26: Node 25 removes
SlowBuffer,fs.F_OK,fs.R_OK,fs.W_OKandfs.X_OK, and movesassert.CallTrackerand thermdirrecursive option to end of life. Node 26 removeshttp.Server.prototype.writeHeader(), the legacy_stream_*modules and--experimental-transform-types, runtime-deprecatesmodule.register()and enables the Temporal API by default.
Checked against: source 4, source 5, source 6, source 7, source 8, source 9, source 10, source 11
Should the route end on Node 24 or 26?
Both are inside the window that nodejs.org says production should use, Active or Maintenance LTS. Node 26 has the longer clock. It is in Active LTS until 20 October 2027 and ends on 30 April 2029, while 24 entered maintenance on 20 October 2026 and ends on 30 April 2028.
For a long-lived application I would choose 26 if your dependencies allow it, and 24 if one of them does not yet. This page compares nodejs.org documents fetched on 19 November 2026. It does not cover your npm packages, native addons or container images, and it does not say your code will pass any hop.
If a hosting platform rejects the version you picked, see this fix page for one example.
What else do people ask?
Is Node 20 still supported?
No. The official schedule gives Node 20 an end of life of 30 April 2026, and the releases page lists it as EOL. It is a stop on the way from 18, not a destination.
Is Node 22 still a safe target?
It is in Maintenance LTS and the schedule ends it on 30 April 2027, about five months from now. I would treat it as a checkpoint and not as the place to stop.
Sources
- Node.js release schedule (schedule.json in the Release repository), fetched 2026-11-19
- Node.js releases page, status of each line, fetched 2026-11-19
- Node.js end-of-life (EOL) page, fetched 2026-11-19
- Node.js 19 changelog, notable changes, fetched 2026-11-19
- Node.js 20 changelog, notable changes, fetched 2026-11-19
- Node.js 21 changelog, notable changes, fetched 2026-11-19
- Node.js 22 changelog, notable changes, fetched 2026-11-19
- Node.js 23 changelog, notable changes, fetched 2026-11-19
- Node.js 24 changelog, notable changes and deprecations, fetched 2026-11-19
- Node.js 25 changelog, notable changes and deprecations, fetched 2026-11-19
- Node.js 26 changelog, notable changes and deprecations, fetched 2026-11-19
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. This page compares nodejs.org documents I fetched on 19 Nov 2026 (the release schedule file, the releases and end-of-life pages and the changelog of each major from 19 to 26). I did not run these upgrades for it. It does not cover your npm packages, native addons or deployment platform. Found a mistake? Tell me.