A Queens man was arrested after he stabbed another man in the eye with a stolen knife outside a Brooklyn bodega early Saturday, officials said.

Terrell Herring, 28, went behind the counter of a store on Broadway near Dekalb Avenue in Bushwick at about 1:40 a.m. and grabbed a knife, according to police.

Herring then ran out onto the sidewalk, approaching the 27-year-old victim from behind and allegedly plunged the blade into his left eye socket, breaking the knife and leaving the blade in the victim’s eye.

Herring fled the scene with the knife handle, running south down Malcolm X Blvd.

When cops busted him 10 blocks away, he still had the handle — and was also in possession of cocaine, officials said.

Herring was hit with a slew of charges, including criminal possession of a weapon, criminal possession of a controlled substance and petit larceny.

His victim was taken to Kings Country Hospital, where his eyeball had to be removed.

It was not immediately clear what prompted the grisly attack, police said.