<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.20.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>411</ContextCount>
  <ElementCount>685</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>142</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>24</UnitCount>
  <MyReports>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0002000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>1001000 - Statement - Consolidated balance sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/ConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated balance sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>1001501 - Statement - Consolidated balance sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/ConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated balance sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>1002000 - Statement - Consolidated statements of operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/ConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated statements of operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>1003000 - Statement - Consolidated statements of stockholders' equity (deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/ConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>Consolidated statements of stockholders' equity (deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>1004000 - Statement - Consolidated statements of cash flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/ConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated statements of cash flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>2101100 - Disclosure - Nature of operations and summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Nature of operations and summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>2102100 - Disclosure - Earnings per share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/EarningsPerShare</Role>
      <ShortName>Earnings per share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>2103100 - Disclosure - Chapter 11 reorganization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/Chapter11Reorganization</Role>
      <ShortName>Chapter 11 reorganization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>2104100 - Disclosure - Fresh start accounting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccounting</Role>
      <ShortName>Fresh start accounting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>2105100 - Disclosure - Supplemental disclosures to the consolidated statements of cash flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalDisclosuresToConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Supplemental disclosures to the consolidated statements of cash flows</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>2106100 - Disclosure - Acquisitions and divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/AcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>2107100 - Disclosure - Property and equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/PropertyAndEquipment</Role>
      <ShortName>Property and equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>2108100 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/Debt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>2109100 - Disclosure - Derivative instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DerivativeInstruments</Role>
      <ShortName>Derivative instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>2110100 - Disclosure - Fair value measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurements</Role>
      <ShortName>Fair value measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>2111100 - Disclosure - Asset retirement obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/AssetRetirementObligations</Role>
      <ShortName>Asset retirement obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>2112100 - Disclosure - Income taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/IncomeTaxes</Role>
      <ShortName>Income taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>2113100 - Disclosure - Deferred compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensation</Role>
      <ShortName>Deferred compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>2114100 - Disclosure - Stockholders' equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/StockholdersEquity</Role>
      <ShortName>Stockholders' equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>2115100 - Disclosure - Retirement benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RetirementBenefits</Role>
      <ShortName>Retirement benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>2116100 - Disclosure - Revenue recognition</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RevenueRecognition</Role>
      <ShortName>Revenue recognition</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>2117100 - Disclosure - Leases</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/Leases</Role>
      <ShortName>Leases</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>2118100 - Disclosure - Commitments and contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/CommitmentsAndContingencies</Role>
      <ShortName>Commitments and contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>2119100 - Disclosure - Oil and natural gas activities (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnaudited</Role>
      <ShortName>Oil and natural gas activities (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>2120100 - Disclosure - Disclosures about oil and natural gas activities (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnaudited</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>2132100 - Disclosure - Supplemental quarterly financial information (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnaudited</Role>
      <ShortName>Supplemental quarterly financial information (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>2201201 - Disclosure - Nature of operations and summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>28</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>2301302 - Disclosure - Nature of operations and summary of significant accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>2302301 - Disclosure - Earnings per share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/EarningsPerShareTables</Role>
      <ShortName>Earnings per share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/EarningsPerShare</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>2303301 - Disclosure - Chapter 11 reorganization (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/Chapter11ReorganizationTables</Role>
      <ShortName>Chapter 11 reorganization (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/Chapter11Reorganization</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>2304301 - Disclosure - Fresh start accounting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingTables</Role>
      <ShortName>Fresh start accounting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccounting</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>2305301 - Disclosure - Supplemental disclosures to the consolidated statements of cash flows (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalDisclosuresToConsolidatedStatementsOfCashFlowsTables</Role>
      <ShortName>Supplemental disclosures to the consolidated statements of cash flows (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/SupplementalDisclosuresToConsolidatedStatementsOfCashFlows</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>2307301 - Disclosure - Property and equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/PropertyAndEquipmentTables</Role>
      <ShortName>Property and equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/PropertyAndEquipment</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>2308301 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/Debt</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>2309301 - Disclosure - Derivative instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DerivativeInstrumentsTables</Role>
      <ShortName>Derivative instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DerivativeInstruments</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>2310301 - Disclosure - Fair value measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</Role>
      <ShortName>Fair value measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurements</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>2311301 - Disclosure - Asset retirement obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/AssetRetirementObligationsTables</Role>
      <ShortName>Asset retirement obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/AssetRetirementObligations</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>2312301 - Disclosure - Income taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/IncomeTaxesTables</Role>
      <ShortName>Income taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/IncomeTaxes</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>2313301 - Disclosure - Deferred compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationTables</Role>
      <ShortName>Deferred compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensation</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>2314301 - Disclosure - Stockholders' equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/StockholdersEquityTables</Role>
      <ShortName>Stockholders' equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/StockholdersEquity</ParentRole>
      <Position>41</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>2315301 - Disclosure - Retirement benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RetirementBenefitsTables</Role>
      <ShortName>Retirement benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RetirementBenefits</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>2316301 - Disclosure - Revenue recognition (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RevenueRecognitionTables</Role>
      <ShortName>Revenue recognition (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RevenueRecognition</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>2317301 - Disclosure - Leases (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesTables</Role>
      <ShortName>Leases (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/Leases</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>2319301 - Disclosure - Oil and natural gas activities (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedTables</Role>
      <ShortName>Oil and natural gas activities (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnaudited</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>2320301 - Disclosure - Disclosures about oil and natural gas activities (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedTables</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnaudited</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>2332301 - Disclosure - Supplemental quarterly financial information (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnauditedTables</Role>
      <ShortName>Supplemental quarterly financial information (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnaudited</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>2401403 - Disclosure - Nature of operations and summary of significant accounting policies (Cash and Cash Equivalents) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesCashAndCashEquivalentsDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Cash and Cash Equivalents) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>2401404 - Disclosure - Nature of operations and summary of significant accounting policies (Accounts Receivable) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesAccountsReceivableDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Accounts Receivable) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>49</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>2401405 - Disclosure - Nature of operations and summary of significant accounting policies (Inventories) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesInventoriesDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Inventories) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>2401406 - Disclosure - Nature of operations and summary of significant accounting policies (Oil and Natural Gas Properties Adjustments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesOilAndNaturalGasPropertiesAdjustmentsDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Oil and Natural Gas Properties Adjustments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>2401407 - Disclosure - Nature of operations and summary of significant accounting policies (Impairment of Long-lived Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesImpairmentOfLongLivedAssetsDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Impairment of Long-lived Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>2401408 - Disclosure - Nature of operations and summary of significant accounting policies (Stock-based Compensation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Stock-based Compensation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>2401409 - Disclosure - Nature of operations and summary of significant accounting policies (Other Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesOtherExpenseDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Other Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>2401410 - Disclosure - Nature of operations and summary of significant accounting policies (Joint Development Agreement) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesJointDevelopmentAgreementDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Joint Development Agreement) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>2401411 - Disclosure - Nature of operations and summary of significant accounting policies (Cost Reduction Initiatives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesCostReductionInitiativesDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Cost Reduction Initiatives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/NatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>2402402 - Disclosure - Earnings per share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/EarningsPerShareDetails</Role>
      <ShortName>Earnings per share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/EarningsPerShareTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>2403402 - Disclosure - Chapter 11 reorganization (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/Chapter11ReorganizationAdditionalInformationDetails</Role>
      <ShortName>Chapter 11 reorganization (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/Chapter11ReorganizationTables</ParentRole>
      <Position>58</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>2403403 - Disclosure - Chapter 11 reorganization (Liabilities Subject to Compromise) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/Chapter11ReorganizationLiabilitiesSubjectToCompromiseDetails</Role>
      <ShortName>Chapter 11 reorganization (Liabilities Subject to Compromise) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/Chapter11ReorganizationTables</ParentRole>
      <Position>59</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>2404402 - Disclosure - Fresh start accounting (Additional information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingAdditionalInformationDetails</Role>
      <ShortName>Fresh start accounting (Additional information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccountingTables</ParentRole>
      <Position>60</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>2404403 - Disclosure - Fresh start accounting (Enterprise Value to Fair Value of the Successor's Common Stock) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingEnterpriseValueToFairValueOfSuccessorsCommonStockDetails</Role>
      <ShortName>Fresh start accounting (Enterprise Value to Fair Value of the Successor's Common Stock) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccountingTables</ParentRole>
      <Position>61</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>2404404 - Disclosure - Fresh start accounting (Enterprise Value to Estimated Reorganization Value of the Successor's Assets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingEnterpriseValueToEstimatedReorganizationValueOfSuccessorsAssetsDetails</Role>
      <ShortName>Fresh start accounting (Enterprise Value to Estimated Reorganization Value of the Successor's Assets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccountingTables</ParentRole>
      <Position>62</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>2404405 - Disclosure - Fresh start accounting (Balance Sheet) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingBalanceSheetDetails</Role>
      <ShortName>Fresh start accounting (Balance Sheet) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccountingTables</ParentRole>
      <Position>63</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>2404406 - Disclosure - Fresh start accounting (Balance Sheet, Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingBalanceSheetAdditionalInformationDetails</Role>
      <ShortName>Fresh start accounting (Balance Sheet, Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccountingTables</ParentRole>
      <Position>64</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>2404407 - Disclosure - Fresh start accounting (Reorganization Items) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FreshStartAccountingReorganizationItemsDetails</Role>
      <ShortName>Fresh start accounting (Reorganization Items) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FreshStartAccountingTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>2405402 - Disclosure - Supplemental disclosures to the consolidated statements of cash flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalDisclosuresToConsolidatedStatementsOfCashFlowsDetails</Role>
      <ShortName>Supplemental disclosures to the consolidated statements of cash flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/SupplementalDisclosuresToConsolidatedStatementsOfCashFlowsTables</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>2406401 - Disclosure - Acquisitions and divestitures (2019 and 2018 Acquisitions and Divestitures) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/AcquisitionsAndDivestitures2019And2018AcquisitionsAndDivestituresDetails</Role>
      <ShortName>Acquisitions and divestitures (2019 and 2018 Acquisitions and Divestitures) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/AcquisitionsAndDivestitures</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>2406402 - Disclosure - Acquisitions and divestitures (2017 Acquisitions and Divestitures) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/AcquisitionsAndDivestitures2017AcquisitionsAndDivestituresDetails</Role>
      <ShortName>Acquisitions and divestitures (2017 Acquisitions and Divestitures) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/AcquisitionsAndDivestitures</ParentRole>
      <Position>68</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>2407402 - Disclosure - Property and equipment (Estimated Useful Lives of Asset) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/PropertyAndEquipmentEstimatedUsefulLivesOfAssetDetails</Role>
      <ShortName>Property and equipment (Estimated Useful Lives of Asset) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>2407403 - Disclosure - Property and equipment (Narrative) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/PropertyAndEquipmentNarrativeDetails</Role>
      <ShortName>Property and equipment (Narrative) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>2407404 - Disclosure - Property and equipment (Held for Sale Asset) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/PropertyAndEquipmentHeldForSaleAssetDetails</Role>
      <ShortName>Property and equipment (Held for Sale Asset) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/PropertyAndEquipmentTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>2408402 - Disclosure - Debt (Components of Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DebtComponentsOfDebtDetails</Role>
      <ShortName>Debt (Components of Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DebtTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>2408403 - Disclosure - Debt (Maturities of Debt and Capital Leases Excluding Unamortized Debt Issuance Costs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DebtMaturitiesOfDebtAndCapitalLeasesExcludingUnamortizedDebtIssuanceCostsDetails</Role>
      <ShortName>Debt (Maturities of Debt and Capital Leases Excluding Unamortized Debt Issuance Costs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DebtTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>2408404 - Disclosure - Debt (Property and Equipment, New Credit Facility) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DebtPropertyAndEquipmentNewCreditFacilityDetails</Role>
      <ShortName>Debt (Property and Equipment, New Credit Facility) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DebtTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>2408405 - Disclosure - Debt (Other Provisions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DebtOtherProvisionsDetails</Role>
      <ShortName>Debt (Other Provisions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DebtTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>2408406 - Disclosure - Debt (Senior Notes) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.chaparralenergy.com/role/DebtSeniorNotesDetails</Role>
      <ShortName>Debt (Senior Notes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DebtTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>2409402 - Disclosure - Derivative instruments (Summary of Derivatives Outstanding) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DerivativeInstrumentsSummaryOfDerivativesOutstandingDetails</Role>
      <ShortName>Derivative instruments (Summary of Derivatives Outstanding) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DerivativeInstrumentsTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>2409403 - Disclosure - Derivative instruments (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DerivativeInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Derivative instruments (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DerivativeInstrumentsTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>2409404 - Disclosure - Derivative instruments (Derivative Instruments Recorded on the Balance Sheet at Fair Value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DerivativeInstrumentsDerivativeInstrumentsRecordedOnBalanceSheetAtFairValueDetails</Role>
      <ShortName>Derivative instruments (Derivative Instruments Recorded on the Balance Sheet at Fair Value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DerivativeInstrumentsTables</ParentRole>
      <Position>79</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>2409405 - Disclosure - Derivative instruments (Non-hedge Derivative Gains (Losses) in the Consolidated Statements of Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DerivativeInstrumentsNonHedgeDerivativeGainsLossesInConsolidatedStatementsOfOperationsDetails</Role>
      <ShortName>Derivative instruments (Non-hedge Derivative Gains (Losses) in the Consolidated Statements of Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DerivativeInstrumentsTables</ParentRole>
      <Position>80</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>2410402 - Disclosure - Fair value measurements (Recurring Fair Value Measurements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsRecurringFairValueMeasurementsDetails</Role>
      <ShortName>Fair value measurements (Recurring Fair Value Measurements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>81</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>2410403 - Disclosure - Fair value measurements (Level 3 Rollforward) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsLevel3RollforwardDetails</Role>
      <ShortName>Fair value measurements (Level 3 Rollforward) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>82</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>2410404 - Disclosure - Fair value measurements (Nonrecurring Fair Value Measurements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsNonrecurringFairValueMeasurementsDetails</Role>
      <ShortName>Fair value measurements (Nonrecurring Fair Value Measurements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>2410405 - Disclosure - Fair value measurements (Fair Value of Other Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsFairValueOfOtherFinancialInstrumentsDetails</Role>
      <ShortName>Fair value measurements (Fair Value of Other Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>2410406 - Disclosure - Fair value measurements (Concentrations of Credit Risk) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsConcentrationsOfCreditRiskDetails</Role>
      <ShortName>Fair value measurements (Concentrations of Credit Risk) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>2410407 - Disclosure - Fair value measurements (Derivatives Offset in the Consolidated Balance Sheets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsDerivativesOffsetInConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Fair value measurements (Derivatives Offset in the Consolidated Balance Sheets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>2410408 - Disclosure - Fair value measurements (Percentages of Total Commodity Sales Excluding Effects of Hedging Activities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/FairValueMeasurementsPercentagesOfTotalCommoditySalesExcludingEffectsOfHedgingActivitiesDetails</Role>
      <ShortName>Fair value measurements (Percentages of Total Commodity Sales Excluding Effects of Hedging Activities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/FairValueMeasurementsTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>2411402 - Disclosure - Asset retirement obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/AssetRetirementObligationsDetails</Role>
      <ShortName>Asset retirement obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/AssetRetirementObligationsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>2412402 - Disclosure - Income taxes (Component of Income Tax (Benefit) Expense from Continuing Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/IncomeTaxesComponentOfIncomeTaxBenefitExpenseFromContinuingOperationsDetails</Role>
      <ShortName>Income taxes (Component of Income Tax (Benefit) Expense from Continuing Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/IncomeTaxesTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>2412403 - Disclosure - Income taxes (Rate Reconciliation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/IncomeTaxesRateReconciliationDetails</Role>
      <ShortName>Income taxes (Rate Reconciliation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/IncomeTaxesTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>2412404 - Disclosure - Income taxes (Components of Deferred Tax Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/IncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income taxes (Components of Deferred Tax Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/IncomeTaxesTables</ParentRole>
      <Position>91</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>2412405 - Disclosure - Income taxes (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/IncomeTaxesAdditionalInformationDetails</Role>
      <ShortName>Income taxes (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/IncomeTaxesTables</ParentRole>
      <Position>92</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>2413402 - Disclosure - Deferred compensation (Cash Awards) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationCashAwardsDetails</Role>
      <ShortName>Deferred compensation (Cash Awards) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>93</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>2413403 - Disclosure - Deferred compensation (Equity Awards) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationEquityAwardsDetails</Role>
      <ShortName>Deferred compensation (Equity Awards) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>94</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>2413404 - Disclosure - Deferred compensation (Restricted Stock Awards) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationRestrictedStockAwardsDetails</Role>
      <ShortName>Deferred compensation (Restricted Stock Awards) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>2413405 - Disclosure - Deferred compensation (Restricted Stock Units) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationRestrictedStockUnitsDetails</Role>
      <ShortName>Deferred compensation (Restricted Stock Units) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>2413406 - Disclosure - Deferred compensation (Companywide Stock Award) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationCompanywideStockAwardDetails</Role>
      <ShortName>Deferred compensation (Companywide Stock Award) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>2413407 - Disclosure - Deferred compensation (Stock-based compensation cost) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationStockBasedCompensationCostDetails</Role>
      <ShortName>Deferred compensation (Stock-based compensation cost) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>2413408 - Disclosure - Deferred compensation (Valuation Assumptions for Market Awards) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DeferredCompensationValuationAssumptionsForMarketAwardsDetails</Role>
      <ShortName>Deferred compensation (Valuation Assumptions for Market Awards) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DeferredCompensationTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>2414402 - Disclosure - Stockholders' equity (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/StockholdersEquityAdditionalInformationDetails</Role>
      <ShortName>Stockholders' equity (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/StockholdersEquityTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>2414403 - Disclosure - Stockholders' equity (Summary of Changes in Common Shares Outstanding) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/StockholdersEquitySummaryOfChangesInCommonSharesOutstandingDetails</Role>
      <ShortName>Stockholders' equity (Summary of Changes in Common Shares Outstanding) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/StockholdersEquityTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>2415402 - Disclosure - Retirement benefits (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RetirementBenefitsAdditionalInformationDetails</Role>
      <ShortName>Retirement benefits (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RetirementBenefitsTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>2415403 - Disclosure - Retirement benefits (Summary of Contribution Expense) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RetirementBenefitsSummaryOfContributionExpenseDetails</Role>
      <ShortName>Retirement benefits (Summary of Contribution Expense) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RetirementBenefitsTables</ParentRole>
      <Position>103</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>2416402 - Disclosure - Revenue recognition (Revenue Disaggregated) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RevenueRecognitionRevenueDisaggregatedDetails</Role>
      <ShortName>Revenue recognition (Revenue Disaggregated) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RevenueRecognitionTables</ParentRole>
      <Position>104</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>2416403 - Disclosure - Revenue recognition (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RevenueRecognitionAdditionalInformationDetails</Role>
      <ShortName>Revenue recognition (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RevenueRecognitionTables</ParentRole>
      <Position>105</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>2416404 - Disclosure - Revenue recognition (Impact of Adoption) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/RevenueRecognitionImpactOfAdoptionDetails</Role>
      <ShortName>Revenue recognition (Impact of Adoption) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/RevenueRecognitionTables</ParentRole>
      <Position>106</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>2417402 - Disclosure - Leases (Financing Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesFinancingLeasesDetails</Role>
      <ShortName>Leases (Financing Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>107</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>2417403 - Disclosure - Leases (Operating Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesOperatingLeasesDetails</Role>
      <ShortName>Leases (Operating Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>108</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>2417404 - Disclosure - Leases (Short Term Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesShortTermLeasesDetails</Role>
      <ShortName>Leases (Short Term Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>109</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>2417405 - Disclosure - Leases (Balance Sheet Disclosures) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesBalanceSheetDisclosuresDetails</Role>
      <ShortName>Leases (Balance Sheet Disclosures) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>110</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>2417406 - Disclosure - Leases (Lease Assets and Liabilities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesLeaseAssetsAndLiabilitiesDetails</Role>
      <ShortName>Leases (Lease Assets and Liabilities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>111</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>2417407 - Disclosure - Leases (Lease Assets and Liabilities, Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesLeaseAssetsAndLiabilitiesAdditionalInformationDetails</Role>
      <ShortName>Leases (Lease Assets and Liabilities, Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>112</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>2417408 - Disclosure - Leases (Lease Maturities) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesLeaseMaturitiesDetails</Role>
      <ShortName>Leases (Lease Maturities) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>113</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>2417409 - Disclosure - Leases (Impact of Adoption) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/LeasesImpactOfAdoptionDetails</Role>
      <ShortName>Leases (Impact of Adoption) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/LeasesTables</ParentRole>
      <Position>114</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>2418401 - Disclosure - Commitments and contingencies (Letters of Credit) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/CommitmentsAndContingenciesLettersOfCreditDetails</Role>
      <ShortName>Commitments and contingencies (Letters of Credit) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>115</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>2418402 - Disclosure - Commitments and contingencies (Litigation and Claims) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/CommitmentsAndContingenciesLitigationAndClaimsDetails</Role>
      <ShortName>Commitments and contingencies (Litigation and Claims) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/CommitmentsAndContingencies</ParentRole>
      <Position>116</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>2419402 - Disclosure - Oil and natural gas activities (unaudited) (Costs Incurred) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedCostsIncurredDetails</Role>
      <ShortName>Oil and natural gas activities (unaudited) (Costs Incurred) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>117</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>2419403 - Disclosure - Oil and natural gas activities (unaudited) (Depreciation, Depletion and Amortization) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedDepreciationDepletionAndAmortizationDetails</Role>
      <ShortName>Oil and natural gas activities (unaudited) (Depreciation, Depletion and Amortization) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>118</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>2419404 - Disclosure - Oil and natural gas activities (unaudited) (Oil and Natural Gas Properties not Subject to Amortization) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedOilAndNaturalGasPropertiesNotSubjectToAmortizationDetails</Role>
      <ShortName>Oil and natural gas activities (unaudited) (Oil and Natural Gas Properties not Subject to Amortization) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>119</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R120.htm</HtmlFileName>
      <LongName>2419405 - Disclosure - Oil and natural gas activities (unaudited) (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedAdditionalInformationDetails</Role>
      <ShortName>Oil and natural gas activities (unaudited) (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/OilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>120</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R121.htm</HtmlFileName>
      <LongName>2420402 - Disclosure - Disclosures about oil and natural gas activities (unaudited) (Summary of Changes in Quantities of Proved Reserves) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedSummaryOfChangesInQuantitiesOfProvedReservesDetails</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited) (Summary of Changes in Quantities of Proved Reserves) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>121</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R122.htm</HtmlFileName>
      <LongName>2420403 - Disclosure - Disclosures about oil and natural gas activities (unaudited) (Standardized Measure of Discounted Future Net Cash Flows) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedStandardizedMeasureOfDiscountedFutureNetCashFlowsDetails</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited) (Standardized Measure of Discounted Future Net Cash Flows) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>122</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R123.htm</HtmlFileName>
      <LongName>2420404 - Disclosure - Disclosures about oil and natural gas activities (unaudited) (Changes in Standardized Measure of Discounted Future Net Cash Flows) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedChangesInStandardizedMeasureOfDiscountedFutureNetCashFlowsDetails</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited) (Changes in Standardized Measure of Discounted Future Net Cash Flows) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>123</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R124.htm</HtmlFileName>
      <LongName>2420405 - Disclosure - Disclosures about oil and natural gas activities (unaudited) (Prices Used in Determining Future Net Revenues) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedPricesUsedInDeterminingFutureNetRevenuesDetails</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited) (Prices Used in Determining Future Net Revenues) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/DisclosuresAboutOilAndNaturalGasActivitiesUnauditedTables</ParentRole>
      <Position>124</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R125.htm</HtmlFileName>
      <LongName>2432402 - Disclosure - Supplemental quarterly financial information (unaudited) (Unaudited Interim Operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnauditedUnauditedInterimOperationsDetails</Role>
      <ShortName>Supplemental quarterly financial information (unaudited) (Unaudited Interim Operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnauditedTables</ParentRole>
      <Position>125</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R126.htm</HtmlFileName>
      <LongName>2432403 - Disclosure - Supplemental quarterly financial information (unaudited) (Additional Information) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnauditedAdditionalInformationDetails</Role>
      <ShortName>Supplemental quarterly financial information (unaudited) (Additional Information) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/role/SupplementalQuarterlyFinancialInformationUnauditedTables</ParentRole>
      <Position>126</Position>
    </Report>
    <Report instance="chpe-20191231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9999.htm</HtmlFileName>
      <LongName>Uncategorized Items - chpe-20191231.xml</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/role/uncategorizedFacts</Role>
      <ShortName>Uncategorized Items - chpe-20191231.xml</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>127</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File>chpe-20191231.xml</File>
    <File>chpe-20191231.xsd</File>
    <File>chpe-20191231_cal.xml</File>
    <File>chpe-20191231_def.xml</File>
    <File>chpe-20191231_lab.xml</File>
    <File>chpe-20191231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://fasb.org/us-gaap/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2018-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/srt/2018-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
