After years of debate, Venice on Thursday began charging day visitors five euros to visit its fragile historic center on peak days, making it the first city in the world to adopt such a measure to counter overtourism.

Critics question whether a nominal fee will put people off from visiting one of the world’s most desired destinations. But officials hope that it might encourage some to rethink their plans and decide to come on weekdays or in the off-season.

That might help mitigate the impact of the estimated 20 million visitors who descended last year on the city’s beleaguered residents, who number fewer than 50,000, according to municipal statistics. About half of those visitors came only for the day, city officials said. Overnight guests are exempt from the fee.

The spirit of the initiative, city officials have said, is to make people aware of the uniqueness — and fragility — of Venice. Overtourism is creating an economy solely based on tourism that risks killing the city by pushing its dwindling residents out, said Nicola Camatti, an economics professor and expert in tourism at Ca’ Foscari University of Venice.

The fee went into effect on Thursday, a holiday in Italy. For 2024, city officials have singled out 29 peak days when single-day travelers in Venice between 8:30 a.m. and 4 p.m. have to pay. The days run until mid-July and are mostly on national holidays and weekends. The access-fee website provides a list of the dates.