A suspect bolted from a courthouse Wednesday after a judge revoked his bail — and he remains on the lam, police said.

Tyrell Escobar, 22, was appearing in Queens Criminal Court for a gun possession case just before noon, law enforcement sources said.

The judge ordered Escobar held without bail — and that’s when he fled, sprinting out of the courtroom and onto the street, police said.

Court officers tried to chase the rogue, but could not catch up to him, officials said.

Escobar was arrested June 12 for allegedly firing a gun on a playground in Queens, but had been out on bail, police said.

Escobar, who is described a 6 feet tall, 170 pounds, and wearing a blue shirt and jeans, was still on the loose Wednesday afternoon, cops said.