Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We consent to the incorporation by reference in the Registration Statement No. 333-153771 on Form S-8 of Bank of America Corporation filed with the Securities and Exchange Commission, pertaining to the Merrill Lynch & Co., Inc. 401(k) Savings & Investment Plan of our report dated June 17, 2014, with respect to the financial statements and supplemental schedule of the Merrill Lynch & Co., Inc. 401(k) Savings & Investment Plan included in the Annual Report (Form 11-K) as of December 31, 2013 and for the year then ended.

/s/ Morris Davis Chan & Tan LLP

Charlotte, North Carolina

June 17, 2013

 

25