Introduction: How to Create a Hidden Magnetic Gate Latch

About: We’re a group of people that have a passion for magnets and their endless possibilities. Our aim is to help people understand how magnets can be used.

Creating a hidden gate latch need not be a costly or a difficult job. There are several ways you can create a hidden locking mechanism on a garden gate, including different ways of using magnets.

Peter, from Cambridgeshire recently emailed our technical experts in search of a little advice and inspiration. Peter explained that he was in the process of creating a gate to keep his cats out of a section of his garden. Peter had considered cup, magnet and steel disc systems but was looking for a more cost effective solution.

Peter had heard that using countersunk magnets with opposite poles on their countersunk faces could be a solution but had a few questions. With a little extra guidance from our technical experts, Peter was able to find the perfect magnets.

Peter asked if the magnets he was going to purchase needed to be touching. This is a very common question and the answer is no they don’t, strong magnets like neodymium countersunk magnets are powerful enough to attract each other through an air gap, although the bigger the gap the weaker the attraction. Strong magnets will continue to be effective even through a gap of several millimeters. However, if you anticipate there being a gap between two magnets you may need to use larger magnets.

Peter was also concerned about the possibility of the magnets constantly coming into contact with each other and damaging them. Peter was right to be concerned as strong magnets are made from neodymium, which is a brittle material and prone to corrosion when not coated or protected. However, this can be easily solved by using magnets with a rubber coating, which will also protect the magnets from the elements

Step 1: Source Countersunk Rubber-coated Magnets

You will need one rubber-coated neodymium magnet with a north countersunk face and one with a south countersunk face of the appropriate size. You can get 27mm diameter and 40mm diameter varieties which are countersunk on both sides from

Step 2: Attach One Magnet to Backing Piece

Fix one of the magnets to a piece of fencing to match your gate and fix the magnet to it using a brass or stainless steel screw. This is important to prevent the screw drawing any of the magnetism.

Step 3: Attach Backing Piece to Gate Frame

Fix this piece of wood to the frame of your gate so that the magnet is facing the inside of your gate.

Step 4: Attach Other Magnet to Gate Panel

Fix the other magnet to the inside of your gate in the appropriate position so that it meets the magnet attached to the gate frame.

Step 5: Done!

The magnets will now attract each other, keeping your gate closed.