Some types of fertilizer will lose potency over time.  However, if the fertilizer is kept properly stored and used correctly, it will last longer than most other commodities.