When coconut oil expires, its color changes from creamy white to yellow, its texture changes from smooth to bumpy or grainy, and it can even grow black moldy spots. Also, the scent of coconut oil should be mild and hard to detect; if you pick up a bitter or sour smell when you open the jar, it's likely gone bad.