An unopened bag of dog food should last about 18 months. An opened bag should be used within 2 months, so it's important to choose an appropriately sized bag of food, depending on how much your dogs eats.