Basement to Roof

Remodeling

How to Build a Pantry: Shelves That Won't Sag

Updated

A typical reach-in closet is 48" wide and 24" deep, and one 4×8 sheet of 3/4" plywood cut into six shelves about 16" deep fills it from 20" off the floor to about 76".

Step 1: Pick the Type of Pantry

Type What it is Typical DIY cost Difficulty
Reach-in (closet conversion) An existing coat or linen closet near the kitchen fitted with shelves $150–$350 Beginner to intermediate
Walk-in A small room lined with shelves on two or three walls $400–$1,200 for shelves; more if you frame walls Intermediate
Cabinet pantry A tall freestanding or built-in cabinet, often 18–24" wide $250–$600 in materials Intermediate to advanced

Converting a closet gives you the most storage for the least money and work. If there's a closet within a few steps of the kitchen, start there. Measure the space before you choose, since each type has its own standard pantry sizes for width, depth and height.

Step 2: Get the Dimensions Right

Shelf depth

Pantries get too deep more often than they get too shallow. Anything over about 16 inches turns into a place where cans get lost.

  • 12 inches: cans, jars, spices, boxes of pasta. Good for upper shelves and narrow walls.
  • 14–16 inches: the most useful general depth. Cereal boxes, baking supplies, two rows of cans.
  • 18–24 inches: only for the bottom shelf or a counter, where you keep small appliances, bins, and bulk bags.

A good rule is to put deeper shelves low and shallower shelves high, so the things at eye level stay visible.

Spacing between shelves

Don't space every shelf the same. Set the gaps by what each shelf will hold:

Contents Clear height between shelves
Spices, small jars 6–8"
Canned goods 7–8" (one can high)
Jars, baking supplies 10–12"
Cereal and tall boxes 14–15"
Bulk bins, small appliances 18–24"

Walk-in sizes

  • Minimum walk-in: about 5 ft × 5 ft inside, with a 36" aisle down the middle.
  • Do the math for U-shaped shelving. Two 16" side shelves plus a 36" aisle need 68 inches of clear width. In a 60" room you're down to 12" side shelves, which is still workable.
  • If two people will use it at once, or for wheelchair access, plan an aisle of 44–60".
  • Door: a 30" door is the practical minimum for a walk-in, and 24" works for a reach-in. Pocket doors and outswing doors don't block shelf space. An inswing door does. For a newly framed opening, a prehung interior door is the easiest to fit, since the jamb and hinges come already assembled.

Heights to plan around

  • Bottom shelf: 18–20" off the floor, leaving room under it for bins, a step stool, or a case of water.
  • Top shelf: around 72–78". Anything higher is for items you rarely use.
  • Counter in a walk-in, if you want one: 36" high and 20–24" deep, the same as kitchen counters.

Step 3: Know How Far a Shelf Can Span

This is the most important part of the plan. A full pantry shelf is heavy, because canned goods weigh about as much as books.

Shelf material Max span with a full pantry load
3/4" MDF or melamine particleboard 24" or less. It sags over time; avoid it for long shelves.
3/4" plywood, bare edge About 30–32"
3/4" plywood with a 1×2 or 1×3 hardwood nosing glued to the front About 36", and longer if the back edge sits on a wall cleat
3/4" plywood with a back cleat and a 1×3 nosing on edge 48" closet widths work fine

Shelves sitting on cleats screwed into the studs along the back and both sides are much stronger than shelves held only at the ends. The wall carries the back edge, so only the front edge can sag, and a 1×3 hardwood nosing glued along that edge stops it.

If you're using shelf standards and brackets or wire shelving, add a bracket or support at least every 32", and every 24" for heavy canned goods.

Step 4: Choose the Shelving System

System Cost (late 2026) Pros Cons
Wire shelf kits (12" or 16" deep) About $6–$12 per running foot Fast, cheap, adjustable on track systems Small jars tip over, the wire leaves marks, looks utilitarian
Plywood on wall cleats About $30–$55 per shelf in materials Very strong, looks built in, holds anything Fixed heights, more cutting
Plywood on shelf standards and brackets Plywood cost plus about $10–$20 per bracket pair Adjustable Brackets eat a little shelf space; needs studs lined up

For a long-lasting pantry, plywood on cleats is the best choice. The build below uses that method.

Step 5: Build a Reach-In Closet Pantry (48" Wide Example)

This plan fits a typical closet that's 48" wide and 24" deep, with six shelves about 16" deep. Change the numbers to fit your closet.

Materials and costs

Prices are typical big-box figures from late 2026. Lumber prices vary a lot by region, so check your local store.

Item Qty Approx. cost
3/4" × 4×8 birch plywood (B or A grade) 1 sheet $148–$158
or 3/4" sanded pine or poplar plywood (paint grade) 1 sheet $50–$80
1×3 × 8' poplar (nosing and back cleats) 6 boards about $15 each, $90
1×2 × 8' poplar or pine (side cleats) 2 boards $15–$25
2-1/2" and 1-1/4" construction screws 1 box each $20
Wood glue, 18-ga brad nails, wood filler $20
Primer and paint, or water-based polyurethane 1 qt each $30–$50
Total about $225–$363

One sheet of plywood gives you all six shelves. Rip it into three strips about 15-7/8" wide, then crosscut each strip into two shelves. That gives six shelves with no waste.

Tools

Circular saw with a straightedge guide (or a table saw), drill/driver, stud finder, 4-ft level, tape, brad nailer (or a hammer and finish nails), clamps, and a sander. Gluing and clamping the nosing goes faster on a sturdy 2x4 workbench than on the floor.

Cut list

Part Size Qty
Shelves (plywood) 15-7/8" × closet width minus 1/4" 6
Front nosing (1×3) Same length as the shelf 6
Back cleats (1×3) Closet width minus 1/4" 6
Side cleats (1×2) 15" 12

Measure the closet's width at the back wall, at the front, and at each shelf height. Closet walls are rarely parallel. Cut each shelf to fit its own spot and label it.

Build steps

  1. Empty and prep the closet. Take out the old rod, shelf, and cleats. Patch the holes, then prime and paint the walls now. Painting is much easier before shelves go in.

  2. Mark the shelf heights. Use the spacing table above. A good starting layout for six shelves, measured to the top of each shelf, is 20", 34", 46", 56", 66", and 76". Make level lines across the back and both side walls.

  3. Find and mark every stud. Back cleats need at least two studs, and three is better. Side walls usually have one or two studs within 16" of the back corner. Where a side cleat misses a stud, use a good toggle-style drywall anchor, but get a stud in the back cleat every time.

  4. Install the back cleats. Set the top edge of each 1×3 on its line. Drive two 2-1/2" screws into each stud and check level as you go.

  5. Install the side cleats. Cut the 1×2 side cleats about 1" shorter than the shelf depth and angle-cut the front ends. That way the shelf nosing hides them when you look from the front. Screw them into studs, or into anchors where there's no stud.

  6. Make the shelves. Glue and brad-nail a 1×3 nosing to the front edge of each plywood shelf, flush with the top. The nosing hangs about 1-3/4" below the shelf, which makes the shelf much stiffer and hides the cleats. Clamp it if you can, wipe off extra glue, and let it dry.

  7. Sand and finish before installing. Fill the nail holes and sand to 150 grit. Paint the shelves or give them two or three coats of water-based polyurethane. Water-based finish works best in a pantry because it doesn't leave the lingering smell that oil-based finish can pass to boxed food. Let it cure for several days before you load the shelves.

  8. Set the shelves. Drop each shelf onto its cleats. Run a few 1-1/4" screws down through the shelf into the back cleat so the shelf can't shift or lift. Caulk the gap at the wall before the final touch-up paint for a built-in look.

  9. Load from the bottom up. Put the heaviest things on the lowest shelves, everyday items between 30" and 60", and seasonal or backup stock up top.

Finishing touches that are worth it

  • Lighting: a battery or plug-in motion-sensor LED bar under the header makes a closet pantry usable. Adding a hardwired light or outlet means new wiring, which usually needs a permit and is often a job for an electrician.
  • Door storage: a door-mounted rack holds spices and small jars in the space the shallow shelves leave open. Check that it clears the nosing when the door closes.
  • Pull-out bins on the bottom shelf, so you don't have to crawl in for things at the back.

Step 6: What Changes for a Walk-In Pantry

The cleat method works the same in a walk-in. A few things are different:

  • Corners. In U-shaped and L-shaped layouts, run the back-wall shelves the full width and butt the side shelves into them. The inside corner becomes hard-to-reach dead space. Use it for things you rarely need, or fit a corner lazy Susan on one or two shelves.
  • Long walls. Over about 48", break the shelf with a vertical 3/4" plywood divider, or add a center bracket. Don't count on nosing alone over long runs.
  • Mix the depths. Use 16" shelves on the back wall and 12" on the sides, and keep the aisle at 36".
  • A counter section. A 36"-high counter, 20–24" deep, gives you a place to keep the stand mixer and air fryer off the kitchen counter. Plan the outlets with an electrician before you close up any walls.
  • Framing new walls. Building a pantry out of part of a room usually means framing a non-load-bearing 2×4 wall. Lay out studs 16 inches on center between a bottom plate and a doubled top plate, the same way you'd frame shed walls. Make sure the wall you're working near isn't carrying load. Most areas require a permit for new walls, doors, and wiring. When the pantry is part of a larger house renovation, schedule framing and wiring before drywall, paint and shelving.
  • Ventilation. Leave a gap under the door or put in a louvered door. A closed-up pantry against an outside wall can get warm and stuffy.

Common Mistakes

  • Shelves 20–24" deep. Things get lost at the back. Keep them to 16" unless it's the bottom shelf.
  • MDF or melamine shelves over 24". They'll sag within a year under canned goods.
  • Every shelf the same distance apart. This wastes a lot of height. Space shelves by what goes on them.
  • Missing the studs. A loaded pantry shelf can weigh 100+ lb. Back cleats must be screwed into framing.
  • Finishing after installing. Getting finish into corners and the undersides of shelves is miserable. Finish the parts on sawhorses first.
  • Loading the shelves the day you finish them. Give the finish time to cure, or boxes will stick to the shelves.

Quick Plan Summary

  • Shelf depth: 12–16" (bottom shelf can be up to 24")
  • Material: 3/4" plywood with a 1×3 hardwood nosing, sitting on cleats screwed into studs
  • Max span: about 32" for a bare plywood shelf; 48" is fine with a back cleat and nosing
  • Bottom shelf: 18–20" off the floor; top shelf no higher than about 78"
  • Walk-in minimum: 5×5 ft with a 36" aisle
  • Budget: roughly $225–$363 for a 48" closet pantry with six plywood shelves