are you talking black powder, or smokeless?
Black powder can last a long time. I remember as a child setting off some that we found way back in a coal mine in SW Virginia, it worked fine.
I don't think Smokeless poweder has been around long enough to really tell about shelf life. I know if it has been stored properly, stuff made back around the turn of the century (1900, not 2000) still works fine.