Home & Lifestyle

How to Build a Privacy Fence: DIY Fence-Building Tutorial

Written by MasterClass

Last updated: Jul 15, 2021 • 6 min read

A DIY fence can save homeowners a lot of money in labor costs and offer increased privacy for an outdoor living space.

Learn From the Best

What Is a Privacy Fence?

A privacy fence is a tall barrier that runs along the outside boundaries of a property or yard to provide privacy from neighbors or passersby. Privacy fence panels can be made from wood (either pickets or lattices), vinyl, stone (like brick or concrete), privacy screen, or even shrubbery and are often used as a decorative element of a home’s outdoor space to increase curb appeal. Some homeowners choose to build their own privacy fences as a challenging yet satisfying DIY project.

Other fence styles that can serve as boundaries for a property include short picket fences, chain-link fences, split-rail fences, and wrought-iron metal fences.

What Materials Do You Need to Build a Privacy Fence?

Here is a list of materials that avid DIYers will need to build a basic wood privacy fence:

  • Wood: While not quite as low maintenance as other fencing materials (like vinyl fencing), wood is among the most inexpensive building materials and can be easier to work within a do-it-yourself project than other materials. Treated wood is the most common material for wood fencing since it is more heavy-duty and durable against weather and insects than untreated wood. Options include cedar fences, treated pine fences, or redwood fences. When shopping for fence boards, buy (or cut) pieces for the treated posts, rails, and pickets. Home improvement stores may offer pre-cut wood fence panels at a lower cost than custom woodcuts.
  • Drill and screws: A power drill and wood screws (or deck screws) will help you attach your rails and pickets. Alternatively, you can use a nail gun, though nails won’t offer as much stability as deck screws.
  • Shovel and post-hole digger: To secure your fence posts, you’ll need to use a post-hole digger to dig deep, even holes. Alternatively, you can rent a power auger, which can dig holes even faster.
  • Concrete mix: Your fence posts will be secured in the ground with concrete.
  • Level: A level is a useful tool for ensuring that each fence post is at a 90-degree angle with the ground and not slightly skewed.
  • Batter boards and string: Batter boards are pieces of wood that you can set up to delineate your fence line (or, optionally, you can use wooden stakes or PVC pipes). You’ll use batter boards and string as a guide to build your fence in a straight line and plumb with the other pieces.
  • Nails: Nails can help you evenly attach string to your fence pickets.
  • Wood stain, sealant, or paint: Wood can be vulnerable to weather or insects, so a coat of stain, sealant, or paint can increase the durability of privacy fencing and help it last longer.

How to Build a Privacy Fence

Here’s how to build a basic DIY privacy fence from wood:

  1. 1. Check your local regulations. Before you make any purchases or draw up plans, you need to determine whether a privacy fence will work for your property. If it does, you’ll need to identify your property lines to ensure you’re constructing the fence within the proper boundaries. If you don’t have a house plat—a map showing your boundaries and property size—you can obtain one from your local assessor’s office. If possible, discuss any fence ideas with your neighbors to avoid property disputes. Research local building codes for fence installation, and check-in with your homeowners’ association and utility companies to see if you need to apply for a building permit before starting your new fence project.
  2. 2. Draw your fence designs. Next, determine the fence’s height and length, how many fence posts you’ll need, and their spacing. You may also want to plan for a fence gate or browse privacy fence ideas online to get a sense of the type of fence you prefer. Find the right balance between your personal preferences, local regulations, and the size of the available wood materials.
  3. 3. Set up the perimeter. Install batter boards or wooden stakes, and tie a string between them to delineate the fence’s location. Ensure the string is at the same height on each batter board or stake (use a nail or screw to keep it in place) so that you can use it as a guide to align each fence slat perfectly. Use wood stakes or marking paint to mark each post location. Once you set up the perimeter, mark your measurements, then temporarily remove your string line to make room for digging the post holes.
  4. 4. Dig your post holes. Once you know where each fence post will go, use a shovel and post hole digger to make a hole for each post. The depth of each hole will depend on your particular area. If your area regularly sees deep freezes, opt for holes at least 42 inches deep; if deep freezes are uncommon, opt for at least 24 inches deep. (Factor in the depth of each hole when buying or cutting your fence posts to ensure your posts will be tall enough after being placed in each hole.) After digging the holes, reset your batter boards and string so you can line up your fence posts as precisely as possible.
  5. 5. Install your fence posts. After you’ve dug the holes, follow the instructions on your concrete mix to set the posts and fill in the holes with concrete. As you set your posts, use a level to ensure they’re perfectly upright, and follow the string on your batter boards to ensure they’re in alignment. Allow the concrete to cure for the time listed in the instructions. Place post caps atop each post for a more polished look.
  6. 6. Attach your fence rails. Most wooden fences have two horizontal rails, an upper and a lower, onto which the fence panels are attached. Once your fence posts are in place, use string to mark where you want your fence rails to go. Use a power drill and screws to attach each rail to the posts. For maximum structural integrity, stagger your upper and lower rails—for instance, if a top rail spans three fence posts, make sure your bottom rail spans posts are to the left or right of the joints of the top rail so that no one post has joints on both the top and bottom rails. Use a jigsaw to make the ends of your rails flush with the posts at the ends of the fence.
  7. 7. Attach your pickets. Once your fence rails are in place, attach the individual pickets to your rails. To ensure picket uniformity, first, install pickets at the far ends of your fence, and then tap a nail into the top of each picket and wrap a string between the two pickets. As you attach additional picket posts to your fence rails, line up the top of each picket with the string to keep them visually aligned and balanced.
  8. 8. Allow the lumber to dry. Wait at least a month before staining or painting your fence to give the lumber time to dry out completely.
  9. 9. Finish your fence. Apply coats of stain, paint, or sealant to your fence as a preservative to protect it from the elements. In general, aim to restain or repaint outdoor wood fences every few years to keep them durable.

Ready to Give Your Space a Chic Update?

Master everything from color theory to pattern mixing with the MasterClass Annual Membership and exclusive lessons from award-winning interior designers like Kelly Wearstler and Corey Damen Jenkins. From shopping for statement furniture to designing a lighting scheme to choosing the newest member of your plant family, the skills you’ll pick up are sure to make your house, apartment, or condo feel even more like a home.