Track repairs this summer at Penn Station will throw a lot of commuters off their usual routes into the city.

Here’s something that’ll arrive on time at Penn Station—the dreaded Summer of Hell.

And it is going to be a trip.

Starting July 10, Amtrak will take tracks and hours from commuters’ lives to make emergency repairs. The rail agency says the track Rx will take eight weeks to complete.

Two derailments and chronic equipment breakdowns—plus a sneak peek taste-of-summer-third-rail malfunction Thursday that took out 12 tracks for the evening rush hour—leave little doubt that Amtrak needs to make the fixes.

But that means a rough rush hour for riders, with diversions to Brooklyn and fewer ways to get into the Midtown hub at Seventh Ave. and 32nd St. That of course is on top of the routine delays and breakdowns.

To deal with the space crunch, MTA Long Island Rail Road, NJ Transit and Amtrak had to drastically change their schedules - meaning commuters will have to drastically change theirs.

The best way to avoid the agita? Stay away. Those who can work from home or adjust their travel schedules should.

Everyone else, read on for the Daily News’ mass transit survival guide to navigate the Summer of Hell.

-Three round trips on Amtrak’s Keystone Service will start and end in Philadelphia’s 30th St. station: Nos. 642, 650, 652, 651, 653, 655.

-Amtrak may change the schedule for its Empire line, but that has yet to be determined.

NJ Transit

Many NJ Transit riders will lose direct access to Penn Station, including all Midtown-direct trains to Penn Station after 7 a.m. on two of the well-traveled Morris and Essex lines. Montclair-Boonton line trains will still go to Penn Station.

Many NJ Transit riders will lose direct access to Penn Station.

(NJ Transit)

Those diverted trains will be sent to Hoboken Terminal. Four early morning trains arriving at Penn between 5:44 a.m. and 6:58 a.m. will still be running.

For their inconvenience, riders can get a discount of up to 63% off the regular New York fare.

A host of buses, shuttles, trains and ferries can take Garden State commuters over the Hudson River to New York.

Hoboken Terminal

PATH

-The Port Authority’s New York-New Jersey train will give free rides to NJ Transit ticket holders at its Hoboken, 33rd St. and World Trade Center stations.

-PATH is boosting service by sending trains out on its Hoboken-33rd St. line every five minutes, instead of every seven minutes, during the morning and evening rush hours.

LIRR riders can expect to feel the brunt of the repairs.

If you absolutely have to get on a train at rush hour, it’s going to be a cramped ride. All the trip diversions and cancellations at Penn mean 9,600 fewer seats in the morning rush.

To compensate, the MTA is adding three direct-to-Penn trains and tacking 36 cars onto trains headed for the transit hub on 31 morning and evening trips.

Early birds can catch one of the three trips added to the schedule:

-5:43 a.m. train from Freeport, due in to Penn at 6:24 a.m.

-5:22 a.m. train from Port Washington, due in to Penn at 6:03 a.m.

-4:53 a.m. train from Farmingdale, due in to Penn at 6 a.m.

Evening rush hour riders will get these extra trips out of Penn:

-3:31 p.m. train running express to Rockville Centre, then making all local stops to Babylon.

-7:18 p.m. Extra Peak train arriving in Hempstead at 8:14 p.m.

During Amtrak’s repair work, there will be fewer rush hour trains in and out of Penn. The silver lining is commuters will have fewer reasons to go to the station.

The MTA is sending 23 Penn-bound trains to outerborough stations, where commuters can transfer for free to the subway.

But there’s a but: Many of these lines are already packed with city dwellers, with no room to add more trains. Those who do land a spot also get a 15% discount on fares, as well as morning-only free transfer to the subway.

Those train trips will stop in Brooklyn and Queens within minutes of their scheduled arrival time at Penn.

Atlantic Terminal, Brooklyn

Provides transfers to:

Sixth Ave. line

Broadway line

Broadway-Seventh Ave. line

Lexington Ave. line

Morning rush hour:

-5:56 a.m. train from Babylon, arriving 6:59 a.m.

-6:57 a.m. express train from Freeport, arriving 7:39 a.m.

-7:29 a.m. express train from Freeport, arriving 8:08 a.m.

-8:10 a.m. express from Freeport, arriving 8:47 a.m.

-6:25 a.m. train from Hicksville, arriving 7:11 a.m.

-Extra trip, from Hempstead at 5:33 a.m., arriving 6:23 a.m.

-Extra trip from Long Beach at 4:58 a.m., arriving 6 a.m.

Evening rush hour from Penn:

-4:43 p.m. train, due at Far Rockaway at 5:40 p.m., will start at Atlantic Terminal at 4:48 p.m.

-5:38 p.m. train, due at Hempstead at 6:36 p.m., will start at Atlantic Terminal at 5:47 p.m.

-7:05 p.m. train, due at Hempstead at 7:56 p.m., will start at Atlantic Terminal at 7:10 p.m.

-5:32 p.m. train, due at Far Rockaway at 6:24 p.m., will start at Jamaica at 5:52 p.m.

-6:02 p.m. train from Penn, due at Far Rockaway at 6:58 p.m., will instead originate at Jamaica at 6:22 p.m.

-5:04 p.m. train from Penn, due at Hempstead at 5:57 p.m., will instead originate at Jamaica at its usual time of 5:28 p.m.

-6:39 p.m. train from Penn, due at Hempstead at 7:33 p.m., will instead originate at Jamaica at its usual time of 7:03 p.m.

Hunterspoint Ave. station

Long Island City, Queens

Provides transfers to:

Flushing line (To transfer from the LIRR station, take the stairs to the street, walk west to the subway entrance)

Shuttle bus to ferry landing at Hunters Point South

-8:25 a.m. train from Freeport, arriving 9:04 a.m.

-7:23 a.m. train from Long Beach, arriving 8:13 a.m.

-7:36 a.m. train from West Hempstead, arriving 8:22 a.m.

Evening rush hour:

-4:46 p.m. train from Penn, due at Great Neck at 5:23 p.m., will instead originate at Hunterspoint Avenue at 4:49 p.m.

-5:14 p.m. train from Penn, due at Great Neck at 5:45 p.m., will start at Hunterspoint Ave. at 5:17 p.m.

-6:24 p.m. train from Penn, due at Great Neck at 7:17 p.m., will start at Hunterspoint Ave. at 6:45 p.m.

Buses

If you can spare the time, the MTA is running 200 shuttle buses from eight park-and-ride depots with more than 2,300 spots scattered around Long Island.

LIRR weekly and monthly ticket holders can hop on a coach bus for free and in roughly 90 minutes reach 34th St. between Seventh and Eighth Aves. or Grand Central Terminal at Lexington Ave. between 43rd and 44th Sts.

The buses will run from 6 a.m. to 10 a.m. and 3 p.m. to 7 p.m., leaving parking lots every 20 to 30 minutes.

Parking spaces go quickly, so get in early to secure one at these locations:

-Melville Park & Ride, Long Island Expressway Exit 49 - 200 spots

-Bethpage State Park - 500 spots

-Seaford LIRR Station - 425 spots for residents

-Nassau Coliseum - 500 spots

-Roosevelt Field Mall - 450 spots

-North Hempstead Beach Park in Port Wash l ington - 300 spots

-Valley Stream LIRR Station - 125 spots

-Belmont Racetrack - 656 spots

Ferries

-6:10 a.m. - depart Glen Cove, arrive at Wall St. at 7:30 a.m.

-6:35 a.m. - depart Glen Cove, arrive at E. 34th St. at 7:45 a.m.

-4:30 p.m. - depart Wall St., arrive at Glen Cove at 5:50 p.m.

-6:20 p.m. - depart E. 34th St., arrive at Glen Cove at 7:30 p.m.

Hunterspoint Ave. LIRR station to E. 34th St.:

-Riders getting off LIRR trains at Hunterspoint Ave. can take a shuttle bus to the Long Island City ferry pier at Hunters Point South for service to E. 34th St.

-Commuters can also transfer to the New York City Ferry service, which will cost an extra $2.75.