Carpentry

Reattach loose baseboard trim

Baseboard pulling away from the wall usually means the nails have worked loose or missed a stud. Nailing it back into the studs takes about ten minutes, and once the holes are filled and touched up, the repair blends right in. Find the studs before you start, since nailing into nothing but drywall is usually how the baseboard came loose in the first place.

A hammer driving a finish nail into a baseboard while the other hand presses it flat against the wall
Angle finish nails slightly down so they catch the wall plate.
Quick answerNail it back into the studs with finish nails, one near the top and one near the bottom into the wall's bottom plate, then set, fill and touch up the holes.
Worth checking firstFigure out why it pulled away before nailing it back. If there's a gap because the floor or wall is out of level, nails won't hold it; you'll need shims or caulk. If the old nails simply missed the studs, nailing into studs should hold it.
Easy20–30 min$5–15
Baseboard cross-section with a finish nail into the stud at the top and one angled into the floor plate below
How to reattach baseboard: one nail near the top into the stud (1), one angled down into the floor plate (2), then sink the heads with a nail set (3).

How baseboard is held on

Baseboard is held on with thin finish nails driven through the drywall into the and the bottom plate of the wall. Vacuum bumps, kicks and seasonal movement slowly work those nails loose. Fixing it means new nails at a slight angle, set just below the surface, with the holes filled so you can't see them.

Why it pulls away

Loose finish nails

Vacuum bumps and kicks work them loose.

Missed studs

Nails that only hit drywall never held well.

Seasonal movement

Wood shrinks and swells with humidity.

Uneven walls

A wavy wall leaves gaps no nail can pull tight.

What kind of gap?
What you seeWhyBest fix
Trim pulled away in one spotNails worked looseRenail at the studs and set the heads.
Small gap along the top edge, wall is wavyThe wall isn't flatPaintable caulk along the top edge.
Gap along the bottom at the floorThe floor dipsAdd shoe molding or quarter round along the floor.
Trim soft, swollen or stained at the bottomWater damageFind the leak first. Then replace the trim.
Mind the wiresKeep nails away from the areas directly above outlets, where wires may run just behind the trim.

Nail it back

0 of 5 done
  1. Find the studsLook for existing nail holes along the trim, or use a stud finder. Nails need to hit wood behind the drywall.
    Small filled nail holes along a baseboard lined up with the studs behind the wall
  2. Press it tightPush the baseboard firmly against the wall and floor with your hand or knee.
    Baseboard pushed firmly against the wall and floor to close the gap
  3. Nail at a slight angleDrive two finish nails at each stud: one near the top into the stud, and one near the bottom into the wall's bottom plate. Don't nail into the floor itself, which can crack or pin flooring that needs to move.
    Something went wrong?
    • The nail won't bite or goes in too easily You probably missed the stud. Pull it, find the stud again, and fill the stray hole.
    • The trim splits Drill a small pilot hole first, and keep nails back from the ends of the board.
    Two finish nails at a stud, one near the top into the stud and one angled down into the floor plate
  4. Set the nail headsPut a nail set on each head and tap it about 1/16 inch below the surface.
    Nail set tapping a finish nail head just below the surface of the baseboard
  5. Fill and touch upPress wood filler into the holes, wipe it flush, and touch up with paint once dry. Caulk the top gap along the wall if needed. Press along the board; it shouldn't move or click.
    Wood filler pressed into nail holes with a putty knife and touched up with paint

Watch it done

How To Fix Loose TrimBy Ace Hardware on YouTube. Their method may vary a little from ours.
Watch on YouTube
How you'll know it's fixed
  • The baseboard sits tight against the wall and floor
  • Pressing along the board, it doesn't move or click
  • Nail heads sit just below the surface and the filled holes are flush

Gap along a wavy wall? Run a thin bead of paintable caulk.

If a gap won't close

If a gap remains because the wall is wavy, run a thin bead of paintable caulk along the top edge instead of forcing the trim.

If the baseboard is split, glue the crack with wood glue and clamp it with painter's tape before nailing.

Stagger the nailsStagger nails slightly, one higher and one lower, rather than lining them up. They hold better and the holes are less noticeable.
Look deeper ifBaseboards pulling away because the floor or wall is moving, or signs of water damage along the bottom. That's a bigger problem than trim.Fix it yourself or call? Compare the cost →

What a pro typically charges (a rough estimate; prices vary by area): A handyman typically charges $100–$250 to reattach and touch up baseboard in a room.

Find a carpenter near you

Related trim jobs

Baseboard questions

What nails should I use for baseboard?

2 to 2.5 inch finish nails, long enough to go through the trim and drywall into the stud.

Should I caulk the top of baseboards?

Yes, a thin bead of paintable caulk hides small gaps and makes trim look finished.

Can I use construction adhesive on baseboard?

You can add a few dabs behind stubborn sections, but nails still do the main work. Adhesive alone makes the trim hard to remove later.

Should I use a nail gun?

A finish nailer makes the job quicker and neater if you have one, but a hammer and nail set work fine for a few loose spots.

Why does my baseboard keep coming loose?

Usually the nails missed the studs, so they're only held by drywall. Find the studs and renail there.

Why is my baseboard pulling away from the wall?

Usually the finish nails have loosened or missed the studs. Nail it back into the studs, then set, fill and touch up the holes.

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

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

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 stepHow to use a hammer (without bending nails)How to grip it, start a nail, swing, and pull nails cleanly.