Mac notebooks: Magnets in devices may cause computer to sleep unexpectedly

Placing a device that contains a magnet (such as an iPhone) under your computer or on its palm rests can cause the computer to sleep unexpectedly. This can also appear to cause the computer to have difficulties starting up.

Computers that may have this behavior include:

  • MacBook (Late 2009 and later) 
  • MacBook Air (2008 and later)
  • MacBook (13-inch, Aluminum, Late 2008)
  • MacBook Pro (late 2008 and later) 
  • All MacBook Pro with Retina display computers

This can occur due to:

  • Stacking computers. This can result in the top computer going to sleep before it's completely started up. For best results, do not stack computers.
  • Placing an iPhone or another magnetic device on top of a computer's palm rest. For best results, do not place devices with magnets on your computer.
  • Placing an iPad on the computer's palm rest since certain iPad cases also contain magnets.
  • Placing the computer on other items that are magnetized. 

This is expected behavior. Automatic sleep operation depends on magnets. A switch in the computer body, known as a Hall Effect switch, is normally activated when a magnet in the display gets close to it when you close the computer. When stacked, the magnet in the bottom computer may activate the magnetic switch in the top computer. Likewise, the speakers in an iPhone contain magnets which can trigger the sleep function.

Last Modified:
84% of people found this helpful.

Additional Product Support Information

Start a Discussion

in Apple Support Communities
See all questions on this article See all questions I have asked
United States (English)