Say your team’s backend runs on Node.js 22 and someone asks: “Should we upgrade, and to what?” There are three supported release lines, each with different dates, and a new Node.js 27 “alpha” has started to appear in download lists. Picking the wrong target means either upgrading twice or running a version that stops getting security fixes.
This article compares Node.js 22, 24 and 26 as of November 29, 2026, explains the release terms in plain words, and gives a small script you can run to see real differences between the versions before you change anything.
What the release terms mean
Node.js releases a new major version (22, 24, 26 …) on a fixed schedule. The project’s Release repository defines the phases. nodejs/Release README
- Major version: a release that may contain breaking changes, meaning code that worked before can stop working.
- Current: the first six months of a new major version. New features land here first.
- LTS (long-term support): the period when a version is meant for production. The project’s releases page says LTS “typically guarantees that critical bugs will be fixed for a total of 30 months” and that “production applications should only use Active LTS or Maintenance LTS releases.” Node.js Releases
- Active LTS: gets new features, bug fixes and updates that the Release team has audited as stable for that line.
- Maintenance LTS: for lines up to Node.js 26, the last phase before end of life, with mostly “critical bug fixes and security updates.” New features are rare and usually only help migration to a later line.
- EOL (end of life): no more fixes of any kind, including security fixes.
The three lines side by side
These dates come from the project’s machine-readable schedule. schedule.json
| Node.js 22 “Jod” | Node.js 24 “Krypton” | Node.js 26 “Lithium” | |
|---|---|---|---|
| First release | 2024-04-24 | 2025-05-06 | 2026-05-05 |
| Became LTS | 2024-10-29 | 2025-10-28 | 2026-10-28 |
| Maintenance from | 2025-10-21 | 2026-10-20 | 2027-10-20 |
| End of life | 2027-04-30 | 2028-04-30 | 2029-04-30 |
| Status on 2026-11-29 | Maintenance LTS | Maintenance LTS | Active LTS |
Two facts stand out:
- Node.js 22 has five months left. After April 30, 2027 it gets no security fixes.
- Node.js 24 is already in Maintenance. It moved there on October 20, 2026, a week before 26 became LTS. Upgrading from 22 to 24 today buys one more year than staying on 22, but it lands you on a line that already gets only critical fixes.
What changed in Node.js 26
The Node.js 26.0.0 release notes (May 5, 2026) list the headline changes: the Temporal API enabled by default, V8 14.6, and Undici 8. Node.js 26.0.0 release notes Some terms:
- Temporal: a modern JavaScript date and time API, designed to replace the error-prone
Dateobject. It has separate types for a calendar date (PlainDate), a date and time in a time zone (ZonedDateTime), a duration (Duration), and so on. - V8: the JavaScript engine inside Node.js and Chrome. A V8 upgrade brings new language features. The notes name two from this one:
Map.prototype.getOrInsert()andgetOrInsertComputed()(read a key, or insert a default if missing), andIterator.concat()(join several iterators into one). - Undici: the HTTP client behind Node’s built-in
fetch().
The same notes list removals, which are what can break an upgrade:
- The legacy internal modules
_stream_wrap,_stream_readable,_stream_writable,_stream_duplex,_stream_transformand_stream_passthrough“are now fully removed.” http.Server.prototype.writeHeader()“is now fully removed. Usehttp.Server.prototype.writeHead()instead.” The notes namehttp.Server, but the method actually lived on the response object, so in your code look forres.writeHeader()and replace it withres.writeHead().- The
--experimental-transform-typesflag is removed, andmodule.register()now prints a runtime deprecation warning (a warning that a feature will be removed later).
A probe script: see the differences yourself
Reading release notes tells you what changed. Running code tells you whether it matters to you. The script below checks the features and removals named above. It does not change anything; it only prints.
Save it as probe.mjs. The .mjs extension makes Node treat the file as an ES module, the modern import/export module format:
// probe.mjs — prints which version-dependent features this Node.js has
import { createRequire } from 'node:module';
const require = createRequire(import.meta.url);
const tryIt = (fn) => { try { return fn(); } catch (e) { return `error ${e.code ?? e.name}`; } };
console.log('node', process.version, '| lts:', process.release.lts ?? false);
console.log('Temporal ', typeof globalThis.Temporal);
console.log('Map#getOrInsert ', typeof Map.prototype.getOrInsert);
console.log('Iterator.concat ', typeof globalThis.Iterator?.concat);
console.log('_stream_readable ', tryIt(() => typeof require('_stream_readable')));
console.log('res.writeHeader ', typeof require('node:http').ServerResponse.prototype.writeHeader);
What each line checks:
process.release.ltsis the LTS codename, orundefinedon a non-LTS build.typeof Xprintsobjectorfunctionwhen a feature exists andundefinedwhen it does not.require('_stream_readable')is wrapped intryIt, so a removed module prints its error code instead of crashing.writeHeaderis checked onServerResponse.prototype, the object a request handler’srescomes from.
Run it in a terminal with each version you have installed:
node probe.mjs
I ran it on November 29, 2026 on Linux x64 with Node.js 22.23.5, 24.22.3 and 26.13.1, using the official binaries from nodejs.org (checksums verified against each release’s SHASUMS256.txt). The output:
node v22.23.5 | lts: Jod
Temporal undefined
Map#getOrInsert undefined
Iterator.concat undefined
_stream_readable function
res.writeHeader function
---
node v24.22.3 | lts: Krypton
Temporal undefined
Map#getOrInsert undefined
Iterator.concat undefined
_stream_readable function
res.writeHeader function
---
node v26.13.1 | lts: Lithium
Temporal object
Map#getOrInsert function
Iterator.concat function
_stream_readable error MODULE_NOT_FOUND
res.writeHeader undefined
Note what 22 and 24 did not do: neither printed a warning when the script loaded _stream_readable, with or without the --pending-deprecation flag (which turns on extra deprecation warnings). Code that depends on it runs quietly on 24 and fails on 26. That is the main argument for testing on the target version instead of waiting for warnings.
To see Temporal in action on 26, run this one-liner:
node -e 'const d = Temporal.PlainDate.from("2026-11-29"); console.log(d.add({ months: 3 }).toString(), Temporal.Now.zonedDateTimeISO("Asia/Ho_Chi_Minh").offset)'
On 26.13.1 it printed 2027-02-28 +07:00. Adding three months to November 29 gives February 28, because February 2027 has no 29th. Temporal’s default overflow: "constrain" clamps to the last valid day instead of overflowing into March; pass { overflow: "reject" } as the second argument to add() to get an error instead. On 22 and 24 the same command fails with ReferenceError: Temporal is not defined.
The new Alpha channel and Node.js 27
In March 2026 the project announced that “starting with 27.x, Node.js will move from two major releases per year to one.” Evolving the Node.js Release Schedule The key points:
- One major release per year, in April, with LTS promotion in October. Every release becomes LTS. That ends the old odd/even rule, under which only even-numbered versions became LTS and odd-numbered ones were dropped after their Current phase.
- A six-month Alpha phase comes before each Current release. Alpha releases are signed, tagged and tested, but the API “may change between releases,” and the channel is “not intended for production use.”
- Node.js 26 “is the last release line under the current model.” Node.js 27 enters LTS in October 2027 and reaches end of life in April 2030.
The Release repository adds two details: Alpha version numbers look like 27.0.0-alpha.0.0.0, and lines from 27 on stay in Active LTS for the whole 30 months, with no Maintenance phase. nodejs/Release README The newest Alpha on the official download index on November 29, 2026 was v27.0.0-alpha.0.2.0, dated November 25.
The announcement asks library authors to add Alpha releases to CI (continuous integration, the automated tests that run on every change). A November 2026 post lists what the 27 Alpha adds, such as a V8 upgrade to 15.6 with Math.sumPrecise() and new iterator methods. Notable V8 changes from Node.js 26 to 27 (Alpha)
Decision rules
These rules are my recommendations based on the dates above:
- New project: start on Node.js 26. It has the longest support window of any LTS line (until April 2029) and is in Active LTS.
- Application on 22: move to 26, not 24. Going to 26 crosses more breaking changes at once, but you test once instead of twice, and 26 gives a year more support, so you will not repeat the upgrade in 2028. Finish before April 30, 2027.
- Application on 24: no emergency, since support runs to April 2028. Plan the move to 26 during 2027.
- Library or tool you publish: test on 22, 24 and 26 while your users are spread across them, and add the 27 Alpha to CI, as the project asks. I suggest making that job allowed to fail, since Alpha APIs can change.
- Never put an Alpha release in production.
How to upgrade safely
-
Record the target version in the files your tools read:
.nvmrc(one line such as26) for version managers, and theenginesfield inpackage.json(for example"node": ">=26"), which tells npm which Node versions your package expects. By default npm only warns on a mismatch; it does not block the install. -
Run the probe and your own test suite on the target version locally.
-
Search your code and dependencies for the removed APIs. From the project folder:
grep -rnE "require\(['\"](node:)?_stream_|from ['\"](node:)?_stream_|\.writeHeader\(" \ --include='*.js' --include='*.mjs' --include='*.cjs' --include='*.ts' src node_modulesNo output means no match. Every match needs a human look. When I ran this on this website’s own repository, it found two
res.writeHeader(key, value)calls incrossws0.3.5, in its adapter for uWebSockets, a different server library whose response object has its ownwriteHeadermethod. They are not Node’s removedhttpmethod, so they are false positives. A real match insidenode_modulesmeans that dependency needs an update first. -
Run tests in CI on the new version, then deploy to a staging environment (a copy of production used for testing) before production.
Common mistakes
- Treating “it starts” as “it works.” A static
importof a removed module fails as soon as the file loads, but arequire()inside a function fails only when that code path runs. Run the full test suite, not just the server start. - Waiting for warnings. As the probe showed, 24 did not warn about
_stream_readable, which 26 removed. In my test only_stream_wrapprinted a warning (DEP0125) on 22 and 24; the other four_stream_*modules were silent. - Choosing 24 because it is “safer.” It is older, not more supported: its Maintenance phase has already started.
- Mixing versions across environments. A developer on 26 and CI on 22 may pass and fail different tests. Pin the version in
.nvmrcand CI alike.
The same habit of checking each node before a platform change appears in preparing Kubernetes nodes for the planned v1.38 cgroup change: find out what the new version removes, then test on it before switching.
Conclusion
As of November 2026, Node.js 26 is the only release line in Active LTS and has the longest support window. Node.js 22 reaches end of life on April 30, 2027, and 24 is already in Maintenance. For most applications the right move is straight to 26: run the probe and your tests on it, fix any use of the removed _stream_* modules or writeHeader(), and pin the version everywhere. Keep the 27 Alpha in CI only.