EX-23.1 3 dex231.htm CONSENT OF ERNST & YOUNG LLP Consent of Ernst & Young LLP

EXHIBIT 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the incorporation by reference in the Registration Statement on Form S-8 pertaining to the 2007 Performance Incentive Plan of National Retail Properties, Inc. and subsidiaries of our reports dated February 13, 2007, with respect to the consolidated financial statements and schedules of National Retail Properties, Inc. and subsidiaries, National Retail Properties, Inc. management’s assessment of the effectiveness of internal control over financial reporting, and the effectiveness of internal control over financial reporting of National Retail Properties, Inc. included in its Annual Report (Form 10-K) for the year ended December 31, 2006 filed with the Securities and Exchange Commission.

 

June 22, 2007    /s/ Ernst & Young LLP
Miami, Florida    Certified Public Accountants