Pistachios have a moderate oil content and are sensitive to heat, moisture, and light, which can affect their freshness over time. To preserve their quality, they should be stored in airtight containers. Shelled pistachios can last up to 3 months in the refrigerator, while unshelled pistachios can be refrigerated for the same duration or frozen for up to a year. Proper storage helps maintain their flavor, crunch, and nutritional value.