---
title: "Node.js 12 now available for Netlify Functions | Netlify"
description: "Realize the speed, agility and performance of a scalable, composable web architecture with Netlify. Explore the composable web platform now!"
source: "https://www.netlify.com/blog/2019/12/04/node.js-12-now-available-for-netlify-functions/"
last_updated: "2026-08-06T11:55:42.000Z"
---
Last month AWS announced the release of Node.js 12 for Lambda functions.

This means faster functions & new Node.js features. 🎉

> Welcome to the [#serveless](https://twitter.com/hashtag/serveless?src=hash&ref_src=twsrc%5Etfw) dining experience for reinvent 2019. For your first course, we have three crisp new [#awslambda](https://twitter.com/hashtag/awslambda?src=hash&ref_src=twsrc%5Etfw) language versions. \*My\* personal favorite is Java 11 , but the Node 12 is super fresh ! [https://t.co/xWJ3A9eV47](https://t.co/xWJ3A9eV47) [#HowManyCourses](https://twitter.com/hashtag/HowManyCourses?src=hash&ref_src=twsrc%5Etfw) [pic.twitter.com/4AkIezMtaL](https://t.co/4AkIezMtaL)
> 
> — Ajay Nair (@ajaynairthinks) [November 18, 2019](https://twitter.com/ajaynairthinks/status/1196543520997171200?ref_src=twsrc%5Etfw)

Starting today, all new sites will be using Node.js 12 as the default function runtime. All existing sites can update to Node.js 12 for [Netlify Functions](https://www.netlify.com/products/functions/) via the instructions below.

## What’s new?

Node.js 12 brings performance improvements and many [new language features](https://medium.com/@nodejs/introducing-node-js-12-76c41a1b3f3f). In tests like the one charted below ([source](https://medium.com/@ersun.warncke/benchmarking-node-js-v12-vs-v10-v8-v6-v4-and-go-89d28eee603d)), Node.js 12 is almost catching up to Go! 🤯 Zoom zoom.

![Bar graph of test results in requests per second, increasing from less than 20,000 with Node v4.9.1 to over 25,000 with Node v12.2.0, compared with just under 30,000 with Go v1.10.4](https://user-images.githubusercontent.com/532272/69455748-ea0aa400-0d1d-11ea-808c-5728016b662a.png)

For more information on Node.js 12, [check out this post](https://blog.risingstack.com/node-js-12-new-features/) and the official [Node.js 12 changelog](https://github.com/nodejs/node/blob/master/doc/changelogs/CHANGELOG_V12.md)

## How to upgrade existing site functions

To take advantage of the newer Node.js runtime with functions on sites created before December 4, 2019, you will need to set the `AWS_LAMBDA_JS_RUNTIME` [environment variable](https://docs.netlify.com/functions/build-with-javascript/#runtime-settings) to `nodejs12.x` in the Netlify site settings under **Build & deploy > Environment > Environment variables**.

![](https://user-images.githubusercontent.com/532272/69456568-cc3e3e80-0d1f-11ea-821a-33a3bb1cb32e.png)

After setting the environment variable, update your function code to trigger a new deployment.

## Questions?

If you have questions, feel free to drop us a line in the [Netlify Community forums](https://community.netlify.com/).

### Share

-   [X (fka Twitter)](https://twitter.com/intent/tweet?text=Node.js 12 now available for Netlify Functions&url=https://www.netlify.com/blog/2019/12/04/node.js-12-now-available-for-netlify-functions/)
-   [LinkedIn](https://www.linkedin.com/shareArticle?mini=true&url=https%3A%2F%2Fwww.netlify.com%2Fblog%2F2019%2F12%2F04%2Fnode.js-12-now-available-for-netlify-functions%2F)
-   [Facebook](https://www.facebook.com/sharer.php?u=https://www.netlify.com/blog/2019/12/04/node.js-12-now-available-for-netlify-functions/)
-   [Bluesky](https://bsky.app/intent/compose?text=Node.js 12 now available for Netlify Functions+https://www.netlify.com/blog/2019/12/04/node.js-12-now-available-for-netlify-functions/)

## Keep reading

![](/_astro/19ef665d69b3b077bd19c76d9dfcda7749cad7af-1600x900_Z5yehl.webp)

News & Announcements July 28, 2026

[

### New Netlify projects are now private by default

](/blog/new-netlify-projects-are-now-private-by-default)

-   ![Profile picture of Taylor Barnett-Torabi](/_astro/cf4624da8c1286738397b6fecb53bad504df140b-400x400_ZsvK0s.webp)
    
    Taylor Barnett-Torabi
    

![](/_astro/d0354fe52c160a3abdfdeff297a1baf090302a3d-1600x900_Z1eDdJG.webp)

News & Announcements July 14, 2026

[

### More headroom, a lower per-credit rate, and a bill you can predict: introducing new Pro plan tiers

](/blog/new-pro-plan-tiers)

-   ![Profile picture of Gehrig Kunz](/_astro/b4e9f58d914d1334ea70d53ea55a1f26b26f1445-512x512_17SwOI.webp)
    
    Gehrig Kunz
    

## Recent posts

Opinions & Insights July 28, 2026

[

### Open Weights and the 2nd World

](/blog/open-weights-and-the-2nd-world)

-   ![Profile picture of Mathias Biilmann](/_astro/f193d4707a6391d843d5aaa73338b5a5971ec5cc-960x960_1Yylqm.webp)
    
    Mathias Biilmann
    

Tools & Services July 28, 2026

[

### MCP goes stateless and extensible

](/blog/mcp-goes-stateless-and-extensible)

-   ![Profile picture of Sean Roberts](/_astro/bbf2243f8171dbddd80ab2103622106cef84d125-512x512_Z1d2LKE.webp)
    
    Sean Roberts
    

News & Announcements July 28, 2026

[

### New Netlify projects are now private by default

](/blog/new-netlify-projects-are-now-private-by-default)

-   ![Profile picture of Taylor Barnett-Torabi](/_astro/cf4624da8c1286738397b6fecb53bad504df140b-400x400_ZsvK0s.webp)
    
    Taylor Barnett-Torabi
    

![](/_astro/3f255b372fa958df35802666ee33b4609b2d71bd-1200x1586_1VtE2D.webp)

### How do the best dev and marketing teams work together?

[Access the report](https://www.netlify.com/reports/2024-leadership-trend-report/access/)