keep them in containers, surrounded by whole uncooked rice, (not instant.) keep them in a cool, dark, dry place. think about the things you keep in the fridge/freezer. none of those things will stay good for years, and neither will beans. too much temperature variance.