There's limited evidence to suggest coffee grounds effectively repel moles. While coffee grounds could potentially change the soil's composition and make it less appealing to moles, their influence on moles isn't conclusive. If you choose to use coffee grounds, it's good to remember it will also impact the soil's acidity level.