Power system decentralization has been an emerging topic for the past decade in an effort to improve power quality and environment protection via increased integration of renewable energy sources. Towards these objectives, decentralized microgrids have been proposed and thoroughly investigated in terms of technical capabilities and economic performance. In fact, the planning and actual operation of small-scale, decentralized microgrids has started in countries such as Canada, Japan, USA, UK and other countries. It is expected that the research in this area will progress and eventually take over the existing paradigm of large-scale power generation in the future. These small-size decentralized microgrids could be connected with nearby microgrids under normal operating conditions, but under special events, such as natural or man-made disasters, they would be disconnected and run in islanded mode. Under such high impact – low probability events, the microgrid must have resiliency to successfully re-connect with other microgrids and the main grid. In this paper, an Energy Management System (EMS) for a microgrid having a resiliency function, allowing to operate under islanded mode after an accident, is proposed. The proposed tool, called Resilient Energy Management System (ResEMS), aims at procuring reserve power into the microgrid’s Battery Energy Storage System (BESS) effectively, by importing it from the nearby connected power system. The accident is assumed to be a predictable natural disaster, which means that the accident occurrence time, duration and level of damage can be estimated. The proposed ResEMS has been applied to a microgrid comprising of a BESS, a diesel generator and several photovoltaic devices. The simulation results verify its beneficial operation.