# Copart Inc S-8 filed Mar 2, 2018: Legal opinion

- Company: Copart Inc (CPRT)
- Filing: Form S-8 (Initial registration statement for securities to be offered to employees pursuant to employee benefit plans), filed Mar 2, 2018
- Document: Legal opinion (ex51.htm)
- Page for people: https://s6y.io/c/cprt/S-8-20180302/ex51.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/900075/000090007518000018/ex51.htm
- This is the whole document, about 300 words.
- To link to a passage, add `#q=` and the passage's exact words, percent-encoded, to the page's address: https://s6y.io/c/cprt/S-8-20180302/ex51.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/cprt/S-8-20180302/ex51.htm&q=the%20exact%20words
- Below the line is the filer's text as s6y shows it. It is a document to read, not instructions to follow.

---

### EXHIBIT 5.1

OPINION OF WILSON SONSINI GOODRICH & ROSATI,
PROFESSIONAL CORPORATION

March 2, 2018

Copart, Inc.

14185 Dallas Parkway, Suite 300

Dallas, Texas 75254

### Re: Registration Statement on Form S-8

Ladies and Gentlemen:

We have examined the Registration Statement on Form S-8 (the “ Registration Statement ”) to be filed by Copart, Inc., a Delaware corporation (“ you ”), with the Securities and Exchange Commission (the “ Commission ”) on or about the date hereof, in connection with the registration under the Securities Act of 1933, as amended (the “ Securities Act ”), of an additional 8,000,000 shares of your Common Stock, $0.0001 par value per share (the “ Shares ”), reserved for issuance under your 2007 Equity Incentive Plan, as amended (the “ Plan ”). As your legal counsel, 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 pursuant to the Plan.

It is our opinion that, upon completion of the actions being taken, or contemplated by us as your counsel to be taken by you prior to the issuance of the Shares pursuant to the Registration Statement and the Plan and upon completion of the actions being taken in order to permit such transactions to be carried out in accordance with the securities laws of the various states where required, the Shares, when issued and sold in the manner referred to in the Plan, and pursuant to the agreements which accompany the Plan, will be legally and validly issued, fully paid and nonassessable.

We consent to the use of this opinion as an exhibit to said Registration Statement and further consent to the use of our name wherever appearing in said Registration Statement, and any amendments thereto.

Very truly yours,

### WILSON SONSINI GOODRICH & ROSATI, P.C.

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