The legality of cryptocurrency varies from country to country. In many places, it is legal to buy, sell and trade cryptocurrencies, however there are some countries that have restrictions or even outright bans on the use of cryptocurrencies. It is important to research the laws in your local jurisdiction before engaging in any cryptocurrency-related activity.