 Thus, sex among consenting adults, in private, regardless of sexual orientation and/or gender, is legal under Japanese law.The national minimum age of consent in Japan is 13 years old under the Japanese Criminal Law Code.However, all municipalities and prefectures have their own particular laws, such as Tokyo's "Youth Protection Law" () which prohibits sexual activity with youths who are under 18 years old in most circumstances.