Guide
Node 22 vs Node 24: LTS Support and Upgrade Checks



Node 22 vs Node 24: compare LTS support dates, TypeScript and ESM changes, native addon risks, and upgrade checks before choosing a runtime for an application.
Contents
Contents
Between Node.js 22 and 24, choose 24 when your dependencies and hosting platform support it: its support window ends April 30, 2028, a year after 22. As of November 1, 2026, both are Maintenance LTS; Node 26 is Active LTS. Keep an existing Node 22 service while validating its upgrade, and evaluate Node 26 separately for new deployments.
| Release line | Status on November 1, 2026 | Initial release | Active LTS start | Maintenance start | End of life |
|---|---|---|---|---|---|
| Node.js 22, Jod | Maintenance LTS | 2024-04-24 | 2024-10-29 | 2025-10-21 | 2027-04-30 |
| Node.js 24, Krypton | Maintenance LTS | 2025-05-06 | 2025-10-28 | 2026-10-20 | 2028-04-30 |
| Node.js 26, Lithium | Active LTS | 2026-05-05 | 2026-10-28 | 2027-10-20 | 2029-04-30 |
Source: Node.js Release Working Group schedule, accessed November 1, 2026 (UTC). Dates are scheduled support milestones and can change. An end-of-life date is not the end of Active LTS: Node 24 entered maintenance on October 20, 2026, while remaining supported until April 30, 2028.
Quick decision: Node 22 or Node 24?
| Situation | Recommendation | Check before deciding |
|---|---|---|
| Existing Node 22 production service | Test 24 alongside 22, then schedule the migration before 22's EOL | Dependencies, integrations, deployment images and rollback |
| New deployment constrained to these two versions | Prefer 24 if the application passes validation | Hosting support and the exact package versions you use |
| Platform approved only for Node 22 | Keep 22 temporarily with an upgrade owner and deadline | Platform approval and remaining support time |
| Native addons or legacy TLS integrations | Run a parallel compatibility trial | Binary availability, build tools, certificates and trust configuration |
| Package author supporting Node 22 consumers | Retain 22 coverage while adding 24 coverage | Minimum engine policy and consumer requirements |
| New project without a version constraint | Include Active LTS Node 26 in the evaluation | Framework, dependency and platform compatibility; LTS status alone is insufficient |
These are planning recommendations, not measured compatibility results for your application. This guide keeps the Node 22 vs Node 24 comparison; the Node 24 migration checklist covers implementation steps.
What Maintenance LTS means for the decision
The Release Working Group's phase definitions, accessed November 1, 2026, describe maintenance releases as receiving critical bug fixes and security updates, with new features at the release team's discretion. Active LTS accepts a broader set of audited features, fixes and updates.
Node 22 is still supported. Node 24 gives a Node 22 team another year before the scheduled support deadline, but it is no longer the Active LTS line. Node 26 entered Active LTS on October 28, 2026. Avoid describing Node 24 as the universal current-LTS default or treating Node 26 as a future release.
For an existing service, use the support dates to set a migration deadline. Use tests, your provider's runtime policy and dependency documentation to choose the target. A later EOL date does not establish that a particular database driver, native module or deployment platform works with that runtime.
For historical context, the Node 20 to Node 22 upgrade guide covers the earlier transition. It does not replace the current support table above.
What changed from Node 22 to Node 24?
npm, V8 and Web APIs
The Node.js 24.0.0 release notes, accessed November 1, 2026, identify npm 11, V8 13.6, Undici 7 and a globally available URLPattern. V8 additions listed there include RegExp.escape() and Float16Array. These are release-specific facts; inspect the exact patch and image you intend to run rather than assuming every bundled component remains at its launch version.
const userInput = "react+dom (legacy)";
const safe = new RegExp(RegExp.escape(userInput));
console.log(safe.test("react+dom (legacy)")); // true
For npm projects, test installation using the existing lockfile before regenerating it. Record the npm version as well as the Node version so a package-manager change does not get mistaken for a runtime regression. For pnpm, Yarn or Bun projects, keep the project's own package manager and lockfile during the first trial.
Do not attach a generic speed multiplier to the V8 upgrade. Benchmark your application if performance is part of the migration case: use the same workload, machine limits, dependency versions and warm-up procedure on each runtime.
TypeScript support depends on the patch release
The Node 24 TypeScript documentation, accessed November 1, 2026, marks type stripping stable from v24.12.0. The Node 22 documentation, accessed the same day, records default enablement from v22.18.0 and labels the feature a release candidate. Describing all Node 22 releases as requiring a flag would therefore be misleading.
Both documents distinguish lightweight type stripping from full TypeScript tooling. It does not type-check the program or implement tsconfig.json behavior such as path aliases. Syntax requiring JavaScript generation needs additional handling; check the documented limits before replacing a runner.
// A script using erasable type annotations
const packageName: string = "pkgpulse";
console.log(`Refreshing ${packageName}`);
Keep type checking in CI, and leave your production compilation strategy unchanged during the runtime upgrade unless changing it is an explicit goal. This makes a failure easier to attribute.
CommonJS and ESM still need explicit tests
The Node 24 module documentation, accessed November 1, 2026, records that require(esm) is no longer experimental from v24.15.0. It also limits require() to synchronous ESM graphs: top-level await requires asynchronous loading.
Test your actual CLI entry points, configuration loaders and plugins. Do not replace every dynamic import() merely because the runtime supports some ESM loading through require(). Keep package module declarations explicit and test the package's public exports in the form consumers use.
Native addons and TLS deserve separate checks
The Node-API ABI documentation, accessed November 1, 2026, distinguishes Node-API's cross-version compatibility from direct V8 and Node C++ APIs, which can require updates or recompilation. Check the addon maintainer's supported runtimes and available binaries for your operating system and architecture.
The Node.js 24.5.0 release notes, accessed November 1, 2026, record the move to OpenSSL 3.5.1. Test TLS connections using the exact target image, CA configuration and client certificates. The bundled OpenSSL version alone does not prove that an integration will fail or that an application is secure.
Node 22 vs Node 24 comparison matrix
| Area | Node.js 22 | Node.js 24 |
|---|---|---|
| Support phase on November 1, 2026 | Maintenance LTS | Maintenance LTS |
| Scheduled EOL | April 30, 2027 | April 30, 2028 |
| Native TypeScript status in the accessed docs | Release candidate; enabled by default from 22.18.0 | Stable from 24.12.0 |
| Existing production service | Keep while the target is being tested | Migration candidate after compatibility checks |
| New app limited to this pair | Use when a concrete platform constraint requires it | Preferred if dependencies and hosting support it |
| Package support policy | Retain tests if consumers need 22 | Add tests before promising 24 compatibility |
Lifecycle and feature rows use the official sources cited above. The application and package rows are this guide's decision framework; they are not claims of universal suitability.
Node 22 to Node 24 compatibility checklist
Before changing production, save the working Node 22 artifact, runtime configuration and dependency lockfile. Then run the same checks on the chosen Node 24 patch release.
| Surface | Validation task | Evidence to keep |
|---|---|---|
| Installation | Install from the committed lockfile in a clean environment | Node/package-manager versions and install result |
| Native modules | Exercise code that loads each addon | Platform, architecture and addon version |
| ESM/CJS | Run CLIs, plugins, tests and config loaders | Entry point and any loader error |
| HTTP clients | Test proxies, timeouts, redirects and streaming paths you use | Integration-test results |
| TLS | Connect to staging equivalents of external services | Trust settings and handshake result |
| TypeScript | Run scripts and the existing type checker | Script results and compiler output |
| Deployment | Build and start the real image | Image identifier and smoke-test result |
The Node 24.0.0 release notes also list runtime deprecations and removals, including url.parse() deprecation and tls.createSecurePair() removal. Review deprecation output rather than assuming a passing server start exercises every affected path. The migration guide gives a more detailed procedure.
Choosing an upgrade path by team
Existing Node 22 services
Add Node 24 to CI, fix demonstrated compatibility problems and exercise a staging deployment. Choose a rollout window with enough time to investigate failures before April 30, 2027. Keep rollback artifacts and document how to restore the old runtime; verify that the rollback still works after any separate database or configuration changes.
Package authors
Test the versions you claim to support. Make the minimum Node version explicit in package.json and release notes, and verify built exports from a consumer project. If raising the minimum removes a supported consumer runtime, explain that change through the package's release policy. An open-ended engine range is not proof that untested future majors work.
Platform teams and new projects
For a platform standardized on Node 24, publish the approved patch/image and track updates through its maintenance period. Give teams a separate compatibility process for Node 26 now that it is Active LTS. For a new project, validate the framework and hosting support matrix before choosing either version; do not copy a September 2026 default into a November decision.
Related guides
- Node.js 24 upgrade from Node 22: installation, integration tests and rollout steps.
- Node.js version managers: fnm, nvm and Volta: managing local runtime selection.
- Best JavaScript runtimes 2026: broader runtime choices.
- JavaScript testing frameworks: planning application test coverage.