Building automation (BA) has a key role to play in the implementation of nearly zero-energy build-ings (nZEB). Building automation is the connector of all the single requirements for nZEB, such as a well-insulated and airtight building shell, efficient HVAC system and a high share of renew-able energy. That is one of the main conclusions of a study prepared by Ecofys for the Leonardo ENERGY initiative. This presentation shortly introduces the functions and potentials Building Automation will have in the transition towards a nearly zero-energy building (nZEB) stock. It also touches on the pathways and actions different stakeholders should take to ensure that the indicated potentials are achieved.