The Royal Society for the Prevention of Cruelty to Animal (RSPCA) chief executive Gavin Grant said: "Animal testing in the name of beauty has never been acceptable.
"This landmark legislation at the end of a long campaign sends out a loud and clear message to other countries and those operating outside the EU.
"If their products or ingredients have been newly-tested on animals then they cannot be sold in the EU, no matter where the testing took place."