"My prayers and condolences to the families of the victims of the terrible Florida shooting. No child, teacher or anyone else should ever feel unsafe in an American school," Trump tweeted Wednesday.
Trump also spoke to Florida Gov. Rick Scott and offered federal assistance if needed, according to the White House.
Trump was briefed on the shooting by Homeland Security Secretary Kirstjen Nielsen, who also spoke with Scott and other state and local officials.
On Twitter, the President said the administration is "working closely with law enforcement" in Florida.