Barbacena is a municipality in the state of Minas Gerais, Brazil. As of 2020, the municipality had 138,204 inhabitants. The total area of the municipality is 788 km2 (304 sq mi).