He’s an admitted wack job.

The former Mount Sinai doctor accused of drugging a patient and ejaculating on her face claims he masturbated in a lounge before the incident and later inadvertently got semen on the victim, according to newly released court papers.

“I treated that woman in the ER for shoulder pain,” Dr. David Newman, 44, told cops when shown a picture of the patient at his Montclair, NJ, home on Jan. 12, the same day he saw her.

“I am embarrassed because I wacked off in the lounge, and it was possible that the ejaculate may have gone from my hands to the woman’s blanket.”

He continued with his bizarre explanation: “Semen may have also transferred from my hand to her face during the time I treated her.”

Newman, who may also be in violation of his hospital’s rigorous hand-washing policy, was arrested a week later when he turned himself in Jan. 19 at the Manhattan Special Victims Unit.

Meanwhile, prosecutors said Thursday at his arraignment in Manhattan Supreme Court that DNA taken immediately after the alleged assault matched Newman’s.

“Dr. Newman masturbated at her bedside and ejaculated on her face,” said Assistant District Attorney Eun-Ha Kim. “Spermatozoa was found on her eye, and DNA from her cheek and eye match Dr. Newman’s DNA.”

The prosecutor also said that Newman incapacitated the patient before his sick “examination” by administering a dose of morphine, after a nurse had already done so, “in absolute violation of hospital protocol.”

Newman did not document the extra dose of the powerful painkiller on her chart, Kim said.

The woman has since filed a civil suit against him and the hospital.

Three more women, ranging in age from 18 to 21, have since come forward and accused Newman of groping their breasts during visits to the pediatric ER in the summer and fall of 2015, the prosecutor said.

One came in for a cold, another for an eyebrow rash and the third a headache.

“There was simply no medically legitimate reason to fondle these women’s breasts,” the ADA said.

Kim described Newman’s conduct as “egregious” and offered him four years in prison if he pleaded guilty to the top count.

Defense lawyer Susan Necheles rejected the stiff offer on behalf of her client.

“Mr. Newman obviously denies all of these allegations,” she said. “They’re not true. This case appears to be a case that will go to trial.”

Newman pleaded not guilty to five counts of sexual abuse. He is no longer employed at Mount Sinai, a spokeswoman said.

Newman has frequently lectured on the topic of improving the patient-doctor relationship.