Until the expiry date. Like our food, dogs' food also gets stale. There is a different time depends on different kinds of food like some get stale within few hours and some in days. And if the dog food is wet then it will get stale faster than the dry food.