Substantial changes in population size, age structure, and urbanization are expected in many parts of the world this century. Although such changes can affect energy use and greenhouse gas emissions, emissions scenario analyses have either left them out or treated them in a fragmentary or overly simplified manner. We carry out a comprehensive assessment of the implications of demographic change for global emissions of carbon dioxide. Using an energy-economic growth model that accounts for a range of demographic dynamics, we show that slowing population growth could provide 16-29% of the emissions reductions suggested to be necessary by 2050 to avoid dangerous climate change. We also find that aging and urbanization can substantially influence emissions in particular world regions.