How to Build a DIY 3-Bay Compost Bin (and Start Your First Hot Pile)
For years, I have wanted my own compost bin. Not a plastic tumbler, not a pile behind the shed, but a real bin that looks good, holds together, and actually makes compost fast.
The push came from a trip to Maine. I built a two-bay compost system there, and it was clean, simple, and easy to use. Then I came home to San Diego and looked at my own setup, and it made me feel bad. My old bins were rotted, falling apart, and spilling compost everywhere.

So I built a better one: a three-bay system, 10 ft wide, made from plain dimensional lumber, with slide-in front boards, a chopping block, and gopher mesh around the outside. And once it was built, I started my first pile the right way, with the greens and browns layered so it heats up fast.
At a Glance
- Skill level: Beginner to intermediate. If you can run a miter saw and drive screws, you can build this. The composting part needs no tools at all.
- Estimated cost: No total cost is given in the video, so I am not inventing one. The bin is plain dimensional lumber, screws, and a roll of gopher mesh, plus a 2×12 board for the chopping block.
- Result: A finished three-bay compost bin, 10 ft wide, with removable slide-in front boards, a hot pile running 100 to 120 degrees F after one week, and a simple rotation for turning scraps into finished compost.
- Time: One day to build the bin, plus a week of adding to the pile before the first check-in. The bin itself is a single-day project with a helper.
- What this post covers: The bin build, how to start your first compost pile from scratch, and the two upgrades I added a week later. A lid, a UV cover, and an aeration pipe are future ideas, not part of this build.
Tools You Will Need
- 12-in miter saw with a stand and an adjustable stop, for fast repeatable cuts
- Drill/driver for the screws
- Speed square for checking the 1.5-in spacing and the 4-in line
- Tape measure
- Shovel for clearing out the old compost
- Fork for spreading and mixing the pile
- Machete for chopping garden waste on the chopping block
- Ear foam plugs and safety glasses
- Wood chipper, optional, for turning branches into brown material
Materials You Will Need
- 2×6 dimensional lumber, 12-ft boards cut in half and 10-ft boards used as-is, for the back wall and supports
- 2×8 dimensional lumber for the bottom boards, which cut down on spill-out
- 2×12 board, short length, for the compost chopping block
- Screws for the whole structure
- 1.5-in scrap blocks, used as spacers between the boards
- Stainless steel gopher mesh, wrapped around the outside of the bin
- Burlap bag, optional, to cover the maturing bay and block harsh sun
- Greens for the pile: kitchen leftovers, garden trimmings, and fresh branches
- Browns for the pile: chipped branches, fallen leaves, straw, and coffee chaff
Part 1: Clear Out and Plan the Three-Bay Bin
Before a single new board goes up, the old system has to come out, and the new one needs a plan that fits the lumber I can actually buy.
Step 1: Shovel Out the Old Compost and Tear Down the Rotted Bin

Up until yesterday, I had two bins in this exact spot. Now I only have one, and the second one is crouched right where I am sitting. The wood is entirely rotted. Termites got to it, and so did the microbes that are actively eating the pile.
The interesting part is that the dimensional lumber, just regular stuff you can pick up at the store, is entirely fine. It still feels hefty, and that surprised me. So the new bin is going to be made from the same plain dimensional lumber. It is standard, it is easy to find, and I do not have to hunt for any exotic wood.
My old system was a two-bay setup, which I grew to hate. I have been wanting a three-bay setup for a very long time, so that is what we are building. But first, I have to shovel out all of the remaining compost and get rid of this old bin. Paul is helping me, because there is a lot of heavy wood to move, and I twisted my back a little yesterday just moving the pile.
We moved about a yard and a half of compost, which is more than I calculated. The old bins were basically 32-in cubes, a little under a yard each, but the old bin had big gaps in it, so a lot of compost had spilled out against the fence.
Step 2: Lay Out a 10-Ft-Wide, Three-Bay Design

Most people build three 3-ft bins, which makes a 9-ft system. I went to 10 ft instead, for a simple reason: 10-ft boards are a standard size I can already buy, so I do not have to cut them. That is the whole design idea. I sketched it out, and it took me a lot longer than I care to admit, because lumber math is simple until you have to account for where every board fits against the next one. A 2×6 board is really 1 and 1/2 by 5 and 1/2 in, and those real numbers change every measurement.
The plan is three bays side by side, 10 ft wide in total, about 3 ft high, with the back wall built from boards laid flat and the front boards sliding in and out so I can get at the pile.
Part 2: Cut and Build the Bin
This is the build itself: cut the boards once, set the spacing, and screw it together so it stays stiff under a very heavy pile.
Step 3: Cut the 2×6 Boards to 36 Inches

I got 12-ft 2×6 boards and asked the store to cut them in half, because I could not fit a 12-ft board in my van. I could barely squeeze in the 10-ft boards. From the 6-ft halves, I am cutting four 36-in boards. Those are going to be the supports for the back wall.
I am using a 12-in miter saw for this, and I had the exact same saw up in Maine. I realized there how much I needed a miter saw. A circular saw gets the job done, but the miter saw makes straight, repeatable cuts, and the stand makes it even easier. I can set the adjustable stop so the blade hits at 36 in, then pull every board up to the stop and get the same cut every time, without measuring each one.
Before cutting, I put in my ear foam plugs and my safety glasses. Whenever you are using a loud power tool like a saw, that is the bare minimum.
Step 4: Space the Boards 1.5 Inches Apart and Mark the 4-Inch Line

Now I am laying out the back wall, and the layout looks weird until you know what is going on. I cut some scrap blocks that are 1 and 1/2 in thick, just like everything else, and I use them as spacers. The gap between each board on the back and all the sides is 1 and 1/2 in. That gives the pile a little airflow without letting too much big stuff fall out as the pile builds.
Then there is a line I drew across the boards, measured at about 4 in. That line is where the back board will sit. When I set the back board down, I line up each of those lines right on the edge of the board, all the way down. I check it with my speed square, and the 1 and 1/2-in mark is exactly where I need to be. Once this is stood up, it will make more sense, but there are going to be four of these boards on the back to support the whole thing, and then two more boards will go into the middle section to define the walls of the bins themselves.
Step 5: Screw In the 2×8 Bottom Boards

Supporting the very first wall, the back of the compost bin, is probably the hardest and most annoying part of the build. Here is where I tell you why I made it complicated by using 2×8 boards at the bottom instead of 2x6s. The old bin was all 2x6s with 2-in spacing, and you saw how much compost spilled out of everywhere.
My thinking is that as the compost pile gets further down and more mature, it is going to be finer stuff at the bottom that is more broken down. A taller bottom board should give me a little less spill-out. Honestly, I do not know if that logic is perfect, but we did it. The other reason is that I could not get the math to work out to 3 ft high with 2x6s without gaps I did not like.
So I screw the bottom boards in. One harsh reality of my yard is that there is not a single level surface here. Even though the wood is squared up against the wood, the ground is not level. But once all the weight is in and it is set in place, it will settle in just fine.
Step 6: Stand Up the Back Wall and Fit the Side Walls

With the back wall screwed together, we stand it up and start putting in the members that stick outwards, the side walls. I set up the other side the exact same way, and two more boards go into the middle section to define the walls of the bins themselves.
The front bottom board is left uncut, and that is on purpose. It keeps the entire system rigid, because the front boards are going to slot in and they are removable. If the bottom boards were cut too, there would be nothing holding the structure together, and the whole thing would just blow out under the weight of the pile.
The only downside of the 2×8 bottom board is that it is a little harder to get the last bits of compost out at the bottom. Will I regret that decision? If I do, all I have to do is replace that board. For now, I am not unhappy with it.
Step 7: Slide In the Front Boards

The compost bin is officially built. The only thing missing is that I have to cut a couple more of these boards, because my math was not right.
Here is how it works. You slide a front board in, just like that. As you build your pile up, it just keeps getting taller and taller. And when you need to move the pile, you just remove the boards and you are able to scoop it out. The thing I like about this is that it is really, really stiff. There is a lot of weight that goes into a compost bin, as we know from moving the last pile, and this looks really clean.
Tomorrow morning I will come back, add in the last bits of the compost we moved, and show you how to start your new pile so it is off to a great start.
Part 3: Start Your First Compost Pile
The bin is only half the project. A pile that heats up needs the right mix, and the mix starts with knowing what is a green and what is a brown.
Step 8: Gather Your Greens

Now let us talk about how to build a compost pile from scratch the first time. Hopefully you will have saved up some greens. I have a whole bowl of leftovers and trimmings from the kitchen, a compost pail, and a bucket of compost we made through the week while we were waiting to add to the new bin. All of this is basically greens.
Greens are anything that is alive or anything that is fresh. A green onion rotting in your fridge is a green, because it is still not dry. Leftovers like old brown rice are on the edge between green and brown. Anything alive from the garden, any trimmings, tomato leaves, branches, all of that is green waste, and it will contribute to the heat of your pile.
Greens have nitrogen in them, and they also have a lot of moisture. The bacteria and microbes that eat them generate a lot of heat in the process. But to break down that material, they actually need carbon, and greens do not have enough of it. That nitrogen-to-carbon ratio is basically what decides whether something is a brown or a green, and how hot the pile gets.
Step 9: Gather Your Browns

Browns are higher in carbon than greens, and the pile needs them to balance the greens. Honestly, the exact ratio does not matter much. The only thing that really matters is that you are balancing some amount of browns with your greens. The best way to know is to smell your pile. If it is stinky, it is probably too wet and does not have enough browns. Just add some more and mix it, and you will probably be fine.
Finding browns can be tricky if you live in a city, especially somewhere dry like San Diego, where there is not much free plant material around. Here are the ones I use. First, chipped-up mulberry branches from my tree, run through a chipper. These are young, tender branches, which is called ramial wood. Younger branches have a much higher nitrogen ratio than regular wood, so this is closer to a green than a normal brown, but it still counts as a brown, and it breaks down pretty quickly.
Second, fallen leaves and leaf litter, collected from the bushes in my driveway. Just a bunch of dry leaves and little branches, entirely bone dry. A fantastic source of browns. Third, straw, another fast-decomposing brown. And fourth, coffee chaff, which is the light, fluffy material that comes off coffee beans when they are roasted. I get it free from my local coffee roaster, who leaves it in bags on the driveway. It is entirely a brown, it is very fine, and it tends to clump, but it is a great free source.
Bigger chunks let air get into your pile better, and that leads to a better process all the way through.
Step 10: Layer the Old Compost In First, Then the Greens

One more ingredient is worth mentioning, and it is a great way to kickstart a pile: dirt. My compost bin sits directly on soil, so I do not have to worry about adding any. But if you do not have soil near your pile, grab some from your garden and sprinkle it on top, because that introduces the microbes that help kickstart the whole process. I have had compost here for a long time, so I am sure I have plenty of microbes already.
The first thing I add is my old bucket of compost waste, with some browns already mixed in. It is already broken down a decent amount. Then I add the compost pail. There are leeks and kale stems in there, and then more greens from the kitchen: banana peels, some old grapes from the back of the fridge, a rotten onion, and orange peels. Some people are weird about orange peels. I do not know why. In my case, I feel like they break down just fine.
Step 11: Break the Branches Down and Spread the Pile Out

Now for the green branches. They are nice and fresh and green, but you do not want to put them in whole. With compost, it is all about surface area. I am not going to go crazy here, because it would take too long, but I want to at least break them down into smaller chunks so they break down faster.
Then I spread the pile out to get more surface area. I kicked it with my foot because it was right there, but a fork would be ideal. Spreading it out means the browns can cover as much as possible, and the pile does not sit in one dense lump.
Step 12: Cover With Browns and Lay Old Sticks at the Bottom

Now we have our base layer of decomposing waste, so we add the browns on top. And one more thing I forgot to mention: at the bottom of your pile, one of the best things you can do is add some old sticks. Make sure they are all dried up, so they are not going to actively grow in your bin.
Those sticks give the pile chunkiness, and they force more air into it. The pile cannot settle as much, because it has to deal with the sticks in the way. When you have big chunks of material in your pile, there is more air, more places for the microbes to work, and it is always going to help the process.
Step 13: Add the Sifted Chunks Back to the Hot Pile

When I sift my compost to use it in my garden beds, I save all the big chunks and add them back to my hot pile. That does two things. First, those chunks are already full of life. They have been in an active pile, so they are inoculated with the microbes that will help kickstart the process. Second, they are all chunks, so they provide more aeration and breathing room for the pile. The finished compost needs a bed to feed with it.
At the starting point, I would rather have more browns than greens, to soak up any extra liquid that might settle out of the pile as it begins to decompose and as I build it up.
Part 4: Two Upgrades and the Three-Bay Rotation
A week later, the pile is already hot, and the bin has earned two upgrades that make the whole system easier to use.
Step 14: Check the Pile One Week Later

It has been one week since we put this compost bin in place. I have been busy, and I already have about a 1-ft-high compost pile, and it is already hot. It is in the 100 to 120 degree range. You can see some moldy pita breads on top that we just added, and a whole bunch of chopped-up garden debris, like bolted chard and bolted broccoli.
I have also placed some of my browns right next to the pile to make life super easy. There is a bag of coffee chaff here, and I just sprinkle some of those browns right onto the pile to keep the moisture down, keep the stink down, and get the pile activated even further.
Now, with the full wall of wood, it just looks like a little structure in the back of the garden.
Step 15: Build the Compost Chopping Block

Chopping things fine matters more than anything else in compost. The finer something is cut up before you put it in, the faster it breaks down and turns into rich, beautiful compost. That is where the first new addition comes in: the compost chopping block.
I actually built one at first using one of the leftover boards, a 2×8. Then I decided I needed something a little bigger, so I went back and got a short 2×12, and this is the perfect size. Whenever I haul something large out of the garden, even a pile of nasturtiums or a bolted broccoli, I take it to the block, take my machete, and break the material down quite substantially. Then I push it into the compost pile, and all of it breaks down even faster.
To build the block, I cut the board to the length of my bin and put a couple of stop blocks on the ends. That stops it from sliding around and makes it easy to move back and forth. It is probably the best addition to this compost bin so far. And who cares if the board gets chopped up, because it is essentially a sacrificial board. It is also very satisfying to use a gigantic machete to chop up your plants.
Step 16: Learn How the Three-Bay Rotation Works

Here is how this compost system is going to work. In the first bay, I have the pile that existed in the previous bin, and it is still breaking down. Right now it is sitting at just under 100 degrees. Once that drops down to ambient temperature, under 80 degrees, all of it is going to be scooped into the final bay, where it will sit to mature, and I can basically start using it from that point on.
Once it is cold, under 80, if I turn it and it does not heat up again, that is effectively finished composting. It is not fully mature. Some people like to mature their compost by letting it sit even longer, but at that point it is essentially ready to use in the garden.
I will not be moving this bin over until it is absolutely full. At that point I will scoop it and move it over. That will give it another kick, and it should break down quite fast.
Step 17: Wrap the Outside in Gopher Mesh

The second new feature is the stainless steel gopher mesh I wrapped all the way along the outside of the compost bin. First and foremost, I wanted to deter rodents from getting at my pile. A compost bin that is rodent-proof is probably a fool’s errand. It is really not worth the effort, because they will eventually find their way in. They can obviously come in from above. But this mesh is way too small for anything to crawl through, and it slows them down.
It also still allows airflow, because the slats are about an inch and a half wide. Obviously it is not injecting oxygen into the center of the pile, but it still lets the outside breathe, and that is valuable.
The reason I put the mesh on the outside is simple. I always see compost bin designs that put all the mesh on the inside, or even remove the wood and replace it with mesh to get the most airflow, but that just looked like a nightmare. I would shove my fork in there, constantly get caught on the wire, rip it up, and it would look like trash in no time. So I did not want that.
The second thing the mesh does is stop particles from spilling out of the bin as easily. It is fine enough that most things are not going to just fall out of the edges like they did in my old pile, which quickly became a mess and also helped rot the outside faster. I added it to the second bay too, where I already have a pile that is basically broken down, and I have not seen much spill out. Some things will get through, but it keeps the whole system way tidier.
Step 18: Plan the Extras: a Lid, a UV Cover, and an Aeration Pipe

The first would be some sort of lid or roof system for the compost bays. If you live somewhere really wet and rainy, you definitely want a way of covering the pile. Too much water in a compost pile will make it anaerobic, which means there is no oxygen. It will be too wet, it will smell terrible, and it will be really heavy. You are not going to have a good time composting if it is soaking wet.
Here in San Diego, we have the opposite problem, which is a lot of sun. Sunlight and UV rays are sanitizing, and they can kill life and microbes. So even right now, on the bay where I have maturing compost that is still breaking down, I threw a burlap bag on top of it to protect it from direct UV. That should stop the surface from getting cooked and drying out too much.
The other thing I considered was an aeration system, some amount of extra airflow into the center of the pile. People usually do this using perforated drainage pipe that you can build out at the bottom of the bins or put right in the middle, to get oxygen straight to the center. That will heat the pile up faster, and everything should break down substantially faster. But I thought it was just a little too complex. I like this low-tech idea. I might add it in the future if I run out of space and cannot make compost fast enough, but I do not think that is going to happen.
What Can Go Wrong
- Building with rotted or weak wood. The old bin fell apart because the wood was eaten by termites and microbes. Regular dimensional lumber held up fine, so check your boards before you build.
- Using gaps that are too wide. My old bin had 2-in spacing, and compost spilled out everywhere. The 1.5-in gaps and the taller 2×8 bottom boards keep the pile in.
- Skipping the browns. A pile that is all greens gets wet and stinky. If it smells bad, it needs more browns and a good mix.
- Putting branches in whole. Big pieces take forever to break down. Chop them up first, because compost is all about surface area.
- Putting the mesh on the inside. Your fork will catch on it and rip it up. Wrap the mesh around the outside instead.
- Letting the pile soak or bake. Too much rain turns a pile anaerobic and smelly. Too much direct sun kills the microbes on top. A lid helps in wet places, and a burlap cover helps in sunny ones.
- Moving the pile to the maturing bay too soon. Wait until it is under 80 degrees and turning it does not heat it up again. Move it only when the first bay is absolutely full.
- Forgetting the bottom layer of sticks. Without chunky material at the bottom, the pile settles, air cannot get in, and the process slows down.
FAQs
The questions I get asked about this build, answered plainly: the size, the wood, the greens and browns, the smell, and how the three bays actually work together.
How big is the compost bin, and how many bays does it have?
It is a three-bay system, 10 ft wide in total and about 3 ft high. Most people build three 3-ft bays for 9 ft, but I went to 10 ft because 10-ft boards are a standard size I can buy without cutting them. Each bay is a little over 3 ft across, and the old bins this replaced were about 32-in cubes.
Why did I use regular dimensional lumber instead of cedar or treated wood?
Because it held up. The old bin was built from regular dimensional lumber, and even after years in contact with an active compost pile, those boards still felt hefty. The rotted parts were the thin pieces, eaten by termites and microbes. Plain lumber is standard, easy to find, and cheap, and I did not have to hunt for any exotic wood.
What is the difference between greens and browns?
Greens are anything alive or fresh: kitchen leftovers, garden trimmings, fresh branches. They have nitrogen and moisture, and they make the pile hot. Browns are anything dry and high in carbon: chipped branches, fallen leaves, straw, and coffee chaff. They balance the greens. If the pile smells bad, it is too wet and needs more browns.
Can I really get coffee chaff for free?
Yes, at least at my local coffee roaster. Coffee chaff is the light, fluffy material that comes off the beans when they are roasted. My roaster leaves it in bags on the driveway, and I just go by and grab it whenever I want. It is entirely a brown, it is very fine, and it tends to clump, so mix it in rather than dumping it in one thick layer.
How does the three-bay rotation work?
Bay one holds the active pile. When it drops under 80 degrees and turning it does not heat it up again, scoop it into the final bay to mature, and you can start using it from there. I do not move a bay over until it is absolutely full, because moving it gives it another kick and it breaks down fast. The middle bay is the spare, so there is always somewhere to turn a pile into.
Watch Full Tutorial: How to Build a DIY 3-Bay Compost Bin (and Start Your First Hot Pile)
Final Thoughts
Now my compost lives in a clean three-bay bin with a hot pile already running over 100 degrees. The build itself took a day, and the pile did the rest. If you have been putting off your own compost bin, start with plain lumber, keep the gaps tight, and layer your greens and browns. The first hot pile is the part that hooks you. It also feeds herbs that love rich compost.
