A national recall went out Wednesday for the special “Madame President” issue of Newsweek that was prematurely shipped to stores and newsstands across the country.

At the same time, the publisher of the magazine will rush the “President Trump” version of the commemorative issue to press on Thursday — so it will get to stores next week.

“Like everybody else, we got it wrong,” said Tony Romando, CEO of Topix Media, the Newsweek partner which produces special issues under the popular brand.

Both a Clinton and a Trump commemorative issue were designed and laid out in advance, but Topix Media, believing late last week that Clinton was likely to win, shipped only the Clinton issue.

The magazine hit stores Tuesday. While retailers were told not to put issues on sale prior to the election, a handful did.

Romando claims only 17 Clinton magazines were sold — out of 125,000 printed and shipped.

“All wholesalers and retailers have been asked to return any issues they have as we need to clear room for [150,000 copies of] the President Trump issue,” Romando said. “We expect it to sell very well as there is obviously a great demand.”

The Barnes & Noble on Union Square that was selling “Madam President” issues Tuesday had none on their shelves Wednesday, according to a clerk in the magazine section, who told The Post he didn’t know if they sold out or were pulled.

Romando said he plans to print more copies of the Trump version because the upset victory would lead to bigger sales.