Animal feed containing pork is also banned but pork for human consumption is not because the virus cannot be transmitted to humans.
The move aims to protect French farmers from the spread of the disease, which is transmitted orally and leads to diarrhoea and vomiting in piglets and mothers.
There is no effective vaccine against it and it kills 90 per cent of piglets, the French authorities say.
PED was first recorded in the 1970s but a more virulent form appeared in the US and Canada in April 2013 and in Mexico and Japan at the end of the year.
Officials say France is the first European to introduce such a ban, although China is reported to have done so.
It will have little economic effect – only 12 pigs have been imported from the US and Canada this year.
“This type of global epidemic spreads very quickly around the world and, unfortunately, the first people to suffer the consequences are always the farmers,” farmers’ union activist Christian Fourcade told RFI.