Since butter has a high fat content of 80% and low water content of 20%, it isn’t likely to harbor any bacteria that cause food-borne illnesses, especially if it’s salted. However, even as a resilient dairy product, butter only lasts one month on the counter, up to two months in the fridge, and up to nine months in the freezer.