Yes, using a VPN is 100% legal in most countries. Notable exceptions where VPNs are banned or otherwise restricted include China, Iraq, North Korea, and Russia. However, any illegal activities conducted via a VPN remain illegal.