Abstract This paper identifies productivity gains from trade by studying the manipulation behavior of firms in response to regulatory policies on international trade in China. Bunching estimates show that participation in international trade increases firm productivity. The productivity gains increase over time, indicating dynamic learning from trading. Further exploration shows no effects on R&D investment, product rationalization and markup. Young firms and nonstate-owned firms (non-SOEs) gain more from participating in trade. Workers share productivity gains through increased wages but not from increased employment.