During at least one point of his political career, Ted Cruz was not feeling the good vibrations.

As Texas’ solicitor general in 2007, Cruz wrote a 76-page briefing against dildos and other sex toys — taking a hard stance against “any alleged right associated with obscene devices,” according to Mother Jones.

“There is no substantive due-process right to stimulate one’s genitals for non-medical purposes unrelated to procreation or outside of an interpersonal relationship,” Cruz’s team wrote in the lengthy court document filed in 2007.

He implored the U.S. Court of Appeals for the Fifth District to uphold a Texas law that banned the sale of dildos, artificial vaginas and other sex devices to uphold “public morals.”

The court ultimately ruled against the presidential hopeful in a 2-1 decision, maintaining that the government doesn’t have any jurisdiction in people’s bedrooms.

But the blow didn’t crush Cruz’s legal drive, as he partnered with the attorney general at the time, Greg Abbott — who is now the Lone Star state’s governor — to file another brief.

They lost the second round, too, and decided against bringing the case to the Supreme Court.

Craig Mazin, who lived with Cruz in college and is known to frequently taunt him online, was surprised to find out his former roomie was against dildos.

“Ted Cruz thinks people don’t have a right to ‘stimulate their genitals.’ I was his college roommate. This would be a new belief of his,” Mazin tweeted Wednesday.

Cruz’s war on sex toys has not come up during his 2016 campaign.