Exhibit 23
Consent of Independent Registered Public Accounting Firm
We consent to the incorporation by reference in the Registration Statement (Form S-8 No. 33-50856) pertaining to The Savings Incentive Plan of McGraw-Hill, Inc. and its Subsidiaries, The Employee Retirement Account Plan of McGraw-Hill, Inc. and its Subsidiaries, The Standard & Poor’s Savings Incentive Plan for Represented Employees, The Standard & Poor’s Employee Retirement Account Plan for Represented Employees, The Employees’ Investment Plan of McGraw-Hill Broadcasting Company, Inc. and its Subsidiaries; the Registration Statement (Form S-8 No. 333-126465) pertaining to The Savings Incentive Plan of The McGraw-Hill Companies, Inc. and its Subsidiaries, The Employee Retirement Account Plan of The McGraw-Hill Companies, Inc. and its Subsidiaries, The Standard & Poor’s Savings Incentive Plan for Represented Employees, and The Standard & Poor’s Employee Retirement Account Plan for Represented Employees, and the Registration Statement (Form S-8 Nos. 333-157570 and 333-170902) pertaining to The 401(k) Savings and Profit Sharing Plan of The McGraw-Hill Companies, Inc. and its Subsidiaries, and The Standard & Poor’s 401(k) Savings and Profit Sharing Plan for Represented Employees of our report dated July 13, 2012, with respect to the financial statements and schedule of the 401(k) Savings and Profit Sharing Plan of The McGraw-Hill Companies, Inc. and Its Subsidiaries included in this Annual Report (Form 11-K) for the year ended December 31, 2011.
/s/ Ernst & Young LLP
New York, New York
July 13, 2012