The aims of this paper is to investigate the effect of macroeconomic variables on the stock market returns in the energy sector (chemical and petrochemical) during 2002-2012 with panel data models. The influences of liquidity, inflation, exchange rates, energy prices, and financial variables of firms, such as debt structure, asset and returns conditions have been tested in the chemical & petrochemical companies in Tehran Stock Exchange. The findings show that the mentioned macro-variables have deeper effect in chemical firms rather than petrochemical firms, due to different elasticity of their products. Further achievements reveal that macro-variables have been more effective than intrafirms variables in selected sample. The return of these firms is also affected by several factors including sanctions, fluctuation in exchange rate, required importing inputs, export barriers, the higher cost of producing of petrochemical products compared to other countries, lack of diversification, and crude selling.