"Fight! Fight! Fight!" Trump mouthed to supporters, pumping his fist, as Secret Service agents rushed him away.
His campaign said he was doing well and appeared to have suffered no major injury besides a wound on his upper right ear.
The FBI identified 20-year-old Thomas Matthew Crooks of Bethel Park, Pennsylvania, as the suspect in what it called an attempted assassination. He was a registered Republican, according to state voter records and had made a $15 donation to a Democratic political action committee at the age of 17.
Law enforcement officials told reporters they had not yet identified a motive for the attack. Both Republicans and Democrats will be looking for evidence of Crooks' political affiliation as they seek to cast the rival party as representing extremism.
The shooting occurred less than four months before the Nov. 5 election, when Trump faces an election rematch with Democratic President Joe Biden.
Most opinion polls including those by Reuters/Ipsos show the two locked in a close contest.
The shooting whipsawed the discussion around the presidential campaign, which had recently focused on whether Biden, 81, should drop out following a disastrous June debate performance.
The Biden campaign had been seeking to reset its message, depicting Trump as a danger to democracy for his continued false claims about election fraud but said on Saturday it was suspending its political advertising for now.
.Here are the top political news stories for today.
Join in on more popular conversations.