João Ramalho is a municipality in the state of São Paulo in Brazil. The population is 4,416 (2015 est.) in an area of 416 km². The elevation is 551 m.