You need to apply for a visa unless you meet the following visa exemption requirements:
1. According to bilateral agreements, citizens of some countries (List of Agreements on Mutual Visa Exemption between the P.R. China and Foreign Countries) holding appropriate passports may enter China without a visa.
2. Foreigners holding ordinary passports of the countries having diplomatic relations with China and on a tour to Hong Kong or Macao, and participating in group tours to the Zhu Jiang (Pearl River) Delta Area for a stay of no more than 6 days organized by the travel services legally registered in Hong Kong or Macao do not need to apply for a visa. The Zhu Jiang Delta Area refers to the administrative area of the following cities: Guangzhou, Shenzhen, Zhuhai, Foshan, Dongguan, Zhongshan, Jiangmen, Zhaoqing, and Huizhou. For going on a tour to Shantou, the aforementioned group is required to stay within the administrative area of Shantou and leave China from there directly.
3. Foreigners who have confirmed onward tickets and seats on international flights and directly transit through China and stay for no more than 24 hours within the airport boundaries do not need to apply for a transit visa. However, anyone desiring to go beyond the airport boundaries temporarily should obtain permission from the immigration authorities at the airport.
4. Foreigners holding a valid Foreigner’s Permanent Residence Card of the PRC or Residence Permit for Foreigners in the PRC may enter China without a visa.
5. Foreigners holding an APEC Business Travel Card may enter China without a visa.