Pastis has a very long shelf life, typically around two years. However, it is best to keep it cool and dark and avoid exposing it to extreme temperatures. Pastis can be stored in the pantry for up to six months. Once opened, it should be stored in the fridge and used within a month.