The distribution of many rural communities in Brazil presents a major challenge in terms of providing access to energy. The production and consumption of energy can, however, have serious consequences for the natural environment. The energy sector in Brazil has been engaged in a process of ‘learning from mistakes'. One important lesson learnt is that establishing and maintaining a high-level policy consensus is key in achieving success.