Attached files

file filename
S-1/A - AMENDMENT NO. 5 TO FORM S-1 - SOLARCITY CORPd554071ds1a.htm
EX-5.1 - EX-5.1 - SOLARCITY CORPd554071dex51.htm
EX-99.1 - EX-99.1 - SOLARCITY CORPd554071dex991.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. 5 to the Registration Statement (Form S-1 No. 333-189405) and related Prospectus of SolarCity Corporation for the registration of 3,910,000 shares of its common stock.

/s/ Ernst & Young LLP

Redwood City, California

October 9, 2013