Coordinates: 21°42′38″S, 46°49′15″W São Sebastião da Grama is a municipality in the state of São Paulo in Brazil. The population in 2004 was 12,784 and the area is 252.95 km². The elevation is 945 m.