The COVID‐19 has caused a large‐scale impact on various industries in our country. Due to government policy restrictions and citizens' concerns about their own safety, the transportation industry has been greatly impacted. This essay takes into account the citizens' willingness to travel under the pandemic and the government's travel restriction policies. We select valid sample data of railways and highways in 31 provinces, municipalities, and autonomous regions in mainland China in the 2020 for empirical analysis.