Oil price shocks are the major source of economic instability in oil exporting developing countries, including Iran. In this paper a Multi Sector Dynamic Stochastic General Equilibrium model, with emphasis on optimization of oil sector as a producing sector is designed. Furthermore, an optimizing import sector is introduced into the model by considering the price rigidity in imported goods as a source of inefficiency in a New Keynesian open economy. The impact of oil price shocks on the dynamics of the economic variables is considered during 1988:1-2011:1. For this purpose, the Bayesian approach is used to estimate the model. The impulse response functions show that immediately after an oil price shock, output increases in the oil sector, while in the non-oil sector the result is reverse. Furthermore, GDP, consumption and inflation increase, while the employment and real exchange rate decreases immediately and finally, all the variables converge to their steady state values. JEL Classification: C61, D50, E12, Q43