Democratic presidential candidate Sen. Kamala Harris, D-Calif., backtracked on her support for decriminalizing illegal border crossing, then immediately reversed course and said she was in favor of it.

Harris was among the Democrats who raised their hands during a June debate when asked if they were in favor of decriminalization. But when Megan McCain asked her about this directly on “The View,” Harris denied it, only to immediately contradict herself.

BIDEN LAUGHS AT KAMALA HARRIS SHIFT ON BUSING: 'OUR POSITIONS AREN'T ANY DIFFERENT'

“That is not correct, I’m not in favor of decriminalizing or not having consequence for, let me be very clear, we have to have a secure border, but I am in favor of saying that we’re not going to treat people who are undocumented cross the border as criminals, that is correct, that is correct,” Harris said Friday.

Aiming to clear up any confusion, McCain said, “I believe that if someone crosses over the border illegally, it’s illegal. And you would decriminalize it.”

Harris confirmed this, saying, “I would not make it a crime punishable by jail. It should be a civil enforcement issue but not a criminal enforcement issue.”

HARRIS UNVEILS MEDICARE-FOR-ALL PLAN THAT DOESN'T RAISE MIDDLE CLASS TAXES, AHEAD OF DEBATES 

The rapid flip-flop was just the latest muddling or backtracking Harris has done when it comes to key Democratic policy issues. At one point, she had expressed support for Bernie Sanders’ Medicare for All plan acknowledging that it would eliminate private insurance, then changed her stance by claiming to be against eliminating private insurance.

Harris also famously attacked former Vice President Joe Biden, the current Democratic front-runner, for his past opposition to federally mandated busing to integrate schools. Days later, she appeared to have Biden’s same stance on the issue.

JOE BIDEN TAKES INDIRECT SHOT AT KAMALA HARRIS OVER HER SUPPORT FOR MEDICARE FOR ALL

"I think of busing as being in the toolbox of what is available and what can be used for the goal of desegregating America’s schools,” Harris said, but when pressed on whether she believes in federally mandated busing, she responded, "I believe that any tool that is in the toolbox should be considered by a school district.”

In response to this Biden remarked in a CNN interview, “I think if you take a look, our positions aren't any different as we're finding out."

Fox News’ Joseph A. Wulfsohn contributed to this report.