Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Whenever I close the lid of my MacBook Pro it takes over a minute to write out my memory to disk. This is part of the Mac's safe suspend option, which allows it to restore your memory from the hibernation file if the Mac loses power (say you change batteries or they go flat) while it is asleep.

I prefer my machine to go to sleep as soon as possible and am willing to take the risk of an unclean shutdown should my battery go flat.

A long time ago I disabled this behavior, but have recently reinstalled my machine and OS X has reverted to the default behavior.

How can I disable the hibernation action when I close the lid?

share|improve this question

migrated from Jan 18 '12 at 10:30

This question came from our site for system and network administrators.

up vote 11 down vote accepted

To disable Safe Sleep:

$ sudo pmset -a hibernatemode 0
$ sudo nvram "use-nvramrc?"=false

Further details can be found at, Including how to enable it again.

share|improve this answer

I use the SmartSleep preference pane.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.