It can last up to a year or longer when properly canned and stored. Before opening a jar, always check the seal and discard any jar that has a broken seal or seems to be spoiled.  Once opened, keep the jar refrigerated; the butter will keep for 1-2 weeks.