Does Laundry Detergent Expire? - The Spruce
If a powdered detergent becomes hard or cakey, it should be discarded. The powder will probably not dissolve correctly or completely in the washer leaving soap deposits on your clothing. This can easily happen with a homemade powdered detergent because it does not contain anti-caking ingredients.