Attached files

file filename
S-1/A - AMENDMENT NO. 3 TO FORM S-1 - SOLARCITY CORPd553628ds1a.htm
EX-5.1 - EX-5.1 - SOLARCITY CORPd553628dex51.htm
EX-1.1 - EX-1.1 - SOLARCITY CORPd553628dex11.htm

Exhibit 23.1

Consent of Independent Registered Public Accounting Firm

We consent to the reference to our firm under the caption “Experts” and to the use of our report dated March 27, 2013, in Amendment No. 3 to the Registration Statement (Form S-1 No. 333-189404) and related Prospectus of SolarCity Corporation for the offering of its convertible senior notes.

/s/ Ernst & Young LLP

Redwood City, California

August 28, 2013