Free parking and additional railroad services go into effect this weekend to accommodate the thousands of people expected in Long Beach for the 2017 Long Island Pride on the Beach events, officials announced Thursday.

The Long Island Rail Road will be adding five trains during anticipated peak periods on Saturday and Sunday, City Manager Jack Schnirman said at a news conference on the boardwalk. The train schedule will be coordinated with the big events, including the 27th Annual LI Pride Parade and the Concert on the Beach with singer-songwriter Rachel Platten.

advertisement | advertise on newsday

Free parking will be available in the Long Island Rail Road parking lot over the weekend, Schnirman said, with additional parking at Long Beach High School, Long Beach Middle School and in Point Lookout. Bus and trolley services to the beach and around the city will be available free of charge for those with a beach pass. Shuttle service will be available to City Hall from a variety of locations, including the free parking areas.

“We have truly made every effort to ensure that this event is safe, fun and overall a positive experience for Long Beach residents and for all of Long Island,” Schnirman said. “But if there’s any weekend to pull that bike out of the garage, it’s this one.”

One way to pedal around is to take advantage of the city’s Social Bikes bike-share program on the boardwalk.

LI Pride has been a one-day event in Huntington for the past 26 years but was moved to Long Beach and expanded.

Organizers expect visitors from 15 states and three cities in Canada for the three-day event.