Both parts have a opening for a tiny magnet. Depending on the hinge tolerances, magnets might not be needed.