Exterior

Fix a loose fence rail

A loose fence rail, the horizontal board the pickets hang on, has usually pulled off the post because its nails rusted or the wood shrank. Propping it level and fastening it back with galvanized nails or exterior screws, plus a metal rail bracket, makes it as strong as it was, or stronger. A cracked rail can be reinforced with a second board alongside it, and a rotted one replaced. Fix the post first, then the rail.

Quick answerMake sure the post is solid, prop the rail level, fasten it to the post with angled galvanized nails or exterior screws, and add a rail bracket or block under it. Sister a cracked rail with a new 2x4 or replace a rotted one.
Worth checking firstPush on the post first. A wobbly post is the real problem more often than the rail.
Easy30–90 min$10–50
A wood fence section with two posts and two horizontal rails carrying pickets. On the left post, a rail end is fastened with galvanized nails driven at an angle and supported by a metal rail bracket. On the right post, the lower rail has dropped off its post with rusted nails, and a cracked rail is reinforced with a new 2x4 fastened alongside it. A loose, leaning post is marked to fix first.
Rails are fastened to the post with angled nails or screws (1) and a bracket (2). A dropped rail (3) can be refastened, a cracked one (6) sistered with a new 2x4 (4), and the post (5) checked first.

How a fence rail is held up

A wood fence has posts set in the ground, two or three horizontal rails running between the posts, and pickets nailed to the rails. Rails are attached to the posts by nailing or screwing through their ends at an angle, or by sitting in a notch or a metal bracket.

The joint between rail and post takes the weight of the pickets plus every gust of wind against them. Nails rust, wood shrinks away from them, and the rail sags or drops out. Rails also crack where a knot weakens them, or rot where water sits on top of them.

Why fence rails come loose

Rusted nails

The joint lets go.

Wood shrinkage

The rail pulls away from the nails.

Cracked rail

A knot gives way under the pickets.

Rot on top

Water sits on a flat rail.

Loose post

The rail follows the post.

What's happening?
You noticeLikely causeStart at
Rail end dropped off the postNails let goStep 2
Rail sags in the middleCracked railStep 5
Rail soft or brokenRotStep 6
Post moves tooLoose postStep 1
Treated wood and heavy sectionsWear gloves, safety glasses and a dust mask when cutting pressure-treated wood, and wash your hands before eating. Don't burn treated scraps. A fence section can be heavy and fall when the rail lets go, so prop it before pulling fasteners.

Let's fix it

0 of 6 done
  1. Check the post firstPush on the post next to the loose rail. If the post wobbles, leans or is soft at the ground, the rail isn't the real problem, and fixing the post comes first. If the post is solid, go on.
    Hand pushing a fence post to see if it wobbles at the ground next to a loose rail
  2. Prop the rail levelLift the rail back into place and prop it with a scrap block or brick so it's level and tight against the post. Check it with a level. Pull any rusted nails sticking out of the joint.
    Brick propping a dropped fence rail back up level against the post, checked with a level
  3. Refasten it to the postDrive two galvanized nails or exterior screws at an angle through the end of the rail into the post, one from the top and one from the side if you can reach. Screws hold better in old, dry posts; predrill near the end of the rail so it doesn't split.
    Something went wrong?
    • The rail end split Predrill, or use a screw and a bracket instead of nailing near the end.
    Hammer driving a galvanized nail at an angle through the end of the rail into the post
  4. Add a bracket or cleatScrew a galvanized fence rail bracket under the rail end and into the post with the screws or nails the bracket maker lists. If you don't have a bracket, screw a short pressure-treated 2x4 block to the post right under the rail so it rests on it.
    Galvanized metal rail bracket screwed under the rail end and into the post
  5. Sister a cracked railIf the rail is cracked but solid, cut a pressure-treated 2x4 to run between the posts, set it right beside or below the old rail, and fasten it to both posts and to the old rail every foot or so. Nail the pickets to it if they've come loose.
    New pressure-treated 2x4 fastened alongside a cracked fence rail between two posts
  6. Replace a rotted railIf the rail is soft or broken through, pull the picket nails along that rail with a pry bar, take out the old rail, and cut a new pressure-treated 2x4 to the same length. Fasten it to the posts the same way, then nail the pickets back on with galvanized nails.
    Something went wrong?
    • The new rail is too short Cut it to fit tight between the posts, or rest it on brackets and screw it in.
    Pickets being pried off a rotted fence rail with a pry bar and a new rail cut to length

Watch it done

How to install 2x4 runners on a 6FT Privacy FenceBy Hartzog Fence on YouTube. Their method may vary a little from ours.
Watch on YouTube
How you'll know it's fixed
  • The rail is level and tight to both posts
  • The section doesn't sag when pushed
  • Pickets are firmly nailed

Still sagging? The post may be loose or rotted at the ground.

If it's a picket or a gate

If a single picket is broken, see the guide for replacing a fence picket.

If the gate sags, see the guide for fixing a sagging gate.

Let the rain run offSlope the top of a new rail slightly or tilt the board so rain runs off. Water sitting on a flat rail is what rots it.
Renting?If you rent, report fence damage to your landlord.
Call a fence contractor ifPosts are rotted, leaning or loose in the ground, several sections are sagging, or the fence is on a property line you share and the work needs your neighbor's agreement.Fix it yourself or call? Compare the cost →

What a pro typically charges (a rough estimate; prices vary by area): A fence contractor or handyman typically charges $100–$300 to repair a section with loose or broken rails, more if posts need replacing.

Find a handyman near you

Something else going on?

Loose fence rail questions

How do I fix a loose fence rail?

Prop it level, fasten it to the post with galvanized nails or exterior screws at an angle, and add a metal rail bracket or a 2x4 block under the end.

Should I use nails or screws on a fence rail?

Either works if it's rated for exterior and treated wood. Screws hold better in old, dry posts.

How do I fix a sagging fence rail?

If it's cracked but solid, fasten a new 2x4 alongside it between the posts. If it's rotted, replace it.

What holds a fence rail to a post?

Nails or screws through the rail end, a notch in the post, or a metal fence rail bracket.

Do I need to fix the fence post first?

Yes. If the post wobbles or is rotted, a new rail won't stay put.

Reader reports

Did this fix work for you?

Tell the next person how it went. Your numbers are added to the totals anonymously; tips are read by our team before they appear.

How did it go?
Reader Q&A

Questions from readers

No questions on this guide yet. If you're stuck, ask below. Useful questions and answers get added here for the next person.

Ask a question

More from us

We read every question before anything is published, and we never show names or emails. Please leave out personal details. Privacy

About the authors

GrabTheHammer Team

  • No sponsored picks
  • Safety first
  • Tells you when to call a pro

We're a small team of writers and editors who check every guide against manufacturer instructions and common code requirements. Our goal is to help you understand the problem, tackle what you safely can and know when to call a pro.

Checked against: Manufacturer instructions for the parts and products involved.

How we write and review →
A helpful next stepReplace a broken fence picketPry off the old one, cut a match, and fasten it with exterior nails or screws.