The result finished Mexico with three points in Group C, six behind group winner Japan and three adrift of Brazil, which beat New Zealand 4-3 in a match played simultaneously.
Japan, the 2010 runner-up to South Korea, jumped ahead on a goal by Riza Shimizu, added a penalty by Yui Narumiya, two goals by Akari Shiraki and another by Ayaka Inoue to take a 5-0 lead by the 29th minute.
Mexico managed only one shot through the game, while Japan deluged the Mexican goal with 27, 17 of them on target.
Inoue added her second in the 56th minute, the first of four more in the second half, which completing the scoring with goals from Hina Sugita, Yuka Momiki and Mizuki Nakamura.
Mexico was the second CONCACAF team eliminated from the World Cup, leaving only Canada, which will face North Korea in Thursday's quarterfinals.