With the aim to improve the antidisturbance ability of the islanded distributed energy resource (DER) systems, a disturbance-observer-based adaptive fuzzy sliding mode control (DAFSC) voltage controller is designed based on indirect vector control, which implements the voltage tracking and improves the self-regulation ability of the islanded DER systems. Firstly, the circuit diagram and the mathematical model of the DER system are presented. Then, the second-order sliding mode differentiator is designed to solve the problem of calculation expansion in the backstepping control method. To solve the influence of lumped disturbance on the system, a disturbance-observer is proposed to observe the unknown disturbance and compensate the controller feed-forward. Moreover, fuzzy control is proposed to reduce the dependence of the control effect on model accuracy. Finally, the stability of the controller is verified by Lyapunov stability theory, and the hardware in the loop results is given to verify that the control effect of the proposed DAFC controller has better dynamic performance compared with proportion-integral (PI) and the backstepping control strategy.