First Home Fixes logo

Home / Tools and Basics

How to Use Shims to Level a Shelf

4 min read · Updated 28 November 2026 ·

Part of: Tools and everyday fixes

Simple illustration for the guide How to Use Shims to Level a Shelf
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
  1. Find the high spot
  2. Check level and plumb
  3. Choose the shim material
  4. Stack shims in pairs
  5. Tap them in gently
  6. Check with the level again
  7. Fasten through the shims
  8. Trim the shims flush
  9. Fill and finish
  10. Load it and recheck
  11. Common mistakes
  12. Related guides
  13. FAQ
  14. When to call a pro
Safety. Tapping shims with a hammer near a finished wall can mark the paint, so use a block of scrap wood as a buffer. Wear eye protection when cutting shims with a knife, and keep fingers clear of the blade when trimming flush.

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.

use shims to level a shelf: labeled diagram of the parts
Use shims to level a shelf: labeled diagram of the parts

1. Find the high spot

use shims to level a shelf, step 1: find the high spot, shelf on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 2: check level and plumb, level on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 3: choose the shim material, shim pair on the diagram
Use shims to level a shelf, step 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 shims to level a shelf, step 4: stack shims in pairs, shim pair on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 5: tap them in gently, shim pair on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 6: check with the level again, level on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 7: fasten through the shims, shim pair on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 8: trim the shims flush, shim pair on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 9: fill and finish, wall on the diagram
Use shims to level a shelf, step 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

use shims to level a shelf, step 10: load it and recheck, shelf on the diagram
Use shims to level a shelf, step 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

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.

how to use shims to level a shelfshimsshelf installationlevelingdiy carpentry

More from this topic

Simple illustration for the guide How to Use a Level to Check Plumb and LevelTools and BasicsHow to Use a Level to Check Plumb and LevelLearn how to use a level to check plumb and level: test the tool, hold it flat against the work, read the vial from straight on and check both directions.Flat illustration for the guide about laser level, showing the relevant item with simple toolsTools and BasicsLaser Level ComparisonA laser level comparison of the Bosch GLL 30, Huepar 902CG and Huepar 3x360 green laser: stated range and accuracy as of Nov 2026.Simple illustration for the guide How to Use a Speed SquareTools and BasicsHow to Use a Speed SquareLearn how to use a speed square: mark square lines, find 45 degree cuts, guide a circular saw and check a corner, all with one cheap tool.Flat illustration for the guide about toilet auger vs drain snake, showing the relevant item with simple toolsTools and BasicsPlunger vs Toilet Auger vs Drain Snake: Which to UseToilet auger vs drain snake vs plunger: what each tool is for, with a Korky plunger, Ridgid K-3 auger and Cobra snake compared by use as of Nov 2026.Simple diagram for the guide: Questions to Ask Before Hiring a HandymanTools and BasicsQuestions to Ask Before Hiring a HandymanThe questions to ask before hiring a handyman, covering insurance, experience, pricing in writing, references, timing and what happens if something goes wrong.