it's legal but not everywhere, there are some country that have banned it, like china and russia i think
i think its banned in russia. in china there are restrictions aplied to banks. all rmb and cny money transfers connected to bitcoin are restricted.