Full answer
Stages of a version
- Current: new features, released in April and October historically, for about six months before a possible LTS promotion.
- Active LTS: a long term support release (codename, for example Krypton for 24). Gets bug fixes, security fixes and carefully chosen backports for about 12 months. This is the version most teams should start new production work on.
- Maintenance LTS: critical bug fixes and security updates only, for roughly another 18 months.
- End-of-Life (EOL): no patches at all. Running an EOL version means unfixed security problems, and libraries and cloud services stop supporting it.
Practical rules
- Run an LTS version in production. Even-numbered versions have been the LTS lines, and odd-numbered Current versions were short lived. The schedule can change, so read nodejs.org/en/about/previous-releases and the nodejs/Release repository.
- Plan upgrades twice a year at most, and always before EOL. Upgrading one LTS at a time is easier than jumping several.
- Pin the version: .nvmrc or .node-version, the engines field in package.json, and the same version in Docker images (node:24-slim), CI and local machines.
- Subscribe to security announcements. Security releases can arrive at any time for supported versions.
- Cloud platforms follow their own lists of supported runtimes (for example Lambda). Check them as well.
The script below uses a copy of the dates from the nodejs/Release schedule file (checked on 2026-12-04) and computes the status of each line on a chosen date. The dates were copied from the official file, so verify them again before you rely on them.
// Dates copied from the nodejs/Release schedule.json file on 2026-12-04. Verify them against the official source.
const schedule = {
v20: { start: '2023-04-18', lts: '2023-10-24', maintenance: '2024-10-22', end: '2026-04-30', codename: 'Iron' },
v22: { start: '2024-04-24', lts: '2024-10-29', maintenance: '2025-10-21', end: '2027-04-30', codename: 'Jod' },
v24: { start: '2025-05-06', lts: '2025-10-28', maintenance: '2026-10-20', end: '2028-04-30', codename: 'Krypton' },
v25: { start: '2025-10-15', maintenance: '2026-04-01', end: '2026-06-01' },
v26: { start: '2026-05-05', lts: '2026-10-28', maintenance: '2027-10-20', end: '2029-04-30', codename: 'Lithium' },
v27: { start: '2027-04-22', lts: '2027-10-20', end: '2030-04-30' },
};
function status(version, today) {
const v = schedule[version];
const at = (date) => date && today >= date; // ISO dates compare correctly as strings
if (!at(v.start)) return 'not released yet';
if (at(v.end)) return 'End-of-Life';
if (at(v.maintenance)) return 'Maintenance' + (v.lts ? ' LTS' : '');
if (at(v.lts)) return 'Active LTS';
return 'Current';
}
const daysUntil = (date, today) => Math.round((Date.parse(date) - Date.parse(today)) / 86400000);
const today = '2026-12-04';
console.log('status on', today);
for (const version of Object.keys(schedule)) console.log(' ', version, (schedule[version].codename || '').padEnd(8), status(version, today));
console.log('days until v22 reaches End-of-Life:', daysUntil(schedule.v22.end, today));
console.log('days until v24 reaches End-of-Life:', daysUntil(schedule.v24.end, today));
console.log('this process runs', process.version, '=', status('v' + process.versions.node.split('.')[0], today));
console.log('same version on the day v20 ended:', status('v20', '2026-04-29'), '->', status('v20', '2026-04-30'));The dates in the script were copied from the official schedule file. The status is computed for a fixed date so the output does not change, and it must be checked against the official page when you rely on it. Save it as app.js and run it with node app.js. Output (Node.js v24.22.1, run once): status on 2026-12-04 v20 Iron End-of-Life v22 Jod Maintenance LTS v24 Krypton Maintenance LTS v25 End-of-Life v26 Lithium Active LTS v27 not released yet days until v22 reaches End-of-Life: 147 days until v24 reaches End-of-Life: 513 this process runs v24.22.1 = Maintenance LTS same version on the day v20 ended: Maintenance LTS -> End-of-Life
Key points
- Current, Active LTS, Maintenance and End-of-Life are the four stages.
- Production should use a supported LTS line.
- EOL versions get no security patches.
- Pin versions in .nvmrc, engines, Docker and CI.
- Check the official schedule for exact dates.
Common mistakes
- Running an End-of-Life version in production.
- Starting new work on an odd-numbered or non-LTS release.
- Waiting until the last week before EOL to upgrade.
- Different Node versions on laptops, CI and servers.
- Remembering dates from an old article instead of checking the schedule.
Follow-ups
- What changes between Active LTS and Maintenance LTS?
- How do you pin a Node version in a Docker image and in CI?
- How do you test a new Node version before upgrading?
Tips
- Name the four stages in order.
- State the production rule.
- Admit that you check the official dates.