Node.js 22 LTS vs 24 LTS
Which should you run?
Pick Node.js 24 LTS for new installs. It's supported until Apr 30, 2028, 1 year longer than 22 LTS, which ends Apr 30, 2027. 22 LTS already gets security fixes only.
22 LTS
24 LTS
20242028
Supported
Security fixes only
Today
| Node.js 22 LTS | Node.js 24 LTS | |
|---|---|---|
| Released | Apr 24, 2024 | May 6, 2025 |
| Status | Security fixes only | Security fixes only |
| Active support until | Oct 21, 2025 | Oct 20, 2026 |
| End of life | Apr 30, 2027 in 5 months | Apr 30, 2028 in 1 year |
| Total support | 3 years | 2 years, 11 months |
| Latest version | 22.23.5 Nov 11, 2026 | 24.22.3 Nov 11, 2026 |
| LTS | Yes | Yes |
How to upgrade from Node.js 22 LTS to 24 LTS
nvm (Linux / macOS)
nvm install 24
nvm alias default 24 Ubuntu / Debian (NodeSource)
curl -fsSL https://deb.nodesource.com/setup_24.x | sudo -E bash -
sudo apt install -y nodejs Windows
winget install OpenJS.NodeJS.LTS Use OpenJS.NodeJS instead for the current (non-LTS) line.
Docker
docker pull node:24 Official upgrade guide ↗ Back up first, and test on a non-production machine when you move to a new branch.
Quick answers
- Should I use Node.js 22 LTS or 24 LTS?
- Pick Node.js 24 LTS for new installs. It's supported until Apr 30, 2028, 1 year longer than 22 LTS, which ends Apr 30, 2027. 22 LTS already gets security fixes only.
- How long are Node.js 22 LTS and 24 LTS supported?
- Node.js 22 LTS: supported until Apr 30, 2027 (security fixes only). Node.js 24 LTS: supported until Apr 30, 2028 (security fixes only).
- What are the latest Node.js 22 LTS and 24 LTS versions?
- Node.js 22 LTS is at 22.23.5 (Nov 11, 2026), and Node.js 24 LTS is at 24.22.3 (Nov 11, 2026).
More Node.js comparisons
Official release policy · Checked 3 hours ago