Exhibit 23.1

CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM

We hereby consent to the incorporation by reference in the Registration Statements on Form S-8 (No. 333-144002, 333-146445, 333-189474 and 333-206633) of Hercules Capital, Inc. (formerly known as Hercules Technology Growth Capital, Inc.) of our report dated February 25, 2016 relating to the financial statements, financial statement schedule and the effectiveness of internal control over financial reporting, which appears in this Form 10-K.

/s/ PricewaterhouseCoopers LLP

San Francisco, California

February 25, 2016