A fauna de formigas que habita a serapilheira e o dossel das florestas tropicais vem sendo considerada a próxima fronteira em conhecimento sobre a biodiversidade. Nesse sentido, o objetivo do presente estudo foi identificar a composição da mirmecofauna associada ao pequizeiro em duas áreas com diferentes níveis de perturbação antrópica (interior e borda), na Serra da Bandeira, Barreiras, Bahia, bem como, verificar se a fenologia da planta e os fatores climáticos influenciam na presença das formigas associadas. Para tal, foram selecionados 20 pequizeiros semelhantes em altura e fenologia, divididos equitativamente entre as áreas. As formigas foram coletadas mensalmente, de dezembro de 2015 a dezembro de 2016, utilizando os métodos guarda-chuva entomológico e aspirador entomológico. A mirmecofauna foi identificada ao nível taxonômico de espécie e amostrada a abundância, percentual e constância. De maneira complementar, observou-se as fenofases da planta. Para a análise dos dados, foram utilizados os índices de Shannon-Weaver, Simpson e de atividade e intensidade de Fournier, além da correlação entre as subfamílias e os fatores climáticos. Foram coletadas 1.260 formigas, sendo que 564 compreendem a área interna e 696 a área de borda. Referente à riqueza, foram coletadas e identificadas 9 espécies pertencentes a 4 subfamílias de formicídios. Em ambas as áreas, as subfamílias com a maior quantidade de indivíduos foram Myrmicinae, Formicinae e Dolichoderinae. Na área interna, somente C. atratus e M. rudolphi foram consideradas constantes, na área de borda, L. fuscum, M. rudolphi, C. angustus,