We study a broad sample of firms across 32 countries and find that strong shareholder protections and better access to stock market financing lead to substantially higher long-run rates of R&D investment, particularly in small firms, but are unimportant for fixed capital investment. Credit...