How to Prevent Mac From Sleeping

admin, , , 0
How to Prevent Mac From Sleeping

In a world that never stops, every second counts, and your Mac shouldn’t be calling the shots on when to take a break. Right?

While Macs are built to be energy-savvy, there are times when you need them to be as alert as a sentinel on duty. While the default settings on a Mac are designed to conserve energy and extend battery life, there are times when you want your system to be wide awake and ready for action. Wondering how to prevent Mac from sleeping? You’ve come to the right place. In this article, we’ve assembled a bunch of tips and tricks that range from quick tweaks to effective solutions, all designed to suit your specific needs and preferences.

Whether you’re a coding ninja or a casual user looking to squeeze every ounce of productivity out of your Mac, we’ve got your back.

Why Mac Goes in Sleep Mode?

Mac in sleep mode

Mac goes into sleep mode to conserve power and extend battery life. When the system detects inactivity for a set period, it gradually powers down non-essential components while storing the current state in memory. This allows for quick resumption when awakened. Sleep mode is ideal for laptops, as it ensures energy efficiency during periods of idleness.

Additionally, it aids in preserving the longevity of hardware components. However, there are instances when users may want to prevent their Mac from entering sleep mode to maintain uninterrupted workflows or monitor specific tasks.

Also read: Best Ways to Lock Your Mac Screen

How to Prevent Mac From Sleeping?

So, you want to stop MacBook from sleeping? If you’re determined to keep your MacBook wide awake, consider it done. We’ve got just the solutions for you.

Solution 1: Tweak the Sleep Mode Settings Via Terminal

If you’re eager to take control and keep your Mac wide awake, tweaking the sleep mode settings via Terminal is a powerful approach. This method allows you to customize the duration of inactivity before your Mac enters sleep mode.

Here’s a step-by-step guide:

Step 1: Open Spotlight (Cmd + Space) and type “Terminal,” then hit Enter.

Macbook terminal

Step 2: Type the following command and press Enter:

sudo pmset -a sleep 0

This command disables sleep mode.

Step 3: If you want to revert to the default settings, use this command:

sudo pmset -a sleep 15

This sets the inactivity threshold to 15 minutes.

This method provides a more granular level of control over sleep mode, allowing you to tailor it to your specific workflow and preferences.

Solution 2: Change Sleep Time Via Settings (macOS Ventura)

In macOS Ventura, the most recent iteration of the macOS, you have the flexibility to personalize your battery and power preferences. Here’s what you need to do to stop MacBook from sleeping:

Step 1: Tap on the Apple icon located in the upper-left corner of your screen. Navigate to “System Preferences.”

Step2: Scroll down the sidebar until you find it and click on “Lock Screen.”

Step 3: Locate the option labeled “Turn display off on power adapter when inactive” in the right panel, then click the adjacent drop-down menu.

Lock screen on mac

Step4: Choose your preferred duration from the drop-down list (ranging from 1 minute to ‘Never’) to set the sleep time.

Step 5: Next, find the line that reads “Turn display off on battery when inactive” and repeat step 5 for this option as well.

Also read: How To Downgrade From macOS Ventura To macOS Monterey

Solution 3: Customize Sleep Mode Settings on macOS Big Sur and Monterey

Here are the steps for macOS Big Sur and Monterey to prevent Mac from sleeping:

Step 1: Click on the Apple icon in the top-left corner of your screen and select “System Preferences” from the drop-down menu.

Step2: In the System Preferences window, locate and click on “Energy Saver.”

Step 3: Within the Energy Saver window, you’ll find a slider labeled “Turn display off after.” This controls how long your Mac will wait before putting the display to sleep. You can drag the slider to your desired time or select “Never” for the display to stay active indefinitely.

Macbook Battery

Step4: To further customize sleep settings, click on the “Schedule” button. Here, you can set specific times for your Mac to start up, wake, sleep, and even restart.

Once you’ve adjusted the settings to your liking, close the System Preferences window. Your Mac will now follow the new sleep time you’ve set.

This method offers a user-friendly way to personalize your Mac’s sleep behavior without delving into Terminal commands. It’s ideal for those who prefer a more intuitive approach to system settings.

Also read: How To Fix A Mac That Won’t Shut Down

Solution 4: Prevent Mac From Sleeping sleeping With Lid Closed (macOS Ventura)

By default, your Mac takes a power nap the moment you close the lid. It’s a smart move, really! It helps conserve battery life, and when you lift the lid, a quick password is all that stands between you and your work-in-progress. It’s like your Mac knows when to hit the snooze button for efficiency! But what if you need to keep it wide awake even with the lid down? Let’s dive into how you can break the slumber mode and keep those ideas flowing!

Here’s the method to prevent your Mac from sleeping when the lid is closed on macOS Ventura:

Step 1: Navigate to the Apple menu > System Preferences.

Step2: Select “Displays” from the sidebar. Click on “Advanced”.

Step 3: Tick the box that says “Prevent automatic sleeping when the display is off”.

Prevent automatic sleeping

Step4: Click “Done” to apply and save the changes.

Also read: How To Use Macbook In Clamshell Mode With The Lid Closed

For MacOS Monterey and Earlier:

To keep your Mac alert even with the lid closed in macOS Monterey and earlier, follow these steps:

Step 1: Click on the Apple icon situated in the top left corner of your screen. Select “System Preferences.” Navigate to “Energy Saver.”

Prevent automatic sleeping of mac when power is off

Step2: Locate the option that reads “Prevent your Mac from automatically sleeping when the display is off.” Check the box next to it and confirm your selection.

Dealing With a Slow Mac? Download and Install Cleanup My System App Today!

Experiencing the frustration of a Mac that’s running at a snail’s pace? Look no further than “Cleanup My System,” a nifty creation by Systweak Software, designed to turbocharge your Mac’s performance.

Cleanup my system

With this expert tune-up tool at your disposal, you can effortlessly locate and eliminate clutter like junk files, pesky email attachments, bulky and outdated files, and much more—all with just a single click. Watch your Mac regain its lightning-fast speed!

For seamless application management and the thorough removal of unwanted software, “Cleanup My System” offers a thoughtfully crafted Uninstaller. This tool allows you to effortlessly bid farewell to troublesome apps and ensure their associated files vanish completely, leaving no trace behind. Say goodbye to the clutter in just a few clicks!

Get Cleanup My System


In conclusion, gaining the ability to prevent Mac from sleeping unlocks a realm of uninterrupted productivity and convenience. Whether you opt for adjusting settings through Terminal commands or navigating System Preferences, you now have the knowledge and tools to keep your Mac alert and ready whenever you need it.

By tailoring sleep mode settings to align with your workflow and preferences, you’ve taken a significant step toward maximizing the potential of your Mac. In the dynamic world of technology, every second counts!

Must Read

Leave a Reply

Your email address will not be published. Required fields are marked *

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