QuickLinks -- Click here to rapidly navigate through this document
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in this Registration Statement on Form S-3 of Heritage Commerce Corp of our report dated March 17, 2008 with respect to the consolidated financial statements and effectiveness of internal control over financial reporting of Heritage Commerce Corp, which report appears in the Annual Report on Form 10-K of Heritage Commerce Corp for the year ended December 31, 2007.
/s/ Crowe Horwath LLP
Oak Brook, Illinois
December 15, 2008
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM