Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

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 serverfault.com Jan 18 '12 at 10:30

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

2 Answers 2

up vote 10 down vote accepted

To disable Safe Sleep:

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

Further details can be found at http://www.normalesup.org/~martinez/macosx/, 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.