The shooting happened at about 09:30 local time (12:30 GMT) when the students were on a break at the state school in Suzano, near São Paulo.
The gunmen, who were wearing masks, killed themselves after the attack, police say.
While gun crime is common in Brazil, shootings of this nature are not. Far-right President Jair Bolsonaro, who took office in January, has signed a decree making it easier for law-abiding citizens to own a gun, a key campaign promise, even though many restrictions remain in place. “READ MORE >”