One nail can ruin a hardwood floor. Most people buy trim to hide the gap along the wall, then drive it straight down into the boards. That nail pins the floor in place, and the gap exists precisely so the floor can move.
Our view: buy trim for the edge, not for the room. A living room with a wall run, a tile kitchen next door, a sliding door and a hearth needs four different profiles, each fastened its own way. Get each edge right and the floor stays quiet and flat for decades.
What trim goes along the edge of a hardwood floor where it meets the wall?
The gap under your baseboard is deliberate. Wood swells in a humid August and shrinks when the heat runs in January, so installers stop the boards short of every wall. As of 2026, for 3/4-inch solid hardwood the common gap is about 3/4 inch, roughly the thickness of the board. As of 2026, engineered and floating floors usually call for about 1/2 inch, but check the manufacturer. Installation guidelines generally say to follow the flooring manufacturer's expansion gap first, so check the box before you cut.
Three pieces share the job:
- As of 2026, baseboard is typically about 3 to 5 1/4 inches tall and roughly 1/2 inch thick, nailed into the wall studs. Installed after the floor, it covers about half of a 3/4-inch gap on its own.
- As of 2026, quarter round is commonly about 3/4 x 3/4 inch, a quarter circle in profile. It sticks out 3/4 inch from the baseboard face.
- As of 2026, shoe molding is commonly about 1/2 inch deep by 3/4 inch tall, a slimmer, taller curve. It sticks out only 1/2 inch, so it looks lighter and catches fewer vacuum bumps.
Baseboard plus shoe molding hides about 1 inch measured from the wall, which covers a 3/4-inch gap with room to spare.
To fasten it, press the shoe molding or quarter round down so it touches the floor. Then shoot 18-gauge brad nails, commonly about 1 1/4 to 1 1/2 inches long, into the baseboard, straight in or angled slightly upward. The floor slides underneath. Installers commonly space nails about every 12 to 16 inches. You do not have to pull the baseboards off: the molding sits over their bottom edge.
Our take: shoe molding beats quarter round on most floors. It is thin enough to bend down into a dip and follow a wavy floor, where stiffer quarter round leaves a dark slit you can see from across the room. Pick quarter round only when the gap or the baseboard sits farther out than shoe molding can cover.
Fastening shoe molding so the floor can still move
- Check the gapAbout 3/4 inch for solid, about 1/2 inch for engineered
- Cut and fitMiter the outside corners; cope or miter the inside ones
- Press downMolding touches the floor but is not fixed to it
- Nail to baseboard18-gauge brads every 12 to 16 inches, straight in or angled up
- Fill and finishPutty the nail holes, then paint or stain-touch the molding
How do I finish hardwood where it meets tile, carpet, vinyl or a doorway?
One number decides almost every transition: the height difference between the two floors. Measure it with a straightedge laid across the joint. Then measure the gap width, because the trim has to span the gap while leaving the hardwood free to move.
The eight common edge profiles, with the situation each one fits:
- Quarter round (about 3/4 x 3/4 inch): wall edges, no height difference.
- Shoe molding (about 1/2 x 3/4 inch): wall edges and cabinet toe-kicks, no height difference.
- T-molding (top about 1 3/4 to 2 inches wide, center stem about 1/2 inch): two floors at the same height, within about 1/8 inch. Common at doorways between rooms.
- Reducer (about 2 inches wide, one sloped side): hardwood higher than the next floor by up to about 1/2 inch, such as hardwood to vinyl plank or thin tile.
- Threshold (saddle, about 3 1/2 to 5 inches wide): under an exterior or interior door, or across a larger step that a reducer cannot cover.
- Stair nose (made for the floor thickness, often 3/4 inch, with a rounded overhang): the front edge of a step or a landing.
- Carpet strip (carpet reducer or metal edge bar): hardwood to carpet, with the carpet tucked into the lip.
- Square nose (end molding, flat front about 3/4 inch tall): hardwood that stops against a higher surface such as a sliding door track, a raised hearth or thick tile.
The trim picker, in order:
- Edge is a wall or cabinet? Shoe molding (or quarter round), brad-nailed to the baseboard or toe-kick.
- Next floor is carpet? Carpet strip, fastened on the hardwood side.
- Edge is a stair or landing? Stair nose sized to your floor thickness, with adhesive plus nails or screws into the step.
- Height difference 1/8 inch or less? T-molding.
- Hardwood higher by 1/8 to 1/2 inch? Reducer.
- Hardwood higher by more than 1/2 inch? Threshold or a custom-milled ramp reducer, because a short bevel that steep is a trip hazard.
- Next surface higher than the hardwood? Square nose butted to it.
- Under a door? Threshold, kept below the door's swing.
Fastening follows the floor, not the trim. On a floating floor, transitions snap into a metal or plastic track screwed to the subfloor in the gap, or get glued to the fixed side only. On a nail-down floor, glue and nail the trim to the hardwood side and leave it free over the neighboring floor.
The height limits come from accessibility law. As of 2026, the 2010 ADA Standards allow a change in level up to 1/4 inch to be vertical, one between 1/4 and 1/2 inch must be beveled no steeper than 1:2, and anything higher is treated as a ramp. As of 2026, the 2010 ADA Standards limit door thresholds to about 1/2 inch in height. The ADA covers public and commercial spaces, not your house, but its numbers are a sound guide to where feet catch.
The classic mistake: a T-molding laid across floors 3/8 inch apart. It rocks on the high side, the top lip cracks within months, and the stem pops out of its track. That joint needed a reducer.
The three numbers every hardwood edge must respect
- 3/4 inchCommon expansion gap at walls for solid hardwood
- 1/4 inchLargest vertical change in level under the 2010 ADA Standards
- 1/2 inchLargest beveled change in level before it counts as a ramp
What trim finishes hardwood at a sliding door, fireplace hearth, kitchen cabinet or stairs?
These four edges cause most callbacks, because each one meets something that does not move.
- Sliding door: the track sits higher than the floor. Butt a square nose or a low threshold to the track, leave the expansion gap underneath it, and glue or nail the trim to the hardwood side only. Never caulk the floor to the track.
- Fireplace hearth: for a raised hearth, square nose against the stone; for a flush hearth, a reducer or square nose at whatever height difference you measured. Leave the gap and keep all wood trim on the wood side. As of 2026, the International Residential Code generally requires a noncombustible hearth extension of at least 16 inches in front of a fireplace opening and 8 inches to each side for openings under 6 square feet.
- Kitchen cabinets: a nail-down solid floor can run under cabinets or butt to them. A floating floor must never go under them, because hundreds of pounds of cabinets and counter pin it in place. Stop it about 1/2 inch from the toe-kick and cover the gap with shoe molding nailed to the toe-kick.
- Top of stairs: a stair nose matched to the floor thickness, glued and fastened to the step. As of 2026, the International Residential Code generally sets stair nosing projection at 3/4 to 1 1/4 inches. With a floating floor, fix the nosing and leave the expansion gap behind its lip.
Should edge trim be solid hardwood, MDF, PVC or prefinished molding, and what does it cost?
Painted baseboard and shoe molding hide anything. Stained trim next to a stained floor hides nothing. Red oak shoe molding against a white oak floor reads pink in daylight, and no stain fully fixes it. That is why prefinished molding, sold in the floor maker's own colors, costs more and earns it on a stained floor.
The bottom line: use MDF only in dry rooms where the trim gets painted. Use PVC wherever a mop or a leak will find it, such as a basement or a bathroom. Choose solid hardwood or prefinished molding wherever the trim is stained to match the floor.
Solid hardwood vs MDF vs PVC trim: price per linear foot and where each fails
| Material | Est. price per linear foot | Best use | Where it fails |
|---|---|---|---|
| Solid hardwood | $2.50 to $8 | Matching stained floors | Highest cost, can cup or split |
| MDF (primed) | $0.80 to $2.50 | Painted trim in dry rooms | Swells when wet, chips at edges |
| PVC | $1.50 to $4 | Baths, basements, damp areas | Looks plastic, expands with heat |
| Prefinished molding | $3 to $9 | Factory color match | Limited colors and sizes |
Estimated US retail ranges, October 2026; check local store pricing.
How many linear feet and pieces of trim do I need for a room?
Take the room perimeter, subtract the width of each doorway, add 10 to 15 percent for waste, then divide by the stock length. As of 2026, most stores sell shoe molding and quarter round in 8-foot pieces, with longer lengths at some lumberyards.
Say you have a 12 x 15 foot bedroom with two 3-foot doorways:
- Perimeter: 2 x (12 + 15) = 54 feet
- Minus doorways: 54 - 6 = 48 feet
- Plus 10 percent waste: 52.8 feet
- Divided by 8-foot pieces: 6.6, so buy 7 pieces
Two things throw that number off. Closets add their own perimeter, often 10 feet or more. Every outside corner eats a few inches in miter cuts, and a wall longer than 8 feet needs a scarf joint, so on a room full of corners use 15 percent.
The shopping list for that room:
- 7 pieces of shoe molding, 8 feet each
- 2 transition strips, one per doorway, picked with the steps above
- 18-gauge brad nails, commonly about 1 1/4 to 1 1/2 inches
- Wood glue for the transition strips
- Wood filler or color putty matched to the trim
Read next: price to lay laminate flooring, how to clean hardwood floors, how to remove scratches from wooden floor
Trim pieces and linear feet for your room
Example: Room length: 15 ft, Room width: 12 ft, Number of doorways: 2 openings, Average doorway width: 3 ft, Stock piece length: 8 ft, Waste allowance: 10 %. Result: 7 pieces.
Perimeter minus doorway widths, plus waste, divided by stock length and rounded up. Default: 48 ft, about 52.8 ft with 10% waste, 7 eight-foot pieces.
Frequently asked questions
Do I need quarter round if my baseboard already sits on the floor?
Only if the baseboard leaves part of the gap or an uneven line showing. A baseboard installed after the floor covers about 1/2 inch, so on an engineered floor with a 1/2 inch gap it can be enough on a flat floor.
Can I caulk shoe molding to the floor?
Caulk the top joint between the molding and the baseboard if you paint. Leave the bottom joint against the floor uncaulked, or the bead tears as the floor moves.
Should shoe molding match the floor or the baseboard?
Either works. Painting it to match the baseboard is easiest and hides color mismatch. Staining it to match the floor makes the floor look wider, but only works with the same species or prefinished molding.
