Should You Shut Down a Computer When It's Not in Use?

Can You Leave Your Computer on 24/7?

Dimitri Otis / Getty Images

Leave your computer on all the time, or shut it off when it's not in use; does it really make a difference? If you've been asking yourself this question, then you'll be happy to hear that you can choose whichever way you want. You just need to understand the ramifications of your choice, and take a few precautions to ensure you get the longest life you can from your computer.

The most important precaution is to add a UPS (Uninterruptible Power Supply), no matter which method you choose.

A UPS can protect your computer from many of the dangers it's likely to face.

The Things That Can Harm Your Computer

All of the parts that make up your computer have a limited lifetime. The processor, RAM, and graphics cards all experience aging caused by, among other things, heat and temperature. Additional failure modes come from the stress of cycling a computer on and off.

But it's not just your computer's semiconductors that are affected. Mechanical components, such as the ones in hard drives, optical drives, printers, and scanners, are all affected by the power cycling they may undergo when your computer is turned off or on. In many cases, peripherals, such as printers and external drives, may have circuitry that senses when your computer is powered on or off, and initiates the same condition, turning the device on or off as needed.

There are other failure modes to consider that originate externally to your computer.

The one most often mentioned is a power surge and power drop, where there's a sudden rise or fall in voltage on the electrical circuit that your computer is plugged into. We often associate these surges with transient events, such as nearby lightning strikes, or devices that use a lot of power at once (vacuum cleaner, hair dryer, etc).

All of these failure types need to be considered. Leaving a computer turned on can reduce exposure to some of the failure types, while turning your computer off can prevent most of the external vectors that can cause the failure of a computer's components.

The question then becomes, which is best: on or off? Turns out, at least in my opinion, it’s a bit of both. If your goal is to maximize lifetime, there's a time period when turning a new computer on and off makes sense; later, leaving it on 24/7 makes sense.

Computer Life Testing and Failure Rates

There are various failure modes that can result in your computer, well, failing. Computer manufacturers have a few tricks up their sleeves to reduce the failure rate seen by end users.

What makes this interesting is that assumptions made by the manufacturer regarding warranty periods can be upset by the decision to leave a computer on 24/7; let's find out why.

Computer and component manufacturers use various tests to ensure the quality of their products. One of these is known as Life testing, which uses a burn-in process that accelerates the aging rate of a device under test by cycling power, running devices at elevated voltage and temperature, and exposing the devices to conditions beyond the environment they were intended to operate in.

Manufacturers found that devices that survived their infancy would continue to operate without problems until their expected lifetime was reached. Devices in their middle years rarely failed, even when exposed to conditions just outside their expected operating range.

The graph demonstrating failure rate over time become known as the bathtub curve, because it looked like a bathtub viewed from the side. Components fresh off the manufacturing line would display a high failure rate when first turned on. That failure rate would drop quickly, so that in a short time, a steady but extremely low failure rate would occur over the remaining expected years.

Near the end of the component's life, the failure rate would start to rise again, until it quickly reached a very high failure rate, such as that seen near the beginning of the component's life.

Life testing showed that components were highly reliable once they were beyond the infancy period. Manufacturers would then offer their components after using a burn-in process that aged the devices beyond the infancy period. Customers who needed high reliability would pay extra for these burned-in devices. Typical customers for this service included the military, NASA contractors, aviation, and medical.

Devices that did not go through a complex burn-in process were sold mostly for consumer use, but the manufacturers included a warranty whose time frame usually matched or exceeded the infancy time on the bathtub curve.

Turning your computer off every night, or when not in use, would seem like it could be a cause for component failure, and it's true that as your computer ages, it's likely to fail when turned off or on. But it's certainly a bit counterintuitive to learn that putting stress on your system when it's young, and under warranty, may be a good thing.

Remember the bathtub curve, which says that early device failure is more likely when the components are very young, and that as they age, failure rates drop? If you remove some of the expected types of stress by never power cycling your computer, you slow down the aging process. In essence, you extend the length of time the device remains susceptible to early failures.

When your computer is under warranty, it may be advantageous to provide a modicum of stress by turning your computer off when not in use, so that any failure that occurs because of turn on/turn off stress happens under warranty.

Leaving your computer turned on 24/7 can remove a few of the known stress events that lead to component failure, including the in-rush of current that can damage some devices, voltage swings, and surges that occur when turning a computer off.

This is especially true as your computer ages and comes closer to the end of its expected life. By not cycling the power, you can protect older computers from failure, at least for a while.

However, for younger computers, it may be more of a "don’t care" issue, as research has shown components in the teenage through adult years remain very stable, and don't show a likelihood of failure by conventional power cycling (turning the computer off at night).

For new computers, there's the question of removing stress being an agent of slowing down aging, thus extending the time frame for early failure to occur beyond the normal warranty period.

Using Both Options: Turn the Computer Off When New, and Leave On With Age

Do what you can to mitigate environmental stress factors, such as operating temperature. This can be as simple as having a fan in the hot months to ensure air movement around your computer system. Use a UPS to help keep voltage surges at bay, and keep voltage levels constant.

Use a normal turn on and turn off cycle; that is, turn the computer off when not in use during the original manufacturer's warranty period. This will help ensure all components are aged out under warranty to a time frame when failure rates fall to a low level. It also helps to ensure that any failure that may happen will occur under warranty, saving you some serious coin.

Once you move beyond the warranty period, the components should have aged beyond the infant mortality time frame and entered their teenage years, when they're tough and can stand up to just about any reasonable amount of stress thrown at them. At this point, you can switch to a 24/7 operating mode, if you wish to.

So, new computer, turn it on and off as needed. Teenage to adult, it's up to you; there's no real benefit either way. Senior, keep it on 24/7 to extend its life.

When Running 24/7 Which is Better, Sleep or Hibernation?

One possible problem with running your computer 24/7, even if it isn't actively being used, is that you may discover that your computer entered a hibernation mode that's extremely similar to turning your computer off and back on again.

Depending on your computer and the OS it's running, it may support multiple types of power saving options.

Generally speaking, sleep mode is designed to reduce power consumption while keeping the computer in a semi-operational state.

In this mode, your computer spins down any hard drives and optical drives it may have. RAM is powered down to a lower activity state. Displays are usually dimmed, if not outright powered off. Processors run with a reduced clock rate or in a special low-level state. In sleep mode, the computer can usually continue to run some basic tasks, though not as speedily as in a normal state. Most open user apps are still loaded but are in a standby state.

There are exceptions, depending on your OS, but you get the idea. Sleep mode conserves power while keeping the computer turned on.

Hibernation, another version of reducing power consumption, varies a bit between Mac, Windows, and Linux OSes.

In hibernation mode, apps that are running are put into a standby state, and then the content of RAM is copied to your computer's storage device. At that point, RAM and the storage devices are powered off.

Most peripherals are put into standby mode, including the display. Once all data has been secured, the computer is essentially turned off. Restarting from hibernation mode isn't much different, at least as experienced by the components that make up your computer, than turning your computer on.

As you can see, if you haven’t ensured that your computer won't enter its hibernation mode after some amount of time, you're not really keeping your computer on 24/7. So, you may not be realizing the effect you wanted to achieve by not turning your computer off.

If your intent is to run your computer 24/7 to perform various processing tasks, you'll want to disable all sleep modes except for display sleep. You probably don’t need the display to be active to run any of the tasks. The method for using only display sleep is different for the various operating systems.

Some OSes have another sleep mode that allows specified tasks to run while placing all remaining tasks in standby mode. In this mode, power is conserved but processes that need to be run are allowed to continue. In the Mac OS, this is known as App Nap. Windows has an equivalent known as Connected Standby, or Modern Standby in Windows 10.

No matter what it's called, or the OS it runs on, the purpose is to conserve power while allowing some apps to run. In regard to running your computer 24/7, this type of sleep mode doesn't exhibit the type of power cycling seen in hibernation mode, so it could meet the needs of those who don't wish to turn their computers off.

Leave the Computer On or Turn It Off: Final Thoughts

If you're asking if it's safe to turn your computer on and off as needed, the answer is yes. It's not something I would worry about until the computer reaches old age.

If you're asking if it's safe to leave a computer on 24/7, I would say the answer is also yes, but with a couple of caveats. You need to protect the computer from external stress events, such as voltage surges, lightning strikes, and power outages; you get the idea. Of course, you should be doing this even if you plan to turn the computer on and off, but the risk is slightly greater for computers left on 24/7, only because it's likely they'll be turned on when a severe event occurs, such as a summer thunderstorm rolling through your area.