As of June 2021, bitcoin was legal in the U.S., Japan, the U.K., and most other developed countries. In the emerging markets, the legal status of bitcoin still varied dramatically. China heavily restricted bitcoin without actually criminalizing the holding of bitcoins.