# Flexion Therapeutics Inc S-8 filed Mar 10, 2017: Legal opinion

- Company: Flexion Therapeutics Inc
- Filing: Form S-8 (Initial registration statement for securities to be offered to employees pursuant to employee benefit plans), filed Mar 10, 2017
- Document: Legal opinion (d348137dex51.htm)
- Page for people: https://s6y.io/c/1419600/S-8-20170310/d348137dex51.htm
- Original at the SEC, the official copy: https://www.sec.gov/Archives/edgar/data/1419600/000119312517078890/d348137dex51.htm
- This is the whole document, about 400 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/1419600/S-8-20170310/d348137dex51.htm#q=the%20exact%20words
- To check a quote first: https://s6y.io/quote?path=/c/1419600/S-8-20170310/d348137dex51.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

Sean M. Clayton

T: +1 858 550 6034

sclayton@cooley.com

March 9, 2017

Flexion Therapeutics, Inc.

10 Mall Road, Suite 301

Burlington, MA 01803

Ladies and Gentlemen:

We have represented Flexion Therapeutics, Inc., a Delaware corporation (the “ Company ”), in connection with the filing by 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 an aggregate of 1,583,372 shares of the Company’s Common Stock, $0.001 par value (the “ Shares ” ), including (i) 1,266,698 shares (the “ 2013 Plan Shares ”) reserved for issuance pursuant to the Company’s 2013 Equity Incentive Plan (the “ 2013 Plan ” ), and (ii) 316,674 shares (the “ ESPP Shares ”) reserved for issuance pursuant to the Company’s 2013 Employee Stock Purchase Plan (the “ 2013 ESPP ”).

In connection with this opinion, we have examined and relied upon the Registration Statement and the related prospectuses, the 2013 Plan and the 2013 ESPP, the Company’s Amended and Restated Certificate of Incorporation and Amended and Restated Bylaws 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 and the conformity to originals of all documents submitted to us as copies thereof.

Our opinion is expressed only with respect to the federal laws of the United States of America and the General Corporation Law of the State of Delaware.

On the basis of the foregoing, and in reliance thereon, we are of the opinion that the 2013 Plan Shares, when sold and issued in accordance with the 2013 Plan and applicable stock option agreement, and the ESPP Shares, when sold and issued in accordance with the 2013 ESPP, and in each case when sold and issued in accordance with 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).

4401 Eastgate Mall, San Diego, CA 92121 T: (858) 550-6000 F: (858) 550-6420 www.cooley.com

Sean M. Clayton

+1 858 550 6034

sclayton@cooley.com

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

Sincerely,

Cooley LLP
By: | /s/ Sean M. Clayton
Sean M. Clayton

Cooley LLP 4401 Eastgate Mall San Diego, CA 92121

t: (858) 550-6000 f: (858) 550-6420 cooley.com
