A raccoon got his head stuck in a storm grate in Massachusetts — and it took a team of 10 first responders more than two hours to free him from the situation, according to reports.

Photos posted by the Newton Fire Department show the furry critter’s head poking through a small square hole in the grate as he anxiously gripped the metal frame Thursday.

“We were able to rescue a juvenile raccoon today with help from Waltham’s Animal Control. He had been stuck for a while but we are happy to report he is free!!!” the department tweeted, adding: “We rescue citizens both big and small!!!”

But it was a big effort to free the little creature.

A crew of four firefighters first tried rubbing the raccoon’s head with dish soap, in the hopes that he would “slip out,” Newton Fire Lt. Phil McCully told NBC News.

“This method usually works 90 percent of the time,” said McCully.

But not in this case.

So the firefighters removed the grate from the sidewalk, thinking the animal might be able to pull himself out.

When that didn’t work, they tried using medical gauze to compress the creature’s neck and slip it free.

Eventually, a local veterinarian sedated the raccoon, and with his tense neck muscle relaxed, officials were finally able to rescue it.

The animal was taken to Waltham Animal Control for observation and released into the wild when his medication wore off.