Tax Equity and Middle Class Fairness Act of 2011 - Repeals or revises tax expenditure provisions in the Internal Revenue Code relating to: (1) the production of oil and gas; (2) the production and development of coal resources; (3) individuals, including a phase-out of health savings and Archer medical savings accounts; (4) business taxpayers, including the elimination of certain expensing allowances and the repeal of capital gain treatment for the sale of timber; and (5) certain international tax preferences.