Twilio Functions | Feb. 19, 2026

Twilio Functions: Node.js v22 becomes the default runtime on June 11, 2026

Starting June 11, 2026, Node.js v20 support in Twilio Functions will end. Any new Functions that you create or deploy after that date will default to Node.js v22. Existing Functions will keep running on Node.js v20, and will only move to v22 when you choose to redeploy them. 

Any new deployments or edits to Functions (including by Classic users) after June 11, 2026, will default to Node.js v22. New deployments using Node.js v20 after this date will fail.

Take action to make sure the Node.js v22 update goes smoothly

Most Node.js updates go smoothly, but here’s what we recommend doing before June 11, 2026:

  • Verify that your dependencies are compatible with Node.js v22.
  • Test and redeploy Functions using Node.js v22 before June 11, 2026. You can explicitly set the Node.js runtime to v22 via one of the following methods:
    • In Twilio Console: Select v22 in the Dependencies tab list
    • Via Serverless Toolkit: Set the runtime parameter
    • During build creation: Use the runtime configuration setting

Need a hand?

These resources will help:

Serverless Developer Insights

Additional Resources

Blog

Read more about our latest product updates, product tutorials, and community projects.


Docs

See API reference documentation, quickstarts, SDKs, and multi-language code samples.

Events

Find upcoming events and join us virtually or in person to learn more about our products.