How to Use Shims to Level a Shelf
Part of: Tools and everyday fixes

- Difficulty
- Easy
- Time
- 20 to 40 minutes
- Tools
- level, tape measure, pencil, wooden shims, utility knife, drill, driver, clamps, straightedge
- Call a pro if
- The wall is out of plumb by more than an inch, or the shelf carries heavy loads that need blocking rather than shims.
In this guide
- Wear protection
Knowing how to use shims to level a shelf turns a frustrating install into a quick one. The shelf itself is rarely the problem; the wall behind it is. Shims bridge that gap and let you set the shelf level and square regardless of the wall.
The trick is to work from the high point. Find the spot where the shelf touches first, shim the other points out to match, and check with a level as you go rather than at the end.

1. Find the high spot

Hold the shelf or bracket against the wall and press it into place. The point where it touches first is the high spot, and everything else gets shimmed out to that plane. Mark that spot lightly with a pencil.
2. Check level and plumb

Set a level on the shelf in both directions and note which way it falls. A shelf that is level but not tight to the wall will rock; one that is tight but not level needs the low side raised. Shims can fix both, but you need to know which problem you have.
3. Choose the shim material

Wooden shims are cheap and easy to trim, and they take paint or stain. Plastic shims resist moisture and come in consistent sizes. Composite shims do not split. For a shelf in a humid room, choose plastic.
4. Stack shims in pairs

Use two shims facing opposite directions so their tapers cancel out. Slide them together to make a fine adjustment, or apart for a thicker pack. A single shim only gives you a fixed wedge, which is rarely the amount you need.
5. Tap them in gently

Press the shelf into position and slide the shim pair into the gap, then tap lightly with a hammer against a scrap block. Stop when the shelf is snug. Over-tightening lifts the shelf off the wall at the other end and can crack plaster.
6. Check with the level again

After each shim adjustment, put the level back on the shelf. Work in small steps: a quarter turn of a shim moves the shelf more than you expect. Check front to back as well as side to side.
7. Fasten through the shims

Drive screws through the bracket or shelf and through the shim pack into the stud or anchor. The screw should pass through the shims rather than beside them, so the pack cannot work loose. Use a screw long enough to reach solid material with the shim thickness added.
8. Trim the shims flush

Once the fasteners are tight, cut the protruding shim ends flush with a utility knife held flat against the wall or a fine saw. Score both sides and snap, or cut slowly with a sharp blade. Take care not to gouge the wall or the shelf.
9. Fill and finish

Fill any gap around the shims with paintable caulk, and paint the trimmed ends if they show. A shelf with a visible shim pack looks unfinished, so hide the shims behind the bracket or under the shelf edge where you can.
10. Load it and recheck

Put the intended load on the shelf and check the level again. A shelf that was level empty can sag when loaded if the fasteners are only in drywall. If it moves, add a fastener into a stud.
Common mistakes
- Shimming from the low point instead of the high point.
- Using a single shim, which gives a fixed wedge rather than an adjustable pack.
- Over-tightening and lifting the shelf off the wall at the other end.
- Driving screws beside the shim pack instead of through it.
- Leaving shims proud and visible instead of trimming them flush.
- Relying on drywall anchors for a shelf that will carry real weight.
Related guides
FAQ
What kind of shims should I use for a shelf?
Wooden shims for painted work, plastic for damp rooms. Both come in packs of consistent size, and pairs let you adjust finely.
How many shims do I need?
At least one pair at each bracket or support point. A long shelf may need shims at every stud it crosses.
Can I use cardboard as a shim?
Only as a temporary fix. Cardboard compresses and absorbs moisture, so the shelf goes out of level within weeks.
How do I trim a shim flush without marking the wall?
Score both sides with a sharp knife and snap it, or cut with a fine flush cut saw held flat against the wall.
Why does my shelf rock after I shim it?
The shims are not tight, the fasteners are not through the shim pack, or the wall has a hollow the shelf is bridging.
More from this topic
- How to Use a Level to Check Plumb and Level: Learn how to use a level to check plumb and level: test the tool, hold it flat against the work, read the...
- Laser Level Comparison: A laser level comparison of the Bosch GLL 30, Huepar 902CG and Huepar 3x360 green laser: stated range and...
- How to Use a Speed Square: Learn how to use a speed square: mark square lines, find 45 degree cuts, guide a circular saw and check a...
- Plunger vs Toilet Auger vs Drain Snake: Which to Use: Toilet auger vs drain snake vs plunger: what each tool is for, with a Korky plunger, Ridgid K-3 auger and...
- Questions to Ask Before Hiring a Handyman: The questions to ask before hiring a handyman, covering insurance, experience, pricing in writing,...
