Trump, who was in and out of the state in about three hours, got an aerial view of the water-deluged homes along Florida's southwestern coast from his helicopter, then drove in his motorcade along streets lined with felled trees, darkened traffic lights and shuttered stores on his way to a mobile home community hit hard by the storm.
Walking along a street in Naples Estates with his wife, Melania, the president encountered piles of broken siding and soggy furniture sitting on a front porch, and residents and volunteers who were happy to get a presidential visit.
"We are there for you 100 percent," Trump said before donning gloves and helping to hand out sandwiches to local residents from a lunch line under a canopy. "I'll be back here numerous times. This is a state that I know very well."
As he left the state, Trump told reporters on Air Force One that he planned another hurricane-related trip, to Puerto Rico and the U.S. Virgin Islands, which were both badly hit by Irma.
"I spoke to both governors. We've got it very well covered," Trump said. "Virgin Islands was really hit. They were hit about as hard as I've ever seen."
The president brushed off a question about whether the recent hurricanes had made him rethink his views on climate change, which he has previously dismissed as a "hoax." He said: "If you go back into the 1930s and the 1940s, and you take a look, we've had storms over the years that have been bigger than this."
Trump earlier met with federal and state leaders in Fort Myers, where he was brimming with enthusiasm for the state and federal response effort, calling it "a team like very few people have seen."
The president couldn't resist injecting a political flavor into his visit, telling reporters in Fort Myers that he was hopeful that Florida Gov. Rick Scott, a two-term Republican, would run for the Senate, where Democrat Bill Nelson is up for re-election next year.
"I don't know what he's going to do. But I know at a certain point it ends for you and we can't let it end. So I hope he runs for the Senate," Trump said.
Trump's visit offered him the chance to see how people are coping with Irma's aftermath and how the Federal Emergency Management Agency is responding. Many Florida residents remain swamped and without electricity. Nearly 2.7 million homes and businesses, about 1 in 4 Florida customers, were still without power Thursday.
But as Trump's comments about Scott suggested, politics wasn't far from the surface in Florida, the largest and most pivotal state in recent presidential elections. Trump defeated Democrat Hillary Clinton in Florida last year by about 1 percentage point.
Vice President Mike Pence, who joined Trump on the trip, promised Floridians: "We're with you today. We're going to be with you tomorrow and we're going to be with you until Florida rebuilds bigger and better than ever before."
Trump's trip to Florida was his third in less than three weeks to the storm-ravaged South.
After Harvey struck Texas, Trump drew criticism for having minimal interaction with residents during his first trip in late August. He saw little damage and offered few expressions of concern.
On his second visit, to Texas and Louisiana, he was more hands-on. He toured a Houston shelter housing hundreds of displaced people and walking streets lined with soggy, discarded possessions.
This time, Trump made sure to connect with a community in recovery. He hewed toward hearty handshakes and enthusiastic promises rather than hugs and tears, but he was well received by people grappling with the storm.
Florida's southwestern coast is a haven for retirees seeking warm weather and beautiful sunsets across the Gulf of Mexico.
In Lee County, which includes Cape Coral and Fort Myers, the Florida Emergency Management Agency said 66 percent of the area's 290,000 electrical customers were still without power Wednesday. Widespread outages led to long lines outside of the relatively few stores, gas stations and restaurants that had reopened.
The situation was even worse to the south in Collier County, home to Naples. Days after Irma passed, almost 80 percent of homes and businesses were still without electricity, and floodwaters still covered some communities entirely.
Thomas reported from Washington. Associated Press writer Laurie Kellman in Washington contributed to this report.
HURRICANE NEWSLETTER - Get the best of the AP's all-formats reporting on Irma and Harvey in your inbox: http://apne.ws/ahYQGtb
Copyright 2018 The Associated Press. All rights reserved. This material may not be published, broadcast, rewritten or redistributed.