To check the macOS version, click the Apple menu in the upper-left corner of the screen and choose About This Mac. The window shows the macOS name and version number, and clicking the version number reveals the build number. In Terminal, sw_vers prints the exact version and build:
$ sw_vers
ProductName: macOS
ProductVersion: 26.6
BuildVersion: 25G72
That is my MacBook Pro (Apple M3 Max) on macOS 26.6, and every Terminal example below ran on the same Mac. Apple describes the About This Mac steps in Find out which macOS your Mac is using.
sw_vers takes individual flags if you want one field for a script:
$ sw_vers --productVersion
26.6
$ sw_vers --buildVersion
25G72
Table of Contents
Check the macOS version in System Settings
On macOS 13 Ventura and later, choose Apple menu > System Settings, click General in the sidebar, then click About. The macOS line shows the version, and clicking the version number displays the exact version. The System Report button opens an in-depth hardware and software listing, and holding Option while you choose Apple menu > System Information opens it directly. Apple’s guide Get system information about your Mac covers macOS 13 through macOS 27 Golden Gate.
What is the latest macOS version
Apple lists the newest version of each release on Find out which macOS your Mac is using. Its table, dated 28 September 2026 and read on 4 October 2026:
macOS 27 Golden Gate 27.0.1
macOS Tahoe 26 26.7.1
macOS Sequoia 15 15.8.1
macOS Sonoma 14 14.8.9
macOS Ventura 13 13.7.8
macOS Monterey 12 12.7.6
macOS Big Sur 11 11.7.11
macOS Catalina 10.15 10.15.8
A number that matches the row for your release is the latest of that release, and a row above it is a major upgrade (see the next section). Apple’s security releases page lists macOS 27 Golden Gate as released on 14 September 2026.
Which macOS can my Mac upgrade to
About This Mac names your model and shows a Chip line on an Apple silicon Mac or a Processor line on an Intel Mac. Apple’s compatibility lists, both dated 14 September 2026, split like this:
| What About This Mac shows | Newest macOS Apple lists for it |
|---|---|
| Chip: any Apple silicon Mac, including MacBook Neo | macOS 27 Golden Gate |
| Processor, on a MacBook Pro (16-inch, 2019), MacBook Pro (13-inch, 2020, Four Thunderbolt 3 ports), iMac (Retina 5K, 27-inch, 2020) or Mac Pro (2019) | macOS Tahoe 26 |
| Processor, on any other Intel Mac | An earlier macOS; check Apple’s lists for Sequoia 15, Sonoma 14 and older |
For another Intel Mac, take the newest of Apple’s earlier lists that includes your model; each is linked from the macOS article above. Software Update (System Settings > General > Software Update) shows only updates compatible with your Mac, and Apple says softwareupdate --list-full-installers lists the macOS versions available for your Mac model.
Check the macOS version when the Mac won’t boot
About This Mac and Terminal need a Mac that has finished starting up. If yours cannot, the nearest answer comes from macOS Recovery. On an Apple silicon Mac, shut it down, hold the power button until the startup options appear, then click Options and Continue. On an Intel Mac, shut it down, press the power button, and immediately hold Command-R (How to start up from macOS Recovery).
In the Recovery window, the Reinstall macOS option is followed by a macOS name (Apple’s guide writes it “Reinstall macOS [name]”), so the button tells you which macOS it will install. Apple says an Apple silicon Mac gets “the current version of the most recently installed macOS” (How to reinstall macOS). Terminal is in Recovery’s menu bar too, but I have not run sw_vers there. Its man page says it reports the operating system that is running, which in Recovery is the Recovery system.
If Recovery will not start either, you can still get the model name. Apple’s coverage site (checkcoverage.apple.com) turns the serial number, usually printed on the underside of the Mac, into one, and, if the Mac is listed, its entry under Devices at account.apple.com shows it directly. Match it against the table above (Find your Mac model name and serial number).
uname -r is not your macOS version
It is tempting to use uname -r to get the macOS version. On my Mac, in the same second:
$ sw_vers -productVersion
26.6
$ uname -r
25.6.0
$ sysctl -n kern.osrelease
25.6.0
uname -r reports the Darwin kernel version. Darwin 25.6.0 is macOS 26.6. The two numbers do not match, and the relationship between them changed direction at macOS 26:
Darwin 20 = macOS 11 Big Sur macOS = Darwin - 9
Darwin 21 = macOS 12 Monterey macOS = Darwin - 9
Darwin 22 = macOS 13 Ventura macOS = Darwin - 9
Darwin 23 = macOS 14 Sonoma macOS = Darwin - 9
Darwin 24 = macOS 15 Sequoia macOS = Darwin - 9
Darwin 25 = macOS 26 Tahoe macOS = Darwin + 1 <-- inverted
macOS jumped from 15 to 26 while Darwin went from 24 to 25, so a hardcoded “subtract 9” is wrong by ten on macOS 26. I measured only the last row, on macOS 26.6; the earlier rows come from release history, and I have not measured Darwin on macOS 27. For the marketing version in a script, call sw_vers, never uname.
The full kernel string carries the build tag and the SoC. [hostname redacted] stands in for the hostname that uname -a prints, which matters if you paste it into a bug report:
$ uname -a
Darwin [hostname redacted].local 25.6.0 Darwin Kernel Version 25.6.0: Sat Jul 11
15:27:26 PDT 2026; root:xnu-12377.161.13~4/RELEASE_ARM64_T6031 arm64
Check the macOS version with system_profiler
system_profiler is the Terminal counterpart of the System Report. SPSoftwareDataType prints the version and build together on the System Version line, with the kernel version below it:
$ system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 26.6 (25G72)
Kernel Version: Darwin 25.6.0
Boot Volume: Macintosh HD
Boot Mode: Normal
Secure Virtual Memory: Enabled
System Integrity Protection: Enabled
Time since boot: 8 days, 23 hours, 33 minutes
The full report also lists your Computer Name and User Name, which are left out above. Before pasting it anywhere, run system_profiler -detailLevel mini SPSoftwareDataType; the man page describes that level as a report with no personal information.
Neither sw_vers nor system_profiler prints “Tahoe” on macOS 26.6; ProductName is the literal string macOS. The name lives in About This Mac and in the installer catalogue:
$ softwareupdate --list-full-installers
Software Update found the following full installers:
* Title: macOS Tahoe, Version: 26.6.1, Size: 17938060KiB, Build: 25G76, Deferred: NO
* Title: macOS Tahoe, Version: 26.6, Size: 17942836KiB, Build: 25G72, Deferred: NO
* Title: macOS Tahoe, Version: 26.5.2, Size: 17875271KiB, Build: 25F84, Deferred: NO
That listing is from August 2026. On 4 October 2026 the same command, still on macOS 26.6, began with macOS 27 Golden Gate 27.0.1 (build 26A434) and listed Tahoe 26.7.1 (build 25G241) below it.
SYSTEM_VERSION_COMPAT no longer changes sw_vers
Older scripts set SYSTEM_VERSION_COMPAT=1 to get a fallback version number out of sw_vers; Apple’s macOS Big Sur 11.0.1 release notes gave it as the workaround for scripts that broke on the jump from macOS 10.x to 11. It no longer does anything:
$ SYSTEM_VERSION_COMPAT=1 sw_vers
ProductName: macOS
ProductVersion: 26.6
BuildVersion: 25G72
$ plutil -p /System/Library/CoreServices/SystemVersionCompat.plist
/System/Library/CoreServices/SystemVersionCompat.plist: (The file
"SystemVersionCompat.plist" couldn't be opened because there is no such file.)
The sw_vers man page on macOS 26.6 says the variable is no longer supported and that sw_vers always reports the real system version, and SystemVersionCompat.plist does not exist on my Mac.