How to Turn Off Sleep Mode on a MacBook
Quickly disable sleep mode on your Mac to keep tasks running uninterrupted.

Maybe you're running a long program on your Mac, say, a software update, file transfer, or a script that takes hours to complete and just when you step away, the screen goes black, and everything pauses. Annoying, right? That’s macOS doing its thing: automatically going to sleep to save energy. While it’s useful most of the time, there are moments when sleep mode can get in the way.
Whether you’re giving a presentation, downloading large files, or simply don’t want to keep tapping your trackpad to keep things alive, turning off sleep mode (even temporarily) can save you from a lot of frustration.
How to Turn Off Sleep Mode on a Mac
Step 1: Click the Apple icon in the top-left corner of your screen to open the Apple menu

Step 2: Then, select System Preferences

Step 3: Select Battery

Step 4: Select Power Adapter

Step 5: Tick the box next to Prevent computer from sleeping automatically when the display is off


Step 7: Finally, drag the Turn display off after slider to Never

Conclusion
Turning off sleep mode on your Mac is straightforward if you’re just using the built-in settings. Whether you’re downloading large files, running long processes, or giving a presentation, adjusting your Energy Saver or Battery preferences ensures your Mac stays awake when you need it most. Just don’t forget to switch it back when you're done, leaving your Mac on indefinitely can drain power and shorten its lifespan.