Of the 5,423 foreigners arrested last year for committing crimes, more than 90 percent of them were living in the country legally, while illegal immigrants accounted for just 5.9 percent of the cases, unlike in the past, according to government white paper on crime released Friday.

As of January, visa overstayers taken into custody had fallen to 62,009, the lowest figure in two decades. The government attributed the decline to tightened scrutiny at immigration points and Japan's prolonged economic doldrums that served as a disincentive to stay in the country.

Even the 5,423 foreigners arrested in 2012 reflected a decline for an eighth straight year. Of them, those on long-term resident visas accounted for 23.1 percent, followed by spouses of Japanese at 20.1 percent and exchange students at 15.7 percent.