A straight door frame with gaps around the casing costs you about three hours and $40 in materials to fix. The trim itself isn’t complicated—it’s three pieces of wood nailed around a door—but the corners separate if you skip one critical step most guides don’t mention, and the whole job looks crooked if the frame isn’t square before you start.
I’ve trimmed out probably fifteen doors at this point—rentals where the landlord left bare jambs, my own house after replacing old hollow-cores, a couple at my sister’s place. The first few looked fine until winter hit and the miters opened up. Now I check two things before I even buy trim: is the frame actually square, and am I painting or staining this. Those decisions control everything else.
We may earn an affiliate commission when you buy through links in this article. This doesn’t cost you anything and helps us continue publishing practical home repair guides.
What you’ll need
Tools:
- Miter saw (or hand miter box and saw)
- Brad nailer (18-gauge) or hammer and 1.25″ finish nails
- Tape measure
- Combination square or 2-foot level
- Coping saw (if you’re doing inside corners the right way)
- Stud finder
- Nail set
- Sandpaper (120 and 150-grit)
Materials:
- Door casing (10-15 linear feet for standard 32″ door)
- 1.25″ brad nails or finish nails
- Wood glue
- Paintable acrylic caulk or stainable wood filler
- Shims (if frame needs adjustment)
- Scrap 1×2 or trim offcut for backer board
Safety:
- Safety glasses (required for saw and nailer per OSHA woodworking standards)
- Dust mask for sanding
- Hearing protection if using power tools
Before you start: check the frame
This is the step that saves you from redoing the job. Before you cut anything, grab a 2-foot level and check each side of the door frame for plumb. Hold the level against the jamb—if it reads vertical, you’re good. If it’s off by more than 1/8″ in either direction, the trim will follow that angle and make the door look crooked even if your cuts are perfect.
I learned this the expensive way on a bedroom door in my house. Frame was a solid 1/4″ out on one side. I installed the trim anyway, figured I’d just cut it careful. Door looked drunk. Had to pull it all off, shim the frame straight with cedar shims behind the jambs, and start over.
Check the head (top) of the frame too—use the square to confirm 90° corners where the head meets the jambs. If you’re more than 1/8″ out of square, shim it now or call someone who does this regularly. Out-of-square frames are fixable but they’re fiddly, and forcing trim around one will make the door bind.
Choose your trim profile and finish
Picking trim isn’t just aesthetics—it determines your corner technique, your material, and how forgiving the job will be.
| Profile | Width | Best for | Material | Cost per foot |
|---|---|---|---|---|
| Colonial | 3-3/8″ | Traditional homes, painted | Pine | $1.50–$2 |
| Ranch | 2-1/4″ | Modern, minimal | MDF | $0.75–$1.50 |
| Shaker | 3.5″+ | Craftsman, stained | Hardwood | $3–$5 |
Stain vs. paint—and why it matters for wood movement: Decide now, not after you’ve installed it. Painted trim hides small gaps—you’ll caulk the corners and it’ll look fine. Stained trim shows every gap, especially after the wood shrinks in winter.
Solid pine trim shrinks 1/8″–1/4″ in width over a heating season as indoor humidity drops; hardwoods vary by species but follow similar patterns. MDF doesn’t shrink but can swell if exposed to humidity. If you’re staining, you need tight corners that account for this movement, which means either coped joints or the backer board trick I’ll cover in step 5. If you’re painting, standard miters with caulk work.
I default to pine for painted jobs and poplar for stained work. MDF is cheap and smooth but dents easily, and it swells if it gets wet. For a typical interior door that won’t see moisture, it’s fine.
Sand everything to 150-grit before you install it. Smoother surface, better paint adhesion, and you won’t be sanding in tight corners later.
Step 1: Measure and cut the head casing
Measure the width of the door opening at the inside edge of the jamb. Add 1/4″ to each side—this is your reveal, the amount of jamb edge that stays visible. So a 32″ opening gets head casing cut to about 32.5″ between the inside points of the miters.
Set your miter saw to 45° and cut both ends. Cut one end, measure from the long point, mark it, then cut the other end. If you’re hand-sawing, use a miter box and take it slow—angled cuts are easy to mess up without a guide.
Test-fit the piece across the top of the door before you nail it. Both mitered ends should sit where the jambs meet the head, and you should see an even 1/4″ of jamb edge along the top and sides. If the frame is square, the miters will point straight down the jambs. If they don’t, recheck your frame.
Step 2: Install the head casing
Run a thin bead of wood glue along the back edge of the trim where it’ll contact the jamb. This isn’t structural, but it helps keep corners tight long-term.
Position the head casing so the reveal is even—1/4″ of jamb visible all around. Fire three brad nails through the face of the trim: one in the center, two near the corners. Aim for wall studs when you can (use the stud finder), but if you’re nailing into drywall, make sure you’ve got at least one nail into solid framing. Brad nails alone in drywall won’t hold over time.
If you’re hand-nailing, pre-drill to avoid splits, especially near the ends. Use a nail set to countersink the heads below the surface—you’ll fill these later.
Step 3: Measure and cut the side casings
Measure from the bottom inside corner of the head casing down to the floor. Subtract 1/16″ so the trim doesn’t stand proud at the bottom. Cut a 45° miter on the top end to match the head casing angle, and cut the bottom square (or at 45° if you’re planning to run base shoe or quarter-round underneath).
Here’s where you choose your approach for the corners.
Step 4: How to cut door trim at corners—miter vs. cope
Most DIY guides assume you’re mitering all four corners—two 45° cuts meet at each top corner. That’s the fast way, and it works fine for painted trim. But if you’re staining or you live somewhere with seasonal humidity swings, those miters will open up as the wood moves.
For painted trim: miter and caulk
- Cut both side casings with 45° miters at the top
- Install with glue and nails
- Caulk any gaps, paint over them
- Seasonal movement gets hidden by paint and caulk
For stained trim: cope the joint
Coped joints handle wood movement better because one piece wraps around the profile of the other—gaps from shrinkage happen at the back of the joint where you can’t see them.
Here’s the execution:
- Install the first side casing with a standard 45° miter at the top
- On the second side casing, cut the 45° miter as usual
- Use a coping saw to cut along the profile line revealed by the miter, undercutting at about 5° so the front edge makes contact but the back edge doesn’t bind
- Test-fit—the coped end should wrap tightly around the installed piece
- Trim and adjust with the coping saw until the fit is tight
Takes practice. Do a test piece on scrap first. This Old House has detailed coping tutorials if you need visual reference, but the basic principle is: follow the profile line revealed by your miter cut, undercut slightly, test-fit and adjust.
I cope joints when I’m staining trim in visible areas. For painted trim in secondary rooms, I miter and use the backer board trick instead.
Step 5: The backer board trick for tight miters
If you’re mitering the corners and want them to stay tight, cut a piece of scrap trim or 1×2 about 6–8″ long. Glue and nail it to the wall framing behind the corner, running at a 45° angle so it sits behind both mitered pieces. When you install the side casings, they’ll butt against this hidden backer, which fills the void behind the joint and keeps the corner from opening up as the wood shrinks.
None of the top install guides mention this, but it’s a standard finish carpentry trick. I started using it after watching a corner gap open up on stained oak trim in my dining room. Pulled the casing, added backers, reinstalled—it’s been three years and the corners are still tight.
Step 6: Install the side casings
Apply glue to the back edge and the mitered corner. Position the casing so the reveal matches the head piece—1/4″ of jamb visible. Nail through the face with three nails per side, spaced evenly: one near the top miter (this pulls the corner tight), one in the middle, one near the bottom.
If you used the backer board, you’ll feel the trim seat against it as you press the corner together. If you coped the joint, you might need to trim the cope slightly with the coping saw to get a perfect fit—test-fit before you glue.
Install the second side casing the same way.
Step 7: Fill, caulk, and finish
Use a nail set to make sure all brad heads are slightly below the surface. Fill the holes with paintable wood filler (or stainable filler if you’re finishing natural). Let it dry, then sand flush with 150-grit.
Run a bead of paintable acrylic caulk along any gaps between the trim and the wall or jamb. Tool it smooth with a wet finger. If you’re staining, use stainable wood filler instead of caulk—caulk won’t take stain and you’ll end up with visible white lines.
Prime and paint (two coats of semi-gloss enamel holds up best), or stain and apply two coats of polyurethane following the manufacturer’s dry times between coats.
Step 8: Test the door and check clearance
Open and close the door through its full swing. If it binds on the trim or won’t close all the way, the trim is intruding into the opening.
Here’s the specific check: Open the door fully and measure the clearance between the trim edge and the door’s swing path. You need a minimum of 1/8″ to prevent binding as seasonal humidity shifts the door frame. Tighter than that and you risk the door catching on the trim mid-season, especially in older houses where frames move.
Standard trim sits about 1/4″ back from the inner edge of the jamb (the reveal), so clearance is usually fine. If the door binds anyway, either the frame was out of square or the trim wasn’t positioned correctly. You’ll need to pull it off and adjust.
Check that the corners are tight, the reveal is even, and there are no proud edges where the trim stands out from the wall. If everything looks good and the door operates smoothly with proper clearance, you’re done.
When to call a professional
Stop and hire a finish carpenter if:
- The door frame is more than 1/4″ out of square—trim won’t fix that, and forcing it will make the door bind
- You’re installing custom hardwood casing that you’re planning to stain—mistakes are visible and expensive on stained trim
- You see active water stains or mold around the frame—fix the moisture problem first
- The opening is arched or non-standard—those require templating and bending techniques that aren’t beginner-friendly
This is a reasonable DIY project if the frame is square, you have a miter saw and brad nailer (or patience with hand tools), and you’re okay with painted trim being slightly more forgiving than stained.
Common issues
Miter corners have gaps: Frame is out of square, or wood has shrunk. Use the backer board trick behind the joint and caulk the face if it’s painted. For stained trim, pull it and install coped corners instead.
Trim stands proud of the wall: You drove the nails too deep or the drywall isn’t flush to the framing. Pull the trim, add shims behind it, or sand the back edge to fit the wall contour.
Door binds on the trim: Trim is extending into the door’s swing path. Pull it and reinstall with the correct reveal (trim should sit 1/4″ back from the jamb’s inner edge), and verify you have at least 1/8″ clearance to the door swing.
Brad nails won’t hold: You’re nailing into drywall with nothing behind it. Find the studs with a stud finder and nail there, or switch to longer finish nails (1.5″) that can grab framing through the drywall.
FAQ
Can you install door trim without a brad nailer?
Yes. Use 1.25″ finish nails and a hammer. Pre-drill the nail holes to avoid splitting the wood, especially near the ends, and use a nail set to countersink the heads. It takes longer and requires more care, but the result is identical. I installed trim in two rentals with just a hammer before I bought a nailer.
Do you paint door trim before or after installing it?
Install it first. You’ll create nail holes and gaps during installation that need to be filled and caulked, and those won’t blend in if you’ve already painted. Prime and paint after the trim is up, filled, and caulked. Sand between coats for a smooth finish.
How much does interior door casing installation cost in materials?
For a standard 32″ door, expect $30–$60 depending on the trim profile and material. Pine colonial casing runs about $1.50–$2 per foot, and you need 10–15 feet. Add $10 for nails, glue, caulk, and wood filler. MDF trim is cheaper; hardwood for staining costs more.
Should door trim touch the floor?
Usually, yes. The side casings run to the floor, and if you’re installing baseboards later, the baseboard butts against the casing. If you’re adding base shoe or quarter-round, you can leave a small gap (1/8″) at the bottom of the casing and let the base shoe cover it. I run mine to the floor unless I’m planning base shoe.
Interior door trim is one of those jobs that looks simple until you hit the corners or realize the frame isn’t square. Check the frame first, decide on your finish before you pick materials, and account for seasonal wood movement—1/8″–1/4″ of shrinkage is enough to open a mitered corner on stained pine. The job takes an afternoon for a standard door, and testing clearance after installation prevents binding later.