A total of 593,832 foreigners were living on the Chinese mainland at the end of 2010, data from the sixth national census released by the National Bureau of Statistics (NBS) on Friday shows.
The top three home countries of the foreigners were the Republic of Korea (ROK), the United States and Japan.
Among the foreigners living on the Chinese mainland, 56.62 percent or 336,245 were males and 43.38 percent or 257,587 were females, the data shows.
Foreigners on the Chinese mainland were surveyed for the first time in the once-in-a-decade census. But those on short-term business or sight-seeing trips were not covered.
The census collected the names, ages, gender, nationality, educational attainments, purpose and duration of stay of foreigners. Questionnaires for foreigners were simpler than those for Chinese and written in both Chinese and English.
China began conducting a national population census every 10 years since 1990. The previous five censuses dating back to 1953 only covered Chinese nationals on the mainland.