Consider Sealing the Grout
Certain types of cement-based grout can benefit from an appropriate grout sealant. A sealant can reduce the amount of moisture and dirt that penetrates the porous surface, making future cleaning easier.
However, not all grout products require the same treatment. Before applying a sealant, follow the instructions provided by the grout or tile manufacturer.