Homemade butter can stay for months in the freezer if well preserved in sealed sterilized jars. When properly stored, this can stay up to 3 weeks in refrigerator but keep it tightly closed.