EX-5.1 5 a2225369zex-5_1.htm EX-5.1
QuickLinks -- Click here to rapidly navigate through this document


Exhibit 5.1

GRAPHIC

October 2, 2015

Midstates Petroleum Company, Inc.
321 South Boston Avenue, Suite 1000
Tulsa, Oklahoma 74103

    Re:    Registration Statement on Form S-4

Ladies and Gentlemen:

        We are issuing this opinion letter in our capacity as special counsel for Midstates Petroleum Company, Inc., a Delaware corporation (the "Company"), and Midstates Petroleum Company LLC, a Delaware limited liability company ("Midstates Sub" and, together with the Company, the "Issuers").

        This opinion letter is being delivered in connection with the proposed registration by the Issuers of $625,000,000 in aggregate principal amount of the Issuers' 10% Senior Secured Second Lien Notes due 2020 (the "Exchange Notes") pursuant to a Registration Statement on Form S-4 filed with the Securities and Exchange Commission (the "Commission") under the Securities Act of 1933, as amended (the "Securities Act"). Such Registration Statement, as amended or supplemented, is hereinafter referred to as the "Registration Statement". The Exchange Notes are to be issued pursuant to the Indenture dated as of May 21, 2015 (the "Indenture"), by and among the Issuers and Wilmington Trust, National Association, as trustee (the "Trustee"). The Exchange Notes are to be issued in exchange for and in replacement of the Issuers' 10% Senior Secured Second Lien Notes due 2020 issued on May 21, 2015 (the "Old Notes"), of which $625,000,000 in aggregate principal amount is outstanding and is subject to the exchange offer pursuant to the Registration Statement.

        In that connection, we have examined originals, or copies certified or otherwise identified to our satisfaction, of such documents, corporate records and other instruments as we have deemed necessary for the purposes of this opinion, including (i) the certificates of incorporation, certificates of formation, bylaws, limited liability company agreements and other organizational documents of the Issuers, as applicable, (ii) resolutions of the Issuers with respect to the issuance of the Exchange Notes, (iii) the Indenture, (iv) the Registration Statement, and (v) forms of the Exchange Notes.

        For purposes of this opinion, we have assumed the authenticity of all documents submitted to us as originals, the conformity to the originals of all documents submitted to us as copies and the authenticity of the originals of all documents submitted to us as copies. We have also assumed the genuineness of the signatures of persons signing all documents in connection with which this opinion is rendered, the authority of such persons signing on behalf of the parties thereto other than the Issuers, and the due authorization, execution and delivery of all documents by the parties thereto other than the Issuers. As to any facts material to the opinions expressed herein that we have not independently established or verified, we have relied upon statements and representations of officers and other representatives of the Issuers.

GRAPHICS

   


GRAPHIC

Page 2

        Our opinion expressed below is subject to the qualifications that we express no opinion as to the applicability of, compliance with, or effect of (i) any bankruptcy, insolvency, reorganization, fraudulent transfer, fraudulent conveyance, moratorium or other similar law affecting the enforcement of creditors' rights generally, (ii) general principals of equity (regardless of whether enforcement is considered in a proceeding in equity or at law) and (iii) public policy considerations that may limit the rights of parties to obtain certain remedies.

        Based upon and subject to the foregoing qualifications, assumptions and limitations and the further limitations set forth below, we are of the opinion that when (i) the Registration Statement becomes effective, (ii) the Indenture has been duly qualified under the Trust Indenture Act of 1939, as amended, and (iii) the Exchange Notes have been duly executed and authenticated in accordance with the provisions of the Indenture and duly delivered to holders of the Old Notes in exchange for the Old Notes pursuant to the exchange offer described in the Registration Statement, the Exchange Notes will be validly issued under the Indenture and binding obligations of the Issuers.

        We hereby consent to the filing of this opinion as Exhibit 5.1 to the Registration Statement. We also consent to the reference to our firm under the heading "Legal Matters" in the Registration Statement. In giving this consent, we do not thereby admit that we are in the category of persons whose consent is required under Section 7 of the Securities Act or the rules and regulations of the Commission.

        Our advice on every legal issue addressed in this letter is based exclusively on the internal law of the State of New York, the General Corporation Law of the State of Delaware and the Limited Liability Company Act of the State of Delaware and represents our opinion as to how that issue would be resolved were it to be considered by the highest court in the jurisdiction which enacted such law. The manner in which any particular issue relating to the opinions would be treated in any actual court case would depend in part on facts and circumstances particular to the case and would also depend on how the court involved chose to exercise the wide discretionary authority generally available to it. We are not qualified to practice law in the State of Delaware and our opinions herein regarding Delaware law are limited solely to our review of provisions of the General Corporation Law and the Limited Liability Company Act of the State of Delaware which we consider normally applicable to transactions of this type, without our having made any special investigation as to the applicability of another statute, law, rule or regulation. None of the opinions or other advice contained in this letter considers or covers any foreign or state securities (or "blue sky") laws or regulations.

        This opinion is limited to the specific issues addressed herein, and no opinion may be inferred or implied beyond that expressly stated herein. This opinion speaks only as of the date hereof and we assume no obligation to revise or supplement this opinion.

        We have also assumed that the execution and delivery of the Indenture and the Exchange Notes and the performance by the Issuers of their obligations thereunder do not and will not violate, conflict with or constitute a default under any agreement or instrument to which any of the Issuers is bound.

        This opinion is furnished to you in connection with the filing of the Registration Statement and in accordance with the requirements of Item 601(b)(5)(i) of Regulation S-K promulgated under the Securities Act, and is not to be used, circulated, quoted or otherwise relied upon for any other purposes.

    Very truly yours,

 

 

/s/ Kirkland & Ellis LLP

 

 

KIRKLAND & ELLIS LLP



QuickLinks