The number of foreign workers in Japan surpassed 1 million for the first time last year, as the labor-strapped country struggles to find enough Japanese workers.

Slightly over a million foreigners from countries such as China and Vietnam were working here as of October, labor ministry data showed Friday.

That was up nearly 20 percent from the previous year and a new record for the fourth straight year.