You may have accidentally tracked gasoline onto the carpet inside of your home or vehicle. The odor from the gas remains long after you have removed the stain from the carpet. Chemical cleaners may remove the gas smell from the carpet, but these cleaners can also damage your carpet. You can combine two items that are commonly found in homes to make a household carpet cleaner, which will remove the gas smell and any remaining stain.
Pour at least 2 tbsp. of distilled white vinegar over the area of carpet covered with the gas smell. Depending on the size of the carpet, you may need to use more vinegar.
Put roughly 1/4 cup of baking soda onto the white vinegar that you poured on the carpet. Just as with the previous step, you can use more baking soda depending on the area of carpet affected by the gas.
Scrub the vinegar and baking soda into the carpet using a soft-bristle brush. Scrub for about 30 seconds, and a paste will form on the carpet.
Leave the vinegar and baking soda paste on the carpet for at least two to three hours. Leave the paste on the carpet overnight if you wish.
Vacuum the paste off the carpet.
Examine the carpet, and repeat the process if you still notice the gas smell on the carpet.