Does coconut oil go bad? Although coconut oil has quite a long shelf life, it is perishable. In general, if your coconut oil has been hanging around for more than two years, it’s best to bid it adieu.