Apple juice can spoil if it is not used by the manufacturer's expiration date or if it is improperly stored. Whether or not it is refrigerated at the time of purchase largely determines how it should be stored to prevent spoilage.
Apple juice that is cold at the time of purchase should remain under refrigeration to keep it fresh until its expiration date is exceeded. Cans and bottles that are purchased warm may be stored for approximately one year on a pantry shelf before they will go bad.
Apple juice eventually turns into vinegar if not consumed, making it easy to tell when it has spoiled. When past its prime, the juice will have the odor of apple cider vinegar or alcohol or just smell sour.