The simplest compost bin is a wooden box or wire cage you build yourself

You can build a working compost bin in an afternoon with materials you may already have or can buy cheaply. The most common design is a wooden box made from untreated lumber, or a cylinder made from wire fencing. Both work equally well. The bin does not need a lid, floor, or special hardware — it just needs to hold your materials in one place while they break down. A bin roughly 3 feet wide, 3 feet deep, and 3 feet tall is large enough to generate heat and speed decomposition, but small enough to manage by hand.

The choice between wood and wire depends on what you have access to and how long you want the bin to last. Untreated wood lasts 5 to 7 years before rot sets in. Wire fencing lasts longer but is harder to load and unload. Both cost between $20 and $60 to build.

Key Takeaways

  • A 3-by-3-by-3-foot bin made from untreated wood or wire fencing is large enough to heat up and break down materials quickly.
  • Untreated lumber, galvanized wire, and basic fasteners are the only materials you need; avoid pressure-treated wood because it contains chemicals that leach into compost.
  • You can build a wooden bin with a drill and saw in under two hours, or a wire bin in under one hour with just wire cutters and work gloves.
  • Place your bin on bare soil so worms and microbes can move in from below, and position it where it gets at least partial sun.
  • A bin without a lid works fine, but adding a removable wooden top keeps rain out and makes the pile easier to manage.

Wooden box design: materials and assembly

For a wooden bin, buy four 8-foot lengths of untreated lumber, typically 2-by-10 or 2-by-12 boards. Untreated means no chemical preservatives — pressure-treated wood contains copper or arsenic compounds that will contaminate your finished compost. You will also need 16 galvanized 3-inch wood screws, a drill with a screwdriver bit, and a saw to cut the boards to length.

Cut each board into two 3-foot lengths. You now have eight pieces. Lay two pieces flat on the ground to form the bottom of one side, then stand two more pieces upright at each end to form the corners. Drill pilot holes first to prevent splitting, then drive two screws through each corner piece into the side boards. Repeat for the other three sides. The result is a box roughly 3 feet square and 2 feet tall. If you want it taller, use 2-by-12 boards instead and stack them two high.

Do not attach a floor. Compost works better when worms and soil organisms can enter from below. If your ground is hard or you are on concrete, lay down cardboard or hardware cloth to keep out burrowing pests, but leave it permeable so water drains through.

Wire cylinder design: materials and assembly

For a wire bin, buy a 16-foot roll of galvanized wire fencing, typically 4 feet tall and with 1-inch or 2-inch openings. Galvanized means it is coated to resist rust. You will also need wire cutters and heavy work gloves. Some people add zip ties or wire to hold the seams together, but it is not necessary.

Unroll the fencing and form it into a circle roughly 3 feet across. The two ends will overlap by several inches. Fold the overlapping ends back and weave them through the mesh to lock the cylinder together. The result is a cage about 3 feet tall and 3 feet in diameter. You can load materials from the top and pull finished compost from the bottom by loosening the weave on one side.

Wire bins are faster to build and easier to move, but they are harder to turn and materials can fall through the gaps. They work best if you add materials all at once and let them sit for several months without turning.

Location and site preparation

Place your bin on bare soil, not on concrete or asphalt. Soil-dwelling organisms — earthworms, beetles, fungi — will colonize your pile from below and speed decomposition. If you are in an area with heavy rain, choose a spot with good drainage so water does not pool around the base.

Partial sun is ideal. Full sun can dry out the pile too quickly, especially in hot climates. Full shade slows decomposition because the pile does not heat up as much. A spot that gets morning sun and afternoon shade is a good compromise.

Keep the bin at least a few feet away from your house or deck. Compost piles can attract rodents and insects, and they smell stronger on hot days. A corner of the yard or a spot behind a shed works well.

Adding a removable lid

A lid is optional but useful. It keeps heavy rain from waterlogging the pile and keeps flies and other pests from laying eggs in your materials. A straightforward lid is a wooden frame covered with plywood or scrap wood, sized to rest on top of the bin without fasteners.

To build one, make a frame from 2-by-4 lumber that is roughly 3 feet by 3 feet, then nail or screw a piece of plywood to the top. Drill a few small holes in the plywood for air circulation. The lid should be light enough to lift by hand — if it is too heavy, you will stop using it.

For a wire bin, a piece of plywood laid across the top works just as well. You do not need to attach it; weight alone will hold it in place.

Materials checklist and cost

Bin TypeMaterialsEstimated CostBuild Time
Wooden boxFour 8-foot untreated 2×10 boards, 16 galvanized 3-inch screws$40–$601–2 hours
Wire cylinderOne 16-foot roll galvanized wire fencing (4 feet tall)$20–$3530 minutes
Wooden box with lidWooden box materials plus 2×4 frame and plywood sheet$60–$852–3 hours

Prices vary by region and supplier. Check local lumber yards and home improvement stores for current pricing. Untreated lumber is sometimes harder to find than pressure-treated, so call ahead or order online if your local store does not stock it.

Common mistakes to avoid

Do not use pressure-treated lumber. The chemicals in the wood will leach into your compost and end up in your soil and plants. Untreated wood costs a little more but is worth it.

Do not build the bin too small. A bin smaller than 3 feet on each side will not generate enough heat to break down materials quickly. You will end up with a slow, smelly pile instead of finished compost.

Do not attach the bin to concrete or asphalt. Worms and microbes cannot enter from below, and water cannot drain. The pile will become waterlogged and anaerobic, which means it will smell like rotten eggs.

Do not make the lid too heavy. If it takes two hands to lift, you will stop using it. A light lid you can move with one hand is more likely to stay in use.

Frequently Asked Questions

Can I use reclaimed wood or old pallets to build a bin?

Pallets work if they are not pressure-treated, but you cannot always tell by looking. Pallets marked with "HT" (heat-treated) are safe; those marked "MB" (methyl bromide) are not. Reclaimed wood is fine as long as it was not treated with pesticides or preservatives. If you are unsure, untreated new lumber is a safer choice.

Do I need to line the bottom with hardware cloth to keep out rats?

Hardware cloth (a metal mesh) stops burrowing rodents but also stops worms and beneficial organisms from entering. Use it only if you have a documented rat problem. In most yards, the pile itself does not attract rats — it is food scraps left on top that do. Bury food waste under brown materials like leaves or straw, and rats will usually leave it alone.

What size should the bin be if I have a small yard?

A 2-by-2-by-2-foot bin works, but it will compost more slowly because it does not heat up as much. You can also use a tall, narrow bin — 2 feet wide and 4 feet tall — which takes up less floor space. The trade-off is that it is harder to turn and materials settle unevenly.

Can I build the bin on a slope or uneven ground?

Slightly uneven ground is fine, but a steep slope will cause water to run off one side. Level the ground as much as you can before building. If the ground is very rocky or compacted, dig out the top few inches and replace it with soil so worms can move in easily.

How long does it take for a new bin to start working?

A new bin will begin breaking down materials right away, but it takes a few weeks for worms and microbes to colonize the pile. The first batch of compost usually takes 2 to 6 months, depending on how often you turn it and what materials you add. Bins that are not turned take longer — sometimes 9 to 12 months.