This guy is far from teflon.

John Gotti’s troubled grandson copped a plea deal Wednesday that will land him eight years behind bars on drug-related charges.

The burly 23-year-old, also named John Gotti, has been cooling his heels in jail on $2 million bail since his arrest in August as lawyers hammered out the agreement.

Gotti pleaded guilty in Queens Criminal Court to two counts of possession with intent to sell and conspiracy.

“Only a parent can understand. My heart will be broken,” said his teary-eyed father, Peter Gotti, as he left the courtroom.

The family patriarch John Gotti was known as the Teflon Don for repeatedly eluding convictions as head of the Gambino crime family, until he was finally sent away in 1992. He died a decade later in federal prison.

The namesake grandson had faced 25 years to life following a raid last summer at his Howard Beach home, where cops found a stash of drugs and cash.

That case had been consolidated with charges stemming from Gotti’s arrest that June after he was busted with more than 200 Oxycodone pills, marijuana and other drugs in his car.