It is located in the drainage basin of theRio Grande and its terrain is located in theMantiqueira mountains. It is a centre for the cities in the south and southeast ofMinas Gerais.
The city was founded by thebandeirantes; Tomé Portes del-Rei is considered the city's founder. The original small village situated in southernMinas Gerais was created as a staging post on theEstrada Real, a trade route from the coast atParaty to cities in the central region of Minas Gerais such asOuro Preto,Mariana andConselheiro Lafaiete. Later huge amounts of gold were found near the city itself.
Today, São João del-Rei is a university town. The campus of theFederal University of São João del-Rei (UFSJ) and a number of other educational institutions are present in the city. A second medical school is to be established at the University.[citation needed]
The city has many famous religious festivals through the year, most of them preserving the way it was celebrated by the time of the foundation, with baroque music and special celebrations that attracts tourists from all over the world, particularly during Holy Week, when the town receives the greatest influx of visitors.
São João del-Rei was an important station on theEstrada de Ferro Oeste de Minas, anarrow gauge railway characterised by woodburning steam locomotives, and the location of a majorroundhouse. The station and surrounding facilities have been turned into Brazil's largest railway museum, and a tourist railway operates from the station to the well preserved colonial town ofTiradentes.