Exhibit 23.1
CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM
We consent to the incorporation by reference in Registration Statements No. 333-272233, 333-234216 and 333-248420 on Form S-8 and Registration Statement No. 333-268202 on Form S-3 of Heritage Commerce Corp of our report dated March 7, 2025 relating to the consolidated financial statements and the effectiveness of internal control over financial reporting, appearing in this Annual Report on Form 10-K.
| /s/ Crowe LLP |
| Crowe LLP |
Oakbrook Terrace, Illinois
March 7, 2025