Pretty much every study into coffee has found that it has some real benefits to your health.

But it turns out you've got to brew it the right way to make that happen.

A new 20-year-long study out of Sweden found that coffee is good for your health and can even help you live longer but only if you brew it with a filter.

If you use a French press, or drink unfiltered coffee, it leaves in chemicals that can raise your triglyceride and bad cholesterol levels.

CNN reports that is not good news for lovers of coffee made with the French press or cafetière, that is so popular today, or those fond of strong Greek and Turkish brewing methods. Boiling coffee or using a coffee press can actually increase your risk of heart disease.

The study also found those who drank one to four cups of filtered coffee per day had the lowest mortality rate.

The researchers found that filtered coffee was linked to a 15% lower risk of death, and between a 12% and 20% lower risk of death from heart disease.