EX-23.1 3 a2202450zex-23_1.htm EX-23.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 23.1


CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

        We hereby consent to the incorporation by reference in this Registration Statement on Form S-3 of our report dated March 10, 2011, relating to the consolidated financial statements of Heritage Oaks Bancorp appearing in the Company's Annual Report on Form 10-K for the year ended December 31, 2010. We also consent to the reference to us under the caption "Experts" in such Registration Statement.

/s/ Vavrinek, Trine, Day & Co., LLP

VAVRINEK, TRINE, DAY & CO., LLP
   

Rancho Cucamonga, California
May 6, 2011




QuickLinks

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM