EXHIBIT 5.1

 

LOGO

Seth Gottlieb

T: +1 650 843 5864

sgottlieb@cooley.com

March 23, 2017

CymaBay Therapeutics, Inc.

7999 Gateway Blvd., Suite 130

Newark, CA 94560

Ladies and Gentlemen:

We have acted as counsel with respect to certain matters in connection with the filing by CymaBay Therapeutics, Inc., a Delaware corporation (the “Company”), of a Registration Statement on Form S-8 (the “Registration Statement”) with the Securities and Exchange Commission, covering the offering of up to 1,172,350 shares of the Company’s Common Stock, $0.0001 par value (the “Shares”), pursuant to the Company’s 2013 Equity Incentive Plan (the “2013 Plan”).

In connection with this opinion, we have examined and relied upon (a) the Registration Statement and the related prospectuses, (b) the Company’s Amended and Restated Certificate of Incorporation and Amended and Restated Bylaws, as currently in effect and (c) the 2013 Plan and such other documents, records, certificates, memoranda and other instruments as in our judgment are necessary or appropriate to enable us to render the opinion expressed below.

We have assumed the genuineness and authenticity of all documents submitted to us as originals, the conformity to originals of all documents submitted to us as copies thereof and the due execution and delivery of all documents where due execution and delivery are a prerequisite to the effectiveness thereof.

As to certain factual matters, we have relied upon a certificate of an officer of the Company and have not sought independently to verify such matters.

Our opinion is expressed only with respect to the General Corporation Law of the State of Delaware. We express no opinion as to whether the laws of any particular jurisdiction are applicable to the subject matter hereof. We are not rendering any opinion as to compliance with any federal or state antifraud law, rule or regulation relating to securities, or to the sale or issuance thereof.

On the basis of the foregoing, and in reliance thereon, we are of the opinion that the Shares, when sold and issued in accordance with the 2013 Plan, the Registration Statement, and related prospectuses, will be validly issued, fully paid and nonassessable (except as to shares issued pursuant to certain deferred payment arrangements, which will be fully paid and nonassessable when such deferred payments are made in full).

We consent to the filing of this opinion as an exhibit to the Registration Statement.

Sincerely,

Cooley LLP

By:    /s/ Seth Gottlieb
  Seth Gottlieb