Nut shells are compostable in the technical sense — they're organic material — but "compostable" and "compost quickly, without side effects" aren't the same thing. Different nut shells behave very differently in a pile, and one in particular is worth understanding before it ends up near your vegetables.
Quick Answer by Type
| Shell | Compostable? | Speed | Notes |
|---|---|---|---|
| Peanut shells | Yes | Relatively fast | Technically a legume pod, not a true nutshell — thinner, breaks down in a normal timeframe |
| Walnut shells | Yes, with caution | Very slow (can take years) | Contains juglone — avoid using finished compost near juglone-sensitive plants |
| Almond shells | Yes | Slow | Hard and fibrous, but no juglone concern |
| Pistachio shells | Yes | Moderate | Thinner than almond or walnut |
Peanut Shells: The Easy One
Peanuts aren't true nuts — they're legumes, and their shells are closer to a papery pod than a hard nutshell. Peanut shells break down in roughly the same timeframe as other fibrous plant material like corn husks. They're a reasonably good "brown" (carbon) addition to balance wetter kitchen scraps.
Walnut Shells: Slow, and Worth a Caveat
Walnut shells are dense and can take a long time — sometimes multiple years in a passive pile — to fully break down, similar to other hard, woody material. But the more important thing to know is juglone, a naturally occurring compound in walnut trees (found in the shells, hulls, roots, and leaves) that's allelopathic — it can suppress growth in certain sensitive plants, most notably tomatoes, peppers, and some other vegetables.
This doesn't mean walnut shells can't be composted at all. In a hot, actively managed pile with a long enough timeframe, juglone does break down along with everything else. But because the shells decompose so slowly, there's a real window where juglone could still be present if you use the compost too soon. If you compost walnut shells:
- Expect a much longer timeframe before that batch is ready to use
- Avoid applying compost containing partially-broken-down walnut shells around juglone-sensitive plants specifically
- When in doubt, skip walnut shells in compost that's headed for a vegetable garden and dispose of them separately
Almond and Pistachio Shells
Almond shells are hard and fibrous, similar in decomposition speed to walnut shells, but without the juglone concern — they're simply slow, not growth-inhibiting. Pistachio shells are thinner and break down somewhat faster than almond or walnut shells, closer to a woody plant stem than a dense hardwood shell.
How to Speed Up Any Nut Shell in Compost
- Crush or grind shells before adding them — this is the single biggest factor in decomposition speed for any hard shell material
- Add in smaller amounts rather than a large batch all at once
- Use a hot, actively managed pile if possible — sustained higher temperatures break down dense, lignified material faster than a cool, passive pile
What About Electric Composters?
The picture is different for a machine like Reencle, which uses a live microbial culture rather than passive decomposition. Very hard, dense shells — including walnut and almond shells — behave similarly to large pits: they're too dense to break down in a normal cycle and should be kept out, the same way bones and large fruit pits are. Softer, thinner shells (peanut, pistachio in smaller amounts) are more manageable, but when in doubt, keep whole hard nutshells out of an electric composter and add them to a backyard pile instead, where a longer timeframe isn't a problem.
Frequently Asked Questions
Are walnut shells bad for compost? Not inherently bad, but they're slow to break down and contain juglone, a compound that can inhibit growth in sensitive plants like tomatoes. Use finished compost containing walnut shells cautiously around those plants, or skip walnut shells in compost destined for a vegetable garden.
Do peanut shells compost quickly? Relatively, yes — peanuts are legumes, and their shells are thinner and less dense than true nutshells, breaking down in a normal timeframe.
Can I put nut shells in an electric composter? Soft, thin shells in small amounts are generally manageable, but hard, dense shells (walnut, almond) are too dense for a normal cycle, similar to bones and large pits — better suited to a backyard pile with a longer timeframe.
How long do walnut shells take to compost? It can take a year or more in a passive backyard pile, and considerably less in a hot, actively managed one. Crushing the shells first speeds this up significantly.
Is juglone harmful to all plants? No — juglone specifically affects certain sensitive species (tomatoes, peppers, and a handful of others). Most plants aren't significantly affected by it.
The Bottom Line
Nut shells aren't a single category when it comes to composting. Peanut shells are easy. Almond and pistachio shells are just slow. Walnut shells are slow and carry a real caveat worth respecting if the finished compost is headed for a vegetable bed. Crushing shells before adding them and giving them time solves most of the speed problem — the juglone consideration is the one thing worth actually planning around.
References
- Cornell Cooperative Extension. Walnut Toxicity (Juglone). https://ccetompkins.org/gardening/gardening-resources/juglone-toxicity
- U.S. Environmental Protection Agency. Composting at Home. https://www.epa.gov/recycle/composting-home

