Can I compost...

Walnuts?

No.

Walnut trees release a chemical called juglone which is toxic to some vegetables and plants, such as tomatoes so it is best to avoid composting anything related to walnuts.

In category Nuts and Pulses