A magnetic latch for a display of a laptop computer uses magnetic attraction to maintain the display closed and uses magnetic repelling forces to pop-up the display when opened. The latch includes one or more magnetic elements in the body of the laptop and at least one magnetic element in the display. When the display is closed, the magnet element in the display is positioned adjacent the magnet element in the body having an opposite polarity so that the magnet elements are attracted to one another. To pop-up the display, the user moves the magnetic element in the display so that it meets the magnetic pole in the body having the same polarity. When these meet, the repelling force between them causes the display to open slightly so that a user can then readily open the display.