Coffee is highly acidic and could easily throw your compost pile off balance if added in excess. The best way to compost coffee grounds is by layering equal amounts of coffee, fresh grass clippings, and leaves.