When oils are exposed to light, heat, and air for too long, they can go rancid, turning sour, musty, and unusable. Extra virgin olive oil tends to go bad quicker than most other oils, and though an unopened bottle stored in a cool, dark place can last up to two years, that shelf life goes down to six months once it’s opened.