Technically speaking, vanilla extract can go bad, but this is most often due to contamination. Properly sealed and stored vanilla extract can last indefinitely. For the best flavor, I recommend using it within 5 years. If your vanilla smells off, discard it!