He came of age in Queens, built Trump Tower, starred in “The Apprentice,” bankrupted his businesses six times, and drew cheering crowds and angry protesters to Fifth Avenue after his election. Through it all, President Trump — rich, bombastic and to many Americans the epitome of a New Yorker — was intertwined with the city he called his lifelong home.
In late September, Mr. Trump changed his primary residence from Manhattan to Palm Beach, Fla., according to documents filed with the Palm Beach County Circuit Court. Melania Trump, the first lady, also changed her residence to Palm Beach in an identical document.
Each of the Trumps filed a “declaration of domicile” saying that the Mar-a-Lago Club, Mr. Trump’s resort in Palm Beach, will be their permanent residence.
The president confirmed the decision on Twitter after The New York Times reported on the move, saying that he would “be making Palm Beach, Florida, our Permanent Residence.”
“I cherish New York, and the people of New York,” he added, “and always will.”
But he didn’t have much nice to say about the public officials of New York.
“I have been treated very badly by the political leaders of both the city and state. Few have been treated worse,” he said, describing his decision as the “best for all concerned.”
Some New York leaders shared the sentiment. “Good riddance,” Gov. Andrew M. Cuomo tweeted. “It’s not like Mr. Trump paid taxes here anyway. He’s all yours, Florida.”
In the documents, Mr. Trump said he “formerly resided at 721 Fifth Avenue,” referring to Trump Tower. That has been his primary residence since he moved into the skyscraper off 57th Street in Midtown Manhattan in 1983.
An attachment lists his “other places of abode” as 1600 Pennsylvania Avenue, the address for the White House, and his private golf club in Bedminster, N.J., where he spends warm-weather weekends and a few weeks every summer.
Since becoming president, Mr. Trump has spent 99 days at Mar-a-Lago compared with 20 days at Trump Tower, according to NBC News. Although Mr. Trump ran his presidential transition from Trump Tower and some aides had expected him to spend many weekends there in his Louis XIV-style triplex on the 58th floor, his presence created traffic headaches for New Yorkers and logistical and security challenges for the Secret Service.
White House officials declined to say why Mr. Trump changed his primary residence, but a person close to the president said the reasons were primarily for tax purposes.
In his Twitter posts on Thursday night, the president claimed that he paid “millions of dollars in city, state and local taxes each year.” There is no way to fact-check his assertion; he has never released his tax returns.
Mr. Trump, who is deeply unpopular in New York, was infuriated by a subpoena filed by Cyrus R. Vance Jr., the Manhattan district attorney, seeking the tax returns, the person close to the president said. Changing his residence to Florida is not expected to have any effect on Mr. Vance’s case, which Mr. Trump has sought to thwart with a federal lawsuit.
It was unclear how much time he would spend in New York in the future or if he would keep his triplex at the top of Trump Tower. Under New York law, if he spends more than 184 days a year there, he will have to pay state income taxes.
Florida, which does not have a state income tax or inheritance tax, has long been a place for the wealthy to escape the higher taxes of the Northeast.
Changing his primary residence could carry significant tax implications for Mr. Trump, although how much is unclear without seeing his returns. But in changing his residence to Florida, he would most likely be avoiding New York State’s top tax rate of nearly 9 percent and New York City’s top rate of nearly 4 percent.
Leaving New York could also save money for Mr. Trump’s heirs at the time of his death. New York imposes a top estate tax rate of 16 percent for estates larger than $10.1 million.
In an article in the Florida Bar Journal in January 2019, three lawyers with Proskauer Rose wrote about the recent wave of people moving from New York to Florida in “large part” because of the repeal of the state and local tax deduction that was a byproduct of the tax bill that Mr. Trump signed into law in 2017.
“While it may be easy enough for an individual to buy a home in Florida and move, the act of physically moving to Florida is only part of the battle,” the three wrote.
“The real challenge is proving by clear and convincing evidence that the individual is no longer a New York domiciliary and does not qualify as a New York statutory resident for New York State income tax purposes,” they said.
Beyond taxes, Mr. Trump has repeatedly signaled the importance of Florida to his 2020 re-election effort and kicked off his campaign with a rally in Orlando. And he has often mentioned Mar-a-Lago when promoting his ties to the state.
In the longer term, the change could speak to Mr. Trump’s plans after his presidency ends. It has been an open question whether he would ever return full time to New York City.
In addition, Secret Service protection for Mr. Trump after his presidency ends would continue to snarl traffic in Midtown Manhattan — as would tourists and potential protests in front of Trump Tower — particularly if Mr. Trump chose to live there full time.
David Pratt, a partner at Proskauer Rose and one of the authors of the Florida Bar Journal piece, said Mr. Trump had probably changed his primary residence for the same reason other people have left New York.
“What he’s doing is not any different than what a lot of individuals from New York are doing, and they’re becoming Florida residents,” Mr. Pratt said.
Mr. Trump is due to travel to New York City this weekend for an event at Madison Square Garden, the rare instance of him visiting when he has no fund-raiser or official event scheduled. He is due to spend Saturday night at Trump Tower.
Since he became president, Mar-a-Lago remains Mr. Trump’s favored retreat. He has a residence on the grounds, enjoys easy access to one of his nearby golf clubs, entertains foreign visitors like Prime Minister Shinzo Abe of Japan and also plays host to a regular cast of visitors and members.
Still, Manhattan has been like Oz to him.
“I believed, perhaps to an irrational degree, that Manhattan was always going to be the best place to live — the center of the world,” Mr. Trump wrote in his book “The Art of the Deal.”
Jim Tankersley contributed reporting. Kitty Bennett contributed research.