Open the door to the dishwasher and remove the racks by pulling them straight out of the front of the appliance.
Move the rusty racks to an outdoor location or to a garage. Set them on top of newspaper to protect the ground or underlying surface. Put on safety glass and work gloves before beginning the repair process.
Scrub all surfaces of the dishwasher racks thoroughly using a wire brush to dislodge the rust from them. Continue scrubbing vigorously until the metal is shiny and no more red or brown color remains.
Wipe down all surfaces of the rack using a tack cloth to collect any remaining rust particles or metal shavings.
Open a spray can or a bottle of dishwasher vinyl repair paint in a color that matches your dishwasher rack. Spray the paint on until it covers all surfaces or paint it on using a paintbrush if it is in a bottle.
Wait until the rack dries and then turn it over and paint any areas on the bottom of the rack in the same manner.
Turn the rack right side up and insert new dishwasher rack caps on any exposed metal tines.