---
title: Supported Node.js versions
description: Learn about the supported Node.js versions on Vercel.
url: "https://vercel.com/docs/functions/runtimes/node-js/node-js-versions"
last_updated: 2026-02-27
related:
  - /docs/functions/runtimes/node-js/advanced-node-configuration
install_vercel_plugin: npx plugins add vercel/vercel-plugin
search_with_vercel_cli: npx vercel@latest docs search "<query>"
search_kb_with_vercel_cli: npx vercel@latest kb search "<query>"
---

# Supported Node.js versions

## Default and available versions

By default, a new project uses the latest Node.js LTS version available on Vercel.

Current available versions are:

- **26.x** (default)
- **24.x**
- **22.x**

Only major versions are available. Vercel automatically rolls out minor and patch updates when needed, such as to fix a security issue. These updates apply to builds and Vercel Functions. The exact minor version can differ between the build and the function runtime.

## Setting the Node.js version in project settings

To override the [default](#default-and-available-versions) version and set a different Node.js version for new deployments:

1. From your [dashboard](/dashboard), select your project.
2. Open **Settings** in the sidebar.
3. On the [**Build and Deployment**](https://vercel.com/d?to=%2F%5Bteam%5D%2F%5Bproject%5D%2Fsettings%2Fbuild-and-deployment\&title=Go+to+Build+Settings) page, navigate to the **Node.js Version** section.
4. Select the version you want to use from the dropdown. This Node.js version will be used for new deployments.

![Select your Node.js version in Project Settings.](https://7nyt0uhk7sse4zvn.public.blob.vercel-storage.com/front/docs/functions/node-version-light.png)

## Version overrides in `package.json`

You can define the major Node.js version in the `engines#node` section of the `package.json` to override the one you have selected in the [Project Settings](#setting-the-node.js-version-in-project-settings):

```json filename="package.json"
{
  "engines": {
    "node": "26.x"
  }
}
```

For instance, when you set the Node.js version to **24.x** in the **Project Settings** and you specify a valid [semver range](https://semver.org/) for **Node.js 26** (e.g. `26.x`) in `package.json`, Vercel deploys your project with the **latest 26.x** version of Node.js.

The following table lists some example version ranges and the available Node.js version they map to:

| Version in `package.json`               | Version deployed        |
| --------------------------------------- | ----------------------- |
| `26.x`<br /> `^26.0.0`<br /> `>=22.0.0` | latest **26.x** version |
| `24.x`<br /> `^24.0.0`                  | latest **24.x** version |
| `22.x`<br /> `^22.0.0`                  | latest **22.x** version |

For Node.js 26 `fetch` behavior and the HTTP/1.1 opt-out, see [Advanced Node.js Usage](/docs/functions/runtimes/node-js/advanced-node-configuration).

## Checking your deployment's Node.js version

To check the build's Node.js version, run `node -v` in the Build Command. To check a function's Node.js version, log `process.version` inside the function.

## Search the docs from your terminal

Search the Vercel docs and read pages as Markdown with the Vercel CLI. No login required.

```bash
# Find docs pages by keyword
npx vercel@latest docs search "environment variables"
npx vercel@latest docs search "function timeout"

# Print a docs page as Markdown, by path or URL
npx vercel@latest docs inspect <page>
```

## Search guides from your terminal

Search the Knowledge Base and read guides as Markdown with the Vercel CLI. No login required.

```bash
# Find guides by keyword
npx vercel@latest kb search "rewrites and redirects"
npx vercel@latest kb search "AI SDK streaming"

# Show the latest guides
npx vercel@latest kb

# Print a guide as Markdown, by slug or URL
npx vercel@latest kb inspect <guide>
```

---

[View full sitemap](/docs/sitemap)


If you encounter incorrect information, can’t find what you need, need a capability Vercel doesn’t currently offer, or have any other feedback to report, please do it by following the instructions at https://vercel.com/feedback.md.
