Total number of foreigners in mainland China: 593,832
“A total of 593,832 foreigners were living on the Chinese mainland at the end of 2010, data from the sixth national census reveals. The top three home countries of the foreigners were South Korea, the United States and Japan. Among the foreigners living on the mainland, 56.62 percent or 336,245 were males and 43.38 percent or 257,587 were females. Foreigners on the mainland were surveyed for the first time in the census. A total of 234,829 Hong Kong residents and 21,201 Macau residents were living on the mainland in November, the census results showed. Among those Hong Hong residents living on the mainland, 141,321or 60.18 percent were males. Males accounted for 55.22 percent, or 11,708, of the total number of Macau residents living on the Chinese mainland, the census found. And a total of 170,283 Taiwan residents were living on the mainland in November. Of them, 116,547 people or 68.4 percent were males.” [Shanghai Daily]