Cops parted a monster traffic jam this week so that a cancer patient could make it on time to the hospital for her treatment.

Gabriela DeMassi was stuck in United Nations-caused gridlock Thursday near W. 57th Street Thursday morning when she got out of her car and asked NYPD officers for the best way to get to Memorial Sloan Kettering Cancer Center, according to her Instagram post.

The cops asked the 28-year-old to point out her car — and then escorted DeMassi and her mother through the gridlock.

“They told us to get back in and they would personally guide us through so we could bypass traffic,” she wrote.

Once they were in the clear, DeMassi says one of the officers came up and high-fived her, saying, “Keep up the good fight. Never give up! You got this!”

The woman went on Instagram to thank the cops for shepherding her to the hospital, and later shared a smiling photo from her treatment.

“Something like this will touch us forever,” DeMassi wrote in her post. “As if driving into NY isn’t crazy enough, we all have a bit of anxiety planning for full days of labs, meetings, tests, treatments and scan results. This group of cops that we had the pleasure of running into…should know how their help today made all the difference in our day.”

NYPD Chief of Department Terence Monahan thanked her for sharing her story.

“Like these great cops said: “You got this!” he wrote.