The node 22 end of life date is 30 April 2027. My plan is to identify every agent service still running Node.js 22, check what each dependency supports, and move those services to a supported LTS release before that deadline. The difficult part is not changing Node.js. It is finding everything that depends on it.
A common pattern: an agent’s main application gets updated, but a separate webhook handler still runs inside an older container. The workflow engine has its own runtime requirements, and a scheduled script uses an image nobody has reviewed recently. Each component works independently, so the runtime mismatch is easy to miss.
This note is for founders and small engineering teams running AI agents, tool servers, workflow workers and serverless functions. I will cover the published deadlines, the choice between Node.js 24 and 26, and the upgrade sequence I would use.
When does Node.js 22 reach end of life, and what follows it?
According to the official Node.js release schedule, Node.js 22, codenamed Jod, entered Maintenance LTS on 21 October 2025 and reaches end of life on 30 April 2027.
Maintenance LTS is the last supported phase of an LTS line before end of life. The Node.js previous releases page says production applications should only use Active LTS or Maintenance LTS releases.
The published schedule gives me three relevant versions:
- Node.js 22 (Jod): Maintenance LTS, ending 30 April 2027.
- Node.js 24 (Krypton): Maintenance LTS, ending 30 April 2028.
- Node.js 26 (Lithium): Active LTS, ending 30 April 2029.
Node.js 20 is already marked EOL on the official previous-releases page. I would not treat it as a fallback merely because an older package still accepts it.
The schedule also changes how I think about future upgrades. Starting with Node.js 27, the project moves to an annual major-release cycle, with every major version progressing to LTS. The published schedule lists Node.js 27 entering LTS on 20 October 2027.
That makes runtime maintenance a recurring engineering responsibility rather than an occasional cleanup project.
For me, the important distinction is between a release being supported and an application being ready to run on it. Those are different questions.
A runtime can have a valid support window while an important dependency has not yet documented compatibility.
The node.js 22 eol date therefore becomes a planning boundary, not a reason to upgrade everything blindly.
Why does a runtime deadline hit agent stacks harder?
An ordinary application may have a relatively visible deployment path: application code, dependencies, a build image and a production runtime.
An agent stack often has more independent execution points.
A common pattern: the main agent application calls a tool server, which triggers a webhook, which starts a workflow, which eventually calls another service. The main application can be current while a small service in the middle still runs an older Node.js image.
I think about the runtime as part of the tool-call dependency chain.
If a tool server cannot start after an upgrade, the agent may still generate a reasonable response but fail to complete the requested action. If a webhook handler behaves differently, the problem may appear in the workflow rather than in the agent’s initial response.
Several components deserve separate attention:
- Tool servers: Processes that expose actions or data to an agent.
- Webhook handlers: Services that receive external events and pass them into workflows.
- Background workers: Processes that handle queued or delayed tasks.
- Workflow engines: Systems with their own documented runtime compatibility.
- Serverless functions: Independently deployed code using a provider-managed runtime.
- Scheduled scripts: Small jobs that may not share the application’s deployment process.
MCP and other tool-calling servers can be especially easy to overlook because they are often maintained separately from the main application.
I do not assume that upgrading the application upgrades those services.
The question I ask is simple: Which executable actually receives this tool call, and which Node.js runtime starts it?
That answer matters more than the version listed in the main repository.
Should an agent stack move to Node.js 24 or 26?
My starting preference is to use the newest supported LTS release that the complete service stack can actually run.
That does not mean choosing Node.js 26 everywhere immediately.
The official schedule gives Node.js 24 support through 30 April 2028 and Node.js 26 through 30 April 2029. Node.js 26 therefore offers a longer published support window, but compatibility still determines the practical target.
For workflow infrastructure, I would check the application’s own requirements before selecting a runtime.
The n8n npm installation documentation states that n8n requires a Node.js version between 20.19 and 24.x, inclusive.
As of 18 November 2026, that documented range does not include Node.js 26.
My choice would be:
- n8n workers: Target Node.js 24 for npm-based installations until n8n documents support for a newer release.
- Independent agent services: Evaluate Node.js 26 when their dependencies and deployment environment support it.
- Shared runtime environments: Separate incompatible services rather than forcing every component onto one version.
- Older integrations: Test the actual dependency chain before choosing the target.
The AI voice agent shown in my work includes an n8n workflow layer for booking, human handoff, and voicemail with callback handling.
That is the kind of component I would include in a runtime inventory. I am not making a claim about which Node.js version or hosting environment that particular build uses.
I have also written about choosing n8n or custom code for an agent. The same architectural distinction matters here: a workflow engine and a custom tool service do not necessarily need identical runtime targets.
For me, node 24 lts is a sensible compatibility-first choice where documented dependencies require it. Node.js 26 is worth evaluating for independent services that can use its longer lifecycle.
Is an agent service still pinned to Node.js 22?
I can help inventory the runtimes and plan the upgrade before 30 April 2027.
What changes for Lambda functions on nodejs22.x?
AWS Lambda has its own runtime lifecycle dates, separate from the upstream Node.js schedule.
The official AWS Lambda runtimes documentation publishes the following dates for nodejs22.x:
- 30 May 2027: Runtime deprecation.
- 29 July 2027: Function creation using that runtime is blocked.
- 31 August 2027: Function updates using that runtime are blocked.
These are distinct milestones, and the Lambda nodejs22.x deprecation is only the first of them.
The upstream Node.js 22 end-of-life date arrives first. Lambda’s deprecation date follows, and the later restrictions affect creating and updating functions using the deprecated runtime.
I would not use the final update-block date as the engineering deadline.
A function may need a dependency change, configuration adjustment, or deployment correction during the migration. Leaving that work until updates are restricted makes the process harder to manage.
The AWS documentation also lists 30 April 2028 as the deprecation date for nodejs24.x.
That matters when choosing a replacement. Moving to a supported runtime addresses the immediate deadline, but it does not eliminate the need for future runtime maintenance.
A common pattern: a small Lambda function handles one agent tool action and receives little attention because the surrounding workflow rarely changes. Its runtime can remain pinned while the rest of the system moves forward.
I would inventory those functions independently, including their deployment definitions and build dependencies.
This is part of the broader shift I discussed in how cloud engineering changes when managing AI agents. The operational unit is not just a server. It is every component that must execute correctly for the agent to finish its work.

How do I run the upgrade without breaking tool calls?
I would treat this as a controlled dependency migration, not a search-and-replace operation.
The goal is to make runtime ownership visible, test the complete tool path, and keep a practical rollback route.
Here is the sequence I would follow.
-
Inventory the execution points: Find every container, base image, CI image, serverless function, workflow worker, scheduled script and webhook handler. Record its current runtime and how it is deployed.
-
Map the dependencies: Check application packages, native modules, SDKs, workflow engines and deployment tooling against the intended Node.js release. Keep unsupported combinations visible rather than assuming they will work.
-
Choose targets by service: Use Node.js 24 where documented compatibility requires it. Evaluate Node.js 26 separately for services that can support it.
-
Build in staging: Recreate the relevant deployment environment with the replacement runtime. Include the actual build process, environment configuration and service startup.
-
Run agent evaluations: Test representative agent requests, tool selection, tool-call arguments, responses, failures, retries and handoffs. Check that the expected action actually completes, not just that the agent produces text.
-
Roll out by service: Deploy smaller components independently where the architecture permits. Watch execution errors and workflow behaviour, and retain a tested rollback path that respects runtime support and deployment restrictions.
The table below is how I would turn the inventory into an actionable review.
| Where Node.js runs in an agent stack | What the 2027 dates mean | What I do first |
|---|---|---|
| Agent API or tool server in a container | Node.js 22 reaches EOL on 30 April 2027 | Inspect the base image and runtime pin |
| MCP or tool-calling server | A separate tool process may remain on Node.js 22 | Trace the executable and its dependencies |
| n8n workflow workers | Documented npm support currently stops at Node.js 24.x | Check installation method and runtime compatibility |
| AWS Lambda functions on nodejs22.x | Deprecation and creation/update restrictions follow the upstream EOL | Inventory function runtimes and deployment definitions |
| CI/CD build images | Build tooling may remain pinned after production changes | Review pipeline images and native dependency builds |
| Scheduled scripts and webhooks on a VPS | Small background processes can retain an outdated runtime | Find service definitions and scheduled commands |
I would keep this inventory beside the deployment configuration rather than bury it in a general maintenance document.
For the testing side, my AgentOps production notes provide a useful companion to this approach.
The central test is whether an agent can still complete its intended tool calls across the entire path.
For teams that need help mapping those boundaries, I describe the broader infrastructure work under cloud and agent infrastructure.
A successful application startup is only the beginning of validation.
What can’t an upgrade plan fix?
A runtime upgrade cannot resolve every compatibility or architectural problem.
Some third-party packages may lag behind a new Node.js release. Native modules may require rebuilding or code changes. A workflow engine may support a narrower range than the underlying runtime project.
I would rather keep those constraints visible than present a single runtime version as the correct answer for every service.
There are also limits to the published dates.
The Node.js Release Working Group states that its schedule is subject to change. I would recheck the official schedule and relevant application documentation before making a production change.
The Node.js previous releases page also describes commercial support beyond Maintenance LTS through partners in the OpenJS Ecosystem Sustainability Program.
That may provide a temporary option for an environment that cannot move immediately. I would treat it as a stopgap, not a replacement for planning the migration.
The trade-off is straightforward: a newer runtime may offer a longer support window, while an older supported runtime may have better documented compatibility with a critical dependency.
Neither choice removes the need for testing.
This article is general engineering guidance, not a support commitment from Node.js, AWS, n8n or any other vendor.

What is on my Node.js upgrade checklist?
I want the final checklist to be short enough to use during a deployment review and specific enough to reveal missing services.
For an ai agent runtime upgrade, these are the items I would check before changing production runtimes.
- List runtime locations: Identify containers, VPS processes, serverless functions, workflow workers and scheduled jobs.
- Record current versions: Capture the Node.js version used by each running service and build environment.
- Check lifecycle dates: Compare every version with the published Node.js and provider schedules.
- Review workflow compatibility: Confirm the documented n8n node version range for the installation method.
- Inspect native modules: Identify dependencies that need rebuilding or compatibility testing.
- Check SDKs and packages: Confirm that the target runtime is supported by critical dependencies.
- Update staging first: Build and start services using the replacement runtime outside production.
- Run tool-call evaluations: Exercise agent actions, webhook handling, retries, errors and human handoffs.
- Review Lambda deployments: Plan changes to nodejs22.x functions before the relevant restrictions.
- Prepare rollback: Preserve a tested recovery route and verify that deployment restrictions permit it.
- Roll out independently: Upgrade services in a controlled order and observe their behaviour.
- Record the next review: Keep runtime ownership and lifecycle checks in the maintenance process.
The checklist is not a substitute for understanding the architecture. It is a way to expose the components that an application-level upgrade might miss.
My main rule is to start with the dependencies I cannot change quickly.
A workflow engine with a documented version ceiling deserves attention before an independent tool server that can be rebuilt and tested separately.
Likewise, a Lambda function approaching deployment restrictions needs its own plan rather than waiting for the main application’s next release.
The upgrade should follow the dependency map, not the order in which repositories happen to appear.
Key takeaways
- Node.js 22 reaches end of life on 30 April 2027, making runtime inventory a practical priority for agent stacks.
- Node.js 24 and 26 have different support windows, and documented dependency compatibility should guide the choice.
- n8n’s published npm requirements currently support Node.js versions only through 24.x.
- AWS Lambda’s nodejs22.x runtime has separate deprecation, function-creation and function-update deadlines.
- An agent runtime migration needs tool-call tests, service-level rollout and a realistic rollback plan.
If you are reviewing Node.js runtimes across an agent stack, book a conversation and I can help map the dependencies and plan the upgrade. You can also subscribe to The Production Notes using the signup box below this post for more field notes on building and operating software.
FAQ
Is Node.js 22 still supported before 30 April 2027?
Yes. Node.js 22 is in Maintenance LTS according to the official Node.js release schedule, with end of life set for 30 April 2027. The project recommends Active LTS or Maintenance LTS releases for production applications. I would use the remaining support window to inventory dependencies and test a replacement rather than waiting until the final date.
Should I upgrade directly from Node.js 22 to Node.js 26?
It depends on the service and its dependencies. Node.js 26 has a published end-of-life date of 30 April 2029, but not every application documents support for it. For example, the n8n npm requirements currently stop at Node.js 24.x. I would choose the target per service after checking compatibility and testing its tool calls.
Will existing AWS Lambda nodejs22.x functions stop running on the deprecation date?
No. AWS says you can keep invoking functions on a deprecated runtime, but it may stop applying security patches and the functions lose technical support. The AWS Lambda runtime schedule separately lists deprecation on 30 May 2027, a function-creation block on 29 July 2027, and a function-update block on 31 August 2027. I would plan the migration before those restrictions rather than rely on continued execution as an upgrade strategy.
Can I keep using Node.js 22 with commercial support after end of life?
Yes, commercial support beyond Maintenance LTS is described on the Node.js previous releases page through OpenJS Ecosystem Sustainability Program partners. That does not mean the normal upstream lifecycle continues unchanged. I would consider extended support only where a dependency prevents an immediate move, while keeping a migration plan for a supported runtime.