Thyme needs to be kept out of heat, moisture, and sunshine in an airtight container. Make sure the spices stay cool; keep them away from any outside walls to prevent them from being exposed to the daylong, sweltering summer sun (even light can affect dried herbs).