No. Pornhub is not illegal. That is why the best thing parents can do to protect their kids from porn is to find a way to block it. In some countries, however, there is a strict ban to pornographic materials that prohibit the access to Pornhub and other adult sites.