Many factors contribute to soil compaction. One of these factors is the pressure applied by tires and tillage tools. The aim of this study was to study soil compaction under two sizes of tractor tire, considering the effect of tire pressure and traffic on different depths of soil. Additionally, to predict soil density under the tire, an adaptive neuro-fuzzy inference system (ANFIS) was used. An ITM70 tractor equipped with a lister was used. Standard cylindrical cores were used and soil samples were taken at four depths of the soil inside the tire tracks. Tests were conducted based on a randomized complete-block design with three replications. We tested two types of narrow and normal tire using three inflation pressures, at traffic levels of 1, 3 and 5 passes and four depths of 10, 20, 30 and 40 cm. A grid partition structure and four types of membership function, namely triangular, trapezoid, Gaussian and General bell were used to model soil compaction. Analysis of variance showed that tire size was significant on soil density change, and also, the binary effect of tire size on depth and traffic were significant at 1%. The main effects of tire pressure, traffic and depth were significant on soil compaction at 1% level of significance for both tire types. The inputs of the ANFIS model included tire type, depth of soil, number of tire passes and tire inflation pressure. To evaluate the performance of the model, the relative error (ε) and the coefficient of explanation (R2) were used, which were 1.05 and 0.9949, respectively. It was found that the narrow tire was more effective on soil compaction such that the narrow tire significantly increased soil density in the surface and subsurface layers.