This study aims to determine the optimal monetary and fiscal policy rules in order to stabilize production, inflation and income distribution during the implementation of energy prices reform scheme. In this regard, using the optimal control theory, a loss function of the monetary and fiscal policymakers which included inflation rate, output gap rate, the Gini coefficient, the deviation of the volume of liquidity growth and the deviation of the volume of government spending growth from the previous period, were minimized using the three constraint equations of Phillips, aggregate demand and income distribution curves. By solving constraints optimization problem with optimal rules in a macroeconomic model, the optimal values from 2011 to 2015 have been estimated.The results suggest that using the optimal monetary and fiscal policy rules, we can improve the performance of the targeted macroeconomics variables even during the implementation of energy prices reform scheme. By adopting optimal rules, inflation, as one of the important problems of the economy of Iran, could be controlled.Moreover, the performance of macroeconomic variables such as economic growth and income distribution could also be improved.