The steps to remove gas fumes from a washing machine are placing old clothes in the washing machine, adding baking soda and vinegar in the machine and running a normal cycle. Clothes smelling of gasoline should not be placed in the dryer because this can cause a potential fire hazard.
Collect old towels and fabrics that are no longer in use, or are of little value, and place them in the washing machine. Then set the machine to a warm wash and a cold rinse, and wait for it to fill with water before opening the washer lid. The next step is to pour 1 cup of baking soda and 2 cups of white vinegar into the water.
Next, run the machine through the normal wash, rinse and spin cycle. Once completed, remove the old clothes and towels, and smell for any remaining traces of gasoline. If still present, complete a second wash, rinse and spin cycle. Remember to add 1 cup baking soda, 2 cups vinegar and a detergent.
Do not dry clothes smelling of gasoline in the dryer. Hang them outside instead to prevent potential fire because of remaining gas fumes. The fresh air is also better for getting rid of gasoline odor.