A microgrid (MG) is an autonomous electrical system that can operate independently or link to the grid. It is usual practice to use a single grid organization to improve energy access and ensure a consistent supply of electricity. Microgrids (MGs) can be unstable if islanded given that they lack the predominant grid's high friction and are subject to large voltage and frequency swings. Standards, directions, and accessibility and interoperability criteria all address the dependability of a microgrid, the use of distributed local resources, and cybersecurity. This work presents a revolutionary intelligent controller, Adaptive. This study proposes a novel intelligent controller, the Adaptive Network-based Fuzzier Inference System - Drooping Controller (ANFISDC), with a drooping coefficient modification, to provide optimal power sharing while minimizing power overloading/curtailment. To provide the essential stability and lucrative power sharing for the islanded the microgrid, the dropping coefficient is changed to account for the power fluctuations of RES (renewable energy source) components as well as the relationship between electricity production and demand. Furthermore, secondary control is used to restore the frequency/voltage drop caused by the droop control. Simulations with load fluctuations in MATLAB/Simulink show that the proposed strategy improves the stability and economic viability of microgrids powered by energy from renewable sources based on droop. The outcomes of the simulation demonstrate how well the suggested ANFISDC approach works to keep the microgrid operating steadily and profitably.