A side gate that stays shut without anyone thinking about it is one of the simplest route fixes around a house. The latch matters, but the gate has to hang square and the post has to hold it, or no latch will work for long. Install in this order, and the gate will do its job for years.
Local option: New Plan Care gives families in the St. Louis area in-home help so a parent can stay home: companionship, help with bathing and dressing, meals, and overnight care. Call (314) 405-0887.
Step one: measure and check before you buy
Note the gate height and width, which side the latch goes on, and whether the gate swings in or out. Identify the post material, whether it is wood, vinyl, or steel, because the fasteners depend on it. Check whether the gate already has a stop on the latch side. Write all of this down before you visit the hardware counter.
Step two: check the gate itself
Close the gate and see whether the top corner on the latch side sits higher or lower than the post. A gate that sags will not latch reliably, so fix the sag or the hinges first. Tighten hinge screws, add a diagonal brace if the frame has twisted, and make sure the gate swings freely without dragging on the ground.
Step three: choose the latch type
Gravity latches drop into place, spring latches snap shut, and self-closing hinges pull the gate back when it is released. Choose the one that can be operated with his hands from the outside and from the inside. Keep this decision about the latch only, and leave any lock choice to the separate question of who needs a key.
Step four: mark the height
Set the latch height so it lands at a comfortable reach from both sides of the gate. Mark the post and the gate with a pencil, then check the marks with the gate closed. A latch set too high can be missed, and one set too low can catch on the next dog or the next pile of leaves.
Step five: drill and mount
Drill pilot holes so the screws do not split the post or the gate. Mount the post plate or catch first, then the gate plate, and check alignment with the gate closed before the screws are fully set. If the latch needs a shim to line up, add it now.
Step six: set the self-closing hinge
If you chose a self-closing hinge, set the tension so the gate closes from the fully open position without slamming. Adjust slowly and test each change. A gate that slams stresses the latch and the post, and a gate that does not close loses its purpose.
Step seven: test the swing
Close the gate with the latch engaged, then push and pull on it with your full weight. Open it from both sides and check that the latch catches without lifting. Have a helper watch the swing while you open and close the gate several times. Any rub, wobble, or failure to catch means you go back to step two.
Step eight: check it again in a week
Screws loosen and posts settle. Check the latch, the hinge tension, and the gate height after a week, then once a season. Write down any change so you can see the trend.
The next move
This week, measure the gate and the post, check for sag, and confirm which side the latch goes on. Buy the latch type that matches the post material before you drill anything, then run the full swing test with a helper.