Ruby 4.0

Supported until Mar 31, 2029

Is Ruby 4.0 still supported?

Yes

Ruby 4.0 is supported until Mar 31, 2029 (in 2 years).

Released
Dec 25, 2025
End of life
Mar 31, 2029
in 2 years
Latest version
4.0.7
Sep 14, 2026

Not sure? Run ruby --version

How to update Ruby 4.0

rbenv (Linux / macOS)

rbenv install 4.0.7
rbenv global 4.0.7

Docker

docker pull ruby:4.0

Official upgrade guide ↗ Back up first, and test on a non-production machine when you move to a new branch.

Quick answers

Is Ruby 4.0 still supported?
Yes. Ruby 4.0 is supported until Mar 31, 2029 (in 2 years).
When is Ruby 4.0 end of life?
Ruby 4.0 reaches end of life on Mar 31, 2029 (in 2 years). After that it gets no more updates, including security fixes.
What is the latest version of Ruby 4.0?
The latest Ruby 4.0 release is 4.0.7, released on Sep 14, 2026.
When was Ruby 4.0 released?
Ruby 4.0 was released on Dec 25, 2025.
How do I check which Ruby version I have?
Run ruby --version, then paste the result into the “Am I up to date?” box on this page.

Other Ruby branches

All 15 →
  • 4.0 Supported
  • 3.4 Supported
  • 3.3 Supported
  • 3.2 End of life
  • 3.1 End of life
  • 3.0 End of life
  • 2.7 End of life
  • 2.6 End of life
  • 2.5 End of life
  • 2.4 End of life
  • 2.3 End of life
  • 2.2 End of life
  • 2.1 End of life

← Ruby 3.4

Ruby 4.0 release history

RSS

Release dates for 8 Ruby 4.0 versions, newest first.

  1. 4.0.7
  2. 4.0.6
  3. 4.0.5
  4. 4.0.4
  5. 4.0.3
  6. 4.0.2
  7. 4.0.1
  8. 4.0.0

Keep track

Ruby 4.0 latest version badge

Official release policy · Checked 2 hours ago