If you want to keep it for an extended period, you can freeze the butter in an airtight container (or double-wrap in plastic) for up to 4 months. When you’re ready to use it, thaw it gradually in the refrigerator or on the countertop—avoid microwaving it, as this can cause the ingredients to separate.