What You Need to Build a Basic Compost Bin

A compost bin is a container—open or closed—that holds kitchen scraps and yard waste while they break down into usable compost. You can build one from materials you likely have around your house: wooden pallets, wire fencing, plastic storage bins, or even a straightforward pile in a corner of your yard. The bin's job is to contain the material, keep pests out if you want, and let air and moisture reach the decomposing matter.

The simplest approach is a three-sided wooden frame made from untreated wood or pallets. A 3-by-3-foot bin is large enough to heat up and decompose quickly, but small enough to manage. If you want something faster to build, a 20-gallon plastic storage bin with holes drilled in the bottom and sides works just as well for smaller households. The material matters less than having a space where scraps and leaves can sit undisturbed while they rot.

Key Takeaways

  • A compost bin can be built from untreated wood pallets, wire fencing, or a plastic storage container, and does not need to be expensive or complicated.
  • The bin needs drainage holes in the bottom and air holes in the sides so water drains out and oxygen reaches the decomposing material.
  • Layer brown materials (dry leaves, shredded paper, cardboard) and green materials (food scraps, grass clippings, plant trimmings) in roughly equal amounts by volume.
  • Turn the pile every one to two weeks if you want finished compost in two to three months, or leave it undisturbed for six to twelve months for slower decomposition.
  • Keep the pile as moist as a wrung-out sponge; if it smells like ammonia or rotten eggs, it is too wet or has too many greens.

Building a Wooden Pallet Bin

A wooden pallet bin is the most common DIY option because pallets are free or cheap, and assembly takes an hour. You will need four untreated wooden pallets (treated wood contains chemicals that leach into compost), zip ties or wire, a drill, and a pair of work gloves. Untreated pallets are usually stamped "HT" (heat-treated) rather than "MB" (methyl bromide), which is what you want.

Stand the pallets on edge to form three sides of a square, leaving one side open for access. find the corners with zip ties threaded through the wooden slats, or use wire twisted tight. Drill or punch holes in the bottom pallet so water can drain; if the pallet sits directly on soil, water will drain naturally. If you want a removable front, attach the fourth pallet with hinges or leave it loose so you can lift it out when you need to turn the pile or harvest finished compost from the bottom.

Drilling Holes in a Plastic Bin

A plastic storage bin works well for apartment dwellers or anyone with limited space. Choose a bin at least 18 gallons; smaller bins dry out too fast. Drill or cut holes in the bottom for drainage—about six to eight holes, each roughly half an inch across. Then drill holes around all four sides, about 2 inches apart and 2 inches up from the bottom. These side holes let air reach the material without letting pests in easily.

Place the bin on a tray or in a larger container to catch drainage, which you can pour back into the bin or use to water plants. If you live somewhere very wet, drill more drainage holes. If you live somewhere very dry, drill fewer holes so the pile stays moist longer. You can also cut a hinged lid from the bin's top so you can add material without removing the whole lid each time.

Layering Browns and Greens

Compost needs two types of material: browns (carbon-rich) and greens (nitrogen-rich). Browns are dry leaves, shredded newspaper, cardboard, straw, and wood chips. Greens are fresh grass clippings, vegetable scraps, coffee grounds, plant trimmings, and manure. The pile breaks down fastest when you layer them in roughly equal amounts by volume—not weight.

Start with a 4-inch layer of browns on the bottom (this helps drainage and air flow). Add a 4-inch layer of greens. Repeat until the bin is full or you run out of material. If you add all your greens at once and no browns, the pile will smell like rotten eggs and attract flies. If you add only browns, decomposition slows to a crawl. A good rule: every time you add kitchen scraps, cover them with a handful of dry leaves or shredded paper.

Do not compost meat, fish, dairy, oils, or pet waste. These attract rats and create odor problems. Avoid diseased plants and weeds with seeds; the pile may not get hot enough to kill them. Glossy paper and cardboard with plastic coating do not break down.

Moisture and Temperature Control

The pile should feel as moist as a wrung-out sponge—damp but not dripping. If water pools at the bottom or the pile smells like ammonia or rotten eggs, it is too wet or has too many greens. Add more browns and turn the pile to let it dry out. If the pile feels dry and is not heating up, add water with a hose or sprinkle it while you turn.

A healthy pile heats up as bacteria break down the material. You may see steam rising on a cool morning. The center of the pile can reach 130 to 150 degrees Fahrenheit. This heat kills weed seeds and pathogens, which is why a hot pile is better than a cold one. A cold pile (one you never turn) will still make compost, but it takes longer and does not kill seeds.

Turning the Pile or Leaving It Alone

Turning means moving material from the outside of the pile to the center, where it is hottest. If you turn every one to two weeks, you can have finished compost in two to three months. If you never turn it, the pile will break down on its own in six to twelve months. Most home gardeners do not turn regularly; they add material as it comes and harvest from the bottom when the top layer is still fresh.

To turn the pile, use a pitchfork or shovel to move the outer material inward. The pile will shrink as you do this—that is normal. After turning, it may heat up again within a day or two. If you do not want to turn, just let it sit. Add new material to the top and pull finished compost from the bottom or sides when it looks dark and crumbly.

Knowing When Compost Is Ready

Finished compost looks dark brown or black, crumbles in your hand, and smells earthy—like soil after rain. You should not see recognizable food scraps or leaves. If you see chunks of wood or cardboard, they are still breaking down; you can sift them out and return them to the pile, or just mix them into your garden soil where they will finish decomposing.

If you turned the pile regularly and kept it moist and balanced, you may have finished compost in the bottom layer while the top is still fresh. You can harvest from the bottom without waiting for the whole pile to finish. If you never turned it, the bottom will be ready first. Either way, use the compost in your garden beds, mix it into potting soil, or spread it on your lawn.

Frequently Asked Questions

Can I use treated wood or pallets for my compost bin?

No. Treated wood is coated with chemicals to resist rot, and those chemicals leach into the compost as it breaks down. Use only untreated wood marked "HT" (heat-treated). If you are unsure whether a pallet is treated, do not use it.

What if my compost smells bad?

A rotten-egg or ammonia smell means the pile is too wet or has too many greens. Add dry leaves or shredded paper, turn the pile to let it dry out, and drill more drainage holes if water is pooling. A healthy pile should smell earthy, not foul.

Do I need a lid on my compost bin?

A lid keeps rain out and pests out, but it is not required. An open pile works fine if you do not mind rain adding extra moisture. A lid also helps the pile stay warmer in winter. A straightforward wooden frame or old door works as a lid.

Can I compost in winter?

Yes, but decomposition slows in cold weather. A pile that finishes in three months in summer may take six months in winter. Insulating the bin with straw or leaves helps keep it warmer. You can keep adding material all winter and let it finish in spring.

How big should my compost bin be?

A 3-by-3-foot bin is ideal for most households—large enough to heat up and decompose quickly, small enough to manage. Smaller bins (like a 20-gallon plastic container) work for apartments or light use. Larger bins are harder to turn and can become waterlogged.