In this paper, we empirically investigate whether trade liberalization affects markup dispersion, a potential source of resource misallocation. The identification uses China's WTO accession at the end of 2001. We show that trade liberalization reduces markup dispersion within a narrowly defined industry. We also examine both price and cost responses to trade liberalization, as well as heterogeneous effects across firms and across locations. Our study contributes to the literature by identifying another potential channel through which free trade benefits a nation.