Coordinates: 21°16′05″S, 51°39′57″W São João do Pau d'Alho is a municipality in the state of São Paulo in Brazil. The population in 2004 was 1,855 and the area is 118.29 km². The elevation is 354 m.