Stored page text, served from the archive.
Stored text only -- layout, images, and scripts from the original page are not preserved.
Marketplace Membership How it works Solve with AI+ Pricing Blog About Setapp Menu Sign in Try free Home Marketplace Membership How it works Solve with AI+ Pricing Blog About Setapp Sign in Home Blog How to How to stop Mac from sleeping guide 10.0 views 12 min Last Updated: Sep 30, 2026 How to stop Mac from sleeping guide Human-written by Olha Novitska Best solution Keep your Mac awake for as long as you need Lungo sits in your menu bar and prevents your Mac from sleeping with one click. Set a duration or keep it awake indefinitely. Available on Setapp. Try free via Setapp Security-tested To stop your Mac from sleeping: Go to System Settings > Lock Screen.
Set "Turn display off on battery when inactive" and "Turn display off on power adapter when inactive" to your preferred delay or Never. Go to System Settings > Battery (to keep Mac awake with the lid closed). Click Options and enable "Prevent automatic sleeping on power adapter when the display is off." Use Lungo from Setapp . Set wake duration from 10 minutes to indefinite from the menu bar — no digging through settings.
Try the app free for 7 days on Setapp. Sleep mode is a macOS feature that turns off the display, puts the processor in power-saving mode, and pauses the hard drive and some background processes. Is sleep mode useful? Absolutely.
Is sleep mode sometimes annoying? Also, yes, and here's why. If your job requires you to use a computer occasionally (e.g., periodically enter data), it takes constant clicking to wake the Mac up. The computer may fall asleep while downloading or uploading a large file, and the process may fail.
You may miss important notifications, and so on. So, we need to deal with this. By the end of this article, you'll also know 7 ways of how to stop your Mac from sleeping. These methods work for all Macs, including MacBook Air and MacBook Pro.
Quick comparison: Ways to stop your Mac from sleeping (macOS Tahoe 26 & earlier) Not sure which method to use? This table compares the 7 main approaches by speed, permanence, and best use case — so you can pick the right one in seconds without reading the full guide. But if you need more detailed guidance, scroll down. Method Speed Permanence Best for Lock Screen settings 30 seconds Permanent until changed Everyday display timeout control Battery > Options 20 seconds Permanent Closed-lid use with external display caffeinate (Terminal) 10 seconds While command runs Downloads, renders, temporary needs pmset commands 15 seconds Permanent or scheduled Advanced scheduling & fine control hibernatemode change 20 seconds Permanent Rare: forcing deeper sleep states Lungo from Setapp, 7 days free (menu bar Mac app) One click Temporary (minutes to indefinite) Quick tasks, presentations, videos One Switch from Setapp, 7 days free (menu bar Mac app) One click Toggle on/off Lid-closed mode, frequent switching Mac sleeping on the job?
Try Lungo to prevent your computer from sleeping or dimming when you don't want it to. Takes just a click! Available on Setapp. Try free Security-tested ✕ #1.
One-click solution to prevent your Mac from sleeping Let me start with a simple solution. [I will definitely show you how to set up sleep modes using standard Mac tools in the next section, but believe me, this method is much simpler and more straightforward.] The tool I recommend is Lungo – an app that prevents your Mac computer from sleeping for as long as you want. And all it takes is a few clicks. Install Lungo from Setapp.
Click the icon with a cup of coffee that appears in the menu bar. Set the wake-up time you want, from 10 minutes to indefinite. Simple, isn't it? Lungo is free for 7 days if you download it from Setapp .
Along with Lungo, you'll get 250+ other apps for Mac and iPhone that are also free and available without limitations during the trial period. #2. How to change sleep time on macOS Sonoma, Sequoia, and Tahoe? Now, let's explore Mac's built-in tools.
The settings differ slightly from OS to OS. macOS Sequoia and macOS Tahoe (the two of the latest versions of macOS at the time of writing) let you customize your battery and power settings in a similar way. Here's how to turn off sleep mode on Mac computer with macOS Sequoia and Tahoe: Click the Apple logo in the upper-left corner of the screen. Click System Settings.
Scroll down the sidebar and click on Lock Screen. Find the line "Turn display off on power adapter when inactive" in the right panel and click on the drop-down next to it. Set the sleep time by selecting the desired option in the drop-down window (from 1 minute to never). Find the line "Turn display off on battery when inactive" and repeat step 5.
#3. How to keep MacBook from sleeping on macOS Big Sur and Monterey Big Sur and Monterey have similar systems for changing sleep patterns. Here's how to change sleep time on Mac while running on battery power: Click the Apple logo in the upper left corner and go to System Preferences. Click Battery.
Move the slider at the top of the screen to Never. And here's how to prevent your Mac from sleeping while running on battery power: Click the Apple logo in the upper left corner and go to System Preferences. Click Battery. Choose Power Adapter from the sidebar menu on the left.
Move the slider to adjust the display off time. #4. How to make Mac not sleep on macOS Catalina and older macOS Catalina and older versions have a slightly different design, but the essence of the settings is the same: to set up separate battery and mains operations. Click on the Apple icon.
Choose Setting Preferences. Click Energy Saver. Move the slider at the top of the screen to Never. Check the boxes next to all the lines you see.
#5. How to prevent Mac from going to sleep when closing the lid By default, your Mac goes to sleep as soon as you close the lid. This makes sense because it saves battery life. When you open the lid, you just need to enter your password and continue working.
But if you use an additional monitor and want to close the laptop, you don't want sleep mode to activate. Let's discover how to set it up. Personal recommendation I only use the extra display a few times a week, so I need both options (sleep and awake modes when the lid is closed) equally. I don't like to dig that deep into the settings every time, so I use One Switch instead (a free 7-day trial is available with Setapp Membership).
This app allows me to change settings in one click. Look how easily I can customize the sleep mode when the lid is closed. All it takes is a click on the menu bar and check on or off the line. ✕ macOS Sonoma, Sequoia, Tahoe: keep awake when lid closed Here's how to stop your Mac from sleeping with the lid closed on macOS Sonoma: Go to the Apple menu > System Settings.
Choose Battery in the sidebar. Then click Options. Enable "Prevent automatic sleeping on power adapter when the display is off". Click Done to save changes.
macOS Ventura: keep awake when lid closed Here's how to keep Mac from sleeping with the lid closed on macOS Ventura: Go to the Apple menu > System Settings. Choose Displays in the sidebar. Then click Advanced. Check "Prevent automatic sleeping when display is off".
Click Done to save changes. macOS Monterey and earlier: keep awake when lid closed Here's how to stop your Mac from sleeping with the lid closed on macOS Monterey and earlier: Click the Apple icon in the upper left corner of the screen. Choose System Preferences. Click on Energy Saver.
Find the line "Prevent your Mac from automatically sleeping when the display is off," select the checkbox and confirm. Read also: Show Running Apps on Mac Fix macOS Could Not Be Installed on Your Computer Issue How to Use System Preferences on Mac Stop Finder Action on Mac Idea If small interruptions like this one with a sleepy Mac keep slowing you down, it may be a sign of a bigger workflow bottleneck. This free Quick Productivity Fix Finder helps spot the pattern and suggest quick fixes — so you're not just treating symptoms. #6.
How to prevent Mac from sleeping with Terminal If you want to make temporary changes to the sleep settings, you can do this through the Terminal. The changes will be active as long as the Terminal window is open. Open Terminal (type "Terminal" in the search bar in Launchpad). Enter the following command in the Terminal: caffeinate -d.
If you want to keep your laptop awake for a certain amount of time, type caffeinate -t X , where X is the number of seconds. #7. How to schedule sleep on your Mac If your Mac runs macOS Monterey and some earlier, you can set up your computer to turn on and off at the same time consistently. Here's how to set up a power-on and power-off schedule: Click the Apple icon > System Preferences.
Click on Energy Saver. Click on Schedule. Set the necessary parameters: Start or wake: on weekdays, weekends, every day, or on a specific day. Sleep, restart, or shut down: on weekdays, weekends, every day, or on a specific day.
In macOS Sonoma, this feature has been removed, but you can still use terminal commands to schedule startup and shutdown times. Open Terminal. Enter the command sudo pmset repeat sleep MTWRFSU 22:00:00 . This will make your Mac switch to sleep mode every day at 10 PM.
You can customize this command with slight changes. Press Enter. Type your admin password and press Enter. You can replace sleep with wake, shutdown, or wakeorpoweron and adjust the time and days accordingly.
MTWRFSU stands for the days of the week, and you can exclude any if you want to. To check the schedule, enter the following command: pmset -g sched . If you need to cancel it, enter sudo pmset schedule cancelall . Tip Here's a useful app for those who turn on or off their laptop on a schedule but don't always start working the moment the Mac is turned on – Endurance .
It is created to keep your Mac's battery healthy: with it, the battery life will increase by up to 20%. For example, the app gradually reduces the brightness of the screen when needed. You are not inconvenienced, and the battery lasts longer. ✕ Bonus: How to change sleep mode on Mac Did you know that you can actually choose the sleep mode type for your Mac?
Macs have three sleep modes, one of which will be the default depending on your macOS type. Check yours, and then compare it to our explanation below. Click on Launchpad (it's an icon with a total of nine squares of different colors on the Dock). Type "Terminal" in the search bar and open Terminal.
Enter the following combination: pmset -g | grep hibernatemode and press Enter. The Terminal will show you the sleep mode for your Mac: hibernatemode 0 (standard sleep) hibernatemode 1 (hibernate mode for pre-2005 portable MacBooks) hibernatemode 3 (safe sleep) hibernatemode 25 (for post-2005 MacBooks). Let's take a closer look at them. Let's compare!
Standard sleep Hibernate mode Safe sleep RAM On Off On Data processing Unsaved files, documents, and processes are stored in RAM. Before hibernating, the startup drive saves data from the RAM. Startup drive saves data from the RAM. Wake-up time Fast Longer (Mac copies data from the disk back to RAM) Fast You can change the sleep mode on your Mac by entering the following command at the Terminal: sudo pmset hibernatemode X Note Instead of X, you need to use 0, 1, 3, or 25 (the number of the mode you want to have).
Remember, though, that by default, a Mac has the mode that suits its model. So, I usually don't recommend changing this setting. Choose the best solution how to stop Mac from sleeping So, the answer to your question, "Why does my Mac keep going to sleep?" is that it's all about your settings. In general, there are three ways to change sleep settings.
System Settings (differ from macOS to macOS). Usually, you need to go to System Preferences > Lock Screen / Battery / Energy Saver > Battery or Power. Terminal. Enter the caffeinate -d command and press Enter.
Lungo and One Switch . These apps free you from digging through the settings and are the easiest way to customize your sleep mode. Both Lungo and OneSwitch are available on Setapp along with 250+ other apps that solve a variety of Mac, iPhone, and iPad tasks. All apps are free during a 7-day trial.
FAQ How do I make my Mac stay awake longer? To make your Mac stay awake longer: Go to System Settings > Lock Screen. Find the line "Turn display off on power adapter when inactive" in the right panel and click on the drop-down next to it. Set the sleep time to 3 hours or Never.
Find the line "Turn display off on battery when inactive" and repeat step 3. For more flexible timing options, use Lungo (1, 2, 4, 8, or 12 hours) or One Switch (5 minutes to 8 hours) — both are from Setapp and free for 7 days. How do I change how long my Mac screen stays on? To change how long your Mac screen stays on: Open System Settings > Lock Screen.
Adjust "Turn display off" settings for both power adapter and battery. By default, Mac offers limited options: up to 3 hours or Never. For more granular control between these extremes, third-party apps like Lungo and One Switch provide additional timing options. How do I put my Mac to sleep with the keyboard?
To put Mac to sleep with the keyboard: Option + Command + Power button (most Macs). Control + Shift + Power button (alternative method). Touch ID button (hold for 1.5 seconds on newer MacBooks). The exact combination depends on your Mac model and keyboard type.
How do I keep my Mac awake when the lid is closed? To keep your Mac awake with the lid closed: For macOS Sonoma, Sequoia, Tahoe: Go to System Settings > Battery (Tahoe) or Displays (Ventura). Click Options or Advanced. Enable "Prevent automatic sleeping when display is off".
For macOS Monterey and earlier: Open System Preferences > Energy Saver. Check "Prevent automatic sleeping when the display is off". One Switch from Setapp provides a menu bar toggle for this setting, making it easy to switch between modes. Why does my Mac go to sleep while I'm watching videos?
Your Mac might sleep during videos due to several reasons: Check your Energy Saver settings – Ensure sleep timer is set appropriately. Verify the video player – Some apps don't prevent sleep properly. Update your browser – Outdated browsers may not signal activity correctly. Try the caffeinate command – Run caffeinate -d in Terminal while watching.
Most modern video services should prevent sleep automatically. If problems persist, check Apple Support for your specific macOS version. Is it bad to stop my Mac from sleeping all the time? Preventing sleep constantly can affect your Mac in several ways: Potential downsides: Increased battery drain (20-30% faster according to some testing) Higher component temperatures Reduced SSD lifespan with constant writes More frequent fan activation Best practices: Use sleep prevention only when needed Enable sleep during breaks longer than 30 minutes Use scheduled sleep for overnight periods Consider using Power Nap for background updates For optimal battery health, Apple recommends letting your Mac sleep when not in use.
Use tools like Lungo for temporary wake periods rather than disabling sleep permanently. Is turning off the display the same as putting Mac to sleep? Turning off display is not the same as Mac sleep mode. When you turn off the display, all computer functions continue running.
Sleep mode puts your Mac into a low-power state to save energy. Most system functions pause during sleep. Display off: Screen dark, everything else running Sleep mode: Display off, CPU throttled, RAM preserved, processes paused How do I stop my Mac from sleeping when the display is off? To stop your Mac from sleeping when the display is off: Go to System Settings > Battery.
Scroll down and click Options. Turn on Prevent automatic sleeping on power adapter when the display is off. What are the best apps to keep your Mac awake for hours? There are two strong apps to keep your Mac awake: Lungo from Setapp, free for 7 days: One click from the menu bar sets a duration (10 minutes to indefinite) and prevents sleep.
No configuration needed. Insomniac from Setapp: Lets you build rules using 30+ triggers — lid state, connected displays, calendar events, CPU load, battery level, and more, so your Mac stays awake only when specific conditions are met. Is there a way to set my iMac screen always on? Yes.
Lungo from Setapp, free for 7 days, is the simplest solution. One click in the menu bar keeps the iMac awake indefinitely or for a set duration you choose. Insomniac from Setapp, too, is the power-user option, letting you build rules: keep the screen on only while a specific app is running, a display is connected, or during set hours. How to increase screen time on a MacBook Air?
To increase screen time, go with Lungo from Setapp, free for 7 days. The app prevents the display from sleeping for as long as you need. You can set a duration or keep it on indefinitely from the menu bar with one click. If you mean extending battery life to get more screen time overall, pair Lungo with Endurance from Setapp, which reduces background activity to stretch runtime.
Powerful apps live on Setapp Ditch defaults and discover new gems on one app platform. Try free Security-tested Tips & tricks Productivity Lifestyle Olha Novitska Last Updated: Sep 30, 2026 Go Up 300+ apps for all your daily tasks. Sign up to Setapp and try them for free. Get apps Security-tested More reads you might like How to get rid of the Bing redirect virus on Mac: Best native and third-party solutions How to open Terminal on Mac: My quick tips iMessage not working on Mac: How to fix it?
Company Home All apps How it works Pricing About Setapp Download Setapp Getting started with Setapp Uninstall Setapp Legal Helpful Support Trust center Join as a developer Setapp reviews Affiliate program Blog Inside the blog Editorial process How we evaluate apps Human writing Write for us Best apps VPN for Mac YouTube downloader for Mac Screen recorder for Mac Recovery software for Mac Password manager for Mac Video editing software for Mac Note–taking app for Mac Terminal for Mac Calendar app for Mac Remote desktop for Mac Cloud backup for Mac Screenshot tool for Mac Antivirus for Mac Browser for Mac Our best content Setapp guide for LLMs All macOS versions All iOS versions MacBook generations in order iPhone releases in order iPad generations in order AirPods generations in order How to's View clipboard history on Mac Change folder icon or color on Mac Recover deleted iPhone photos Access unrecognized external drive Access your Mac remotely Use recovery mode on Mac View and kill processes on Mac Stop Mac from sleeping Check MacBook temperature Fix frozen Mac Reset iPhone Reset iPad Our tools Apple serial number iPhone serial number Mac serial number iPad serial number AirPods serial number Apple Watch serial number Apple warranty number Mac warranty checker iPad warranty checker HEIC to JPG HEIC to PNG HEIC to PDF GPTs for Mac Updates from our team, written with love Love is coming your way, soon. This doesn’t look right, please try again. Try once more, our server fell asleep for a bit. I agree to receive emails from Setapp as per this Privacy Notice .
Please select the checkbox to continue. Need help? Terms of Use Privacy Notice Do not sell or share my personal information © 2026 MacPaw Way Ltd., 25 Serifou, Allure Center 11, Office No. 11-12, 2nd Floor, 3046 Zakaki, Limassol, Cyprus Sweet, let’s get you started Your email Continue or sign in with Back Create a strong password Come up with a unique password for your Setapp account: Retype Your password Show 8 characters minimum.
At least 1 uppercase letter. At least 1 lowercase letter. Continue Back What should we call you? Continue with new account: Retype Your name Captcha is required I want to get pro advice on Mac apps and exclusive member offers.
Accept Terms of Use , Privacy Notice and Cookie Notice Create account