The Anoa is a wild animal endemic to Sulawesi that looks like a small cow. Anoa are categorized as vulnerable to extinction on the IUCN red list. There are two species of Anoa, namely Lowland Anoa (Bubalus depressicornis) and Mountain Anoa (Bubalus quarlesi). In this study, a comparison of potential habitat models for Anoa species was conducted using Machine Learning algorithms with the Maximum Entropy (MaxEnt) and Random Forest (RF) methods. This modeling uses eight environmental variables. Where based on the results of Bubalus quarlesi potential habitat modeling, the RF 75:25 model is the best algorithm with the highest variable contribution, namely humidity of 82.444% and a potential area of 5% of Sulawesi Island, with an Area Under Curve (AUC) of 0.987. Meanwhile, the best Bubalus depressicornis habitat potential model is the RF 70:30 algorithm, with the highest variable contribution, namely population of 88.891% and potential area of 36% of Sulawesi Island, with AUC 0.967. This indicates that Anoa extinction is very sensitive to the presence of humidity and human population levels.