In view of the rapid development of highways in China, automobile exhaust has serious effects on the environment for oil pollution. The situation of highway soils in Qingdao was investigated and sampled. According to traffic flow and hours of operation, Jimo section of Qingdao-Yinchuan Expressway, Jiaozhou Bay Expressway and Qingdao-Weihai Expressway were studied, using stratified sampling according to different distances from the shoulder. UV analysis was utilized to analysis spatial distribution of oil pollutants on both road sides. The results showed that traffic flow and operating time of the highway had a large effect on the content of petroleum pollutants on both sides of road. With the growth in traffic volume and operating time, the concentration of petroleum pollutants increased significantly. Farther from the road, the concentration of petroleum pollutants was lower. In addition, the semi-arid climate of Qingdao also has a greater impact on the concentration of petroleum contaminants in soil near to the highway.