Previous studies have documented long run equilibrium relationships between either stock prices and labour income or dividends and consumption. In a general equilibrium stochastic growth model, these variables are related in the long run because they are all driven by the same stochastic trend - the fundamental development of productivity. We show that national stock price indices are cointegrated with domestic and foreign GDP in the G7 countries. Higher domestic productivity increase both domestic GDP and domestic stock prices. In the panel, countries with favorable GDP developments also have higher stock prices. The relationship between relative GDP and relative stock prices is stronger for countries with markedly different GDP growth compared to their trading partners.