A corrections officer in Ohio was tossed on the other side of the bars after she admitted having sex with at least one inmate, authorities said.

Nakisha Newell, 28, was immediately fired after detectives in Butler County got a tip that the corrections officer — who had been on the job just 18 months — was bringing contraband into the county jail, including a cellphone and electronic cigarettes, Butler County Sheriff Richard Jones announced Monday.

“This is unacceptable,” Jones posted on Twitter. “She was terminated immediately.”

Investigators later learned that Newell also engaged in sexual activity with at least one inmate, Jones said.

“Being a corrections officer is a noble but tough job,” Jones said. “These men and women work hard and always have to be on their guard. My employees take pride in their work and strive to ensure this facility maintains a great reputation. She has tarnished that and I do not want people like that working for me.”

Newell was charged with sexual battery, a third-degree felony, Jones said, adding that additional charges are likely. She was also charged with an additional count of sexual battery and two counts of conveyance, a misdemeanor, according to the Dayton Daily News.

The probe into Newell began with an “educated hunch” by a corrections sergeant who reported the information to supervisors, launching a possible criminal investigation, Maj. Mike Craft of the Butler County Sheriff’s Office told the newspaper.

“He had seen some things that he didn’t think were right,” Craft said. “He did a great job bringing the information to us.”

Newell confessed to having sex with a male inmate during questioning about the contraband, Craft said. It’s unclear if the inmate will also face charges, he said.