Attached files

file filename
S-1 - FORM S-1 - SOLARCITY CORPd553628ds1.htm
EX-5.1 - EX-5.1 - SOLARCITY CORPd553628dex51.htm
EX-12.1 - EX-12.1 - SOLARCITY CORPd553628dex121.htm
EX-25.1 - EX-25.1 - SOLARCITY CORPd553628dex251.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 the Registration Statement on Form S-1 and related Prospectus of SolarCity Corporation for the offering of its convertible senior notes.

/s/    Ernst & Young LLP        

Redwood City, California

June 17, 2013