Using administrative tax and military records, we show that cognitive ability is more strongly associated with capital income than with labor income. This result holds across intensive and extensive margins, across different income types, and after controlling for education, occupation, inheritance, and parental background. Higher ability individuals save more, are better at selecting high-return stocks, hold more risky assets, and are less likely to live hand-to-mouth. Capital market returns are higher for cognitive ability than for non-cognitive skills, and the difference is stable over time. Rising capital shares, fueled by technological progress, could therefore exacerbate cognitive ability-based economic inequality.