The theory of comparative advantage is at the core of neoclassical trade theory. Yet we know little about its implications for how nations should conduct their trade policy. For example, should import sectors with weaker comparative advantage be protected more? Conversely, should export sectors with stronger comparative advantage be subsidized less? In this article we take a first stab at exploring these issues. Our main results imply that in the context of a canonical Ricardian model, optimal import tariffs should be uniform, whereas optimal export subsidies should be weakly decreasing with respect to comparative advantage, reflecting the fact that countries have more room to manipulate prices in their comparative-advantage sectors. Quanti...