A clean washing machine rubber seal makes a bigger difference than you'd think. Here's the most effective method, plus the mistakes most people make.
Carefully pull back the rubber gasket around the washing machine door to expose the hidden area.
Fill a spray bottle with undiluted white vinegar. Spray generously around the rubber seal and gasket folds.
Let the vinegar penetrate to kill mold and dissolve detergent buildup.
Use an old toothbrush to scrub all the folds and crevices of the rubber seal. Pay attention to the bottom where water and gunk pool.
Wipe with a clean microfiber cloth. Repeat if mold is severe. Leave the door open after every wash to dry the seal.