SALT LAKE CITY — Visits to US national parks set a record in 2016 for the third consecutive year as landmarks such Zion, Yellowstone, and Rocky Mountain experienced historic levels of popularity.
The surge in attendance brought collateral headaches stemming from overcrowded roads and trails and increasing visitor misbehavior.
At many parks, visitors waited an hour or more in cars to get through entrance gates and then spent the day trying to outmaneuver fellow visitors for parking spots and room on popular trails. They left behind enormous amounts of trash and sometimes, human waste.
Encountering a crowded, Disneyland-like situation when people were expecting peaceful serenity can lead to aggression and bad decisions, park officials said.
‘‘The level of frustration, we’ve certainly seen an increase in that,’’ said Kyle Patterson, Rocky Mountain National Park spokeswoman. ‘‘Sometimes they take it out on each other and sometimes they take it out on the park.”
It created a good news-bad news story for park managers. They praise the increased interest but are struggling to preserve iconic mountains, slot canyons, and wildlife habitat for future generations.
The National Park Service budget has remained basically flat, leaving parks to grapple with the problems without higher staffing levels.
‘‘We love having people come to the park,’’ said John Marciano, Zion National Park spokesman. ‘‘But our number-one goal, our mandate, . . . is to preserve the park into perpetuity and to ensure our visitors have a best-of-kind and safe experience.’’
Overall visitation to national parks is on track to surpass 325 million in 2016, breaking last year’s all-time high of 307 million, federal figures show. The record-breaking three-year stretch came after parks visitation ebbed and flowed between 255 million and 287 million for nearly three decades.
The National Park Service launched a major marketing campaign to celebrate its 100th birthday in 2016, including free passes for fourth-graders and their families.
That renewed attention coupled with reasonable gas prices and an improved economy likely fueled the increase, said National Park Service spokesman Jeffrey Olson.
The agency’s ‘‘Find Your park’’ campaign will continue this year and officials expect to surpass 300 million visitors again even if there’s no record, Olson said.
Absent December totals, the Grand Canyon in northern Arizona hit 5.9 million visits. Yellowstone, which stretches into Wyoming, Montana, and Idaho, had 4.3 million visits.
The final year tally for Rocky Mountain in Colorado was 4.5 million. Zion in southern Utah had 4.3 million visitors — nearly double the 2010 total.