Does anyone know how long powdered garlic and onion and pepper stays good in storage for seasoning?
No, I don’t.
I store my spices in canning jars in the freezer.
The jars prevent freezer burn and loss of flavor, and the herbs stay very fresh for a long time.
If you buy peppercorns, they should keep far longer than ground pepper.