Installing door trim — also called door casing — turns a raw doorway into a finished room. The trim covers the gap between the door frame and the drywall, hides uneven cuts from the framing stage, and gives you clean lines that match the rest of your baseboard and crown molding. Most people can do this with a miter saw, a brad nailer (or hammer and finish nails), and a Saturday afternoon.
This is finish carpentry, not structural work. You’re fastening decorative boards to an existing door frame. The worst-case outcome is a visible gap at the miter joint or a nail hole you need to fill twice — annoying, but fixable. The best case is a doorway that looks like a pro installed it, and you saved $300 in labor.
What you’ll need
Tools:
- Miter saw (10” compound recommended) or hand miter box with handsaw
- Tape measure and pencil
- Combination square or speed square
- Brad nail gun (16- or 18-gauge) with compressor, or cordless model
- Alternative: 16 oz finish hammer and nail set
- Level (2-foot or longer)
- Stud finder (optional but helpful for finding jack studs)
- Coping saw (only if you’re doing coped inside corners instead of miter joints)
Materials:
- Interior door casing stock: 3/4” × 2.25” pine, oak, or finger-jointed pre-primed boards (enough for two 7-foot sides and one 3-foot head piece — about 17 linear feet total for a standard door)
- Finish nails: 1.25”–2” length, 16- or 18-gauge (one small box, ~$5)
- Wood filler: Elmer’s Carpenter’s Wood Filler for painted trim, or Minwax stainable filler for stained trim
- Paintable caulk (optional, for painter’s-finish aesthetic)
- Sandpaper: 120-grit and 150-grit
- Primer and paint, or stain and polyurethane (depending on your finish choice)
Prerequisites:
- Door frame already installed and square (diagonals within 1/4”)
- Wall surface finished (drywall mudded and sanded, or plaster complete)
Before you start
Eye and ear protection required. Miter saws throw fine dust and small chips; brad nailers can ricochet fasteners off hard knots in the wood. Wear safety glasses for both operations. Hearing protection is recommended for pneumatic nail guns — they’re loud in an enclosed room.
Check your reveal. The “reveal” is the offset between the inside edge of the door frame and the inside edge of the trim. Standard reveal is 1/4” to 3/8”. Mark this distance on the frame with a pencil at the top corners and midway down each side so you have a guide when you position the trim.
Acclimate the trim. Let your trim boards sit in the room for 48 hours before cutting. Wood expands and contracts with humidity changes. Trim that’s too dry will gap in winter; trim that’s too wet will buckle in summer. If you’re working in a climate-controlled house, this is less critical, but it’s a good habit.
Know when to stop. If your door frame is severely out of square (diagonal measurements differ by more than 1/2”), the trim won’t hide that — you’ll get gaps that no amount of caulk can fix cleanly. In that case, the frame itself needs attention before you add trim. Call a carpenter to assess whether the frame can be shimmed or needs replacement.
Step 1: Measure and mark your reveal
Use a combination square set to 1/4” (or your chosen reveal distance) and mark the door frame at several points: both top corners, midway down each side, and the bottom corners if you’re running trim all the way to the floor.
These marks are your alignment guides. When you position the trim, the inside edge should line up with these marks, creating a consistent border around the entire doorway. If the marks don’t line up because the frame isn’t perfectly straight, split the difference — adjust the trim so the reveal averages out visually.
Step 2: Cut the head casing
Measure the width of the door opening at the wall surface, not the frame itself. Add twice your reveal distance to get the inside-edge-to-inside-edge measurement for the head casing.
For miter joints (the standard residential look), cut both ends of the head casing at 45° angles pointing inward. Mark the cut line on the back face of the trim so any tear-out from the saw blade happens on the non-visible side.
Set your miter saw to exactly 45°. Most saws have a preset stop at this angle — use it. Make the cut in one smooth motion without forcing the blade. Let the saw come to full speed before cutting, and let it stop completely before lifting the piece.
Step 3: Test-fit the head casing
Hold the head casing against the frame with the inside edge aligned to your reveal marks. The two 45° cuts should point down toward where the side casings will meet them.
Check that the casing sits flat against the wall. If the wall is proud (sticks out past the frame), you’ll see a gap between the casing and the frame. You can fix this with a thin shim behind the casing, or by planing the back edge of the casing slightly. If the frame is proud of the wall, the casing will rock. In that case, you may need to shim the wall or accept a small gap that you’ll fill with caulk later.
Don’t fasten yet — just verify the fit.
Step 4: Cut and fit the side casings
Measure from the floor (or from the top of your baseboard if it’s already installed) to the point where the side casing will meet the bottom of the head casing’s miter cut. This is your long-point measurement for the side casing.
Cut the top of each side casing at 45°, angled to meet the head casing. The bottom cut is usually square (90°) if the casing runs to the floor. If you have baseboard already in place, you’ll cut the side casing to sit on top of the baseboard, also at 90°.
Test-fit both side casings. Press the miters together gently. You’re looking for a tight joint with no daylight showing through. If you see a gap, check that your saw is cutting true 45° angles — even 1° off will create a visible gap. You can sand the miter face lightly with 120-grit to adjust the fit, but it’s slow going.
Step 5: Fasten the head casing
Once you’re satisfied with the fit, fasten the head casing first. Position it carefully against your reveal marks.
If you’re using a brad nailer, set the air pressure to 80–100 PSI for 18-gauge brads in softwood trim like pine. Drive nails through the trim into the door frame (the structural part, not just the drywall) every 8–12 inches. Angle the nails slightly inward (about 10–15°) to create a mechanical lock.
If you’re hand-nailing, pre-drill 1/16” pilot holes to prevent splitting, especially near the ends of the board. Drive 1.5” finish nails with a hammer, then use a nail set to sink the heads about 1/16” below the surface.
Add a second row of nails along the outer edge of the casing, angling them to catch the wall framing (the jack stud, if you can find it with a stud finder). This pulls the casing tight to the wall and prevents it from cupping over time.
Step 6: Fasten the side casings
Fit each side casing against the head casing, aligning the miters carefully. Hold the joint tight with one hand (or have someone help) while you drive the first nail near the top of the side casing, about 2 inches down from the miter joint. This locks the miter in place.
Continue fastening down the length of the side casing, spacing nails every 8–12 inches and alternating between the inner edge (into the door frame) and the outer edge (into the wall framing).
Check the miter joint after fastening. If it opened up slightly when you nailed, you can drive one small brad nail diagonally through the miter itself, angling from the head casing down into the side casing. This pulls the joint back together. Sink the nail head and fill the hole later.
Step 7: Fill, sand, and finish
Use a flexible putty knife to press wood filler into all nail holes. Overfill slightly — the filler will shrink as it dries. For small gaps at the miter joints (less than 1/16”), wood filler works if you’re staining the trim. If you’re painting, paintable caulk is more forgiving and handles seasonal wood movement better.
Let the filler dry completely (check the product label — usually 30 minutes to 2 hours). Sand flush with 120-grit sandpaper, then smooth with 150-grit. Wipe the entire assembly with a tack cloth to remove dust.
Prime and paint, or stain and seal, per your finish choice. Two coats of paint or polyurethane are standard for durable trim. Let each coat dry fully before applying the next.
Verify it worked
Step back and look at the doorway from several angles — straight on, and from both sides at a low angle (this is where gaps show up). The miters should be tight, the reveal should be consistent all the way around, and the trim should sit flat against both the frame and the wall with no visible rocking or gaps.
Run your hand along the joints. You shouldn’t feel any proud edges or nail heads sticking up. If you do, sand or set those nails again before finishing.
Close and open the door a few times. The trim shouldn’t interfere with the door swing, and the door should still latch cleanly. If the door binds, check that you didn’t accidentally nail into the door stop or hinge side of the frame.
Troubleshooting
Problem: Gap at the miter joint after fastening
The trim shifted when you nailed it, or the frame isn’t perfectly square. If the gap is less than 1/16”, fill it with caulk (painted trim) or color-matched wood filler (stained trim). If it’s larger, remove the side casing, re-cut it with a fresh 45° angle, and re-fasten. For future joints, drive the first nail close to the miter before fastening the rest of the board — this locks the joint in place.
Problem: Trim won’t sit flat against the wall
The wall is bowed or the frame sticks out past the drywall. For minor gaps (1/16” or less), caulk the back edge of the trim where it meets the wall. For larger gaps, slip a shim behind the trim and fasten through the shim. Trim the shim flush with a utility knife after fastening, then fill and paint over it.
Problem: Nail heads keep popping out months later
This is usually seasonal wood movement or nails that didn’t bite into solid framing. Pull the popped nail, pre-drill a new hole 1/2” away from the old one, and drive a fresh nail into the door frame (not just the trim). Use a nail set to sink it below the surface, fill, sand, and touch up the paint.
Problem: Stain looks blotchy on pine trim
Pine has irregular grain density and absorbs stain unevenly. Use a pre-stain wood conditioner (Minwax or similar) before applying stain — it evens out absorption and prevents blotching. If you’ve already stained and it’s blotchy, you’ll need to sand it back and start over with conditioner.
When to call a professional
Door trim installation is low-risk DIY work, but you’d benefit from hiring a finish carpenter if:
- Your door frame is more than 1/2” out of square. This indicates a structural issue — settling, improper installation, or water damage. A pro can assess the frame and recommend shimming or replacement before you add trim.
- You want museum-quality miter joints with zero gaps and don’t own a high-quality miter saw with a sharp blade and accurate stops. A finish carpenter has the tools and the eye to cut perfect miters consistently. Expect to pay $200–400 in labor for a standard interior door, depending on your market.
- The opening has unusual geometry — arched top, angled walls, or a non-rectangular shape that requires scribing the trim to fit. That’s advanced carpentry and worth paying for if this is your first trim project.
- You’re installing hardwood trim (oak, maple) in a high-visibility space and you’ve never done trim work before. Hardwood is expensive and less forgiving than pine. A pro can install it in 2–3 hours; you might spend a full weekend and still end up with gaps.
For a standard rectangular doorway with basic tools and time to work carefully, this is a strong candidate for DIY. Take your time on the cuts, test-fit everything before fastening, and you’ll end up with a clean result.
FAQ
Can I install door trim without a miter saw?
Yes. Use a hand miter box (a guide that holds a handsaw at preset angles, including 45°) and a fine-tooth handsaw. It’s slower and requires more care to keep the saw vertical, but it works. Expect each cut to take 2–3 minutes instead of 10 seconds. A miter box and saw kit runs about $25–40 and handles occasional trim projects fine.
Do I need to remove the door to install trim?
No. The door can stay on its hinges. You’re fastening trim to the door frame and the wall, not to the door itself. Leaving the door in place actually helps — you can test the fit and make sure the trim doesn’t interfere with the door swing.
What’s the difference between door casing and door trim?
They’re the same thing. “Casing” is the formal carpentry term for the trim boards that frame a door or window opening. “Trim” is the general term people use for any decorative molding. When you install trim around a door frame, you’re installing door casing.
Can I install trim over existing trim?
Only if the old trim is thin and you’re installing thicker trim on top. Otherwise, remove the old trim first. Pry it off carefully with a flat pry bar, working from one end to avoid splitting the boards. If you’re in a rental or want to preserve the old trim for reuse, score the paint line with a utility knife before prying — it reduces tear-out.
How long before I can paint the trim after installation?
If you used wood filler, wait until it’s fully dry — check the label, but most fillers dry in 1–2 hours. If you used caulk, latex caulk can be painted in 30 minutes to 1 hour; silicone caulk needs 24 hours. Sand any filler smooth and wipe dust before priming. You can paint immediately after priming once the primer is dry to the touch.
Once the trim is installed and finished, the next common door complaint is squeaky hinges — an easy five-minute fix covered in How to Fix a Squeaky Door Hinge in 5 Minutes. If you’re doing a whole-house trim refresh, windows use the same miter-join technique and similar tools. And if you’re tracking the cost-benefit of DIY finish work versus hiring out, trim installation is one of the highest-return projects — you’re saving $200–400 in labor on a job that takes a few hours and requires only basic carpentry skills.