Knowing how long your PC has been running is surprisingly useful. It tells you whether a restart actually happened after a driver or Windows update, and whether a slowdown might simply be down to a PC that hasn't been restarted in weeks. Windows 11 doesn't show uptime on the desktop, but there are several built-in ways to find it. This guide is based on Microsoft's documentation and on Windows Central's uptime guide (written for Windows 10 and credited below).
Method 1: Task Manager
The quickest option is Task Manager. Press Ctrl+Shift+Esc to open it (Microsoft lists this shortcut, or you can right-click Start and select Task Manager). As Windows Central's guide describes, go to the Performance tab, select CPU, and the uptime is shown at the bottom of the page.
If you're new to the tool, our Task Manager guide explains the other tabs.
Method 2: systeminfo in Command Prompt or Terminal
Microsoft describes systeminfo as a command that "Displays detailed configuration information about a computer and its operating system", including hardware properties such as RAM. One of the lines it prints is System Boot Time. To show just that line, use the command from Windows Central's guide:
systeminfo | find "System Boot Time"
That gives you the date and time of the last boot rather than a running total, so subtract it from the current time to get the uptime. Running systeminfo on its own also gives you a handy summary of your PC; for other ways to see your hardware, read how to check your PC specs in Windows 11.
Method 3: PowerShell
Windows stores the last boot time in the LastBootUpTime property of the Win32_OperatingSystem class, which Microsoft defines as the "Date and time the operating system was last restarted". In PowerShell you can subtract it from the current date to get the uptime directly, using the command from Windows Central's guide:
(get-date) - (gcim Win32_OperatingSystem).LastBootUpTime
Windows Central says you'll get the uptime in a list format with the days, hours and minutes. If you're not sure which shell to use, our Command Prompt vs PowerShell comparison explains the difference.
Why the uptime can look too long: Fast Startup
If the uptime looks far longer than you expect, even though you shut down last night, Fast Startup is the likely reason. Microsoft explains that there are three startup modes in Windows: cold, wake-from-hibernation and fast, which "combines first two". To prepare for a fast startup, Windows closes your apps and signs you out, then saves the kernel memory image (including loaded drivers) in Hiberfil.sys and shuts down. On the next power-on, a fast startup "simply loads the hibernation file (Hiberfil.sys) into memory" rather than starting the kernel from scratch.
So with Fast Startup turned on, shutting down and switching back on isn't the same as a fresh boot, and the uptime counter may not reset. If you're troubleshooting a driver problem and want a clean start every time, see how to disable Fast Startup in Windows 11. Our sleep vs hibernate explainer covers the other power states.
What to do with the number
There's no ideal uptime figure, and a long uptime on its own doesn't mean something is wrong. But if your PC has become sluggish or unstable, a high uptime is a good reason to try a restart before digging deeper. For finding out what went wrong and when, Reliability Monitor and Event Viewer are the next tools to try.