Clean the floor area that is oil-stained. Sweep away any dirt or debris with a broom or floor brush.
Remove any dried or built-up oil residue or other material from the floor surface with a scraper or putty knife.
Wash the floor area thoroughly with hot soapy water and a scrub brush. For older or caked-on oil or grease that won't scrape off, use a standard solution of TSP cleaner and hot water to break up the material for easier removal. Rinse the area with clean water and allow it to dry thoroughly.
Mix a solution of water and muriatic acid in a plastic bucket, following the manufacturer's directions. Prepare the mixture in a well-ventilated area to avoid breathing in the acidic fumes emitted during the mixing process.
Apply a liberal amount of the muriatic acid solution to the stained floor area. Allow the solution to saturate the floor surface for approximately 15 minutes. Some stains may require a longer soaking period.
Scrub the floor surface with a wire brush or plastic-bristled scrub brush to dislodge any remaining oil.
Rinse the floor area thoroughly with clean water.