She put a hex on his career.

A voodoo-practicing guidance counselor was given the boot from a Brooklyn high school because his principal was spooked by his religious practices, he told The Post.

Haitian-born Stevenson Petit was axed this month from the public It Takes a Village Academy in Brooklyn.

A July 8 letter from ITAVA Principal Marina Vinitskaya said Petit was being “excessed” because his position was no longer necessary.

But Petit, 55, alleges the real reason is Vinit­skaya objects to his religion and its association with magical voodoo dolls and mindless zombie slaves.

“I’m a voodoo ambassador. There’s nothing wrong with being a Christian and a voodoo minister,” Petit said. “She’s trying to get rid of me because I have a Haitian background with a voodoo culture. It’s discrimination.”

Petit, who was assigned to ITAVA in 2010, said the bad juju dates to 2012, when he refused to accept a book that Vinitskaya offered him as a gift.

Shortly afterward, Petit said, he became the subject of a misconduct probe by the Office of Special Investigation.

The allegations against him were eventually ruled unfounded, but not before an investigator revealed why he had been subjected to scrutiny, Petit said.

“She filed a complaint that said I was a voodoo priest,” he said of Vinitskaya, even though he is not a priest in the religion. “She called the Board of Education and they investigated me because [she said] I was a voodoo priest.”

The situation heated up this past spring, when Vinitskaya moved Petit’s office to a windowless, basement room at the Samuel J. Tilden Educational Campus in East Flatbush.

“The room has no windows, and, as a result, there is no air circulation, and this is a health hazard to me and the students that are mandated to receive counseling,” Petit wrote in a March 30 letter to Vinitskaya.

Petit took his complaints to school authorities, who sent him a letter acknowledging them on May 1.

Petit responded that he didn’t want to file a formal complaint “at this present time.”

He did, however, file a grievance with his union on July 13 to get his job back.

“I reserve the right to file a discrimination complaint,” he told The Post.

Vinitskaya denied Petit’s voodoo-related discrimination claims and defended dismissing him, saying, “It is a legal procedure. It’s his right to grieve. I have the right to run the school.

“Don’t you think it’s strange what he said?” she added.

In a statement, the city Department of Education said, “We take this allegation very seriously and are looking into the matter.”