Form: N-2

Initial filing of a registration statement on Form N-2 for closed-end investment companies

April 6, 2017



Exhibit (n)(1)

Consent of Independent Registered Public Accounting Firm
We consent to the reference to our firm under the captions “Selected Consolidated Financial and Other Data”, “Senior Securities” and “Independent Registered Public Accounting Firm” and to the use of our reports (a) dated February 22, 2017, with respect to the consolidated financial statements of Triangle Capital Corporation as of December 31, 2016 and 2015 and for each of the three years in the period ended December 31, 2016, and the consolidated financial highlights for each of the five years in the period ended December 31, 2016; (b) dated February 22, 2017, with respect to the effectiveness of internal controls over financial reporting of Triangle Capital Corporation as of December 31, 2016; (c) dated February 22, 2017, with respect to Schedule 12-14 as of and for the year ended December 31, 2016; (d) dated April 6, 2017, with respect to the senior securities table of Triangle Capital Corporation as of December 31, 2016, in the Registration Statement (Form N-2) and related Prospectus of Triangle Capital Corporation for the registration of common stock, preferred stock, warrants, subscription rights,
debt securities, and units.

/s/ Ernst & Young LLP
Raleigh, North Carolina
April 6, 2017