Exhibit 5.1

January 3, 2020
MyoKardia, Inc.
333 Allerton Ave.,
South San Francisco, CA 94080
Re: Securities Registered under Registration Statement on FormS-3
We have acted as counsel to you in connection with your filing of a Registration Statement on FormS-3ASR (FileNo. 333-223526) (as amended or supplemented, the “Registration Statement”) filed on March 8, 2018 with the Securities and Exchange Commission (the “Commission”) pursuant to the Securities Act of 1933, as amended (the “Securities Act”), relating to the registration of the offering by MyoKardia, Inc., a Delaware corporation (the “Company”), of any combination of securities of the types specified therein. The Registration Statement was declared effective by the Commission on March 8, 2018. Reference is made to our opinion letter dated March 8, 2018 and included as Exhibit 5.1 to the Registration Statement. We are delivering this supplemental opinion letter in connection with the prospectus supplement (the “Prospectus Supplement”) dated January 3, 2020 and filed by the Company with the Commission pursuant to Rule 424 under the Securities Act. The Prospectus Supplement relates to the offering by the Company of up to $200,000,000 in shares (the “Shares”) of the Company’s common stock, par value $0.0001 per share (“Common Stock”) covered by the Registration Statement. The Shares are being offered and sold by the sales agent named in, and pursuant to, the sales agreement among the Company and such sales agent.
We have reviewed such documents and made such examination of law as we have deemed appropriate to give the opinion set forth below. We have relied, without independent verification, on certificates of public officials and, as to matters of fact material to the opinion set forth below, on certificates of officers of the Company.
For purposes of the opinion set forth below, we have assumed that the Shares are issued for a price per share equal to or greater than the minimum price authorized by the Company’s board of directors prior to the date hereof (the “Minimum Price”) and that no event occurs that causes the number of authorized shares of Common Stock available for issuance by the Company to be less than the number of then unissued Shares that may be issued for the Minimum Price.
For purposes of the opinion set forth below, we refer to the following as “Future Approval and Issuance”: (a) the approval by the Company’s board of directors (or a duly authorized committee of the board of directors) of the issuance of the Shares (the “Approval”) and (b) the issuance of the Shares in accordance with the Approval and the receipt by the Company of the consideration (which shall not be less than the par value of such Shares) to be paid in accordance with the Approval.