Herein, the single strand ssDNA nanoreceptor was mixed with Fe3O4 nanoreceptor were fabricated chemically based a molecular recognition probe binding electroactive redox probe methylene blue (MB) to the surface of screen printed gold electrode was created and modified for rapid, highly sensitive, and specific detection of hydrocarbons. For the electrochemical ssDNA based nanoreceptor assay of hydrocarbon detection and treatment, less than an 1hour was needed in time. The total concentrations of aliphatic compounds ranged for the three stages before treatment (301.69-3512.41), (161.68-2281.62), and (112.79-1539.44), respectively, while after treatment, the concentrations for three stages became (0-1554.45), (0-1005.92), and (0-631.76), respectively, the treatment efficiency was in the three stages (56.1%-91.3%), (48.2%-73.9%) and (44.6%-76.5%) respectively. Moreover, the total concentrations of aromatic compounds before nanotreatment ranged for the three stages before treatment (56.26-881.94), (38.85-587.36) and (15.02- 218.12) respectively, while After treatment, the concentrations in three stages became (0-459.5), (0-95.9425) and (0-80.195) respectively, the treatment efficiency was for the three stages (26.5%winter-66.67%autumn), (28.7%winter-66.7%autumn), and (9.08%winter-33.3%summer), respectively.