You can build a working compost bin in a weekend with wood, wire, or even a plastic storage container

A compost bin does not need to be complicated or expensive. The simplest versions are made from four wooden pallets wired together, a wooden frame built from 2x4 lumber, a wire cylinder, or even a large plastic storage bin with holes drilled in the bottom and sides. The bin's job is to hold organic material in one place while air and moisture break it down. Any container that lets air reach the pile and lets water drain out will work.

The size and material you choose depends on how much yard waste you produce, how much space you have, and how much time you want to spend building. A bin that is roughly 3 feet wide, 3 feet deep, and 3 feet tall holds enough material to heat up and decompose quickly. Smaller bins work too—they just decompose more slowly.

Key Takeaways

  • A wooden pallet bin takes about an hour to assemble and costs little or nothing if you can find free pallets.
  • Wooden frame bins made from 2x4 lumber are sturdy and last several years if you use untreated wood and line the bottom with wire mesh to keep out rodents.
  • Wire bins and plastic storage bins work well for small yards and take even less time to set up.
  • Every bin design needs drainage holes at the bottom and air gaps in the sides so the pile does not become waterlogged or anaerobic.

Building a Pallet Bin (Fastest Option)

Wooden pallets are often free from warehouses, garden centers, or online marketplaces. Look for pallets marked "HT" (heat-treated) rather than "MB" (methyl bromide-treated), since heat-treated pallets are safer for food gardens. You need four pallets of roughly the same size, wire or zip ties, and a pair of bolt cutters or wire cutters.

Stand the pallets on their edges to form a square, with the open side facing you for straightforward access. Wire each corner together by threading wire through the pallet slats and twisting it tight, or use heavy-duty zip ties. If you want a lid, attach a fifth pallet to the top with hinges. Drill or punch holes in the bottom pallet slats so water can drain, or lay the bin on bare soil and let water soak through. This bin is ready to use when ready.

Building a Wooden Frame Bin (Most Durable)

A frame made from untreated 2x4 or 2x6 lumber lasts five to seven years and looks neater than a pallet bin. You will need eight pieces of lumber (four for the sides, four for the corners), exterior wood screws (3-inch), a drill, a saw, and wire mesh or hardware cloth. Avoid pressure-treated wood, which contains chemicals that leach into compost.

Cut four pieces to the same length—typically 3 feet—for the front and back. Cut four corner posts to the same height, also typically 3 feet. Attach the front and back boards to the corner posts using three screws per joint, drilling pilot holes first to prevent splitting. Lay the completed frame on bare soil or on a layer of wire mesh stapled to the bottom to keep burrowing animals out. Leave gaps between the boards (or drill holes in them) so air reaches the pile. You can add a hinged lid made from scrap wood and more 2x4s.

Building a Wire Cylinder Bin (Smallest Footprint)

A wire bin is the quickest option and takes up the least space. Buy a roll of 1/4-inch or 1/2-inch hardware cloth or chicken wire, typically 3 to 4 feet tall and 25 feet long. Roll it into a cylinder about 3 feet in diameter, overlap the ends by 6 inches, and wire or zip-tie them together. Stand it on bare soil.

Wire bins let air in from all sides, which speeds decomposition, but they offer no protection from animals and no straightforward way to turn the pile. They work best in a quiet corner of a yard where you do not mind the appearance. Line the inside with cardboard if you want to contain smaller pieces of material.

Building a Plastic Storage Bin (Apartment-Friendly)

A large plastic storage container with a lid (30 to 50 gallons) works for small amounts of kitchen scraps and shredded paper. Drill holes in the bottom for drainage and holes around the sides near the bottom for air flow—aim for one hole every 4 to 6 inches. Drill a few holes in the lid as well so moisture can escape.

Place the bin on a tray or in a shallow pan to catch drainage, which you can pour back into the bin or use as compost tea on plants. This setup works indoors in a garage, basement, or closet, or outdoors on a patio. The small volume means the pile will not heat up as much as a larger bin, so decomposition takes longer—usually four to six months instead of two to three.

What to Do Before You Start Building

Measure the space where your bin will sit and decide how big it can be. Check whether your local rules allow compost bins—some neighborhoods have restrictions. If you are building on soil, clear away grass and weeds first so the bin sits directly on bare earth, which lets worms and microorganisms move in from below.

If you are building on concrete or pavement, lay down a layer of cardboard under the bin to create a barrier, then drill extra drainage holes in the bottom of your bin so water does not pool. Choose a spot that gets partial sun and is reasonably close to where you generate kitchen scraps, so you are more likely to use it regularly.

Materials and Tools You Will Need

Bin TypeMain MaterialsTools NeededApproximate Time
Pallet bin4 pallets, wire or zip tiesWire cutters, drill (optional)1 hour
Wooden frameEight 2x4 boards, screws, wire meshSaw, drill, screwdriver2–3 hours
Wire cylinderHardware cloth or chicken wire, zip tiesWire cutters, gloves30 minutes
Plastic storage binLarge plastic container with lidDrill with bits30 minutes

Frequently Asked Questions

Do I need a lid on my compost bin?

A lid keeps rain from waterlogging the pile and slows decomposition in cold weather, but it is not required. Open bins work fine in most climates. If you have a rodent problem, a lid helps keep animals out, though a tight-fitting lid is more effective than a loose one.

Can I use pressure-treated wood?

No. Pressure-treated lumber contains copper or arsenic compounds that leach into the compost and can end up in your garden soil. Use untreated wood, cedar, or redwood instead. Pallets marked "HT" are heat-treated and safe.

What size bin should I build?

A 3-by-3-by-3-foot bin is the standard size because it holds enough material to heat up and decompose quickly. Smaller bins work but decompose more slowly. If you have very little space, a 2-by-2-foot bin or a plastic storage container will still work.

Should I put my bin in sun or shade?

Partial sun is ideal. Full sun can dry out the pile too quickly, while deep shade slows decomposition. A spot that gets morning sun and afternoon shade works well in most climates.

Do I need to line the bottom of my bin with anything?

If you are building on bare soil, no—the bin can sit directly on earth. If you are on concrete or pavement, lay cardboard underneath to create a barrier and let worms move in from below. Wire mesh at the bottom keeps burrowing animals out but is not essential unless you have a rodent problem.