how to build DIY pantry shelving

DIY Pantry Shelving: Build Custom Farmhouse Wood Shelves

This post may contain affiliate links, which means we'll receive a commission if you purchase through our links, at no extra cost to you. Read the full disclaimer here: https://diycoupleblog.com/disclaimer/

Last Updated on August 2, 2026: This guide to building DIY Pantry Shelving has been updated with new information.

If you’ve ever opened your pantry doors only to be greeted by a chaotic avalanche of cereal boxes, flimsy wire shelving, and wasted space, you aren’t alone. Standard builder-grade wire racks might be functional in theory, but small items fall through, and you lose valuable storage room.

Upgrading to custom wooden pantry shelves is one of the most rewarding, high-impact DIY projects you can tackle in a single weekend. Not only does it instantly make your kitchen feel custom and updated, it also maximizes every single square inch of storage space.

Whether you are working with a small pantry or a closet with wire shelving. This step-by-step tutorial will walk you through the process of removing that old wire panty shelving and building your new sturdy custom shelves.

DIY pantry shelving with farmhouse beads

Clearing Out the Pantry

The first step to this pantry makeover is clearing everything out. Ours really lacked organization. Our system involved throwing things in the bins wherever there was a landing space since smaller things will just fall through the wire shelves.

Before I get into removing the old and building the shelves, here is a little look at what we’re working with. It’s always satisfying to take a good look at where you started on a project so you can fully appreciate the finished part.

the messy before with wire shelves

You may notice we also removed the door. Not only did it make it easier to work in this small space, but it also got a makeover as well. We ended up painting the door Sherwin Williams On the Rocks.

Once the pantry closet was empty, we got started removing those builder grade wire shelves.

clearing out the pantry

Tips for How to Remove Pantry Wire Shelving

I thought it might be helpful to share some tips on how to remove wire shelves and what worked for us so that it might cause minimal damage when making over your pantry and taking on this task. If you do not have wire shelves then you can skip this part, of course.

When removing the wire shelving, just be careful so that you can minimize the drywall repair and possibly just cover up the small damage left from tearing them out. We used a razor knife to score the outline around the bracket and pry upwards with a flathead screwdriver, so the drywall didn’t rip severely.

the process of removing mounting wire shelves

We quickly cleaned up the mess and now the ugly wire shelves are gone! Say hello to our pantry blank slate.

wire shelves officially removed

Now it’s time to configure your design. Since we are trying to do minimal patch work, we chose to leave the shelves in their existing placement so we can just cover up any imperfections of the drywall with our frame and keep moving right along with our pantry remodel.

I will say If you are trying to extend your shelving by making it bigger be sure not to bring your frame out so far that you cannot get your shelves in.

close-up of wire shelf removal

Building Wood Pantry Shelves

Tools Required:

Razor Knife & flathead screwdriver (if removing wire shelves)

Nail Gun

Level

Tape Measure

Miter Saw

Table Saw

Orbital Sander & sanding pads

Caulk Gun

Drill/driver

Marker

Stud Finder

Clamps

Materials:

(2) Sheets of Plywood

(8) 2x3x8 wood boards

200 pc Split Wood Beads

2.5 inch screws (OR Toggle Bolts if no studs in wall)

2 inch screws

5/32 drill bit & 1/8 inch drill bit (this set includes both sizes)

Caulk

Brad nails

White Spray Paint

White Paint (& paint kit if you don’t already have one)

Construction adhesive

1x8x8 wood board OR 1x8x6 (either would work)

Frog Tape

DIY Pantry Shelving

Now we’re sharing all the steps to build our DIY pantry shelving. We built four shelves total but definitely keep in mind that the measurements and the supplies you’ll need will be custom to your pantry space so just be sure to adjust accordingly.

Find Studs and Mark

To get started, hold the level up and mark where your shelves are going to be to make it easy on yourself.

homeowner marking for the shelves
marking the wall

Next step is to find where the studs are located in the wall and mark them.

Just a side note in case you run into the same issue. There were no studs behind our pantry walls. Ugh, this was a little frustrating but toggle bolts for the win!

shopping toggle bolts at the hardware store

Measure

Next up for your pantry shelving DIY, measure the length and width of the size shelves you need and go ahead and cut all your pieces (your front and back boards will go wall to wall, your sides will be the width minus the thickness of the 2×3 boards).

shopping wood at the hardware store

Attach Wood Frame

If you have studs, now attach your frame following your guide where you have marked the wall. Also, pilot holes will make it much easier.

If you do not have studs, be sure to follow your toggle bolt instructions given. (Note: If you are using toggle bolts make sure you don’t drill the toggle size through your wood, you’ll have two separate sizes here, one size for your wood and one size for your toggle through the wall).

drilling counter bore hole in a 2x3 board

We did a counter bore hole in our 2×3 board for the toggle bolt.

showing the hole after drilling

Attach your boards with 2.5″ inch long screws or toggle bolts if no studs are present.

attaching boards the marked spots
attaching the side boards

After you get the back and side boards on, attach the front board. Using 5/32 drill bit, drill an angled pilot hole in the center of the front face of your wood in the same direction as the screw showing you from the picture.

attaching the front board

Sink the screw at least 1/4 inches into the wood.

process of building the frame to pantry shelf

Now your shelves should look like this.

all four shelf frames secured to the wall

You’re going to cut eight more boards on the miter saw, which will be your middle supports for your shelves.

attaching middle supports to the frame

We screwed two 2.5 inch screws into the front of each support and one at an angle from the top side to keep boards straight. You’ll have to forgive my terrible markup but here is a close up of how we attached it.

showing screws on the top
inserted the front screws into wood

The shelving frame is all complete. We did use our orbital sander to clean up any splitting wood and burs seen but that is optional.

all four shelf frames

Cut Your DIY Pantry Shelving to Size

For the shelving we chose to go with a sheet of plywood which we had Lowes cut down into several pieces while there (mainly in order to fit it in the car). Now you’re ready to measure and cut a top and bottom piece to the appropriate sizing to cover your frame that you will soon call shelves.

picking out shelf materials
hardware store cutting the wood down

We got more precise measurements and cut and fit each shelf accordingly since walls can sometimes settle or be off. Don’t stress to much on this as you can caulk a nice finish between the wall and shelf if you have any tiny gaps.

ripping shelf boards to size

Paint or Stain and Attach DIY Wood Pantry Shelves

Go ahead and paint or stain your shelves. We went with an affordable flat white paint. You don’t really need to paint the bottom and the sides of each shelf as they will not be visible. The back part and the sides will go against the wall of course and the bottom will be on top (or underneath) the frame. You will want to do the fronts, however. You also have the option to polyurethane them if you choose to do so for extra spill protection. Give the paint plenty of time to dry before you will be ready to install them.

For this part you will want to work with a wood glue or a construction adhesive to give it some extra strength (we had some leftover from our DIY bathroom mirror frame).

Put a bead of adhesive all the way around the frame, then nail the shelf down to the frame. Start with the bottoms so that way no glue drips on your shelves.

using construction glue on the frame
the process of building DIY pantry shelving

Then came the tops of the shelves as seen here. Repeat the same steps with the tops as you did the bottoms. First apply your adhesive on the frame and pressing shelf down, nail it to the frame.

building DIY pantry shelving

Here you can see how much the caulk makes a difference although you’ll preferably want to do it all at the end so you can caulk between your front shelf faces too.

caulking the sides of the shelving for a polished look

DIY Pantry Shelves: Finishing Front Trim

We had a 1x8x8 laying around in the garage we were able to use but depending on the width of your shelf you could probably use a 1 x 8 x 6 and still have plenty of the board left. Make sure to measure the width of your shelf faces to configure what size board you will need. (You can figure this out by taking your width times two and that will be your overall length of the board you will need). One board should get you four shelf faces.

Go ahead with your board, rip it into two pieces that are three inches wide (be sure to measure the thickness of your shelf to verify this works for you) by however long your shelf is cutting that length with your miter saw.

wood board sitting on table saw
making a cut using a miter saw

Paint the fronts and the sides of your boards. To make this part quick an easy we used our white spray paint and gave a couple coats since we just went with the white.

spray painting front shelf boards white for DIY pantry shelving

Adding Flat Beads for a Farmhouse Look (Optional)

Lastly, before attaching, were adding the beads. Before using any adhesive, you’ll first need to clamp a one inch piece of trim (we just used the cut off piece from our 1×8) from the top and line up your beads along the front of the board to see how many you will need. Start gluing the beads on one at a time across the front.

securing board with clamps
adding flat back farmhouse beads to wood board
adding a dot of glue to the back of beads

Refrain from gluing one bead from each end and middle; remove them to the side so you can drill a hole in the center of where the bead lays with an 1/8 inch drill bit. This drilled hole is where you are going to attach the board to the front of your shelves then you will glue the bead on top to hide the screw. (TIP: Try to pick a spot under a bead that gets as close to the side as you can where you’ll still be able to drill since the doorway makes it hard to completely fit a drill all the way to the wall, otherwise you will have to do your best drilling the sides at an angle). Continue gluing all of them on except the ones where you drilled a hole (you will only need a dot of glue).

marking and drilling hole to make DIY pantry shelving

Once those cure, go ahead and paint the whole piece with the white spray paint now that the beads are on.

front faces of DIY pantry shelving

Then the fun part, using an orbital sander, distress them to desired look (don’t forget the three beads pulled aside which you’ll have to do individually).

using sander to distress boards for front of DIY pantry shelving
finished look of farmhouse bead shelf front face

Loving how they turned out, that chippy farmhouse look I was going for. Now time to attach the fronts.

all four boards with beads for DIY pantry shelving

Installing the Front of Shelf

Now using the three holes you drilled, attach them to the front of the shelves with 2 inch screws.

attaching the board to front of pantry shelf

Like I mentioned earlier, if you have a narrow pantry, you’ll want to drill your hole underneath a bead that is easier to get to on the end. It’s easier to explain that from this photo below where it could make it difficult.

installing the right side of DIY pantry shelves
white farmhouse pantry shelves

At this point you can glue on the other three beads to cover the holes. Use a piece of frog tape to hold them on until they cure. While you’re waiting you can caulk any sides of your new shelves. you can fill the nail holes if you want and touch up with your white paint but that’s completely optional, we did not choose to do that. The nail holes actually fit in with the distressed look and I figured they will pretty much be covered up with groceries anyhow.

gluing wood bead in the missing spot of DIY pantry shelving
taped wood bead while the glue dries on DIY pantry shelving

DIY Pantry Shelving Final Thoughts

Our DIY pantry shelving is finished! The tape can come off, now it’s time to organize this space! If you would like to see it organized and gain some easy pantry solutions of your own, I added how to organize a small pantry below.

Here are some more views of how our DIY pantry shelving turned out in our kitchen. A small narrow pantry closet with terrible lighting is not easiest to get pictures of. Can I just tell you; it looks amazing and so custom!

small pantry makeover building new shelves

How To Organize a Pantry

Whew! That’s much better. Here’s a small pantry tour to give you some ideas for how to organize a pantry and what we used to maximize this small pantry space.

Pantry Organizers

Before hauling all of our food back into the kitchen pantry after installing our DIY pantry shelving, we purchased some pantry organizers such as baskets, clear canisters, a can holder for pantry, bread box, some clear snack containers, and a large bucket.

I also had a coffee pod carousal that I always stored on the counter, and it made my countertop feel cluttered, so I was glad to put this up on the top shelf of the pantry to get it out of the way.

small pantry ideas

Plan Your Pantry Space

My biggest advice when purchasing small pantry organizers is to plan around your limited space. To give you a better idea, we measured between our shelves, and the can holder would only fit on the top shelf due to its height.

The can holder is also stackable so there was the option to stack them from the floor as well, but we really only needed one for how many cans we buy since it seems to hold quite a bit of cans. I was okay with this being up out of the way on the top shelf, but just a reminder to make sure of measurements and plan ahead for what you’re buying to fit your space.

pantry organizing ideas

The baskets with wood tops I bought on the bottom shelf are stackable as well but that is not ideal for how I was using them and the height of my shelves. It’s best to have an idea of what food you plan on putting on what shelf and base it off of what you use the most.

Right now, I’m using them for grab and go snacks. These baskets could really work for absolutely anything.

Large Bucket

We chose to put a large bucket on the bottom for an overflow of snacks and allows it to be in reach of the kiddos since they like to grab things out. We also stack extra drink cases down there. These buckets are so useful, you could fill these with any food, drink or pantry supplies like bottled waters or paper towels. If something leaks it’s also very easy to wipe down.

organizing tips

Airtight Containers

The other thing pictured I purchased is the clear airtight plastic leak-proof canisters which came with 24 containers as well as labels and a chalk marker, so it makes it easy to change them out. I’m using them for sugar, spaghetti, brown sugar, cookies, baby snacks, pretzels, candies, chips, tea bags, strawberry milk drink mix, and cereal.

pantry organizing reveal

My favorite thing we came up with is to have a container that says leftovers. The kids (sometimes us parents are guilty too) will often open something and not finish it like a half-eaten pack of donuts or bag of goldfish and this allows us to drop it in here and eat these snacks up first before opening other things so there’s not too much waste or forgotten food.

DIY pantry shelving ideas with organization

I’m also in love with this bread box. It easily fits two loaves of bread side by side.

The last thing that solved my problematic organizing is these clear compartment bins with dividers in them. These allow everything to stand up in a nice visual way to see everything. I’m using them for packs of peanut butter crackers, taco seasoning, single mini Slim Jims, applesauce, Little Bites muffins, Knorrs noodles, Poptarts, goldfish, Ramen noodles, Cowtails, Fruit Roll Ups ect.

That’s the end of our organized small pantry tour! I will also link where I bought all the small pantry organizers below. I hope these small pantry organization ideas can help you with your pantry!

24 pc. clear canisters

clear compartment bins

coffee pod rack

can holder

large gray bucket

wire baskets with wood top

bread box

Don’t forget to share this DIY pantry shelving tutorial and organizing tips for later!

You May Also Like:

Barn Door Tutorial

DIY Window Cornice

Board and Batten Wall