A good compost bin does three things a loose pile can’t: it holds heat, keeps the heap tidy and animal-resistant, and makes turning easy so the whole batch breaks down evenly. You don’t need to buy a plastic tumbler to get there. A few wood pallets wired together, a length of welded-wire fencing rolled into a cylinder, or a simple slatted box of dimensional lumber will all produce finished compost — often faster and in larger volume than store-bought bins. This guide gives you three proven DIY plans at different budgets and skill levels, with exact materials lists and measurements, step-by-step build instructions, and the sizing and management details that decide whether your bin runs hot and fast or cold and slow. Build the size that matches your yard, and you’ll have a steady supply of free, dark, crumbly compost for beds and containers.
Part of our Composting & Soil guide →
In this guide
Key Takeaways
- Size matters: Aim for a cubic yard (3 × 3 × 3 ft). Smaller piles struggle to hold the heat that speeds decomposition.
- Pallet bin = cheapest: Four pallets wired into a square is the fastest, lowest-cost build — often free.
- Allow airflow: Slatted or wire sides let oxygen in, which aerobic compost microbes need to work fast and stay odor-free.
- Open bottom: Set the bin on bare soil so worms, drainage, and soil microbes move in freely.
- Easy access: A removable front slat or hinged panel makes turning and unloading finished compost far less of a chore.
- Balance the mix: Layer roughly equal parts “browns” (carbon) and “greens” (nitrogen), keep it as moist as a wrung-out sponge, and turn it.
Size and siting: get these right first
The single most important design decision is volume. Compost heats up because the mass of decomposing material insulates the active microbial core. Below about one cubic yard — a cube roughly 3 feet on each side — a pile loses heat to the surrounding air faster than it can generate it, so it never reaches the 130–160°F (55–71°C) that kills weed seeds and breaks material down in weeks rather than months. So size every bin in this guide at 3 × 3 × 3 feet as a minimum. If you generate a lot of material, build a two- or three-bay version so you can fill one while another finishes.
Site the bin on level, well-drained bare soil rather than concrete or paving — direct contact with the earth lets worms, beetles, and soil microbes colonize the heap and lets excess water drain away. A spot in partial shade keeps the pile from drying out in summer, but full sun is fine if you stay on top of watering. Place it within easy reach of the kitchen and a hose, and leave room to stand in front with a fork to turn it. Keep it a sensible distance from the house and the neighbor’s fence; a well-managed aerobic heap doesn’t smell, but you’ll still want elbow room.
Plan 1: The pallet compost bin (cheapest and fastest)
This is the classic homestead build — strong, the right size almost by default, and often free since shipping pallets are widely given away. A standard pallet is about 48 × 40 inches, so four of them form a bin close to the ideal cubic yard.
Materials
- 4 matching pallets (look for ones stamped “HT” for heat-treated, never “MB” methyl-bromide treated)
- Galvanized wire, cable ties, or 4 metal corner brackets with screws
- 2–3 corner posts (optional, 4-ft lengths of 2×2 lumber driven into the ground for extra rigidity)
- Landscape fabric or cardboard (optional, to line the inside and slow material falling through gaps)
- Tools: drill/driver, wire cutters, a mallet or sledge, work gloves
Steps
- Position the back and sides. Stand three pallets on their long edges to form a U: one for the back wall and one for each side. Make sure they sit square and roughly vertical.
- Fasten the corners. Wire or cable-tie the two back corners together at top and bottom, or screw on metal corner brackets. Pull the joints tight so the walls don’t splay.
- Drive in support posts (optional). For a bin that will stand for years, drive a 2×2 post into the ground at each rear corner and screw the pallets to it.
- Add the front as a removable gate. Attach the fourth pallet on one side only with two loops of wire acting as hinges, or simply slot it into place against two stakes so you can lift it out to turn and unload.
- Line if desired. Staple cardboard or landscape fabric to the inside faces if your material is fine enough to spill through the slats; leave gaps for airflow.
The slatted pallet sides provide excellent aeration on their own, which is a big reason pallet bins compost quickly. Total cost is usually nothing but a few dollars of wire and an hour of work.
Plan 2: The slatted lumber compost bin (the tidy upgrade)
If you want something neater and longer-lasting for a visible spot, build a three-sided slatted box from dimensional lumber with removable front boards that slide out for access. Use rot-resistant cedar or pressure-treated lumber rated for ground contact.
Materials (for one 3 × 3 × 3 ft bay)
- 4 corner posts: 4×4 lumber, cut to 36 inches
- Side and back slats: about 21 lengths of 1×6 lumber cut to 36 inches (roughly 7 per side, spaced for airflow)
- Front runners: 4 lengths of 2×2 fastened in pairs to the front posts to make vertical slots
- Front boards: 6 lengths of 1×6 cut to fit between the front posts, to slide into the runners
- Exterior wood screws (2½-inch), galvanized or coated
- Tools: circular saw or hand saw, drill/driver, tape measure, speed square, level
Steps
- Build the two side frames. For each side, screw seven 1×6 slats horizontally between two 4×4 posts, leaving a 1-inch gap between boards for airflow. You’ll have two identical side panels.
- Connect with the back. Stand the two side panels parallel, 36 inches apart, and screw the remaining 1×6 back slats across them — again with 1-inch gaps — to lock the box into a rigid three-sided U.
- Make the front slots. On the inside face of each front post, screw two 2×2 runners a board’s-thickness apart to create a vertical channel. The front boards will drop into these channels.
- Add removable front boards. Cut the six front 1×6 boards to fit and slide them down into the channels, stacking up as the bin fills. To turn or empty the bin, lift the boards out one at a time.
- Level and seat it. Set the finished bin on bare, level soil. Skip a floor — an open bottom is what lets worms and drainage do their work.
This design is easy to expand into a double or triple bay by sharing the dividing panels, which is the gold standard for serious composters who want a fill bin, a cooking bin, and a finished bin side by side.
Plan 3: The wire mesh compost bin (the 15-minute build)
The simplest bin of all is a cylinder of wire fencing — perfect if you have lots of leaves and garden waste and minimal time or tools. It maximizes airflow and is light enough to lift straight off the pile to turn it.
Materials
- About 10–11 feet of welded-wire or hardware-cloth fencing, 36 inches tall (this makes a cylinder roughly 3 feet in diameter)
- Wire ties, zip ties, or three small carabiners to join the ends
- 3–4 garden stakes (optional, to anchor it against wind)
- Tools: heavy wire cutters or bolt cutters, gloves
Steps
- Cut the fencing. Cut a length about 10½ feet long so it forms a cylinder roughly 3 feet across (circumference = diameter × 3.14).
- Form the cylinder. Stand the fencing on end and bend it into a circle on the spot where the bin will live.
- Join the ends. Overlap the two cut ends and fasten them top, middle, and bottom with wire ties or carabiners. Use carabiners if you want to unclip and re-roll it easily for turning.
- Anchor it. Drive a stake or two against the outside if your site is windy or the pile will be tall.
- Fill and manage. To turn the heap, simply unclip the cylinder, lift it off, set it down beside the pile, and fork the material back into it.
Filling and running your bin for fast compost
However you build it, the bin is only half the equation — what you put in and how you manage it decides your results. Compost wants a balance of carbon-rich browns (dry leaves, shredded cardboard, straw, woodchips, paper) and nitrogen-rich greens (vegetable scraps, fresh grass clippings, coffee grounds, plant trimmings). Aim for roughly equal volumes of each, or slightly more browns. Too many greens turn the pile slimy and smelly; too many browns and it just sits there. Always cap fresh kitchen scraps with a layer of browns to deter flies and odor.
Keep the heap as moist as a wrung-out sponge — dribble water on as you build it in dry weather, and cover it in a downpour so it doesn’t drown. Build it up in layers and, ideally, fill the bin in one or two big batches rather than a slow trickle, because a full bin heats up far better than a half-empty one. Turn the pile with a garden fork every one to two weeks to reintroduce oxygen and move the cooler outer material into the hot center; a well-balanced, turned, full bin can give finished compost in as little as one to three months in warm weather, while an unturned bin takes six months to a year. Chop or shred bulky material first to speed everything up. For more on building healthy soil with your finished compost, see our Outdoor Living guides, and if you’re short on ground space, our keyhole garden build puts a compost basket right at the center of a raised bed.
Frequently Asked Questions
How big should a compost bin be?
Aim for at least one cubic yard — a cube about 3 feet wide, deep, and tall. That volume holds enough mass to heat up and break material down quickly. Smaller bins lose heat too fast and compost slowly, while much larger piles get hard to turn and may starve the center of oxygen.
Does a compost bin need a bottom?
No — leave the bottom open and set the bin directly on bare soil. This lets worms and soil microbes colonize the heap, allows excess water to drain, and improves decomposition. A solid floor traps water, can turn the pile anaerobic and smelly, and blocks the soil life that helps it break down.
What is the cheapest compost bin to build?
Four wood pallets wired together into a square is the cheapest sturdy bin and is often essentially free, since shipping pallets are widely given away. Use heat-treated (HT-stamped) pallets, never chemically treated (MB) ones, and the slatted sides give you excellent built-in airflow.
How do I keep rats and animals out of my compost bin?
Avoid adding meat, fish, dairy, oily food, and cooked leftovers — stick to plant scraps and garden waste. Always bury fresh food under a layer of browns, keep the pile moist and turned (active hot piles deter rodents), and if pests persist, line a wire or slatted bin with fine ½-inch hardware cloth on the sides and base.
How long does it take to make compost in a DIY bin?
A full, well-balanced bin that you turn every week or two can produce finished compost in one to three months during warm weather. A bin you simply add to slowly and never turn will still work but takes roughly six months to a year. Chopping material small and keeping the moisture right speeds it up considerably.
Pick the plan that fits your time and budget — pallets for free and fast, slatted lumber for a tidy permanent fixture, or wire mesh for a no-tools afternoon. Size it to a cubic yard, set it on bare soil, feed it a balance of browns and greens, and keep it moist and turned. Within a season you’ll be pulling dark, crumbly compost from the bottom and feeding it straight back into your garden.