Michael Bloomberg hasn’t entered the race for president yet — but he’s already apologizing for past boorish and sexist comments about women.

Bloomberg — who is expected to soon declare his candidacy in the Democratic primary — issued a rare apology through a spokesman in a New York Times piece about his lurid statements.

“Mike has come to see that some of what he has said is disrespectful and wrong,” Bloomberg spokesman Stu Loeser said in a statement Thursday. “He believes his words have not always aligned with his values and the way he has led his life.”

Some of the Bloomberg whoppers were included in a book that associates gave to the data terminal mogul in 1990 titled, “The Portable Bloomberg: The Wit and Wisdom of Michael Bloomberg.”

“If women wanted to be appreciated for their brains, they’d go to the library instead of Bloomingdale’s,” Bloomberg cracked.

He also joked that the Bloomberg LP “Bloomberg terminal” could “do everything” — then uttered a crude term for oral sex.

“I guess that puts a lot of you girls out of business,” Bloomberg is quoted as saying.

Some of Bloomberg’s controversial statements became campaign fodder during his successful 2001 race for mayor, running on the Republican and Independence Party lines.

Bloomberg took a polygraph test in 2001 to refute an allegation that he told a female employee in 1995 to “kill it” when she informed him she was pregnant. The plaintiff also claimed that he uttered “great, No. 16,” a reference to how many women at his company were pregnant.

Sekiko Sekai Garrison sued Bloomberg in 1997 and the case was settled in 2000.

But Bloomberg’s Democratic opponent in the mayoral campaign, Mark Green, used the “kill it” allegation in a TV ad at the end of the bitter campaign.

“Kill it! Kill it!” the narrator intoned.

Some politicos said the ad backfired on Green.

Bloomberg also came under fire after being quoted in a 1998 deposition that he would only believe a rape claim if there was “an unimpeachable third-party witness.” A saleswoman claimed a Bloomberg manager raped her.

Loeser said Thursday “that’s not what he believes” now.