Hanging a Barn Door Over Existing Trim: Door Size, Spacers and Header Boards

A lot of the emails I get are from people replacing a swinging door with a barn door hung over existing trim, and the first question is usually about the trim. Do I have to take it off? No, you do not need to remove the trim.

When someone emails me about this, these are my questions:

1) What is the opening height and width?

2) Do you have a trim or baseboard around the opening? If so, what is the thickness?

3) How wide is the trim, and how high off the floor is the top of it?

4) How high is the ceiling above the opening?

5) How much wall space (width) do you have on the side where you want the door to open?

6) Do you have blocking in the wall or do you plan to install a header board?

7) How thick is the door and how much does it weigh?

I own a barn door hardware store, so the figures below are for the hardware we sell. Other brands rate things differently. Most trim can be cleared with our standard duty kits and the spacers in the box. When the trim sticks out further than those can handle, I recommend our heavy duty barn door hardware. Each kit has a trim clearance option that goes up to 1-¼ inches.

Hanging a Barn Door

Can you hang a barn door over existing trim?

Last year a customer swapping a 30in interior door for a barn door asked me if he had to remove the existing wood trim. No, you do not need to remove the trim. In his case, I recommended trying to match the door width and height to cover the trim.

There are three ways to go:

1) Leave the trim and size the door to cover it. This is what most people do.

2) Pull just the head casing and put a 1×6 hardwood header board up in its place (see section 4).

3) Take the trim off all the way around so the door sits against a flat wall.

This summer a customer with an arched doorway went with the third option. The tricky aspect there was the ornamental piece at the top of the doorway. You want a door taller than the trim and the ornamental piece so the track can mount to a header board (or backing in the wall) above the trim. Our tallest doors would only cover the opening, so she decided to remove the trim all around so the doors would sit flush to the wall.

If you’re keeping the side casing and only want to deal with the top, that’s fine too. The trim at the top is the most challenging to deal with since the track should not attach to the trim.

How wide should the door be?

Without trim, our usual rule is the opening plus 4in, or plus 6in for a bedroom or bathroom. With trim, I recommend trying to match the door width to the outside of the casing. E.g. if your trim is 2in wide on a 30in opening, I would recommend a 34in wide door (2in of trim on each side of the opening).

Keep it even. Last winter a customer remodeling a pantry was planning trim up to 4in wide. So she wouldn’t have 3in of trim visible on one side and none visible on the other, I made it symmetrical so the door covers both sides of the trim.

You don’t always have to cover all of it, though. The customer with the 30in door came back and said his trim was actually 4in, and he couldn’t find a 38in wide door. Could he stay with a 32in door? Yes, you can definitely do that. The door laps 1in onto the casing on each side and the rest of the casing shows. The only difficulty that may come up is the height of the door, which is the next section.

To calculate the size of the track, you double the door width. A 34in door needs a 68in track and a 36in door needs a 72in track. Size the track to the door, not the opening. When it’s open, the door needs its full width of clear wall past the outside edge of the casing.

How tall does the door need to be?

This is where trim causes the most trouble. The track mounts above the door, so the door has to be at least as tall as the top of the head casing. Taller is fine. In other words, you want to make sure that you can bolt the track to the header board and NOT the trim. As I told the pantry customer, you’ll want to make sure the doors you get are as high or higher than the top trim.

Measure from the finished floor to the top of the head casing, not to the top of the opening.

A taller door raises the track too. On our standard duty kits the track centerline is the door height plus 1-1/2in, and on heavy duty it’s the door height plus 1-3/4in. Both of those already include the 3/8in gap at the floor. Each hanger also needs room above the door. On our kits that’s 4in to 4-1/2in for standard duty, 5-1/2in for heavy duty and 9in for wagon wheel hangers. So once you’ve sized the door to the head casing, check the ceiling against the new door height, not the old one.

Why can’t the track go on the trim?

Last winter the pantry customer asked if she could install the track into the trim above the door, so she wouldn’t need another piece above the door trim. Normally, trim work is MDF or pine and it is not anchored to the structure of the door frame. In that situation, no, mounting to the trim is not sufficient. What some people do is use a header board (1×6, hardwood) for the top trim. In that scenario, that would work.

That’s option 2 from section 1. Pull the head casing, put a 1×6 hardwood board up in its place, and it does the job of both. She was already using 1×6 for the trim over her other doors, so it matched. If you’re planning to paint, usually the most cost effective hardwood to source is going to be poplar. Oak and maple work too. Stay away from pine and MDF.

When installing, just make sure you use lag bolts to anchor into the structure of the door frame. The lag bolts we recommend for the header board are 3/8in x 3in, into every stud the board crosses. Run the board past each end of the track to the next stud.

If you keep the head casing, the header board goes on the wall just above it. The hardware should have a solid anchor to mount to, which is typically in the form of a header board, a board mounted to the outside of the wall, or backing in the wall, which is structure inside of the wall to support the load. Solid wood blocking inside the wall works instead of a header board. Either one alone is enough. I almost always recommend a header board for the following reasons:

1) It adds support

2) It allows you to be more flexible in terms of where you can put the track. You no longer have to match the bolt holes to the studs, you can bolt anywhere on the header board.

3) It helps clear your trim (more on that in section 6)

How far does your trim stick out?

This is the measurement people miss. Our standard duty and heavy duty kits hold the door 3/8in off whatever the track is mounted to. If the casing sticks out further than that, the door rubs it. Measure from the wall to the face of the casing at its thickest point.

Here’s how it works on our kits:

– Standard duty: the kits include 1in and 1/2in spacers. With a 1-3/8in door they clear up to 1in of trim, and with a 1-3/4in door up to 1/2in. A thicker door uses up more of the spacers just to get to the baseline.

– Heavy duty: the base kit is set up for a flat wall. For trim you add the trim clearance kit when you order, in 1/2in, 7/8in or 1-1/4in. That covers up to 1-1/4in.

– Hidden roller: the door sits 1in off the wall, so casing up to 7/8in clears with what’s in the box. Over that there’s a 1/2in spacer option.

Over 1-1/4in, contact us before you order. Same for bypass, since our bypass kits don’t have a trim clearance kit.

A couple months ago a customer had a 1-5/8in thick door and 5/8in thick casing. He’d built blocking into the framing behind the drywall, so since his wall had backing, he did not need a header board. Our standard duty kits include the necessary hardware to clear 5/8in thick trim with a 1-5/8in thick door, so there was nothing additional to purchase.

The J-strap kit he was looking at includes an extra 1/2in spacer for exactly that. If he’d gone with our heavy duty hardware, he’d want to select 1-3/4in thick door hardware and also select the 1/2in trim clearance kit.

This combination will appropriately position the door 3/8in from the casing. On our hidden roller hardware, the door is already placed 1in from the mounted surface, so 5/8in trim puts the door at the ideal 3/8in off the trim and no additional purchase is necessary.

Deeper trim is where heavy duty comes in. In September a customer had a 48in x 84in opening with 1in trim. Unless the door is 1-3/8in, that’s past what standard duty can clear, so I recommended our heavy duty kits. Each has the option for a 1-1/4in trim clearance kit.

Use a header board to clear trim, chair rail and baseboard

This summer a homeowner we were working with had a chair rail running along the wall where the door would open. She should use a header board. If you match the header board thickness to your chair rail thickness, then you don’t have to worry about it. But even if the chair rail sticks out further, you can follow the instructions in the manual to set the adjustable spacers to the correct dimension.

Casing works the same way. A 1×6 is 3/4in thick, so with 3/4in casing you don’t have to worry about it either.

The baseboard is the same. If you mount to blocking with no header board, the door sits 3/8in off the drywall, and a lot of baseboard sticks out more than that. In that case you’ll need the extra spacers for the baseboard even if the casing isn’t an issue.

One more thing to check before you order: anything else on the wall in the door’s path. Switch plates, outlets and thermostats can keep the door from sliding fully open or rub against it. Measure for them along the whole sliding path, not just next to the opening

Don’t mix spacers between kits

This summer a contractor asked if he could order just the J-strap hardware without the track, because the clearance for their door wouldn’t work with the hidden roller kit they had. Keep in mind that the J-strap uses different spacers between the track and wall (the hidden roller has 3/8in spacers, while the J-strap uses 1in spacers and includes additional 1/2in spacers for clearing trim if needed) so I needed to quote him for a whole new roller kit. Quoting a whole new roller kit is cheaper than quoting the two rollers, attaching hardware and spacers independently.

In September another customer switched from hidden rollers to a top mount and his installer said the rollers were too wide for the track. He can’t use the spacers from the hidden roller kit. He needs to use the spacers from the hardware kit that was sent last.

Putting it together: a bathroom door with 3/4in casing

Here’s a typical one: a 30in x 80in bathroom doorway with 3in wide casing that sticks out 3/4in, the top of the head casing at 83-1/4in, an 8ft ceiling, and a 1-3/4in thick door that weighs 90lbs.

1) Door and track: I recommend a 36in x 84in door (30 + 3 + 3 = 36in wide) with a 6ft track length.

2) Door height: you want a door 83-1/4in tall or taller so the hardware attaches to a header above the trim. Never attach the hardware to the trim unless the trim is made of hardwood and structurally anchored to the structure behind the door.

3) Header board: you’ll want to make sure this falls in line with the track centerline. See the individual product you’re interested in for the track centerline height. Attach it with our recommended lag bolts for header boards.

4) Track centerline: the track centerline will be at 85-1/2in with that combination (door height + 1-1/2in). Each of our products lists the clearance above the door needed to operate. Please ensure the product you choose has the ability to clear your casing.

5) Spacers: if you use a 1×6 header board, no, you do not need any extra spacers. Adding the header board will allow you to clear your trim in this case using the provided hardware.

6) Weight and ceiling: these measurements fall within the capacity of the standard duty J-strap, but you’ll also want to check that the door height and the space needed above the door for the J-strap fit within your ceiling height of 8ft. The top of the door is at 84-3/8in and the J-strap needs 4-1/2in above it, so you’re at 88-7/8in with 96in to work with.

After the door is hung, slide it open and closed a few times and watch the edge nearest the casing. The track has to be level or the door will drift on its own, and a door that touches the trim usually needs its spacers adjusted, not more force.

What if the wall already has blocking and you’d rather skip the header board? In this case you’ll want to upgrade to the heavy duty J-strap product and purchase a trim clearance kit to clear 3/4in thick trim. To save money, your other options are to either go with a 1-3/8in thick door, in which case the standard duty kit has the spacers to clear 3/4in thick trim, or install a header board and use the standard duty hardware.

If the head casing means you need a taller door than you can find in stock, I recommend reaching out to a local door maker. They will be the most helpful and should be able to create a door for your needs. We generally recommend this approach anyway because you can avoid large shipping costs and any issues with acclimation to your environment.

In short, hanging a barn door over existing trim comes down to three checks: a door at least as tall as the top of the head casing, a header board to carry the track, and spacers that clear how far your trim sticks out.

–

Evan Christensen is the owner of The Barn Door Hardware Store, a family-owned retailer of barn door, bifold and hidden roller hardware. Before taking over the store in 2024, he worked in hardware engineering and structural simulation.

You Might Also Like