Jailbreaking isn’t illegal. There is no law in the United States or the UK that prevents jailbreaking. However, there are certain illegal activities that are possible through jailbreaking. For example, pirating apps is illegal. Jailbroken devices also make it much easier to access apps for illegal purposes.