---
title: "Discussion on \"Can you close a MacBook without it going to sleep?\" | Hashnode"
description: "Discussion on \"Can you close a MacBook without it going to sleep?\". Yes, even with no display attached. Why the lid is forced sleep, what gets past it, and what only stops idle sleep."
url: "https://hashnode.com/posts/close-macbook-without-sleep/6af9de718232f65b2ebbd87e"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Can you close a MacBook without it going to sleep?](https://keepmacawake.hashnode.dev/close-macbook-without-sleep?utm_source=hashnode&utm_medium=feed)

Yes, even with no display attached. Why the lid is forced sleep, what gets past it, and what only stops idle sleep.

1d ago · 3 min read · keepmacawake.hashnode.dev  
Read the article

-   [#macos](https://hashnode.com/tag/macos)
-   [#macbook](https://hashnode.com/tag/macbook)
-   [#productivity](https://hashnode.com/tag/productivity)
-   [#apple](https://hashnode.com/tag/apple)

## Written by

[Keep Mac Awake](https://hashnode.com/@keepmacawake)

@keepmacawake

  
[View profile](https://hashnode.com/@keepmacawake)

Guides to keeping a MacBook awake with the lid closed: pmset, sleep, agents and long jobs.

Keep Mac Awake is a Mac menu bar app and command line tool that keeps a MacBook awake with the lid closed for a session you start. These guides explain Mac sleep, pmset and long jobs with the lid closed, and first appear on keepmacawake.com.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
