Node.js 20 decommissioned is why your Firebase deploy now fails. Google decommissioned the Node.js 20 runtime on 30 October 2026, so functions still set to Node.js 20 can no longer be created or updated.
What you will see
You fixed a bug in your app's backend. You run the deploy, and it stops before your fix goes live.
Your app itself may still look fine. The block shows up when you try to change something: a bug fix, a new function, or an updated function. Until the runtime changes, that change cannot deploy.
Only projects still set to Node.js 20 hit this. If your functions already run on a newer runtime, this change does not block your deploy.
Why this is happening
Google retires function runtimes on a published schedule. For Node.js 20, the schedule gives two dates: deprecated on 30 April 2026 and decommissioned on 30 October 2026.
Deprecation was the warning period. During deprecation, you could still create and update functions on Node.js 20.
Decommission is the hard stop. After 30 October 2026, Google's runtime table says creation and redeployment on a decommissioned runtime are no longer allowed. You must choose a more up-to-date runtime to deploy.
Two more lines in that table matter. Running workloads on a decommissioned runtime may be disabled, and Google gives no date for that. Language, system package and operating system patches also stop, and runtime support ends.
Google does not say your deployed functions have stopped. Read the wording exactly: existing workloads may be disabled. Your risk today is a blocked deploy and an unpatched runtime, not a stated shutdown date.
One point can confuse people. Firebase's own manage-functions pages still list Node.js 20 in their version list. Those same pages tell you to see the support schedule for ongoing support, and the schedule is the page with the decommission date. Follow the schedule, not the stale list.
Node.js 20 decommissioned: the minimum fix
Move the functions codebase to Node.js 22. Firebase documents Node.js 22 for both 1st gen and 2nd gen functions, and Google's schedule lists Node.js 22 for 1st gen and Run functions.
1. Check the plan and the CLI version
Firebase's upgrade steps start with two checks. Make sure your project is on the Blaze pricing plan. Make sure you use Firebase CLI v11.18.0 or later.
Do these checks first. A correct runtime change still needs a CLI that supports the upgrade path Firebase documents.
2. Set the runtime to Node.js 22
Open the package.json file in your functions folder. Set the engines value to 22:
"engines": {"node": "22"}
Check firebase.json as well. If firebase.json sets a functions runtime, the CLI uses that value in preference to package.json. In that case, set the runtime there instead:
"runtime": "nodejs22"
Change the value that actually controls your deploy. Changing package.json alone does nothing if firebase.json still points to Node.js 20.
3. Test before you redeploy
Firebase lists local testing as an optional step. Use the Firebase Local Emulator Suite if your project already uses it, and run your main function flows there.
Keep the test simple and direct. Trigger the functions your app depends on, and check the results your app expects.
4. Redeploy all functions
Redeploy with the Firebase CLI:
firebase deploy --only functions
Firebase's upgrade steps end with redeploying all functions, not only the one you edited. After the deploy, test the live flows your users depend on: sign-in, payments, notifications, or any action that calls a function.
A finished fix means the deploy completes on Node.js 22 and your main flows still work. Node.js 22 buys time rather than ending the cycle: its own decommission date is 31 October 2027.
What NOT to do
Do not wait because your app still works today. A working app does not mean a working deploy. The next bug fix is the moment this block hurts.
Do not read "may be disabled" as a shutdown date. Google gives no date. Do not plan around a date Google has not published, and do not ignore the warning either.
Do not cite the Firebase version list as proof that Node.js 20 still deploys. The list lags behind the schedule. The schedule carries the decommission date, and Firebase points you to it.
Do not change only one file without checking the other. If firebase.json sets the runtime, it wins over package.json. A deploy that still fails after your edit usually means the controlling value still says Node.js 20, so check that first.
When to get help instead of fixing it yourself
Get help if the deploy still fails after both files point to Node.js 22. Get help too if you do not know which codebase deploys your functions, if more than one functions folder exists, or if your functions stop responding after the redeploy.
Help is also the right call if your backend was built for you and you have never deployed it yourself. A runtime change is small, but it touches the code your live app depends on.
If this is your app, contact me through https://israr-kundi.web.app
