When used for legal purposes, using a Virtual Private Network is legal in most countries, including the United States. Some countries have restricted the use of VPNs, stating copyright and piracy concerns, according to CNet. Using a VPN in more conservative countries is punishable under law.
The legality of VPN use is specific to the laws of each country; countries such as the United Arab Emirates and China have completely banned their use. VPNs trade on their ability to provide anonymity, leading to copyright, security and privacy concerns in some countries, according to CNet. Using a VPN is always illegal when used for illegal purposes, such as fraud, theft or to download copyrighted content. It is also illegal when used to access content from overseas websites that do not have permission for worldwide distribution.