Renewable-energy-based microgrids (MGs) are being advocated around the world in response to increasing energy demand, high levels of greenhouse gas (GHG) emissions, energy losses, and the depletion of conventional energy resources. However, the high investment cost of the MGs besides the low selling price of the energy to the main grid are two main challenges to realize the MGs in developing countries such as Iran. For this reason, the government should define some incentive policies to attract investor attention to MGs. This paper aims to develop a framework for the optimal planning of a renewable energy-based MG considering the incentive policies. To investigate the effect of the incentive policies on the planning formulation, three different policies are introduced in a pilot system in Iran. The minimum penetration rates of the RESs in the MG to receive the government incentive are defined as 20% and 40% in two different scenarios. The results show that the proposed incentive policies reduce the MG’s total net present cost (NPC) and the amount of carbon dioxide (CO2) emissions. The maximum NPC and CO2 reduction in comparison with the base case (with incentive policies) are 22.87% and 56.13%, respectively. The simulations are conducted using the hybrid optimization model for electric renewables (HOMER) software.