Yes, coconut oil eventually goes bad. Refined coconut oil lasts for 18 to 36 months, while unrefined (virgin) coconut oil lasts for 3 to 5 years, depending on the storage conditions.