Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

 

We consent to the incorporation by reference in the following Registration Statements:

 

(1)
Registration Statement (Form S-3 No. 333-240297) of National Retail Properties, Inc.,
(2)
Registration Statement (Form S-8 No. 333-64794) pertaining to the 2000 Performance Incentive Plan of National Retail Properties, Inc.,
(3)
Registration Statement (Form S-8 No. 333-15625) pertaining to the 1992 Stock Option Plan of National Retail Properties, Inc.,
(4)
Registration Statement (Form S-8 No. 333-144100) pertaining to the 2007 Performance Incentive Plan of National Retail Properties, Inc.,
(5)
Registration Statement (Form S-3 No. 333-111180) pertaining to the Retirement Plan for CTA,
(6)
Registration Statement (Form S-3 No. 333-253372) pertaining to the Dividend Reinvestment and Stock Purchase Plan of National Retail Properties, Inc., and
(7)
Registration Statement (Form S-8 No. 333-218339) pertaining to the 2017 Performance Incentive Plan of National Retail Properties, Inc.;

 

of our reports dated February 9, 2023, with respect to the consolidated financial statements and schedules of National Retail Properties, Inc. and Subsidiaries and the effectiveness of internal control over financial reporting of National Retail Properties, Inc. and Subsidiaries included in this Annual Report (Form 10-K) of National Retail Properties, Inc. for the year ended December 31, 2022.

 

 

/s/ Ernst & Young LLP

 

 

Orlando, Florida

February 9, 2023