An increasingly decentralized energy supply structure alongside economic incentives for increasing the level of self-generation and –consumption are encouraging (higher levels of) energy autonomy. Previous work in this area has focused on the technical and economic aspects of energy autonomy at distinct scales, from individual buildings, through neighbourhoods to districts. This paper employs a mixed integer linear program (MILP) to assess the effects of aggregation across these scales on the economics of energy autonomy in residential buildings. The model minimizes total energy system costs over the lifetime of the energy system, including micro-CHP, PV, thermal and electrical storage, and boilers, at five distinct scales and for nine demand cases. It is subject to several constraints, amongst other things the degree of electrical self-sufficiency. The results indicate a shift in the economically optimal level of electrical self-sufficiency with scale, which in Single Family Households (SFHs) means from around 30% at the individual building level to almost 100% in districts of 1000 SFH households. Above around 560 households it cou ... mehrld be economically advantageous to make a district of residential buildings electrically self-sufficient. In addition, a marginal increase in electrical selfsufficiency is significantly more expensive at lower aggregation scales (i.e. single buildings) compared to the scale of neighbourhoods and districts. The level of interaction with the electrical distribution network increases with increasing electrical self-sufficiency before then decreasing at very high (above 70%) levels. Future work should focus on a richer socioeconomic differentiation, considering other sectors and technologies, incorporating demand side options and analysing the effects on the overarching energy system.