Nowadays, the importance of electrical generation based on renewable energies is increasing, due to its low emissions of greenhouse gases. At the same time, Distributed Generation and Microgrids (MG) are becoming an important research line because of their peculiar characteristics. MGs are composed of small power sources which can be renewable, placed near customer sites. Moreover, they have the inherent property of islanding: the disconnection of either the MG from the main grid or a portion of a MG from the rest of the MG. There are two kinds of islanding: intentional or planned (for maintenance purposes), and unintentional or unplanned. The latter is mainly due to disturbances and it is used to avoid damages in sources and loads. It is the most critical case because it must be detected as soon as possible to activate all the control systems which allow continuing the energy production and distribution despite the disconnection. In islanding, it is crucial to ensure the power and the electrical signal quality. In grid-connected mode, the inverters use the electrical signal of the main grid as reference. Once in islanding, the main grid reference is lost and new control techniques for the inverters are needed in order to obtain the correct values of voltage magnitude and frequency in the MG. The main objective of this paper is to make a survey on MGs focussed on two important features: unplanned islanding and control of inverters in that scenario. The idea is to present the basic architectures and regulation techniques of MGs and to study the islanding behaviour, mainly the different detection techniques and the inverters’ control once islanded.