The simplest compost bin is a wooden box or wire cylinder you fill with layers of food scraps and yard waste
You do not need to buy a compost bin. A working bin can be built from untreated wood, wire fencing, or even a plastic storage container with holes drilled in the bottom. The core idea is the same for all of them: create a container that holds decomposing material, lets air and water move through it, and keeps pests out if you want to. Most homemade bins cost between $20 and $60 in materials and take an afternoon to assemble.
The bin itself does not make compost happen — the right mix of materials, moisture, and air does. A bin just contains the pile and speeds up the process by concentrating heat and keeping things organized. You can compost without a bin at all, but a bin makes the work cleaner and keeps rodents away from your scraps.
Key Takeaways
- A wooden pallet bin or wire cylinder is the cheapest option and takes less than an hour to build with basic tools.
- Drill or cut drainage holes in the bottom and sides so water does not pool and air can reach the material inside.
- Layer brown materials (leaves, straw, cardboard) with green materials (food scraps, grass clippings) in roughly equal amounts by volume.
- Keep the pile as moist as a wrung-out sponge and turn it every two to four weeks to speed decomposition to three to six months.
- Avoid meat, dairy, oils, and pet waste, which attract pests or introduce harmful bacteria into finished compost.
Building a wooden pallet bin
Four wooden pallets and zip ties or wire are enough to make a square bin. Stand the pallets on their edges to form four walls, then fasten the corners together with zip ties threaded through the openings in the pallet wood, or use wire twisted tight. Leave one side partially unfastened or hinged so you can remove finished compost from the bottom without taking the whole bin apart. The pallet openings already provide airflow, so no additional drilling is needed.
Pallets are often free or very cheap from warehouses, stores, or online marketplaces. Check that they are not stamped "HT" (heat-treated), which is safe, but avoid any marked "MB" (methyl bromide), a pesticide. Untreated or heat-treated pallets will not leach chemicals into your compost. If you want to line the bottom to keep rodents from burrowing underneath, lay hardware cloth (a metal mesh) before you set the pallets down, then fold the edges up the inside walls.
Building a wire cylinder bin
Roll a length of wire fencing or chicken wire into a cylinder about 3 feet tall and 3 feet across, then fasten the overlapping ends together with zip ties or wire. This style is fast to build and straightforward to move. The open weave lets air in from all sides, which speeds decomposition. You can also remove the bin entirely and move it to a new spot once the compost is done, leaving the finished material behind.
Use 1/2-inch hardware cloth or 1-inch chicken wire so that small rodents cannot squeeze through. Fasten the bottom edge to the ground with landscape staples or rocks if you live in an area with burrowing animals. A wire bin does not need drainage holes because water drains through the gaps in the mesh.
Building a plastic storage container bin
A large plastic storage container with a lid can work as a small, enclosed bin. Drill 1/2-inch holes in the bottom, sides, and lid for drainage and airflow — space them about 6 inches apart. This style keeps rain and pests out, which is useful in wet climates or urban yards. The downside is that you cannot turn the pile easily, so decomposition takes longer, usually six to twelve months.
Drill at least 8 to 12 holes total so air can circulate. If the container sits directly on soil, the holes in the bottom let worms and microbes move in from the ground. If it sits on concrete or pavement, place it on a pallet or wooden frame so drainage does not pool underneath.
Layering materials for faster breakdown
Start with a 4-inch layer of brown material — dry leaves, straw, shredded newspaper, or cardboard. Then add a 4-inch layer of green material — food scraps, grass clippings, or plant trimmings. Repeat these layers until the bin is full. The ratio should be roughly equal by volume, though slightly more brown than green is better if you are unsure. Brown materials are carbon-rich and help the pile stay loose; green materials are nitrogen-rich and provide the energy microbes need to break things down.
Chop or shred larger pieces before adding them — smaller pieces decompose faster. Avoid meat, fish, dairy, oils, nuts, and pet waste, all of which attract pests or introduce pathogens. Diseased plants and weeds with seeds should also stay out. Grass clippings and leaves from a lawn treated with pesticides or herbicides should not go in if you plan to use the finished compost on vegetables.
Moisture and turning for faster results
The pile should feel as moist as a wrung-out sponge — damp but not soggy. If it is too dry, decomposition slows. If it is too wet, it becomes anaerobic (oxygen-starved) and smells bad. Water the pile when you add new layers if it feels dry, or cover it loosely during heavy rain to prevent waterlogging.
Turning the pile every two to four weeks speeds decomposition by mixing fresh material with the hot center and bringing air back in. Use a garden fork to pull material from the outside of the pile and push it toward the center. A well-maintained pile can produce finished compost in three to six months. A pile you leave alone will still decompose, but it takes a year or longer. If you do not want to turn it, accept that the process will be slower.
Knowing when compost is ready to use
Finished compost is dark brown, crumbly, and smells earthy — not like rotting food or ammonia. You should not be able to recognize individual materials in it. If you see whole leaves or food scraps, it is not done yet. Finished compost can go directly into garden beds, mixed into potting soil, or spread as mulch around plants.
Even in a bin, different parts finish at different rates. The bottom layers, which have been decomposing longest, are usually ready first. This is why a bin with a removable bottom or hinged side is useful — you can harvest finished compost without waiting for the whole pile to break down.
Frequently Asked Questions
Do I need a lid on my compost bin?
A lid keeps rain out and pests away, but it is not required. An open bin works fine if you do not mind occasional fruit flies or if you live in a dry climate. A lid also helps retain moisture and heat, which speeds decomposition. Pallets and wire bins can be covered with plywood, a tarp, or a hinged wooden frame.
Can I put diseased plants in my compost?
No. Diseases like powdery mildew and fungi survive in compost piles that do not reach high enough temperatures. Only commercial-scale compost facilities get hot enough to kill pathogens reliably. Throw diseased plants in the trash instead.
How do I stop rats and mice from getting into my bin?
Use hardware cloth with 1/2-inch openings or smaller on the bottom and sides. Avoid meat, dairy, and oils, which attract rodents. Keep the pile covered and turn it regularly so material does not sit exposed. If burrowing is a problem, elevate the bin on a wooden frame or concrete pad.
What if my compost smells like ammonia or rotten eggs?
That smell means the pile is anaerobic — too wet or too tightly packed. Turn it when ready to add air, and add more brown material (leaves, cardboard, straw) to absorb moisture and create space. The smell should fade within a few days after turning.
Can I compost in winter?
Decomposition slows dramatically in cold weather because microbes work slower. A pile will still break down, but it may take twice as long. In very cold climates, cover the bin with extra insulation like straw or leaves to retain heat. Spring and summer are the fastest seasons for compost.