Skip to content
GateandGuard

01 Baby Gates & Stair Safety Guide

DIY baby gate vs buying one: the plans are easy, the four specifications are the hard part

Building a gate is a Saturday with a miter saw. Matching what a certified gate does - bar spacing, height, latch force, and a frame that does not become a ladder - is the part the plans leave out.

By
Mike M.
Updated
Method
How we choose
A person using a cordless drill on a wall
#ad

We earn a commission if you buy through our links, at no extra cost to you. It never decides the ranking: the method is published. Affiliate disclosure

What the federal rule actually requires

This is the part that is missing from every "build a farmhouse baby gate in an afternoon" plan. Gates sold in the US as child safety gates are a regulated juvenile product. The consumer product safety rule at 16 CFR part 1239 incorporates the ASTM F1004 standard, and that standard is not a vague gesture at sturdiness. It sets the dimensions of the openings in the gate so a child cannot get a head or a limb through, a minimum height, the force the latch must survive, a structural test for the whole assembly, and requirements aimed at the gate not offering a toehold a child can climb.

None of that applies to a gate you build, because the rule governs products that are sold. It also means no inspector is going to turn up at your house. The reason to care is simpler: those requirements exist because children were hurt by gates that did not have them, and a plan on the internet has not been through any of the thinking behind them. The requirements themselves are explained in plain language on baby gate safety standards explained.

The four specs a build has to match

Bar spacing. The gaps in a compliant gate are sized so a child cannot pass a head or a limb through them. A DIY gate made from fence pickets or a cut-down pallet commonly has gaps far wider than that, and the hazard is not falling through - it is getting a limb or a head stuck in a gap while standing on a staircase.

Height. Most manufactured gates are 29 to 31 inches, with extra-tall versions near 36. A gate much lower than that is a hurdle rather than a barrier by about eighteen months. The usable rule is three quarters of the child's standing height, and the detail is on how tall should a baby gate be.

Latch force and direction. A certified latch resists a specified pull and needs a motion a toddler cannot replicate. A barrel bolt or a hook-and-eye from the hardware store is neither: both come open under a steady pull, and a hook-and-eye in particular gets rattled open by a child who cannot even see it. If you build, the latch is the component to buy rather than improvise.

Nothing to climb. Horizontal rails are a ladder. This is the detail that catches good-looking DIY builds: the attractive farmhouse gate with three horizontal boards is the most climbable object in the hallway. Vertical members only, and no decorative crossbar at toddler foot height.

When DIY is genuinely the right call

There are real cases, and they share a feature: no drop on either side.

A very wide opening. Past about 60 inches, manufactured gates get expensive fast. A purpose-built barrier across a 10-foot opening between a kitchen and a family room, on one level, is a reasonable build. Check the alternatives first - the configurable systems on best extra-wide baby gates go further than most people expect.

A hearth or a fireplace surround. A custom surround can fit a stone hearth better than anything off the shelf, and the hazard it addresses is a burn and a sharp edge rather than a fall. The manufactured options are on best fireplace baby gates.

A pet barrier. If the thing you are containing is a dog and the child in the house is either absent or old enough to be past gates, the standard is not the point. That distinction is the whole of baby gate vs pet gate.

A cosmetic frame around a bought gate. The best of both: buy a certified gate, build the trim around it. You keep the mechanism, the spacing and the latch, and you get the finish you wanted.

What to buy instead, by situation

The cost argument, honestly

DIY gate plans usually quote the cost of the wood. The real comparison includes a latch worth trusting, hinges, a hinge-side mounting block, screws, stain or paint, and the hours. Done properly, with a bought latch and timber that is not going to splinter, a homemade gate lands close to the price of a mid-range manufactured gate, and our baby gate price comparison shows what that money buys off the shelf: a published certification, a tested latch, and an extension panel in the box.

Where the savings are real is the very wide opening and the very odd shape, which is exactly where the no-drop rule tends to apply anyway. If you are building because the staircase is strange rather than because gates are expensive, read baby gates for angled and irregular openings first; an adapter or an out-of-square hardware gate solves most of those for less than a sheet of plywood.

One last thing, whichever way you go: fix it to the structure. The single most common failure in a homemade gate is not the gate, it is the hinge side screwed into drywall rather than a stud or a solid casing. That is the same screw that matters on a manufactured hardware gate, and how to install a baby gate covers it.

How we chose

How these picks were chosen

Every product currently sold for this job was read and compared, then scored against the exact problem this page is about: the manufacturer's published specs, the opening and fit charts, the safety standard it states, the install conditions in the manual, the warranty terms and the cited research. The sources are listed at the bottom of the page.

Scores come from that published data on a rubric you can read, a missing spec is scored neutral rather than guessed, and nobody pays for placement. The full rubric is on How We Choose.

Standards & certification
30%
Installation truth
30%
Toddler resistance
20%
Adult one-hand use
5%
Damage & reversibility
5%
Value
10%

The weights that ordered this page. Each product's score is published on our 8.4-9.8 recommendation scale and is the same wherever it appears.

FAQ

Questions people ask

Is it safe to build your own baby gate?
It can be, away from stairs. A homemade gate across a doorway on one level, with vertical members, narrow gaps, a bought latch and a hinge side screwed into solid timber, is a reasonable project. At the top or bottom of a staircase, buy a certified gate: that is where the published requirements on spacing, height, latch strength and climbability were written for, and where being wrong is most expensive.
Do homemade baby gates have to meet any standard?
No, because the federal rule at 16 CFR part 1239 applies to gates that are sold, not to something you build for your own home. That is a legal answer rather than a safety one. The requirements in ASTM F1004 exist because of real injuries, and a build that ignores bar spacing, height and latch strength is ignoring the reasoning rather than passing a test.
What spacing should the bars on a DIY baby gate be?
Narrow enough that a child cannot pass a head or a limb through, which is what the gate standard specifies and what manufactured gates are built to. The honest advice is to copy the spacing of a certified gate you can measure rather than pick a number off a woodworking plan, and to use vertical members only so there is nothing to climb.
Can I make a baby gate out of a pallet or an old door?
For a pet barrier or a doorway on one level, possibly. For a staircase, no. Pallet timber splinters and its gaps are wide; an old door is heavy enough to be a hazard in its own right if it comes off its mounting, and neither gives you a latch that resists a pull. If the appeal is the look, build a trim frame around a certified gate instead.
Is it cheaper to build a baby gate than to buy one?
Rarely, once you price a trustworthy latch, hinges, fixings and finish alongside the timber - a certified pressure gate starts around the fifty-dollar mark at list price. Building wins on very wide openings and unusual shapes, which is also where the manufactured options run out. Price the adapter route first if the problem is an awkward staircase rather than cost.

Keep going

Update log

What changed

  • First published.

Receipts

Sources

  1. 01CPSC: Business guidance for gates and enclosures, 16 CFR part 1239 / ASTM F1004 (accessed Sep 21, 2026)
  2. 02ASTM International: F1004-22 Standard Consumer Safety Specification for Expansion Gates and Expandable Enclosures (accessed Sep 21, 2026)
  3. 03Federal Register, Nov 14, 2022: Safety Standard for Expansion Gates and Expandable Enclosures (ASTM F1004-22, wall-cup warning label) (accessed Sep 21, 2026)

Specs, standards statements and install requirements come from the manufacturer's own pages and manuals (or a named retailer's listing where the brand doesn't publish them); injury data and standards come from the CPSC, ASTM, NEC via ESFI and the AAP, linked above. Prices are set by Amazon and change often, so the buy button always takes you to the live listing. Read the full method.