EX-23 2 ey078.htm CONSENET OF INDEPENDENT ACCOUNTANT ey078.htm - Generated by SEC Publisher for SEC Filing

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the reference to our firm under the captions "Financial Highlights" in the Prospectus and "Counsel and Independent Registered Public Accounting Firm" in the Statement of Additional Information and to the use of our reports dated December 29, 2009 on Dreyfus International Stock Index Fund, Dreyfus S&P 500 Index Fund and Dreyfus Smallcap Stock Index Fund for the fiscal year ended October 31, 2009 which are incorporated by reference in this Registration Statement (Form N-1A No. 33-31809 and 811-5883) of Dreyfus Index Funds, Inc.

/s/ ERNST & YOUNG LLP
ERNST&YOUNGLLP

New York, New York
February 23, 2010