Infrastructure projects benefit society to a great extent but also involve costs for the people living close by. Hence, it is not uncommon that projects enjoying broad support in society as a whole, such as building more renewable energy, face strong local opposition. What are the costs of such opposition? How can these costs be measured and what do they tell us? And how are we to compensate those living nearby?