Technical trainees totaled 367,709, eclipsing the number of foreign students at 336,847, while there was a sharp rise in other work-linked visa holders, the agency said.
Those arriving on a visa for engineers and international services stood at 256,414, up 13.6 percent, while 13,038 -- up 17.9 percent -- entered with a visa for highly skilled professionals.
Those with permanent residency constituted the largest group among registered residents at 783,513, up 1.5 percent.
The number of foreign residents rose across the country's 47 prefectures, with Tokyo home to the biggest number at 581,446.
Related coverage:Japan highland win-win training ground for Filipino internsTyphoon Hagibis highlights need for multilingual alerts in JapanNumber of foreign students with jobs after graduation hits record highJapan labor body to step up support for foreigners, freelancers