Exactly how humans came up with the idea of roasting and brewing coffee beans isn’t clear. More certain is the fact that coffee has grown into a global industry worth billions of dollars. And with that popularity comes climate consequences.

There’s deforestation to grow more beans, the shipping emissions that come from moving them to market and the resources that go into packaging. So, with more than 80 percent of Americans regularly drinking a cup (or three), greening our collective coffee habit could have positive effects.

That process starts at the source. Today, there are myriad labels, seals and certifications that promise you information on the human and environmental impact of your beans. An organic label, for instance, implies limits on the chemicals (like pesticides) used to grow the coffee, while a fair trade seal should signal better treatment of workers and communities.

Bob Schildgen, who writes the Mr. Green column for the Sierra Club, said the main labels he trusts for coffee are the United States Department of Agriculture organic certification and the Fairttrade seal. He said Smithsonian Bird Friendly and Rainforest Alliance Certified also offer at least some assurances that the beans are produced with care.

Once you’ve found beans with a lower environmental impact, what else you can do?

Ditching single-serving pods is one step. Not only do they require more packaging, but single servings also take significantly more energy to brew than traditional drip methods.

Even John Sylvan, one of the founders of Keurig, says he wishes he he’d never introduced coffee pods to the world. “I feel bad sometimes that I ever did it,” he told The Atlantic, in 2015. “No matter what they say about recycling, those things will never be recyclable.” (A Kuerig representative disputed that, saying many of the company’s pods were already recyclable and that it aimed make all of them recyclable by 2020).

You can skip the pods, and the electric coffee machine, by opting for pour-over preparations. You might also consider a metal or cloth filter instead of paper (though the metal allows more acid to pass through). Or, eliminate the filter altogether with by pressing your coffee. Best yet, try cold brew. No boiling water, and thus no electricity, needed. And some aficionados says it delivers better flavor with less acidity.

Once you’ve made your coffee, some of the things that go with it can be just as important as the brew itself. Milk, for instance, accounts for more than half the emissions footprint of the average coffee (and that percentage is drastically higher for dairy-heavy orders like lattes).

Single-use cups generate a lot of waste, so be sure to reach for that a reusable mug instead.

Finally, don’t forget: Those coffee grounds are compostable. Next time forgo the trash for the compost bin, or dump them directly in the garden.