This study focused on the capability of two artificial intelligent approaches, including Artificial Neural Networks (ANNs) and Multi-Layered Adaptive Neural Fuzzy Inference System (MLANFIS), as a prediction tool to model and forecast milk yield on the basis of energy consumption in dairy cattle farms of Iran. For this purpose, data was collected from 50 farms in Tehran province, Iran. For the purpose of gaining the best accurate ANFIS model, five energy inputs were clustered into two groups based on their energy share in total energy consumption and an ANFIS network was trained for each cluster. The results of statistical parameter evaluation showed that ANFIS 1 and ANFIS 2 from layer one were not as accurate as ANFIS 3 network (layer two) whereas, coefficient of determination (R 2 ), Root Mean Square Error (RMSE) and Mean Absolute Percentage Error (MAPE) values were 0.75, 1256.72 and 0.129 for ANFIS 1 and 0.65, 1409.43 and 0.144 for ANFIS 2 and 0.93, 681.85 and 0.063 for ANFIS 3 network, respectively. These results were considerably better than ANNs model with R 2 , RMSE and MAPE calculated as 0.85, 1052.413 and 0.0702, respectively. Eventually, the outcomes revealed that multi-layered ANFIS contrasted to ANNs modeling could successfully predict the milk yield level accurately. Hence, it is recommended that the multi-layered ANFIS can potentially be applied as an alternative approach.