When transiting certain international airports, you may stay in mainland China without a PRC visa. However, this “visa-free travel” permit is only valid for the city of arrival and does not allow you to visit other cities in the PRC. The duration of allowed stay and how broadly you may travel varies by region.