“Former President Obama flew to Florida for the express purpose of a golf lesson and a round of golf with Tiger Woods. President Trump was in Florida with the Prime Minister of Japan,” Barrasso’s press secretary, Laura M. Mengelkamp, said in a statement. “Regardless, every level of the federal government needs to be mindful of the way it spends taxpayer dollars.”In November, when Trump spent a weekend at his Trump National Golf Club in Bedminster, N.J., the 8,000-resident township received just 48 hours’ notice demanding an all-hours security detail of six police officers from its 16-officer force.

Township officials have begun preparing for the possibility that Trump will make up to 10 visits this year, including a potentially extended summer stay for the first lady. Officials there offered a projection, based on seven Trump trips, that could cost the township more than $300,000.

“Bedminster is a small municipality with a small police force and a small budget,” Mayor Steven E. Parker (R) wrote in a letter asking for federal help in recouping security costs. “We want to welcome President Trump with open arms, but we don’t wish to burden our taxpayers disproportionately for these visits.”

David A. Fahrenthold and Carol D. Leonnig contributed to this report.