I show that abundant land and scarce labor shaped African institutions before colonial rule. I test a model in which exogenous land quality and endogenously evolving population determine the existence of land rights and slavery. I use cross-sectional data on a global sample of societies to demonstrate that, as in the model, land rights occurred where land quality was high and where population density was greatest. Slavery existed where land was good and population density was intermediate. The model predicts institutional differences across regions, but not within regions. I present suggestive evidence that this is due to institutional spillovers