Japan competed at the 2004 Summer Olympics in Athens, Greece, from 13 to 29 August 2004. Japanese athletes have competed at every Summer Olympic Games in the modern era since 1912 except for two editions; it was not invited to the 1948 Summer Olympics in London for its role in World War II, and was also part of the US-led boycott of the 1980 Summer Olympics in Moscow. For the first time in its Olympic history, Japan was represented by more female than male athletes as the Japanese Olympic Committee sent a total of 306 athletes, 139 men and 167 women, to compete in 27 sports.