macOS: How to See Your Mac System Uptime in Terminal

For diagnostic purposes (or if you’re just curious) it can be useful to check your Mac system uptime. This lets us see how long its been since your Mac was rebooted. Macs are generally very stable and you don’t have to reboot very often. This means that your uptime can reach impressive lengths, like mine at 27 days.

Mac System Uptime

Mac system uptime command in Terminal.

The Terminal command we’ll be using is a simple, one-word command:


That’s it. This will show you how the time, how many hours or days of uptime, number of users, and CPU load averages. If you want to check your Mac’s reboot history, you can enter this command:

Find out the Mac system uptime in Terminal. You can also find out the reboot history, as pictured here.

last reboot

This gives you a nice list of the dates that your Mac has been restarted.

One thought on “macOS: How to See Your Mac System Uptime in Terminal

  • Thanks, Andrew.

    As time passes, I find myself forgetting old Unix commands that I once had to use on a regular basis, and every time I see one of these hints, it encourages me to play around with the terminal. In fact, for much of my education and training years, I had to be proficient in both Unix and DOS, and trouble shoot machines when on assignment in far away places.

    I don’t care what anyone says, the GUI and apps enhance productivity – certainly mine.


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.