You can build a working compost bin from wood pallets, wire fencing, or a plastic storage container in a few hours with basic tools

A homemade compost bin does the same job as a store-bought one—it holds your kitchen scraps and yard waste while they break down into usable compost—but costs far less and takes only an afternoon to assemble. The simplest designs use materials you may already have: wooden pallets stacked into a square, wire fencing wrapped around wooden posts, or even a large plastic storage bin with holes drilled in the sides and bottom. The bin itself does not speed up decomposition; what matters is the mix of materials inside and how often you turn it. Your choice of design depends mainly on how much space you have, how much compost you want to make, and whether you prefer to turn the pile by hand or let it sit undisturbed.

Key Takeaways

  • A pallet bin costs almost nothing if you have pallets on hand, takes two to three hours to build, and works best for people who turn their pile regularly.
  • Wire bins are open-sided and let air flow freely, which speeds decomposition, but they are harder to contain and work better in a back corner away from neighbors.
  • Plastic storage bins are the smallest option, best for apartments or patios, and require drilling drainage holes in the bottom and air holes in the sides.
  • All bins need a layer of coarse material at the bottom to allow air to reach the pile, and all benefit from a cover to keep rain out and rodents away.
  • The bin itself is just a container; what actually breaks down your waste is the right balance of brown materials (leaves, paper) and green materials (food scraps, grass clippings).

Pallet Bin: The Cheapest Option

A pallet bin is made from four wooden pallets stood on edge and fastened together at the corners to form a square. You can find pallets free or cheap at hardware stores, warehouses, or on community boards. Look for pallets marked "HT" (heat-treated) rather than "MB" (methyl bromide treated), since HT pallets are safer for food-contact compost. Check that the wood is not rotted or heavily stained with chemicals.

To build one, stand four pallets upright so they form a square roughly 3 feet by 3 feet. find the corners with galvanized bolts, lag screws, or heavy-duty zip ties—zip ties are easiest if you do not own a drill. Drill pilot holes first if you use bolts, to avoid splitting the wood. Lay landscape fabric or wire mesh on the ground inside to keep burrowing rodents out. You do not need a bottom; the open ground lets worms and microbes move in from below. Add a hinged or removable front panel if you want straightforward access to finished compost at the bottom, or leave all four sides closed and dig out compost from the top.

Wire Bin: Maximum Airflow

A wire bin is a cylinder or square made from hardware cloth (galvanized wire mesh) wrapped around wooden posts or held up by a frame. This design lets air reach every part of the pile, which speeds decomposition and reduces smell. Wire bins are best for people with space and who do not mind a less tidy appearance, since the pile is visible from all sides.

To build a straightforward wire cylinder, drive four wooden posts (4x4 or 2x4 lumber) into the ground in a square about 3 feet apart. Wrap hardware cloth around the posts and fasten it with wire or zip ties. Leave the top open so you can add materials. Line the inside with landscape fabric to slow the breakdown of materials at the edges and to contain smaller pieces. The open bottom lets air and moisture flow freely, which is why this design works well for people who turn their pile every week or two. If you live in a neighborhood where appearance matters, position the bin in a back corner or screen it with a fence or shrubs.

Plastic Storage Bin: Space-Saving Option

A large plastic storage bin (18 to 30 gallons) is the smallest and tidiest option, ideal for apartments, patios, or anyone with limited yard space. The bin sits above ground, contains odors better than open designs, and is straightforward to move if you need to. The trade-off is that you can only make small batches of compost, and the closed sides mean you have to work harder to keep air flowing through the pile.

Choose a bin with a tight-fitting lid. Drill holes in the bottom (at least six, each about 1/4 inch) to let water drain out—place a tray underneath to catch liquid. Drill holes in the sides and lid (about 20 to 30 holes total, spaced a few inches apart) to let air in. The more holes, the faster decomposition happens. Add a 2-inch layer of coarse material (twigs, straw, or shredded paper) at the bottom so air can flow underneath. Fill the bin with alternating layers of brown and green materials, keeping the pile moist but not soggy. Every week or two, close the lid and shake the bin, or use a stick to poke holes through the pile to add air.

Essential Features Every Bin Needs

Regardless of which design you choose, three features matter: drainage, airflow, and a cover. Drainage means water can leave the pile so it does not become waterlogged and anaerobic (lacking oxygen). If your bin sits on soil, the open bottom handles this. If it sits on concrete or pavement, drill holes in the bottom and place a tray underneath. Airflow means oxygen reaches the center of the pile, which is what bacteria and fungi need to break down materials quickly. Turning the pile by hand every week or two adds air; so do holes in the sides or an open design. A cover keeps heavy rain from washing away nutrients and keeps rodents and flies out. Use a piece of plywood, a tarp, or the bin's own lid.

At the very bottom of any bin, lay a 2- to 4-inch layer of coarse material—twigs, straw, wood chips, or shredded newspaper. This creates an air gap so oxygen can flow up from below. Without this layer, the pile compacts and the center becomes anaerobic, which slows decomposition and creates odor.

Materials and Tools You Will Need

DesignMain MaterialsToolsEstimated Cost
Pallet bin4 wooden pallets, bolts or zip ties, landscape fabricDrill (optional), wrench or screwdriver$0–$20
Wire bin4 wooden posts, hardware cloth, wire or zip ties, landscape fabricDrill, saw, wire cutters$30–$60
Plastic storage binLarge plastic bin with lidDrill with bits$20–$50

For any design, you will also want a compost thermometer (optional, $10–$20) to track decomposition speed, and a pitchfork or shovel if you plan to turn the pile. Landscape fabric is useful for all designs to line the sides and bottom, keeping rodents out and containing small pieces.

Siting Your Bin for Success

Where you place your bin affects how fast compost forms and how much trouble it causes. Choose a spot that gets partial sun—full sun dries the pile too fast, and full shade slows decomposition. The ground should be level and well-draining; avoid low spots where water pools. If you live in a wet climate, elevate the bin slightly on blocks or gravel so water does not collect underneath.

Position the bin away from your house and your neighbors' windows if possible, especially if you choose an open design. Even a well-managed pile can attract flies or smell during wet weather. A back corner, screened by a fence or shrubs, keeps the bin out of sight and out of mind. Make sure you have room to walk around it if you plan to turn the pile, and keep it away from tree roots that might grow into the bin.

Frequently Asked Questions

How long does it take to get finished compost from a homemade bin?

It depends on how often you turn the pile and how warm it is. If you turn the pile every week and keep it moist, you can have finished compost in two to three months during warm weather. If you let it sit without turning, it takes six months to a year. Cold weather slows everything down.

Do I need to buy special fasteners or can I use what I have?

Galvanized or stainless steel fasteners last longer in a wet environment, but regular bolts and screws work fine for a few years. Zip ties are the easiest option if you do not own a drill—they hold pallets together securely and cost almost nothing. Replace them every few years as they degrade in sunlight.

Can I use treated lumber for the posts in a wire bin?

Pressure-treated lumber is safe for compost bins because the chemicals do not leach into the finished compost in amounts that matter. Untreated wood rots faster but is fine if you do not mind replacing posts every five to ten years. Avoid creosote-treated railroad ties, which contain harmful chemicals.

What if my bin attracts rats or flies?

Rats come for food scraps; flies come for moisture and decomposing material. Keep a tight cover on the bin, bury food scraps under a layer of brown material (leaves or paper), and avoid adding meat, dairy, or oils. If you already have pests, stop adding food scraps for a few weeks and turn the pile to heat it up, which kills fly larvae.

Can I use a bin on a concrete patio or balcony?

Yes, but you must drill drainage holes in the bottom and place a tray underneath to catch liquid. A plastic storage bin works best in this situation because it is small, contained, and straightforward to manage. Drill extra air holes in the sides to keep the pile from getting too wet and compacted.