Exhibit 5.1
April 30, 2018
Accuray Incorporated
1310 Chesapeake Terrace
Sunnyvale, California 94089
RE: Registration Statement on FormS-8
Ladies and Gentlemen:
We have examined the Registration Statement on FormS-8 to be filed by you with the Securities and Exchange Commission on or about April 30, 2018 (the “Registration Statement”) in connection with the registration under the Securities Act of 1933, as amended (the “Act”), of (i) 20,833 shares of your common stock (“Common Stock”) available for issuance under the Accuray Incorporated Stand-Alone Inducement Restricted Stock Unit Agreement (the “RSU Award”), (ii) 62,500 shares of Common Stock available for issuance under the Accuray Incorporated Stand-Alone Inducement Performance Unit Agreement (the “MSU Award”), and (iii) 52,083 shares of Common Stock available for issuance under the Accuray Incorporated Stand-Alone Inducement Stock Option Agreement (together with the RSU Award and the MSU Award, the “Awards”). Such shares of Common Stock are collectively referred to herein as the “Shares.” As your counsel in connection with this transaction, we have examined the proceedings taken and are familiar with the proceedings proposed to be taken by you in connection with the issuance and sale of the Shares under the Awards.
It is our opinion that, when issued and sold in compliance with the prospectus delivery requirements and upon the terms and in the manner described in the Awards, the Shares will be legally and validly issued, fully-paid andnon-assessable.
We consent to the use of this opinion as an exhibit to the Registration Statement, and consent to the use of our name wherever appearing in the Registration Statement and any amendments thereto.
Sincerely,
/s/ WILSON SONSINI GOODRICH & ROSATI
WILSON SONSINI GOODRICH & ROSATI
Professional Corporation