The NYPD is probing a police chief after a female colleague claimed he chases “married girls” and sleeps with “all the police officers on the job.”

Tabatha Foster, a recently retired police officer, blasted Jeffrey Maddrey, the married head of the NYPD’s Patrol Borough Brooklyn North, in a string of recent Facebook posts.

“This fool showed me a picture of my friend who is an officer in his phone with no clothes on,” Foster, 40, wrote in a post about Maddrey. “WTF. How dumb can. You be?”

Foster slammed Maddrey in a picture she posted of herself wearing a Santa Claus hat while standing next to the chief.

“I appreciate you allowing me to sit on your face,” she wrote next to the image. “That’s all it’s good for.”

She also made lurid accusations that Maddrey, whose wife is a police officer, had extramarital affairs.

“Somebody needs to stop chasing pregnant married girls around the department,” she wrote. “What is wrong with this guy.”

In one post, she writes that Maddrey, 45, visited her in the hospital for sex.

“When I was in the hospital. This fool had the audacity to come for Azz while I had iv in my arm,” she posted.

“He is so greedy for Azz. I had to literally get out my hospital bed and go into bathroom to this greedy ass man some ass.”

She also hinted at a larger conflict with Maddrey, writing that “somebody got my ex-husband fired and f–ked up my child support.”

Foster posted sexy pictures and videos promoting her singing R&B songs on a separate page where she compared herself to Beyoncé and complained about cops “investigating” her music that she produced herself.

“The New York City Police Department wasted taxpayers dollars investigating and harassing me over my song So Much In Love,” Foster wrote.

“Now they trying to hate on Beyonce. It is too much crime out there that need the police attention.”

Foster’s Facebook pages were taken down Thursday after a Post reporter asked her about the content.

Her posts, however, are now part of an Internal Affairs Bureau investigation, a police spokesman said.

“The NYPD is aware of the allegations and Facebook posts,” NYPD spokesman J. Peter Donald said. “The Internal Affairs Bureau is reviewing those allegations.”

Foster left the department on disability at three-quarters pay, a source said.

Maddrey became head of Patrol Borough Brooklyn North on Feb. 14. He started with the NYPD in April 1991 in the 110th Precinct in Flushing, Queens, and worked his way up the ranks with stints in East New York and other precincts. He was appointed after Chief Gerald Nelson retired from the post.

“It looks bad on paper, but we’re not the moral police,” a police source said. “He has an ingenious mind when it comes to tactics and he’s a great motivator for his police officers in Brooklyn North. On the face of this, this shouldn’t have any impact on his great career.”

“These highly charged rants have nothing to do with the Chief’s outstanding work performance in Brooklyn,” said the president of the NYPD Captains Endowment Association, Roy Richter.

Additional reporting by Joe Tacopino