Considerable research is taking place globally concerning the energy consumption in residential buildings. The effort is aimed toward the creation of zero energy buildings or even positive energy ones. In order to accomplish this, energy production is needed at the building level. Electrical energy, thermal energy for space heating and cooling, and domestic hot water production are common needs globally, whereas water pumping, water desalination, and onsite fuel production are also of rising interest. The polygeneration microgrid topology aims at unifying all the energy systems in a building and through advanced energy management approaches to optimize the energy flows in the building managing to provide optimum indoor comfort, meeting of all the energy needs of the residents and minimizing the environmental impact of the building. This article presents this topology in detail and also proposes a methodology for the design and sizing of such systems.