A cargo ship hit the Brooklyn Bridge on Friday night when its light tower clipped the iconic span, cops said.

The ship — which is named “Rainbow Quest” — was sailing south on the East River when its light tower collided with the underside of the bridge at about 11 p.m., forcing authorities to halt traffic for about two hours, according to cops.

“I just want to get home, it’s kind of unnecessary,” complained Katie Malbon, 43.

The frustrated mom was stuck in a held-up taxi in Manhattan waiting for the bridge to reopen so she could get home to her kids.

“I’m concerned about my baby sitter!”

Department of Transportation workers were on the bridge late Friday night inspecting the damage as a NYPD Harbor Patrol boat sailed underneath, cops said.

“OMG we were walking on the Brooklyn bridge and police came and told us we need to get off because a f—ing boat hit the bridge,” tweeted Jessica, a student at the Fashion Institute of Technology.

Charts show that when the “Rainbow Quest” struck the bridge, the tide was high, but not at its highest point of the night.

There were no injuries, cops said.