Garlic butter will last up to two weeks in the refrigerator if stored in an airtight container.