Project details
Skill
Cost
Estimated Time
A well-designed fence gate can improve your home’s security while keeping children and pets safely contained. In the video above, This Old House expert Nathan Gilbert shows how to create a custom wood gate with horizontal paneling to complement an existing wood fence.
Planning Your Custom Fence Gate
Before starting construction, decide where you want your gate, how large you want it, and what material you like.
Gate Size and Location
Determine the correct gate size and location based on your existing fence layout and intended use. For this project, Gilbert opted for two small, 2-foot gates that open inward, allowing for easy access when taking out trash or entering the yard. Consider the following factors:
- Purpose: Will your gate be accessed by people, vehicles, or both? Its size and location should accommodate the intended use. A standard pedestrian gate is typically 3 to 4 feet wide, while vehicle gates are usually 10 to 12 feet or up to 20 feet for double gates.
- Access: Place the gate in a location that offers easy access while minimizing disruption. Avoid putting it in areas prone to heavy foot or vehicle traffic that would make it harder to use. You’ll also want to position it where it aligns with existing pathways or driveways for convenience.
- Regulations and restrictions: Some areas have specific requirements or restrictions. Check local building codes or homeowners’ association rules to ensure your gate is compliant. Make sure you place the gate within your property lines and that it doesn’t encroach on neighboring properties or public right-of-ways.
Materials
Choose materials that match your existing fence and can withstand outdoor conditions. For this project, Gilbert used pressure-treated lumber for posts, frames, and panels. You’ll also need heavy-duty hinges, a slide bolt lock, and expanding foam fence post mix. Here are some popular material options:
- Wood: Wood offers a classic, natural look and can be customized with various stains, paints, and designs. It’s an affordable option but requires regular maintenance to protect against weathering and decay, especially in harsh climates.
- Metal: Metal is durable, strong, and resistant to rust, providing excellent security and making it a good choice for areas prone to moisture. On the downside, metal gates can be expensive and get very hot in direct sunlight, which could be a concern in hot climates.
- Vinyl: Vinyl is a great all-around choice. It doesn’t require painting or staining, doesn’t rot, crack, or fade easily, and comes in various styles and colors. However, it’s not as strong as metal, which could be a security concern.
- Composite: Made from a mix of wood fibers and plastic, composite gates are low-maintenance and durable, resisting weather, rotting, and splitting. However, these gates can be more expensive than wood or vinyl options.
- Chain link: Chain link gates are cheap and resistant to damage and weather conditions. However, they’re not the most aesthetically pleasing and offer less privacy and security.
- Glass: Glass offers a modern, sleek look and can be frosted or tinted for privacy, but it’s more susceptible to breakage and may require more frequent cleaning. It’s also pricey and requires more caution when installing.
Tools Required
Once you’ve selected your gate and planned where to put it, gather the necessary tools. These may vary depending on your selected material.
- Brad nailer
- Compound miter saw
- Drill
- Level
- Post hole digger
- String line
- Tape measure
Installing the Posts for the Fence Gate

The following steps are for installing a wooden gate, as demonstrated in the video.
- Mount 2-by-4-inch boards on either side of the gate location, set back 3/4-inch from the corner board.
- Dig holes approximately two feet deep for each post.
- Use a string line between the 2×4 boards for proper post height and alignment.
- Attach strapping to each 2×4 to prevent post tilting.
- Place the posts in the holes and secure them to the strapping.
- Fill the holes with expanding foam fence post mix (cures in three minutes).
Constructing the Gate Frame
With the posts securely in place, it’s time to build the gate frame:
- Cut pressure-treated 2×4 boards to size for the gate frame.
- Assemble the frame using butt joints, checking that it’s square and level.
- Attach heavy-duty tee hinges to the post, using a 3/4-inch spacer to maintain proper alignment.
- Mount the gate frame to the hinges, checking for smooth operation.
Pro Tip: Tom Silva, general contractor on This Old House, stresses the importance of a beefy gate frame: “The most important part of a gate is in the back. You got two by four, top and bottom rails, two by three side rails and a two by three cross member. This is gonna keep that gate from racking.”
To prevent racking — the most common cause of gate failure — install a diagonal wood brace running from the top of the latch side to the bottom of the hinge side. This orientation transmits the force of gravity to the strongest part of the gate through compression. If a gate has already started to sag, a threaded rod or wire with a turnbuckle can rescue it; because that system works by tension instead of compression, the rod runs in the opposite direction of a wood brace.
When building the frame, rip the top and bottom rails to 4 inches and the stiles to 22 inches. Cut the top rail 1 inch shorter than the span between the posts to allow for a ½-inch gap on each side. Align the stiles beneath the top rail like legs, then drive 3-inch stainless-steel screws at an angle through the edges and up into the top rail. Fit the bottom rail between the stiles 5 inches from their lower ends and drive screws through its edges into the stiles. Prime all pieces before assembly to protect end grain from moisture.
Adding Horizontal Panels to Your Gate
To match your existing fence, add horizontal panels to your gate. Here’s how:
- Cut 1×4 and 1×8 pressure-treated boards to fit the gate frame.
- Arrange the boards in an alternating pattern for visual interest.
- Check for consistency across both sides of the gate for a polished look.
- Secure the boards to the frame using a brad nailer or screws.
Finishing Touches To Complete Your Custom Fence Gate
Complete your custom fence gate with these final steps:
- Install a 1×4 cap board across the top of the gate for a finished appearance.
- Add a slide bolt lock to secure the gate when it’s closed.
- Consider painting or staining the gate to match your existing fence, or allow the pressure-treated wood to age naturally.
Fence Gate Maintenance and Care
Follow these best practices to keep your gate working and in good condition:
- Apply a water-resistant sealant every few years to protect the wood.
- Clean the gate periodically to remove dirt and debris.
- Lubricate hinges and locks as needed to maintain smooth operation.
- Regularly inspect the gate for loose hardware or damaged boards.
Alternative Fence Post-Setting Methods
While Gilbert used expanding foam fence post mix in this project, there are other options for setting fence posts.
Fast-Setting Concrete
Fast-setting concrete is a no-mix concrete that can be poured directly into the post hole and then mixed with water. This mixture sets in 20–40 minutes.
Traditional Concrete Mix
Traditional concrete mixes are the most reliable option for setting fence posts. Though they require more effort to mix and pour, they’re very stable.
Pro Tip: This Old House landscape contractor Roger Cook uses concrete only for gateposts or when rock prevents digging deep enough—one-third of the post’s length. For standard fence posts, he sets them on a 6-inch base of ¾-inch crushed stone to encourage drainage, then fills around the posts with the excavated soil (minus the topsoil), packing it down every 6 inches. In clay soil, which doesn’t drain well, he packs only gravel around the posts.
Gravel Base
A more simple but effective method is setting the posts in a gravel base. This creates better drainage and prevents the posts from rotting over time. Place the post in the hole, add gravel around it, and compact the gravel firmly.
Pro Tip: This Old House landscape contractor Roger Cook swears by gravel for setting fence posts: “I put it underneath and down the sides. It locks in the post, improves drainage, and helps the wood stay drier.”
Types of Fence Gate Hinges and Latches
Hinges and latches help secure your gate and ensure it opens easily. Heavy-duty hinges, like T-hinges and strap hinges, are made from stainless steel and are highly durable. Strap hinges, on the other hand, have a classic look and are often used in ornamental gates.
Thumb latches are traditional and easy to use, while slide bolts are simpler and provide stronger security. Gravity latches are self-closing, perfect for busy homes with kids and pets.
Additional Custom Fence Gate Features
Consider adding an automated gate opener for convenience. This is particularly useful for large or frequently used gates. Adding decoration like ornamental hardware or decorative cutouts can provide a personal touch to your project. You can also incorporate lighting fixtures on or around your gate.
