Node.js 22 End of Life (EOL): 30 April 2027, and What to Do Before It
Node.js 22 (Jod) gets security fixes until 30 April 2027, and AWS Lambda deprecates it a month later. Where it runs until when, what breaks first, and whether to move to Node.js 24 or 26.
Written Shahzeb Umer
SubscribeStatus
SupportedLTS
Support ends .
- Time left
- 152 days
- Latest release
- 22.23.5
- Move to
- Node.js 26fixed until 30 Apr 2029
3 years of support
- Bug and security fixes24 Apr 2024 – 21 Oct 2025
- Security fixes only21 Oct 2025 – 30 Apr 2027
Supported for 3 years, from 24 Apr 2024 to 30 Apr 2027.
Who still patches it
Ten places Node.js 22 runs, nine deadlines.
- Node.js project (upstream, Maintenance LTS): Patched to 30 Apr 2027
- AWS Lambda (nodejs22.x): Updates blocked 31 Aug 2027
- Azure App Service (Linux and Windows): Support ends 30 Apr 2027
- Azure Functions (Node.js 22): Support ends 30 Apr 2027
- Cloud Run functions (nodejs22, also Cloud Run): Decommissioned 31 Oct 2027
- App Engine standard (nodejs22): Deploys blocked 30 Apr 2027
- RHEL 8.10, 9, 10 (Node.js 22 stream): Retires Apr 2027
- Amazon Linux 2023 (nodejs22): Patched to 30 Apr 2027
- Alpine 3.22 (nodejs, main): Branch ends 1 May 2027
- Docker image (node:22): Still rebuilt, no end announced
Where to move
Be on Node.js 26.
The short version
- Node.js 22 (Jod) reaches end of life on 30 April 2027. It has been in Maintenance LTS since 21 October 2025, which means critical bug fixes and security fixes only, and the latest release is 22.23.5, a security release from 11 November 2026. Expect its last release before the date: Node.js 20's came on 24 March 2026, five weeks early.
- Most platforms stop on the same day: Azure App Service and Functions, RHEL, Amazon Linux 2023 and Google Cloud's runtimes. AWS Lambda deprecates
nodejs22.xon 30 May 2027, a date it has moved from 30 April, and blocks updates from 31 August 2027. Some things break sooner: openenginesranges already build on Node.js 26 on Vercel and Heroku, and Angular 22, npm 12 and Astro 7 refuse older 22.x patches. - Move to Node.js 26, supported until 30 April 2029, where your platform runs it: containers, App Service on Linux, Elastic Beanstalk, Vercel and Heroku. Lambda, Azure Functions and Google Cloud's runtimes offer 26 only as a preview as of 20 November 2026, so there move to Node.js 24, supported until 30 April 2028, or wait for 26 to go GA.
On this page
Node.js 22 reaches end of life on 30 April 2027. It came out on 24 April 2024, became the Active LTS line under the codename Jod on 29 October 2024, and moved to Maintenance LTS on 21 October 2025. The latest release is 22.23.5, from 11 November 2026.
It is often the Node.js nobody chose. It is the default node on GitHub's Ubuntu 24.04, Windows Server 2025 and macOS 15 runner images, the nodejs package in Ubuntu 26.04's archive and the Node.js that RHEL 10 launched with, and it is where Microsoft told Azure customers to move their Node.js 20 apps. This page covers what ends in April, who keeps 22 running until when, and the move to 24 or 26. Node.js 20 ended on 30 April 2026; the Node.js hub has every line's dates.
What ends on 30 April 2027
Releases from the Node.js project. After 30 April 2027 there is no 22.x release of any kind. When a later security release fixes a flaw in 24 or 26, the project doesn't check whether 22 has it too: its notices say "End-of-Life versions are always affected when a security release occurs."
The last fix will probably come first. The project doesn't hold a release back for the end date. Node.js 20's final release, 20.20.2, was a security release on 24 March 2026, five weeks before its end, and Node.js 18's, 18.20.8, came on 27 March 2025. Expect 22's last patch with the spring 2027 security release, and treat anything disclosed after it as unfixed on 22.
Until then, only fixes that matter. Maintenance LTS means critical bug fixes and security updates. 22 got six security releases in 2026: in January, March, June, July, October and November. The November one, 22.23.5, fixed 11 vulnerabilities that affect 22, four rated high, among them an HTTPS flaw that lets an unauthenticated client read memory belonging to other connections, TLS private keys included (CVE-2026-123864).
OpenSSL isn't what sets the date. 22.20.0, on 24 September 2025, switched the bundled OpenSSL from 3.0 to 3.5, which the release notes say "allows Node.js 22.x to be supported through to the planned End-of-Life date". OpenSSL 3.0 ended on 7 September 2026; 3.5 is supported until 8 April 2030.
Who runs or patches Node.js 22, and until when
Where your Node.js comes from decides whose date applies. The Node.js project's date covers the nodejs.org binaries and everything built from them, such as the official Docker images and whatever nvm or actions/setup-node install. Clouds and distributions set their own dates.
| Where it runs | Until / status | What happens after | Source |
|---|---|---|---|
| Node.js project | 30 April 2027; 22.23.5 since 11 November 2026 | No more releases | Release schedule |
AWS Lambda, nodejs22.x |
Deprecated 30 May 2027 | Create blocked 29 July, update blocked 31 August 2027; invocations continue | Lambda runtimes |
| AWS Elastic Beanstalk, Node.js 22 on AL2023 | Branch retires 31 July 2027 | No platform updates; existing environments get a 90-day grace period | Elastic Beanstalk |
| Azure App Service, Linux and Windows | 30 April 2027 | Apps keep running, without security updates or customer support | Azure update 567334 |
| Azure Functions | 30 April 2027; the last Node.js on the Linux Consumption plan | Apps run and deploy, unpatched; may be limited to one instance | Azure update 572771 |
Cloud Run and Cloud Run functions, nodejs22 |
Deprecated 30 April 2027 | Decommissioned 31 October 2027: no deploys, and workloads may be disabled | Google Cloud |
App Engine standard, nodejs22 |
End of support 30 April 2027 | No patches or deployments; apps keep serving. Deprecated 30 April 2028 | Google Cloud |
| Vercel | 22.x selectable; no end announced | Vercel blocked new deployments on 18 four months after its end, and on 20 five months after | Vercel |
| RHEL 8.10, 9 and 10, Node.js 22 stream | Retires April 2027 | Retired streams "do not receive updates or Errata" | Red Hat |
Amazon Linux 2023, nodejs22 |
30 April 2027; 22.23.2 in the 21 October 2026 package list | End of support | AL2023 packages |
Ubuntu 26.04, nodejs in Universe |
22.22.1 since 29 March 2026, never updated | Outside Canonical's free security coverage | Launchpad |
Alpine 3.22, nodejs in main |
22.23.5; branch supported until 1 May 2027 | Alpine 3.23 and 3.24 ship Node.js 24 in main | Alpine |
Docker official images, node:22 |
Rebuilt for every release; 22.23.5 | Not announced; node:20 was dropped the day after its end |
official-images |
| GitHub-hosted runners | Default node on Ubuntu 24.04, Windows Server 2025 and macOS 15 |
Not announced; Node.js 20 was removed 19 to 26 May 2026 | runner-images |
Lambda's extra month is operating-system patches only. AWS's table gives 30 May 2027 for nodejs22.x. endoflife.date, which mirrors that table, still had 30 April 2027 until 13 November 2026. AWS's policy says that when it delays a deprecation past the language's end of support, "Lambda only applies security patches to the runtime OS", so Node.js fixes on Lambda stop on 30 April like everywhere else. From deprecation the Lambda console stops creating or updating nodejs22.x functions; the CLI, AWS SAM and CloudFormation still can until 31 August 2027. After that you can still switch a function to a newer runtime, but not back.
Azure Functions on Linux Consumption has no next version. Node.js 22 is the last Node.js that plan gets, and the plan itself retires on 30 September 2028. Moving a Linux Consumption app to Node.js 24 means moving it to Flex Consumption first.
Ubuntu's own package is the one to avoid. apt install nodejs on Ubuntu 26.04 gives 22.22.1 from Universe, published on 29 March 2026 and not updated since, so it has none of the security fixes from 22.22.2 onward. Canonical's tracker still lists June's high-severity CVE-2026-48933 as "Needs evaluation" for it. Ubuntu Pro extends coverage to Universe; we couldn't confirm it has patched this package. Ubuntu 24.04's archive is older still: Node.js 18.19.1, a line that ended in April 2025.
The image's operating system changes at 26. node:22 and node:24 default to Debian 12 (bookworm). node:26, and node:lts and node:latest with it, are Debian 13 (trixie). An unpinned FROM node:lts now gets both changes at once, and apt-get package versions change along with Node.js.
What breaks first
Nothing inside 22 switches off in April. These fail earlier, or on a day you didn't choose.
Open version ranges move on their own. Vercel made Node.js 26 the default on 29 October 2026, and a project whose engines.node allows 26, such as >=20, builds and runs on 26 from its next deployment, with fetch now negotiating HTTP/2. Heroku builds any app without an engines entry on 26.x. GitHub moved ubuntu-latest to Ubuntu 26.04 between 19 October and 19 November 2026, and that image's default node is 24.22.2, not 22. Set engines.node to one major, such as "24.x" or "26.x", and pin it in CI, so the move happens when you decide:
- uses: actions/setup-node@v7
with:
node-version: 22
Old 22.x patches fail installs. Libraries now set their floor at a recent 22 patch rather than at 22.0:
- Angular 22 and Nuxt 4.6:
^22.22.3 - npm 12 and jsdom 31:
^22.22.2 - Astro 7.4.13 and WebdriverIO 10: 22.23.4 or later
- Ghost 6 and Payload 3:
^22.23.5, the 11 November release
A Docker tag pinned to 22.12 or an .nvmrc holding 22.11.0 gets this from npm:
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '@angular/core@22.3.0',
npm warn EBADENGINE required: { node: '^22.22.3 || ^24.15.0 || >=26.0.0' },
npm warn EBADENGINE current: { node: 'v22.12.0', npm: '10.9.0' }
npm warn EBADENGINE }
With engine-strict set, or under Yarn 1, it is an error. Staying on the newest 22 patch until you move fixes it, and that is also the patch with the security fixes.
Some libraries have left 22, and some haven't reached 26. semantic-release 26, from 16 November 2026, requires Node.js 26.13 or later. The AWS SDK for JavaScript v3 plans to drop 22 in January 2028, eight months after its end; AWS calls that date speculative. In the other direction, Ghost 6 lists only 22 and 24, and Gatsby 5's engines excludes 26, so check your framework before you pick 26.
Netlify Functions are expected to switch before you do. Netlify runs functions on the build's Node.js version only if it is a Lambda runtime "that isn't set to be deprecated in the next two months", and otherwise falls back to Node.js 24. With nodejs22.x deprecated on 30 May 2027, functions built on 22 should start running on 24 from about 30 March 2027 while the build stays on 22. Netlify hasn't announced that date; it is how its rule reads.
After the date, images and CI follow. For Node.js 20, Docker dropped the official image the day after its end, GitHub removed it from runner images within four weeks, and Homebrew disabled node@20 six months later. Homebrew already marks node@22 deprecated, with a disable date of 30 October 2027. Expect the same for 22: tags still pull, but stop being rebuilt, operating-system fixes included.
How to check what you run
On a machine or in a container:
node --version # v22.x is Node.js 22
node -p process.release.lts # Jod is 22, Krypton 24, Lithium 26
node -p process.versions.openssl # 3.5.x from 22.20.0 on
which -a node # more than one install is common
npx is-my-node-vulnerable # the Node.js project's check against known CVEs
In your repositories:
cat .nvmrc .node-version .tool-versions 2>/dev/null
grep -n '"node"' package.json # engines.node
grep -rnE --include='Dockerfile*' --include='Containerfile*' 'FROM .*node:(22|jod|lts|latest|current)' .
grep -rnE 'node-version:' .github/workflows/
grep -rniE 'runtime: *nodejs22' --include='*.yml' --include='*.yaml' . # SAM, Serverless, app.yaml
npm ls jwa # see "Removed APIs" below
On your platforms:
# AWS Lambda: once per region and account
aws lambda list-functions --function-version ALL --region us-east-1 --output text \
--query "Functions[?Runtime=='nodejs22.x'].FunctionArn"
# Azure App Service on Linux: NODE|22-lts means Node.js 22
az webapp config show --name APP --resource-group RG --query linuxFxVersion -o tsv
# Azure Functions on Windows: ~22 means Node.js 22
az functionapp config appsettings list --name APP --resource-group RG \
--query "[?name=='WEBSITE_NODE_DEFAULT_VERSION'].value" -o tsv
# Cloud Run functions
gcloud functions list --format="table(name,buildConfig.runtime)"
# Vercel: projects still on a Node.js version Vercel has deprecated
vercel project ls --update-required
Which version to move to: 26, or 24 where 26 is a preview
| 22 (Jod) | 24 (Krypton) | 26 (Lithium) | |
|---|---|---|---|
| First release | 24 Apr 2024 | 6 May 2025 | 5 May 2026 |
| Phase on 20 Nov 2026 | Maintenance LTS | Maintenance LTS since 20 Oct 2026 | Active LTS since 28 Oct 2026 |
| End of life | 30 Apr 2027 | 30 Apr 2028 | 30 Apr 2029 |
| Latest, 20 Nov 2026 | 22.23.5 | 24.22.3 | 26.13.1 |
| V8, bundled npm | 12.4, npm 10.9 | 13.6, npm 11.19 | 14.6, npm 11.20 |
| AWS Lambda | Deprecated 30 May 2027 | GA; deprecated 30 Apr 2028 | Public preview; GA targeted for Nov 2026 |
| Azure Functions | GA to 30 Apr 2027 | GA to 30 Apr 2028 | Preview, Linux only |
| Cloud Run functions, App Engine | GA | GA | Preview |
| Docker default variant | Debian 12 | Debian 12 | Debian 13, also lts and latest |
| Official 32-bit Windows and ARMv7 builds | Yes | No | No |
Target 26 where your platform runs it. It became Active LTS on 28 October 2026 with 26.13.0, moves to Maintenance on 20 October 2027 and is supported until 30 April 2029. It is generally available on Azure App Service for Linux, on Ubuntu 26.04 images, on Elastic Beanstalk, and on Vercel and Heroku, where it is the default. In the official Docker images it is lts and latest. Red Hat lists Node.js 26 streams for RHEL 8.10, 9 and 10 from November 2026.
Move to 24 where 26 is still a preview. As of 20 November 2026, nodejs26.x on Lambda is a public preview that AWS says isn't for production workloads, with general availability targeted for November 2026. Azure Functions offers 26 only as a preview on Linux, and Cloud Run, Cloud Run functions and App Engine label it Preview. 24 is generally available on all of them, and on Amazon Linux 2023 and Alpine 3.23 and 3.24. It is supported until 30 April 2028, so you make the next move a year sooner. Microsoft's retirement notices for 22 point to 24.
Skip 23 and 25. Both were short-lived odd-numbered releases and ended on 1 June 2025 and 1 June 2026. Node.js 27, the first line on the yearly schedule, becomes LTS on 20 October 2027, after 22 has ended.
Changes most likely to bite from 22 to 24 and 26
From the Node.js deprecations list and the 24.0.0 and 26.0.0 release notes, roughly by how often they cause work. Going straight from 22 to 26 is normal, but you get 24's and 25's changes along the way.
1. Native addons must be rebuilt. High if you have any. Every major changes the ABI: NODE_MODULE_VERSION is 127 on 22, 137 on 24 and 147 on 26. An addon built for 22 and copied into a 26 image fails at require():
Error: The module '/app/node_modules/example/build/Release/addon.node'
was compiled against a different Node.js version using
NODE_MODULE_VERSION 127. This version of Node.js requires
NODE_MODULE_VERSION 147.
Run npm ci inside the new image rather than copying node_modules across. Addons built on Node-API are not affected.
2. Removed APIs that old dependencies still call. High. The ones that turn up in lockfiles:
util.isDate(),util.isRegExp()and the otherutil.is*()helpers, exceptisArray, were removed in 23, so on 24 they fail withTypeError: util.isDate is not a function.SlowBufferwas removed in 25.jwa1.4.1 and 2.0.0, whichjsonwebtokenpulls in throughjws, loadbuffer-equal-constant-time, which readsSlowBuffer.prototypeas it loads and crashes on 26 withTypeError: Cannot read properties of undefined (reading 'prototype').jwa1.4.2 and 2.0.1, from May 2025, avoid it;npm ls jwashows what your lockfile has.fs.rmdir(path, { recursive: true })throwsERR_INVALID_ARG_VALUE("is no longer supported") from 25. Usefs.rm(path, { recursive: true, force: true }).- 26 removed
res.writeHeader()and the internal_stream_readable-style modules; 24 removedtls.createSecurePair().
The Node.js project publishes codemods for several of these: npx codemod@latest @nodejs/util-is, @nodejs/slow-buffer-to-buffer-alloc-unsafe-slow and @nodejs/rmdir.
3. fetch negotiates HTTP/2 (26). Medium. Node.js 26 ships Undici 8, which enables HTTP/2 by default, so fetch to a server that offers it over TLS now uses it. Test calls to internal services, proxies and load balancers. Vercel's opt-out is the VERCEL_FETCH_DISABLE_H2 environment variable; in your own code, an undici Agent takes allowH2: false.
4. AsyncLocalStorage runs on AsyncContextFrame (24). Medium for tracing. Context propagation changed implementation. Request IDs and APM spans are where differences show, so update tracing and APM agents to versions that list 24 or 26 support.
5. Platforms dropped (24). Medium on Windows and 32-bit ARM. 24 and 26 have no official 32-bit Windows or ARMv7 binaries, which rules out 32-bit Raspberry Pi OS, and need macOS 13.5 or later. On Azure App Service for Windows, Node.js 24 and 26 need the app's platform set to 64-bit.
6. New deprecation warnings (24, 26). Low, but noisy. From 24, calling url.parse() from your own code, not from node_modules, prints:
(node:4242) [DEP0169] DeprecationWarning: `url.parse()` behavior is not standardized and prone to errors that have security implications. Use the WHATWG URL API instead. CVEs are not issued for `url.parse()` vulnerabilities.
Passing an args array to spawn() or execFile() with shell: true prints DEP0190. On 26, module.register(), which custom ESM loader hooks use, prints DEP0205; the replacement is module.registerHooks().
7. TypeScript flags (26). Low. Type stripping, on by default since 22.18.0, still runs .ts files with erasable syntax. --experimental-transform-types, which handled enums and namespaces, is gone, and a script that passes it stops with node: bad option: --experimental-transform-types.
8. Smaller ones (26). Low. Temporal is now a global, which can clash with code that installs a polyfill under that name. GCM decryption with an authentication tag shorter than 16 bytes now needs an explicit authTagLength.
How to upgrade
Update to the newest 22 patch first. It clears the
enginesfloors above and is the version with the security fixes.Run your tests with deprecations as errors, still on 22. The
util.is*()helpers that 24 no longer has are runtime-deprecated on 22, so this finds them before anything else changes:NODE_OPTIONS=--throw-deprecation npm testAdd the target to CI next to 22, and rebuild native modules inside the new image.
Change where it runs:
FROM node:26-slimornode:24-slim,node-versionin CI,engines.node,.nvmrc,nodejs24.xon Lambda,NODE|24-ltson App Service for Linux,~24inWEBSITE_NODE_DEFAULT_VERSIONon Windows, andnodejs24inapp.yamland on Cloud Run functions.Ship behind a canary or a deployment slot, then retire the 22 build.
If you can't move by 30 April 2027
On Lambda, plan for 30 April, not 31 August. Deploys keep working until 31 August 2027, but Node.js fixes stop on 30 April and runtime patches on 30 May. Move functions before then, so a runtime change never rides along with an urgent hotfix.
No paid extended support covers 22 yet. HeroDevs' Never-Ending Support and TuxCare's Endless Lifecycle Support, both named on nodejs.org's end-of-life page, list Node.js versions up to 20, at prices given only on request. Expect them to add 22 after April, as they added earlier lines.
Freeze deliberately. Pin your lockfile, pin base images by digest rather than tag, and turn off automatic runtime updates for that service. A half-updated environment on an unsupported runtime is harder to reason about than a frozen one.
Write down the date you are deferring to. Node.js 20 shows how it goes: Docker dropped it the next day, GitHub's runners within a month, and Vercel and Google Cloud's function runtimes within six.
Sources
- Node.js: Release schedule and its schedule data, the release index, the 22.x changelog, Evolving the Node.js release schedule, end-of-life versions and commercial support, and the June, July, October and November 2026 security releases
- Breaking changes: Node.js deprecations, the 24.0.0 and 26.0.0 release notes, platform support, Undici 8.0.0 and jwa
- AWS: Lambda runtimes, runtime deprecation policy, Elastic Beanstalk retiring platforms, the Amazon Linux 2023 package list, the AWS SDK for JavaScript support schedule and endoflife.date's Lambda record change
- Azure: App Service retirement of Node 22, Functions retirement of Node.js 22, Functions supported languages and language support policy, App Service Node.js configuration and the Node.js 26 on App Service announcement
- Google Cloud: Cloud Run functions runtime support, Cloud Run runtime support, the App Engine support schedule and runtime lifecycle
- Vercel, Netlify, Heroku: Vercel Node.js versions, Node.js 26 on Vercel, the Node.js 18 and Node.js 20 deprecations, Netlify Functions runtime and Heroku Node.js support
- Linux: Red Hat Application Streams life cycle, the Ubuntu archive, CVE-2026-48933 on Ubuntu, Alpine releases and Alpine packages
- Images and CI: docker-library official images, runner images for Ubuntu 24.04 and Ubuntu 26.04, the ubuntu-latest move, the Node.js 20 removal and Homebrew's node@22
- Library requirements on npm: @angular/core, nuxt, npm, jsdom, astro, webdriverio, ghost, payload, semantic-release and gatsby
- endoflife.date: Node.js: the dates in the status box, MIT licensed
Common questions
When is Node.js 22 end of life?
Is Node.js 22 still supported?
Is Node.js 22 an LTS version?
Should I upgrade from Node.js 22 to 24 or 26?
When does AWS Lambda stop supporting nodejs22.x?
nodejs22.x runtime on 30 May 2027, a month after Node.js 22's end. It blocks creating new functions from 29 July 2027 and updating existing ones from 31 August 2027; existing functions can still be invoked. Between 30 April and 30 May, AWS's policy is to patch only the operating system, not Node.js itself.What happens to Node.js 22 apps after 30 April 2027?
nodejs22 apps, Google decommissions its Cloud Run nodejs22 runtime on 31 October 2027, and Lambda's blocks follow in July and August 2027.What is the latest version of Node.js 22?
Will Docker and GitHub Actions drop Node.js 22?
node image on 1 May 2026, the day after its end, and GitHub removed it from its runner images between 19 and 26 May 2026. Tags you already pull keep working, but stop being rebuilt.Version guides
Other Node.js versions, in depth.1
Also on the calendar
End-of-life dates for the rest of your stack.
Languages and runtimes5
Frameworks6
Infrastructure tools2
Cloud services3
Operating systems6
Dates checked against endoflife.date (MIT). How we check datesReport a wrong dateEvery Node.js version