Capacity markets are a large part of electricity markets, costing consumers billions of dollars and creating deep controversy. But understanding of capacity markets is severely limited, and they have rarely been examined in depth. This is the first comprehensive analysis of these markets and their economic, legal, and political aspects.