June 3, 2021 | 11:39am | Updated June 3, 2021 | 12:16pm

Former “RHONY” star Barbara Kavovit is out of the running — for now.

Kavovit, 55, dropped out of the New York City mayoral race on Thursday after a short five-month campaign, but teased that she isn’t giving up on politics.

“Running for mayor has been one of the most fulfilling and rewarding experiences of my professional career,” the former Democratic party candidate told Page Six on Thursday.

“There is so much work that lies ahead to rebuild NYC and I’d like to see a qualified woman become the next Mayor of NYC, and that’s why I’m endorsing Kathryn Garcia.”

She added, “But don’t count me out, I’ll be running the same job in four years.”

Kavovit first announced the news on Instagram, telling her followers that NYC needs someone “who is strong, smart, ballsy, and not afraid of the hard work that lies ahead.”

While the Evergreen Construction founder never made it to the June 22 primary election ballot — she did not meet the petition requirements set by the New York City Board of Elections — she called her experience “amazing, positive and enlightening.”

“I want to thank my campaign staff and all my friends & family who supported me throughout my race. You will see me again in 4 years, but for now, let’s do this @kgfornyc!” she concluded.

Kavovit exclusively told Page Six in September that she was planning to run for mayor, telling us, “Well, I have to say, if Donald Trump could be President of the United States, I can be Mayor of New York City. You know, I’m a builder. I know how to build. I know how to rebuild.”

She formally entered herself into the race in January and ironically gathered support from out-of-state “Housewives” who couldn’t vote for her instead of her former “RHONY” cast members.

“RHOC” star Braunwyn Windham-Burke told us in January that “Barb is one of the most bad-ass, progressive, intelligent women that I know. There’s nobody better than Barb to get the job done.”

Meanwhile, Sonja Morgan scoffed when she was asked if she would vote for Kavovit.

“I mean, I think Barbara has other things to take care of other than other people, you know, that’s just my humble opinion,” Morgan said.

“I want someone that really loves this city and that goes for our governor as well… I miss Bloomberg. I miss Mayor Koch. I miss Dinkins,” she reminisced. “We need somebody with gumption and grit. Who’s not in it for the glory or the money or the book deal.”

The New York City mayoral election will take place in November 2021.

A rep for Kavovit didn’t immediately get back to us.