Sen. Ted Cruz (R-Tex.) will continue to make repealing Obamacare a central part of his presidential campaign, he said Wednesday -- even though he's still likely going to enroll in the program.

Cruz and his family have been on his wife Heidi's health insurance plan for the past few years. Heidi Cruz took a unpaid leave of absence from Goldman Sachs to help her husband run for president -- a leave that doesn't include benefits.

"As a consequence, we're  like a lot of other people who are transitioning between jobs looking for health care and we are transitioning over. We will in all likelihood get health care through my employer," Cruz said on "The Mike Gallagher Show" on Wednesday morning.

As a member of Congress, that means the Affordable Care Act.

Cruz said he and his family will probably go on the exchange, but that he will not accept a 75 percent employer contribution to his health-care costs that is he is eligible for as a member of Congress. Cruz slammed the administration's decision to continue the congressional employer contribution, saying that Obama "illegally ignored the law and granted an exemption for Congress."

Cruz said he will buy insurance for himself and his family with his own money.

"I’m going to purchase health insurance with my own funds for my family like millions of Americans, and one of the real challenges is Obamacare has so decimated the individual market there are very few options for someone looking for health insurance," he said.

And despite having to get coverage for his family through the law, Cruz said he still plans to repeal it if he is elected president.

"It is my intention to campaign every day on repealing Obamacare, and in 2017 if we win this race I hope and expect to sign legislation repealing every word of Obamacare," he said.