Fix Loose Trim Around Your Bedroom

Trim separates amateur work from professional carpentry. When baseboard, crown molding, or door casing starts pulling away from the wall, it telegraphs neglect throughout the entire room. The gap might start as a hairline crack where paint no longer bridges the seam, or you might notice the wood flexing when you vacuum along the baseboard. Either way, loose trim doesn't fix itself—it only gets worse as seasonal humidity cycles swell and shrink the wood, working nails looser with each pass. The fix is straightforward carpentry that takes more patience than skill. You're essentially re-establishing the mechanical and adhesive bond between trim and wall, which means removing failed fasteners, cleaning decades of paint from mating surfaces, and setting new nails in solid wood behind the drywall. Done properly, the repair disappears completely under a fresh bead of caulk and paint. Done hastily, you'll be back in six months when the trim starts telegraphing again.

  1. Remove the loose section completely. Use a putty knife to gently pry the trim away from the wall, working along its length until you've exposed the back surface. If nails resist, tap them through from the front with a nail set rather than pulling them out the back—this prevents splintering the face. Once free, pull any remaining nail shanks with pliers and inspect both the trim back and wall surface for damage.
  2. Clean all mating surfaces. Scrape dried adhesive, paint buildup, and debris from the back of the trim using your putty knife. The wall surface needs similar attention—remove loose paint and drywall paper, but don't gouge into the drywall itself. A clean bond surface is critical for the wood glue to work properly.
  3. Locate and mark wall studs. Run your stud finder along the wall behind where the trim sits, marking each stud location with light pencil marks above where the trim will cover. Nails must hit these studs—drywall alone won't hold trim securely. Standard stud spacing is 16 inches on center, so if you find one, measure to verify the pattern continues.
  4. Apply wood glue and position trim. Run a thin, continuous bead of wood glue along the back of the trim, staying about a quarter-inch from the edges to prevent squeeze-out. Press the trim firmly into position, aligning it with your original layout. The glue provides the holding power—nails just clamp it while the adhesive cures.
  5. Nail into studs at regular intervals. Drive finishing nails at each stud location, angling them slightly downward to pull the trim tight against the wall. Use your nail set to countersink each head about an eighth-inch below the surface—this leaves a small crater for wood filler. Space additional nails between studs if the trim remains loose, but always pilot drill these to prevent splitting.
  6. Fill nail holes and sand smooth. Pack wood filler into each countersunk hole using your putty knife, slightly overfilling to account for shrinkage. Let it dry completely per manufacturer instructions—usually 30 minutes to an hour. Sand each filled spot flush with the trim surface using 120-grit paper wrapped around a small block.
  7. Caulk all gaps and seams. Cut your caulk tube tip at a 45-degree angle to create a small opening. Run a continuous bead along the top edge where trim meets wall, then immediately smooth it with a wet finger in one continuous motion. Caulk any corner joints and the bottom edge where trim meets floor. This step hides imperfections and creates the seamless look that makes trim disappear into the architecture.
  8. Prime and paint to match existing trim. Spot-prime the filled nail holes and any bare wood with shellac-based primer—latex primer will raise wood grain. Once dry, apply two thin coats of trim paint, feathering each coat slightly onto the wall to eliminate any shadow line. Cut in carefully where new paint meets old to avoid a visible repair line.