If you have very hard water, clean your washing machine monthly to make sure mineral deposits are removed from your washer's internal components. If you have soft water, and are measuring your detergent using the Measure Method of Cloth Diaper Laundry, you could get away with cleaning it every three months if there are no smells and no visible dirt.