As long as ammunition is stored in a dry and relatively cool place it will last for years or even decades. There are some exceptions to this, with some ammunition that is loaded with powders that degrade a bit over time, but in general you don’t have to worry about ammunition going bad. If your ammo is exposed to water, however, it is possible to experience underpowered “squib” loads or duds that fail to fire.