This involves heating jars of pickles to temperatures high enough to kill off spoilage microbes—a method known as heat processing. An airtight vacuum seal forms when the jars cool, shutting microbes out. Once canned, most pickles keep for up to one year.