Can you compost coffee grounds and filters? Yes, both of them, and they are some of the best free compost material a kitchen produces. But here is the thing that trips people up: the grounds and the filter belong on opposite sides of the compost ledger. The grounds are nitrogen-rich greens. The filter is a carbon-rich brown. Treat them as the same thing and your ratio math breaks before you start.
I know how that sounds. The grounds are brown. They look brown, they feel like dirt, everything about them says "brown material." Composting categories do not care about color. They care about chemistry. Coffee grounds have a carbon-to-nitrogen ratio around 20:1, in the same neighborhood as animal manure, which makes them a green: microbe fuel, nitrogen supply, heat source. Oregon State University Extension files them as a green and recommends balancing every addition with browns. The paper filter, meanwhile, is just paper: high carbon, structural, absorbent. A brown.
Can you compost coffee grounds and filters: the ratio rule
The working rule for a home pile is 2 to 3 parts browns to 1 part greens by volume. Coffee grounds slot into the green third. So for every bucket of grounds, add 2 to 3 buckets of browns: dry leaves, shredded cardboard, torn-up coffee filters, straw. The filters you were about to throw away count toward the brown side, which is convenient, because a daily coffee habit produces both materials in roughly the wrong proportion. You will always need more browns than your kitchen makes. Keep a bag of shredded cardboard or a bin of dry leaves next to the compost specifically for this.
Run it through the Compost Ratio Calculator if you want the exact number: coffee grounds at 20:1 blended against cardboard at 350:1 or dry leaves at 60:1 will show you how little green it takes to pull a pile toward the 30:1 target, and how fast a grounds-heavy pile goes nitrogen-hot.
The compaction trap
The most common way coffee compost fails has nothing to do with ratios. Grounds are fine particles, and fine particles packed in a thick layer do what fine particles do: they mat together, squeeze out the air, and go anaerobic. An anaerobic pocket smells like rot, breeds flies, and stalls decomposition. This is the number one complaint from people who dump the whole filter basket in one spot every morning.
The fix is mechanical, not chemical. Break up the puck. Scatter the grounds through the pile instead of layering them. Mix them with coarse browns, wood chips, straw, crumpled cardboard, that hold air channels open. Turn the pile when you add a big batch. Keep grounds under about 20 percent of the total mix by volume and the compaction problem mostly disappears. A researcher named Linda Chalker-Scott, reviewing the garden literature on coffee grounds for Washington State University, flagged this exact issue: the grounds themselves are fine for soil and compost, but applied or piled thick, they form a water-resistant barrier. Thin and mixed beats thick and dumped, every time.
Which filters are safe
Unbleached natural paper filters are the safest choice and break down fastest. Oxygen-bleached white filters are generally considered fine too. What you want to avoid: synthetic filters, plastic-coated or "no-drip" treated filters, and filters with heavy printing or metallic elements. Those do not decompose cleanly and can leave residues in finished compost. If you use a reusable metal filter, there is no filter question at all, just the grounds.
One more filter note: tear them up. A whole filter laid flat behaves like a tiny tarp in the pile, shedding water and slowing the layers around it. Torn into strips, it vanishes in weeks.
The myths sitting next to the compost bin
Coffee grounds attract folklore the way porches attract cats. Two claims deserve a paragraph because you will hear them. First, that grounds acidify soil dramatically. Spent grounds are close to pH neutral, around 6.5 to 6.8; the acidity went into your cup. They will not turn your garden into a blueberry bog. Second, that a ring of grounds repels slugs. The evidence is thin, and in wet weather the ring just becomes slug habitat. Use the grounds for what they are provably good at: nitrogen, organic matter, and worm food. Vermicomposters love them, and worms process them fast, which is its own endorsement.