Aylo, the company which runs a number of pornographic websites, including Pornhub, is to stop operating in France from Wednesday.
It is in reaction to a French law requiring porn sites to take extra steps to verify their users' ages.
An Aylo spokesperson said the law was a privacy risk and assessing people's ages should be done at a device level.
Pornhub is the most visited porn site in the world - with France its second biggest market, after the US.
Aylo - and other providers of sexually explicit material - find themselves under increasing regulatory pressure worldwide.
The EU recently announced an investigation into whether Pornhub and other sites were doing enough to protect children.