Despite the many articles about activated carbon with different precursors in adsorption process, no in-depth research has been carried out to understand the causes of the difference in surface adsorption characteristics of activated carbon with different precursors and different activation processes. In this work, the ability of two active carbon adsorbents made of walnut shell and peach kernel by two chemical and physical methods (totally 4 different types of activated carbon) in treatment of oily wastewater including diesel, gasoline, used oil or engine lubricant has been compared. The results show that the chemical activated peach carbon active with 97% hardness has provided the highest hardness and physical activated walnut carbon active has obtained the lowest hardness value (87%). It is also found that peach activated carbon has a higher iodine number than walnut activated carbon, and this amount can be increased using chemical methods; Therefore, the highest amount of Iodine Number is related to Peach activated carbon that is made by chemical method (1230 mg/g), and the lowest amount of iodine number is seen in walnut activated carbon that is made by physical method (1020 mg/g). moreover, the pore diameter of physical activated carbon is lower than chemical activated carbon in all cases. So that the pore diameter of chemical activated peach carbon active is equal to 22.08 μm and the measured pore diameter of physical activated peach carbon active is equal to 20.42 μm. These values for walnut are obtained as 22.74 μm and 21.86 μm, respectively. Furthermore, the temperature and pH effects on the adsorption of different synthesized oily wastewater was studied and it was found that a decrease in adsorption can be seen with an increase in temperature or decreasing the pH value, which can be referred to this fact that the process of adsorption is an exothermic process. Finally, to analyze the compatibility of adsorption isotherms with experimental data and to predict the adsorption process, three different isotherms named Langmuir, Temkin, and Freundlich isotherms were applied and their parameters were correlated. The correlation results show that the Langmuir isotherm had the best correlation in all cases compared to the Freundlich and Temkin isotherms, based on the correlation coefficient, and the calculated R2 values which was greater than 0.99 in all the studied cases.