Pinheiro Machado (Portuguese pronunciation: [piˈɲejɾu maˈʃadu]) is a municipality in the state of Rio Grande do Sul, Brazil.
Pinheiro Machado is one of the oldest towns in the state of Rio Grande do Sul.
[citation needed] The occupation of this town, according to records, began by the brigadier Rafael Pinto Bandeira, about 1765.
According to the legend, Dutra de Andrade had lost his vision and then, he made a promise that if he would recover his vision washing his eyes on the miraculous water of the well located there, he would order the building of a chantry in honor of Nossa Senhora Aparecida and so, the miracle happened.
[citation needed] Pinheiro Machado is located at latitude 31º34'42"S and longitude 53º22'52"W, at an altitude of 1,430 feet (440 m).