Coconut oil can spoil, but it has a long shelf life. If you’re not sure how long your bottle of coconut oil has been stored, look for signs of mold and check for smell and taste. If it has developed any mold, dark spots, a strange odor, or bad taste, throw it away!