Recently, interest in microgrids, which are composed of distributed generation (DG), distributed storage (DS), and loads, has been growing as a potentially effective clean energy system to mitigate against climate change. The microgrid is operated in the grid-connected mode and the islanded mode according to the conditions of the upstream power grid. The role of the energy storage system (ESS) is especially important to maintain constant the frequency and voltage of an islanded microgrid. For this reason, various approaches for ESS control have been put forth. In this paper, a fuzzy PID controller is proposed to improve the frequency control performance of the ESS. This fuzzy PID controller consists of a fuzzy logic controller and a conventional PI controller, connected in series. The fuzzy logic controller has two input signals, and then the output signal of the fuzzy logic controller is the input signal of the conventional PI controller. For comparison of control performance, gains of each PI controller and fuzzy PID controller are tuned by the particle swam optimization (PSO) algorithm. In the simulation study, the control performance of the fuzzy PID was also tested under various operating conditions using the PSCAD/EMTDC simulation platform.