Node.js 20 End of Life (EOL): 30 April 2026, and How to Get Off It
Node.js 20 reached end of life on 30 April 2026, and 20.20.2 was its last release. It still runs, but four security releases have skipped it since, and the platforms around it are closing one by one.
Written Shahzeb Umer
SubscribeStatus
No longer supportedLTS
Support ended .
- Since end of life
- 213 days
- Final release
- 20.20.2
- Move to
- Node.js 26fixed until 30 Apr 2029
3 years of support
- Bug and security fixes18 Apr 2023 – 22 Oct 2024
- Security fixes only22 Oct 2024 – 30 Apr 2026
- No fixes30 Apr 2026 – today
Supported for 3 years, from 18 Apr 2023 to 30 Apr 2026.
Who still patches it
Ten places Node.js 20 runs, nine deadlines.
- Node.js project (upstream): Ended 30 Apr 2026
- AWS Lambda (nodejs20.x): Updates blocked 31 Aug 2027
- Azure App Service, Functions (Node 20): Ended 30 Apr 2026
- Cloud Run functions (nodejs20, also Cloud Run): Decommissioned 30 Oct 2026
- Vercel (Builds and Functions): New deploys fail since 1 Oct 2026
- RHEL 8 and 9 (Node.js 20 stream): Retired Apr 2026
- Amazon Linux 2023 (nodejs20): Ended 30 Apr 2026
- Docker image (node:20): Last pushed 22 Apr 2026
- Debian 13 (nodejs 20.19.2): Security team, then LTS to Jun 2030
- HeroDevs, TuxCare (paid patched builds): Quote only, no end announced
Where to move
Be on Node.js 26.
The short version
- Node.js 20 (Iron) reached end of life on 30 April 2026. Its last release was 20.20.2, a security release on 24 March 2026. Since then the project has shipped four security releases for 22, 24 and 26, fixing about 50 vulnerabilities, and none for 20: its notices say end-of-life versions "are always affected".
- The platforms have moved on. Docker dropped
node:20on 1 May 2026, GitHub removed it from its runners in May and September, Vercel refuses new Node.js 20 deployments since 1 October, and Google decommissioned itsnodejs20functions runtime on 30 October. AWS Lambda blocks creatingnodejs20.xfunctions from 29 July 2027 and updating them from 31 August 2027. - Move to Node.js 26, supported until 30 April 2029, or to 24, supported until 30 April 2028, where your platform doesn't run 26 yet. Skip 22: it ends on 30 April 2027. If you can't move yet, Debian 13 still patches its own Node.js 20 package, and HeroDevs and TuxCare sell patched builds.
On this page
Node.js 20 reached end of life on 30 April 2026. The Node.js project's last release for it was 20.20.2, a security release on 24 March 2026, and the line gets nothing further, security fixes included.
Your Node.js 20 code keeps running. Nothing in it checks the date, and an app on 20.20.2 today behaves as it did in April. What ended is the supply of fixes, and in the six months since, the images, CI runners and hosting platforms around 20 have dropped it one after another. This page covers what that means, who still patches 20, and how to get off it.
20.0.0 came out on 18 April 2023, became the Active LTS line under the codename Iron on 24 October 2023 with 20.9.0, and moved to Maintenance LTS on 22 October 2024: three years in all. If you're on 22 instead, its end is five months away: see Node.js 22.
What stopped on 30 April 2026
Releases, including security releases. Since 30 April the Node.js project has shipped four security releases, in June, July, October and November 2026, for 22, 24 and 26 only. Together they fixed about 50 vulnerabilities. The project no longer checks whether 20 is affected; every one of those notices says "End-of-Life versions are always affected when a security release occurs." Some of the fixes are in code 20 doesn't have, such as node:sqlite. Others are in code it does: the HTTP/2 server, TLS hostname verification, and the bundled Brotli decoder, where October's CVE-2026-111497 allows an out-of-bounds write that can lead to remote code execution.
The bundled OpenSSL is ending too. 20.20.2 bundles OpenSSL 3.0.19, and OpenSSL 3.0 itself reached end of life on 7 September 2026. Node.js 22 switched to OpenSSL 3.5 in 22.20.0 for exactly this reason, so that it could be supported to its own end date. 20 never got that change.
What you can check. The Node.js project's own tool lists the known vulnerabilities for your exact version:
npx is-my-node-vulnerable
What has broken since
The pattern after an end date is that the runtime keeps working and the things around it stop. For Node.js 20, in order:
- 1 May 2026: Docker removed Node.js 20 from the official
nodeimage.node:20was last pushed on 22 April and still pulls, but its Debian or Alpine layer is never rebuilt. - 19 to 26 May 2026: GitHub's runner images dropped Node.js 20 from their tool cache and made 22 the default
node.actions/setup-nodestill downloads 20.20.2 on request. - 9 July 2026: the Azure SDK for JavaScript made Node.js 22 its minimum.
- August 2026: AWS Elastic Beanstalk announced the retirement of its Node.js 20 platform branch on Amazon Linux 2023, with a 90-day grace period for existing environments.
- 23 September 2026: GitHub Actions stopped running JavaScript actions on Node.js 20. An action whose
action.ymlsaysusing: node20needs a release that saysnode24, and theACTIONS_ALLOW_USE_UNSECURE_NODE_VERSIONopt-out is gone. - 1 October 2026: Vercel disabled Node.js 20 for builds and functions. Deployments already live keep serving, but a new deployment of a Node.js 20 project fails with an error.
- 28 October 2026: Homebrew disabled
node@20. - 30 October 2026: Google Cloud decommissioned
nodejs20on Cloud Run and Cloud Run functions. You can no longer deploy on it, and Google says workloads still using a decommissioned runtime may be disabled. On App Engine standard,nodejs20stopped taking deployments on 30 April 2026.
Still to come:
- January 2027: the AWS SDK for JavaScript v3 ends Node.js 20 support, a date AWS calls speculative.
- 29 July 2027: Lambda blocks creating
nodejs20.xfunctions. - 31 August 2027: Lambda blocks updating them, so a deploy that still names
nodejs20.xfails.
Installs fail on version checks. Packages declare the Node.js versions they support in engines, and as of 20 November 2026 these current releases require 22 or later: Angular 22, Nuxt 4.6, Vitest 5, Astro 7, SvelteKit 3, React Router 8, jsdom 31, npm 12, Expo 58 and React Native 0.88, Wrangler, the Netlify CLI, firebase-admin 14, the Google Cloud and Azure client libraries, and the OpenAI SDK 7. npm warns and installs anyway:
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: 'vitest@5.1.1',
npm warn EBADENGINE required: { node: '^22.12.0 || ^24.0.0 || >=26.0.0' },
npm warn EBADENGINE current: { node: 'v20.20.2', npm: '10.8.2' }
npm warn EBADENGINE }
Yarn 1 stops instead, as does npm with engine-strict. npm 12 itself doesn't support 20: installed anyway, it prints "npm v12.2.3 does not support Node.js v20.20.2" on every run, so stay on npm 10 or 11 until you move. Next.js 16, Vite 8 and ESLint 10 still install on 20, but Vite and ESLint only from 20.19, the release that turned on require() of ES modules.
Netlify Functions already run on 24. Netlify uses the build's Node.js version for functions only if it is a Lambda runtime "that isn't set to be deprecated in the next two months"; otherwise it falls back to Node.js 24. nodejs20.x was deprecated on 30 April 2026, so functions from a site that builds on 20 should already be running on 24. Netlify hasn't announced this per version; check the runtime in the function's logs.
Who still patches Node.js 20
| Who | Status on 20 November 2026 | Until | Source |
|---|---|---|---|
| Node.js project | Ended 30 April 2026; last release 20.20.2 | No more releases | Release schedule |
Debian 13, nodejs 20.19.2 |
Patched by Debian's security team; DSA-6517-1 backported 17 fixes on 26 September 2026 | Security team to about August 2028, then expected under Debian LTS to 30 June 2030 | Debian tracker |
| HeroDevs Never-Ending Support | Patched builds for Node.js 12 to 20, as binaries and container images | No end announced; price on request | HeroDevs |
| TuxCare Endless Lifecycle Support | Fixes for Node.js 12 to 20 through package managers | No end announced; no public price | TuxCare |
AWS Lambda, nodejs20.x |
Deprecated 30 April 2026: AWS "may no longer apply security patches" | Create blocked 29 July 2027, update blocked 31 August 2027 | Lambda |
| Azure App Service and Functions | Ended 30 April 2026; apps keep running without security updates | Functions may limit unsupported apps to one instance | Azure update 485072, 502957 |
Cloud Run and Cloud Run functions, nodejs20 |
Decommissioned 30 October 2026 | No deploys; workloads may be disabled | Google Cloud |
App Engine standard, nodejs20 |
End of support 30 April 2026: no patches or deploys; apps keep serving | Deprecated 30 April 2027 | Google Cloud |
| RHEL 8 and 9, Node.js 20 stream | Retired April 2026 | Retired streams "do not receive updates or Errata" | Red Hat |
Amazon Linux 2023, nodejs20 |
End of support 30 April 2026, at 20.20.2 | No more updates | AL2023 packages |
| Alpine | Last in main in 3.20, at 20.15.1; that branch ended 1 April 2026 | 3.21 and 3.22 ship 22 | Alpine |
| Ubuntu | No LTS ships it: 24.04 has Node.js 18, 26.04 has 22 | Not applicable | Ubuntu archive |
Debian 13 is the long tail. Its default nodejs is 20.19.2, and Debian backports fixes rather than moving to new upstream releases, so node --version keeps printing v20.19.2 after an update. DSA-6517-1, on 26 September 2026, fixed 17 CVEs from the June and July releases. Debian has kept this up past upstream's end before: Debian LTS shipped DLA-4809-1 for Debian 12's Node.js 18 on 1 October 2026, 17 months after the Node.js project dropped 18. It isn't fast, though. On 20 November the tracker still listed the October and November fixes as open for Debian 13, and it has postponed at least one of the July fixes there.
node:20-bookworm is not Debian's Node.js. The official Docker image installs the nodejs.org binaries on a Debian base, so Debian patches the operating system layer and nobody patches the Node.js in it. The same goes for nvm, actions/setup-node and a tarball from nodejs.org.
Paid support is meant as a bridge. nodejs.org names HeroDevs, NodeSource and TuxCare as its commercial partners for end-of-life versions, and says that using them "should be viewed as a temporary solution". NodeSource's offer is an upgrade program, not patched builds. Neither HeroDevs nor TuxCare publishes prices.
How to check what you run
On a machine or in a container:
node --version # v20.x is Node.js 20
node -p process.release.lts # Iron is 20
node -p process.versions.openssl # 3.0.x on 20
which -a node # more than one install is common
dpkg -l nodejs 2>/dev/null # Debian's package: 20.19.2+dfsg-1+deb13u3 or later
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:(20|iron)' .
grep -rnE 'node-version:' .github/workflows/
grep -rniE 'runtime: *nodejs20' --include='*.yml' --include='*.yaml' . # SAM, Serverless, app.yaml
grep -rn 'using:.*node20' --include='action.yml' --include='action.yaml' . # your own GitHub Actions
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=='nodejs20.x'].FunctionArn"
# Azure App Service on Linux: NODE|20-lts means Node.js 20
az webapp config show --name APP --resource-group RG --query linuxFxVersion -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
AWS also lists affected functions in the Health Dashboard's scheduled changes and in Trusted Advisor's deprecated-runtimes check.
Where to move: 26, or 24 where 26 isn't GA yet
Skip 22. It ends on 30 April 2027, so a move to 22 now is a second migration within months. The Node.js project made the same call in June 2025, telling Node.js 18 users to "skip 20 entirely and go straight to Node.js 22". Microsoft illustrates the cost: it told Azure customers in 2025 to move Node.js 20 apps to 22, then on 24 August 2026 announced 22's retirement and pointed them to 24.
Target 26 where your platform runs it. It has been Active LTS since 28 October 2026 and is supported until 30 April 2029. As of 20 November 2026 it is generally available in the official Docker images, where it is lts and latest, on Azure App Service for Linux, Elastic Beanstalk, Vercel and Heroku, and in RHEL's Node.js 26 streams.
Use 24 where 26 is still a preview. On AWS Lambda, nodejs26.x is a public preview not meant for production, with general availability targeted for November 2026. Azure Functions offers 26 only as a Linux preview, and Cloud Run functions and App Engine label it Preview. 24 is generally available everywhere above, including Amazon Linux 2023, and is supported until 30 April 2028. Lambda functions on 20 can still be updated until 31 August 2027, so waiting for nodejs26.x to go GA is an option there. The Node.js 22 page compares 22, 24 and 26 platform by platform.
Upgrading from 20: what breaks
You cross 22's breaking changes either way, plus 24's and 26's. Roughly by how often they cause work:
1. Native addons must be rebuilt. High if you have any. NODE_MODULE_VERSION is 115 on 20, 137 on 24 and 147 on 26. An addon built for 20 fails at require() with "was compiled against a different Node.js version using NODE_MODULE_VERSION 115". Run npm ci inside the new image instead of copying node_modules; addons built on Node-API are unaffected.
2. Import assertions are gone (22). High for ES modules that import JSON. The assert keyword is a syntax error from 22:
import config from './config.json' assert { type: 'json' };
// SyntaxError: Unexpected identifier 'assert'
import config from './config.json' with { type: 'json' };
20.10 and later already accept with, so you can change it before you switch runtimes.
3. Removed APIs that old code and dependencies still call. High.
crypto.createCipher()andcrypto.createDecipher()were removed in 22:TypeError: crypto.createCipher is not a function.createCipheriv()replaces them, but data they encrypted used their MD5-based key and IV derivation, so decrypting it means reproducing that derivation. A codemod exists:npx codemod @nodejs/crypto-createcipheriv-migration.util.isDate(),util.isRegExp()and the otherutil.is*()helpers exceptisArrayare deprecated on 22 and removed from 23. Run your tests on 22 withNODE_OPTIONS=--throw-deprecationto find them, or applynpx codemod@latest @nodejs/util-is.SlowBufferwas removed in 25, which crashes oldjwareleases thatjsonwebtokenpulls in, andfs.rmdir(path, { recursive: true })throws from 25. The Node.js 22 page has both, with fixes.
4. Platforms dropped (22, 24). Medium. 22 needs macOS 11 or later. 24 and 26 have no official 32-bit Windows or ARMv7 builds 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, where 20 may have run as 32-bit.
5. Streams buffer more (22). Low to medium. The default highWaterMark for streams went from 16 KiB to 64 KiB, which raises memory use per stream and changes the chunk sizes code sees.
6. require() of ES modules works (22.12, and 20.19). Low, mostly good. Code that caught ERR_REQUIRE_ESM to fall back to import() takes a different path; an ES module with top-level await throws ERR_REQUIRE_ASYNC_MODULE instead.
7. On the way to 26: fetch negotiates HTTP/2, AsyncLocalStorage runs on a new implementation, url.parse() warns, and --experimental-transform-types is gone. The Node.js 22 page covers each.
How to do it: move to the newest 20 patch, run the tests with --throw-deprecation on 22 to find removals early, then add the target version to CI and switch runtime settings: FROM node:26-slim or node:24-slim, nodejs24.x on Lambda, NODE|24-lts on App Service for Linux, ~24 in WEBSITE_NODE_DEFAULT_VERSION on Windows, nodejs24 in app.yaml, and engines.node.
If you can't move yet
Put a security team back behind the runtime. Switching a container from node:20-slim to debian:trixie-slim with apt-get install nodejs npm gives you Debian's patched 20.19.2, with the lag described above. It is a smaller change than a major version upgrade, at the cost of Debian's packaging and its slower fixes.
Or pay for patched builds. HeroDevs and TuxCare cover Node.js 20 with prices on request. Treat it as time bought for the upgrade, which is how nodejs.org describes it.
On Lambda, move before 31 August 2027. After that date, a hotfix to a nodejs20.x function fails unless it also changes the runtime, and once updates are blocked you can't roll a function back to nodejs20.x.
Freeze deliberately. Pin your lockfile, pin base images by digest rather than tag, and turn off automatic dependency updates for that service. Write down the date you are deferring to, and who decided it.
Sources
- Node.js: Release schedule, the release index, the 20.x changelog, end-of-life versions and commercial support, Beware of End-of-Life Node.js Versions, is-my-node-vulnerable, and the March, June, July, October and November 2026 security releases
- Breaking changes: Node.js deprecations, the 22.0.0, 24.0.0 and 26.0.0 release notes, 20.19.0, ES modules: import attributes and platform support
- AWS: Lambda runtime deprecation, Lambda runtimes, Elastic Beanstalk release notes and platform retirement policy, the Amazon Linux 2023 package list and the AWS SDK for JavaScript support schedule
- Azure: App Service retirement of Node 20, Functions retirement of Node.js 20, App Service retirement of Node 22, Functions language support policy, App Service Node.js configuration and the Azure SDK for JavaScript's Node.js 20 end
- Google Cloud: Cloud Run functions runtime support, Cloud Run runtime support, the App Engine support schedule and runtime lifecycle
- Vercel, Netlify, Heroku: Node.js 20 is being deprecated, Vercel Node.js versions, Netlify Functions runtime and Heroku Node.js support
- GitHub and images: Node 20 is no longer available in GitHub Actions, the runner image change, docker-library official images, Docker Hub: node:20 and Homebrew's node@20
- Linux: the Debian security tracker for nodejs, DSA-6517-1, DLA-4809-1, Debian LTS, Red Hat Application Streams life cycle, Alpine releases and the Ubuntu archive
- Paid support: HeroDevs NES for Node.js and TuxCare Node.js extended support
- Library requirements on npm: @angular/core, nuxt, vitest, astro, @sveltejs/kit, react-router, jsdom, npm, firebase-admin, @google-cloud/storage, openai, next, vite and eslint
- endoflife.date: Node.js: the dates in the status box, MIT licensed
Common questions
Is Node.js 20 still supported?
nodejs 20.19.2, which Debian's security team still patches, and paid builds from HeroDevs and TuxCare.Is it safe to keep running Node.js 20?
What is the last version of Node.js 20?
What should I upgrade Node.js 20 to?
Should I upgrade from Node.js 20 to 22?
Can I still deploy Node.js 20 to AWS Lambda?
nodejs20.x on 30 April 2026: since then AWS may no longer patch it, it gets no technical support, and the Lambda console no longer creates or updates it, though the CLI, AWS SAM and CloudFormation still do. Lambda blocks creating nodejs20.x functions from 29 July 2027 and updating them from 31 August 2027. Existing functions keep running.Why does npm install fail on Node.js 20?
engines, and many current releases now require 22 or later, among them Angular 22, Nuxt 4.6, Vitest 5, Astro 7, npm 12 and the Azure and Google Cloud SDKs. npm warns with EBADENGINE and installs anyway; Yarn 1, or npm with engine-strict, refuses.Who still patches Node.js 20?
nodejs 20.19.2 on 26 September 2026. HeroDevs and TuxCare sell patched builds, with prices on request. NodeSource sells upgrade help, not patches.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