Help for owners
Google says the Node.js version of my Firebase functions is deprecated
Short answer
A Firebase functions Node version deprecated notice means Google is retiring the runtime your functions use. During the deprecation period you can generally still create and update functions. After the decommission date you can no longer deploy or update them on that runtime, and functions still using it may be disabled. Node.js 20 passed its decommission date on October 30, 2026.
Does this sound like your situation?
- Google warned me that the runtime of my Cloud Functions is deprecated.
- The Google Cloud console shows a runtime notice on my functions.
- My developer can't deploy a small change because the Node.js version is no longer supported.
- I don't know which features of my app run on Firebase functions.
Why does this happen?
Runtimes retire in stages
Google's runtime support page for Cloud Run functions describes a deprecation date that starts a deprecation period, followed by a decommission date. It says notifications start 90 days before a runtime reaches deprecation and appear in the Google Cloud console.
Confirmed by docs.cloud.google.com
Deprecation still allows updates
During the deprecation period, Google says you can generally continue to create new functions and update existing ones on that runtime. This is the window to upgrade, because changes still deploy.
Confirmed by docs.cloud.google.com
Firebase functions Node runtime decommission blocks changes
Once the decommission date passes, Google refuses new functions and updates on that runtime, and Google warns that functions still running on it may be disabled. A function stuck on an old runtime can't receive even an urgent fix.
Confirmed by docs.cloud.google.comTechnical detail: firebase deploy rejects the Node.js version in a Cloud Functions package.json
Each Node.js version has its own dates
Google's table lists Node.js 20 as deprecated on April 30, 2026 and decommissioned on October 30, 2026. Node.js 22 is deprecated on April 30, 2027 and decommissioned on October 31, 2027, and Node.js 24 follows on April 30, 2028 and October 31, 2028. Google stops supporting a runtime once its language community stops maintaining that version.
Confirmed by docs.cloud.google.com
What can I do about it today?
- Find the runtime and its datesNote the Node.js version named in the notice and look it up in Google's runtime table, so you know which stage you are in today.
- List what each function doesHave your developer write down each function and the job it does, such as taking payments, sending emails or push notifications, or cleaning data.
- Confirm you hold the code and deploy accessCheck that the source code is in a repository your company owns and that someone you trust can deploy to the Firebase project.
- Avoid quick edits in the consoleDo not let anyone patch functions directly in the Google Cloud console. The next deploy from code can overwrite the change, or the two can drift apart.
When should I bring someone in?
- Your functions are on Node.js 20 or older and you need to ship a change.
- Nobody on your side knows how the functions are deployed.
- The functions use old Firebase SDKs that need code changes to work on a newer Node.js version.
How do I handle it?
- Audit the functions projectI check the Node.js version, the firebase-functions and firebase-admin versions and every dependency for support on the newer runtime.
- Upgrade in a test project firstI raise the runtime and libraries, fix what breaks and deploy to a separate Firebase project to test payments, emails and triggers.
- Deploy with a rollback readyI deploy to production from code, keep the previous version tagged and watch the logs and error rates afterwards.
- Put the next date in the calendarI record the deprecation date of the new runtime so the next upgrade is planned months ahead.
The price depends on what I find, so I quote in writing after a short discovery call. Tell me what is happening and I reply within 24 hours.
What do owners ask about this?
Will my app stop working on the Cloud Functions deprecation date?
Google says you can generally keep creating and updating functions during the deprecation period. The bigger risk comes after decommission, when updates stop and functions may be disabled.
What happens after a Firebase functions runtime is decommissioned?
Deploys stop: Google says new workloads and updates on a decommissioned runtime are no longer accepted, and any function left on it may be disabled.
How do I upgrade the Node version of Firebase functions?
Your developer changes the Node.js version in the functions project, updates the Firebase libraries, tests in a separate project and deploys. Pick a version with dates well ahead in Google's table.
Is this a billing change?
No. It is about the language runtime your functions run on, though an upgrade is a good moment to review costs too.
Sources
For your developer: the technical fixes
Detected node engine ... in package.json, which is not a supported version. Valid versions are ...firebase deploy rejects the Node.js version in a Cloud Functions package.jsonError: There was an error deploying functionsfirebase deploy --only functions fails with a generic deploy errorThe first request after a quiet period takes several seconds, later ones are fastFirebase Cloud Functions respond slowly, especially on the first call
Related help
- AWS Lambda Runtime Deprecated Email: What to DoYour functions keep running: AWS says you can invoke them indefinitely after a runtime is deprecated.
- Your Cloud Firestore Database Has Insecure RulesFirebase's own page warns that with open rules, anyone who guesses your project ID can steal, modify or delete the data.
- Camera or Photo Upload Not Working in My AppCamera and upload failures usually come from a permission the user denied, a permission the app never asked for properly, or an upload the server rejects, often because the photo is too large.
- WhatsApp Order Notifications From My StorePlan one template per update, collect permission at checkout, record delivery statuses, and decide what happens when a message fails.
Read next
- firebase deploy cannot load your functions: user code failed to loadFix: Failed to load function definition from source: FirebaseError: User code failed to load. C
- Node.js Annual Release Schedule From Version 27: Alpha, Current, LTS and End DatesBlog: The Node.js annual release schedule starts with version 27: one major release a year in April, and every line, odd or even, becomes LTS in October.
- Push sending broke because the server still uses the legacy FCM APIFix: Console notice that the legacy Firebase Cloud Messaging API is deprecated