Diesel oil is known to be one of the major petroleum products that can pollute water and soil. Soil pollution caused by petroleum hydrocarbons has substantially impacted the environment, especially in the Middle East. In this study, modeling and optimization of hexadecane removal from soil was performed using two pure cultures of Acinetobacter and Acromobacter and consortium culture of both bacterial species using artificial neural network (ANN) method. Then the best ANN structure was proposed based on mean square error (MSE) as well as correlation coefficient (R) for pure cultures of Acinetobacter and Acromobacter as well as their consortium. The results showed that the correlations between the actual data and the data predicted by ANN (R2) in Acromobacter, Acinetobacter and consortium of both cultures were 0.50, 0.47 and 0.63, respectively. Despite the low correlation between the experimental data and the data predicted by the ANN, the correlation coefficient and the precision of ANN for the consortium was higher. As a result, ANN had desirable precision to predict hexadecan removal by the cobsertium culture of Ochromobater and Acintobacter.