Attached files

file filename
S-1 - FORM S-1 - SOLARCITY CORPd595166ds1.htm
EX-23.1 - EX-23.1 - SOLARCITY CORPd595166dex231.htm

Exhibit 5.1

 

LOGO   

650 Page Mill Road

Palo Alto, CA 94304-1050

PHONE 650.493.9300

FAX 650.493.6811

www.wsgr.com

September 9, 2013

SolarCity Corporation

3055 Clearview Way

San Mateo, CA 94402

 

Re: Registration Statement on Form S-1

Ladies and Gentlemen:

SolarCity Corporation, a Delaware corporation (the “Company”), is filing with the Securities and Exchange Commission a Registration Statement on Form S-1 (the “Registration Statement”) for the purpose of registering under the Securities Act of 1933, as amended, the resale by the selling stockholder named in the Registration Statement of up to 3,674,565 shares of its common stock, par value $0.0001 per share (the “Shares”).

We are acting as counsel for the Company in connection with the registration of the Shares. In such capacity, we have examined originals or copies, certified or otherwise identified to our satisfaction, of such documents, corporate records, certificates of public officials and other instruments as we have deemed necessary for the purposes of rendering this opinion. In our examination, we have assumed the genuineness of all signatures, the authenticity of all documents submitted to us as originals, the conformity with the originals of all documents submitted to us as copies, the authenticity of the originals of such documents and the legal competence of all signatories to such documents.

We express no opinion herein as to the laws of any state or jurisdiction other than the General Corporation Law of the State of Delaware (including the statutory provisions and all applicable judicial decisions interpreting those laws) and the federal laws of the United States of America.

On the basis of the foregoing, we are of the opinion, that the Shares have been duly authorized and are validly issued, fully paid and nonassessable.

We consent to the use of this opinion as an exhibit to the Registration Statement, and we consent to the reference of our name under the caption “Validity of the Securities” in the prospectus forming part of the Registration Statement.

Very truly yours,

WILSON SONSINI GOODRICH & ROSATI

Professional Corporation

/s/ Wilson Sonsini Goodrich & Rosati, P.C.

AUSTIN    BEIJING    BRUSSELS    GEORGETOWN, DE    HONG KONG    LOS ANGELES    NEW YORK

PALO ALTO    SAN DIEGO    SAN FRANCISCO    SEATTLE    SHANGHAI    WASHINGTON, DC