<?xml version='1.0' encoding='UTF-8'?>
<FilingSummary>
  <Version>3.8.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>374</ContextCount>
  <ElementCount>577</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>132</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>27</UnitCount>
  <MyReports>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>100000 - Document - Document and Entity Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DocumentDocumentAndEntityInformation</Role>
      <ShortName>Document and Entity Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>100010 - Statement - Consolidated balance sheets</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/StatementConsolidatedBalanceSheets</Role>
      <ShortName>Consolidated balance sheets</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>100020 - Statement - Consolidated balance sheets (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/StatementConsolidatedBalanceSheetsParenthetical</Role>
      <ShortName>Consolidated balance sheets (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>100030 - Statement - Consolidated statements of operations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/StatementConsolidatedStatementsOfOperations</Role>
      <ShortName>Consolidated statements of operations</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>100040 - Statement - Consolidated statements of stockholders' equity (deficit)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/StatementConsolidatedStatementsOfStockholdersEquityDeficit</Role>
      <ShortName>Consolidated statements of stockholders' equity (deficit)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>100050 - Statement - Consolidated statements of cash flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/StatementConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Consolidated statements of cash flows</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>100060 - Disclosure - Nature of operations and summary of significant accounting policies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPolicies</Role>
      <ShortName>Nature of operations and summary of significant accounting policies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>100070 - Disclosure - Earnings Per Share</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureEarningsPerShare</Role>
      <ShortName>Earnings Per Share</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>100080 - Disclosure - Chapter 11 Reorganization</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureChapter11Reorganization</Role>
      <ShortName>Chapter 11 Reorganization</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>100090 - Disclosure - Fresh start accounting</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccounting</Role>
      <ShortName>Fresh start accounting</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>100100 - Disclosure - Supplemental disclosures to the consolidated statements of cash flows</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalDisclosuresToConsolidatedStatementsOfCashFlows</Role>
      <ShortName>Supplemental disclosures to the consolidated statements of cash flows</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>100110 - Disclosure - Acquisitions and divestitures</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAcquisitionsAndDivestitures</Role>
      <ShortName>Acquisitions and divestitures</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>100120 - Disclosure - Property and equipment</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosurePropertyAndEquipment</Role>
      <ShortName>Property and equipment</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>100130 - Disclosure - Debt</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebt</Role>
      <ShortName>Debt</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>100140 - Disclosure - Derivative instruments</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstruments</Role>
      <ShortName>Derivative instruments</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>100150 - Disclosure - Fair value measurements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurements</Role>
      <ShortName>Fair value measurements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>100160 - Disclosure - Asset retirement obligations</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAssetRetirementObligations</Role>
      <ShortName>Asset retirement obligations</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>100170 - Disclosure - Income taxes</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxes</Role>
      <ShortName>Income taxes</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>100180 - Disclosure - Deferred compensation</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensation</Role>
      <ShortName>Deferred compensation</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>100190 - Disclosure - Stockholders' equity</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureStockholdersEquity</Role>
      <ShortName>Stockholders' equity</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>100200 - Disclosure - Retirement benefits</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureRetirementBenefits</Role>
      <ShortName>Retirement benefits</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>100210 - Disclosure - Commitments and contingencies</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureCommitmentsAndContingencies</Role>
      <ShortName>Commitments and contingencies</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>100220 - Disclosure - Oil and natural gas activities (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesUnaudited</Role>
      <ShortName>Oil and natural gas activities (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>100230 - Disclosure - Disclosures about oil and natural gas activities (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnaudited</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>100240 - Disclosure - Supplemental quarterly financial information (unaudited)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalQuarterlyFinancialInformationUnaudited</Role>
      <ShortName>Supplemental quarterly financial information (unaudited)</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>100250 - Disclosure - Related Party Transactions</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureRelatedPartyTransactions</Role>
      <ShortName>Related Party Transactions</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>100260 - Disclosure - Nature of operations and summary of significant accounting policies (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesPolicies</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>100270 - Disclosure - Nature of operations and summary of significant accounting policies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPolicies</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>100280 - Disclosure - Earnings Per Share (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureEarningsPerShareTables</Role>
      <ShortName>Earnings Per Share (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureEarningsPerShare</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>100290 - Disclosure - Chapter 11 Reorganization (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureChapter11ReorganizationTables</Role>
      <ShortName>Chapter 11 Reorganization (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureChapter11Reorganization</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>100300 - Disclosure - Fresh start accounting (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccountingTables</Role>
      <ShortName>Fresh start accounting (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccounting</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>100310 - Disclosure - Supplemental disclosures to the consolidated statements of cash flows (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalDisclosuresToConsolidatedStatementsOfCashFlowsTables</Role>
      <ShortName>Supplemental disclosures to the consolidated statements of cash flows (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalDisclosuresToConsolidatedStatementsOfCashFlows</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>100320 - Disclosure - Property and equipment (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosurePropertyAndEquipmentTables</Role>
      <ShortName>Property and equipment (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosurePropertyAndEquipment</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>100330 - Disclosure - Debt (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</Role>
      <ShortName>Debt (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebt</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>100340 - Disclosure - Derivative instruments (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstrumentsTables</Role>
      <ShortName>Derivative instruments (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstruments</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>100350 - Disclosure - Fair value measurements (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</Role>
      <ShortName>Fair value measurements (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurements</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>100360 - Disclosure - Asset retirement obligations (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAssetRetirementObligationsTables</Role>
      <ShortName>Asset retirement obligations (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAssetRetirementObligations</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>100370 - Disclosure - Income taxes (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxesTables</Role>
      <ShortName>Income taxes (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxes</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>100380 - Disclosure - Deferred compensation (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</Role>
      <ShortName>Deferred compensation (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensation</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>100390 - Disclosure - Stockholders' equity (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureStockholdersEquityTables</Role>
      <ShortName>Stockholders' equity (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureStockholdersEquity</ParentRole>
      <Position>40</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>100400 - Disclosure - Retirement Benefits (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureRetirementBenefitsTables</Role>
      <ShortName>Retirement Benefits (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>100410 - Disclosure - Commitments and contingencies (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureCommitmentsAndContingenciesTables</Role>
      <ShortName>Commitments and contingencies (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureCommitmentsAndContingencies</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>100420 - Disclosure - Oil and natural gas activities (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesUnauditedTables</Role>
      <ShortName>Oil and natural gas activities (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesUnaudited</ParentRole>
      <Position>43</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>100430 - Disclosure - Disclosures about oil and natural gas activities (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnauditedTables</Role>
      <ShortName>Disclosures about oil and natural gas activities (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnaudited</ParentRole>
      <Position>44</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>100440 - Disclosure - Supplemental quarterly financial information (unaudited) (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalQuarterlyFinancialInformationUnauditedTables</Role>
      <ShortName>Supplemental quarterly financial information (unaudited) (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalQuarterlyFinancialInformationUnaudited</ParentRole>
      <Position>45</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>100450 - Disclosure - Nature of operations and summary of significant accounting policies (Cash and Accounts Receivable) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesCashAndAccountsReceivableDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Cash and Accounts Receivable) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>46</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>100460 - Disclosure - Nature of operations and summary of significant accounting policies (Inventories) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesInventoriesDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Inventories) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>47</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>100470 - Disclosure - Nature of operations and summary of significant accounting policies (Inventory Adjustments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesInventoryAdjustmentsDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Inventory Adjustments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>48</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>100480 - Disclosure - Nature of operations and summary of significant accounting policies--Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesPropertyAndEquipmentDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies--Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>100490 - Disclosure - Nature of operations and summary of significant accounting policies (Asset Impairment) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesAssetImpairmentDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Asset Impairment) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>100500 - Disclosure - Nature of operations and summary of significant accounting policies (Income Taxes) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesIncomeTaxesDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Income Taxes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>100510 - Disclosure - Nature of operations and summary of significant accounting policies (Gas Balancing) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesGasBalancingDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Gas Balancing) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>52</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>100520 - Disclosure - Nature of operations and summary of significant accounting policies (Stock-based Compensation) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesStockBasedCompensationDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Stock-based Compensation) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>100530 - Disclosure - Nature of operations and summary of significant accounting policies (Joint Venture) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesJointVentureDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Joint Venture) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>100540 - Disclosure - Nature of operations and summary of significant accounting policies (Cost Reduction Initiatives) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesCostReductionInitiativesDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Cost Reduction Initiatives) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>100550 - Disclosure - Nature of operations and summary of significant accounting policies (Restructuring) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesRestructuringDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Restructuring) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>56</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>100560 - Disclosure - Nature of operations and summary of significant accounting policies (Subleases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesSubleasesDetails</Role>
      <ShortName>Nature of operations and summary of significant accounting policies (Subleases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureNatureOfOperationsAndSummaryOfSignificantAccountingPoliciesTables</ParentRole>
      <Position>57</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>100570 - Disclosure - Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureEarningsPerShareScheduleOfBasicAndDilutedEarningsPerShareDetails</Role>
      <ShortName>Earnings Per Share - Schedule of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>100580 - Disclosure - Chapter 11 Reorganization - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureChapter11ReorganizationNarrativeDetails</Role>
      <ShortName>Chapter 11 Reorganization - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>100590 - Disclosure - Fresh Start Accounting - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccountingAdditionalInformationDetails</Role>
      <ShortName>Fresh Start Accounting - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>100600 - Disclosure - Fresh Start Accounting - Reconciliation of Enterprise Value to Estimated Fair Value of the Successor's Common Stock (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccountingReconciliationOfEnterpriseValueToEstimatedFairValueOfSuccessorSCommonStockDetails</Role>
      <ShortName>Fresh Start Accounting - Reconciliation of Enterprise Value to Estimated Fair Value of the Successor's Common Stock (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>100610 - Disclosure - Fresh Start Accounting - Reconciliation of Enterprise Value to Estimated Reorganization Value of the Successor's Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccountingReconciliationOfEnterpriseValueToEstimatedReorganizationValueOfSuccessorSAssetsDetails</Role>
      <ShortName>Fresh Start Accounting - Reconciliation of Enterprise Value to Estimated Reorganization Value of the Successor's Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>100620 - Disclosure - Fresh Start Accounting - Consolidated Balance Sheet (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccountingConsolidatedBalanceSheetDetails</Role>
      <ShortName>Fresh Start Accounting - Consolidated Balance Sheet (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>100630 - Disclosure - Fresh Start Accounting - Consolidated Balance Sheet (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFreshStartAccountingConsolidatedBalanceSheetParentheticalDetails</Role>
      <ShortName>Fresh Start Accounting - Consolidated Balance Sheet (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>100640 - Disclosure - Supplemental disclosures to the consolidated statements of cash flows (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalDisclosuresToConsolidatedStatementsOfCashFlowsDetails</Role>
      <ShortName>Supplemental disclosures to the consolidated statements of cash flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalDisclosuresToConsolidatedStatementsOfCashFlowsTables</ParentRole>
      <Position>65</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>100650 - Disclosure - Acquisitions and divestitures (2017 Acquisitions and divestitures) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAcquisitionsAndDivestitures2017AcquisitionsAndDivestituresDetails</Role>
      <ShortName>Acquisitions and divestitures (2017 Acquisitions and divestitures) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAcquisitionsAndDivestitures</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>100660 - Disclosure - Acquisitions and divestitures (2015 Divestitures) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAcquisitionsAndDivestitures2015DivestituresDetails</Role>
      <ShortName>Acquisitions and divestitures (2015 Divestitures) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAcquisitionsAndDivestitures</ParentRole>
      <Position>67</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>100670 - Disclosure - Property and Equipment--Components of Property and Equipment (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosurePropertyAndEquipmentComponentsOfPropertyAndEquipmentDetails</Role>
      <ShortName>Property and Equipment--Components of Property and Equipment (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>100680 - Disclosure - Debt (Components of Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtComponentsOfDebtDetails</Role>
      <ShortName>Debt (Components of Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>69</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>100700 - Disclosure - Debt (Components of Debt) (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtComponentsOfDebtParentheticalDetails</Role>
      <ShortName>Debt (Components of Debt) (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>70</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>100710 - Disclosure - Debt (Maturities of Debt and Capital Leases Excluding Unamortized Debt Issuance Costs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtMaturitiesOfDebtAndCapitalLeasesExcludingUnamortizedDebtIssuanceCostsDetails</Role>
      <ShortName>Debt (Maturities of Debt and Capital Leases Excluding Unamortized Debt Issuance Costs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>71</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>100720 - Disclosure - Debt (Chapter 11 Proceedings, Emergence and Successor Debt) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtChapter11ProceedingsEmergenceAndSuccessorDebtDetails</Role>
      <ShortName>Debt (Chapter 11 Proceedings, Emergence and Successor Debt) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>72</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>100730 - Disclosure - Debt (New Credit Facility) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtNewCreditFacilityDetails</Role>
      <ShortName>Debt (New Credit Facility) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>73</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>100740 - Disclosure - Debt (Other Provisions) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtOtherProvisionsDetails</Role>
      <ShortName>Debt (Other Provisions) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>100750 - Disclosure - Debt (Senior Notes) (Details)</LongName>
      <ReportType>Notes</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtSeniorNotesDetails</Role>
      <ShortName>Debt (Senior Notes) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>100760 - Disclosure - Debt (Premiums, Discounts and Debt Issuance Costs) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtPremiumsDiscountsAndDebtIssuanceCostsDetails</Role>
      <ShortName>Debt (Premiums, Discounts and Debt Issuance Costs) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>100770 - Disclosure - Debt (Prior Credit Facility) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtPriorCreditFacilityDetails</Role>
      <ShortName>Debt (Prior Credit Facility) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>77</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>100780 - Disclosure - Debt (Capital Leases) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtCapitalLeasesDetails</Role>
      <ShortName>Debt (Capital Leases) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDebtTables</ParentRole>
      <Position>78</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>100790 - Disclosure - Derivative instruments - Summary of derivatives outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstrumentsSummaryOfDerivativesOutstandingDetails</Role>
      <ShortName>Derivative instruments - Summary of derivatives outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R80.htm</HtmlFileName>
      <LongName>100800 - Disclosure - Derivative instruments - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstrumentsAdditionalInformationDetails</Role>
      <ShortName>Derivative instruments - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>80</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R81.htm</HtmlFileName>
      <LongName>100810 - Disclosure - Derivative Instruments (Derivative instruments recorded on the balance sheet at fair value) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstrumentsDerivativeInstrumentsRecordedOnBalanceSheetAtFairValueDetails</Role>
      <ShortName>Derivative Instruments (Derivative instruments recorded on the balance sheet at fair value) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>81</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R82.htm</HtmlFileName>
      <LongName>100820 - Disclosure - Derivative Instruments (Non-hedge derivative gains (losses) in the consolidated statements of operations) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDerivativeInstrumentsNonHedgeDerivativeGainsLossesInConsolidatedStatementsOfOperationsDetails</Role>
      <ShortName>Derivative Instruments (Non-hedge derivative gains (losses) in the consolidated statements of operations) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>82</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R83.htm</HtmlFileName>
      <LongName>100830 - Disclosure - Fair value measurements (Recurring Fair Value Measurements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsRecurringFairValueMeasurementsDetails</Role>
      <ShortName>Fair value measurements (Recurring Fair Value Measurements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>83</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R84.htm</HtmlFileName>
      <LongName>100840 - Disclosure - Fair value measurements (Level 3 Rollforward) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsLevel3RollforwardDetails</Role>
      <ShortName>Fair value measurements (Level 3 Rollforward) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>84</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R85.htm</HtmlFileName>
      <LongName>100850 - Disclosure - Fair value measurements (Nonrecurring Fair Value Measurements) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsNonrecurringFairValueMeasurementsDetails</Role>
      <ShortName>Fair value measurements (Nonrecurring Fair Value Measurements) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>85</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R86.htm</HtmlFileName>
      <LongName>100860 - Disclosure - Fair value measurements (Fair Value of Other Financial Instruments) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsFairValueOfOtherFinancialInstrumentsDetails</Role>
      <ShortName>Fair value measurements (Fair Value of Other Financial Instruments) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>86</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R87.htm</HtmlFileName>
      <LongName>100870 - Disclosure - Fair value measurements (Counterparty Credit Risk) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsCounterpartyCreditRiskDetails</Role>
      <ShortName>Fair value measurements (Counterparty Credit Risk) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>87</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R88.htm</HtmlFileName>
      <LongName>100880 - Disclosure - Fair value measurements (Derivatives Offset in the Consolidated Balance Sheets) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsDerivativesOffsetInConsolidatedBalanceSheetsDetails</Role>
      <ShortName>Fair value measurements (Derivatives Offset in the Consolidated Balance Sheets) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>88</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R89.htm</HtmlFileName>
      <LongName>100890 - Disclosure - Fair value measurements (Percentages of Total Commodity Sales Excluding Effects of Hedging Activities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureFairValueMeasurementsPercentagesOfTotalCommoditySalesExcludingEffectsOfHedgingActivitiesDetails</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/20171231/taxonomy/role/DisclosureFairValueMeasurementsTables</ParentRole>
      <Position>89</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R90.htm</HtmlFileName>
      <LongName>100900 - Disclosure - Asset retirement obligations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAssetRetirementObligationsDetails</Role>
      <ShortName>Asset retirement obligations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureAssetRetirementObligationsTables</ParentRole>
      <Position>90</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R91.htm</HtmlFileName>
      <LongName>100910 - Disclosure - Income Taxes--Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxesNarrativeDetails</Role>
      <ShortName>Income Taxes--Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>91</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R92.htm</HtmlFileName>
      <LongName>100920 - Disclosure - Income Taxes--Component of Income Tax (Benefit) Expense from Continuing Operations (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxesComponentOfIncomeTaxBenefitExpenseFromContinuingOperationsDetails</Role>
      <ShortName>Income Taxes--Component of Income Tax (Benefit) Expense from Continuing Operations (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>92</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R93.htm</HtmlFileName>
      <LongName>100930 - Disclosure - Income Taxes--Rate Reconciliation (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxesRateReconciliationDetails</Role>
      <ShortName>Income Taxes--Rate Reconciliation (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>93</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R94.htm</HtmlFileName>
      <LongName>100940 - Disclosure - Income Taxes--Components of Deferred Tax Assets and Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureIncomeTaxesComponentsOfDeferredTaxAssetsAndLiabilitiesDetails</Role>
      <ShortName>Income Taxes--Components of Deferred Tax Assets and Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>94</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R95.htm</HtmlFileName>
      <LongName>100950 - Disclosure - Deferred compensation (Phantom Stock Plan and Restricted Stock Unit Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationPhantomStockPlanAndRestrictedStockUnitPlanDetails</Role>
      <ShortName>Deferred compensation (Phantom Stock Plan and Restricted Stock Unit Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>95</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R96.htm</HtmlFileName>
      <LongName>100960 - Disclosure - Deferred compensation (Cash Incentive Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationCashIncentivePlanDetails</Role>
      <ShortName>Deferred compensation (Cash Incentive Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>96</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R97.htm</HtmlFileName>
      <LongName>100970 - Disclosure - Deferred compensation (2010 Equity Incentive Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensation2010EquityIncentivePlanDetails</Role>
      <ShortName>Deferred compensation (2010 Equity Incentive Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>97</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R98.htm</HtmlFileName>
      <LongName>100980 - Disclosure - Deferred compensation (2017 Management Incentive Plan) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensation2017ManagementIncentivePlanDetails</Role>
      <ShortName>Deferred compensation (2017 Management Incentive Plan) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>98</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R99.htm</HtmlFileName>
      <LongName>100990 - Disclosure - Deferred compensation (2017 Management Incentive Plan) (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensation2017ManagementIncentivePlanParentheticalDetails</Role>
      <ShortName>Deferred compensation (2017 Management Incentive Plan) (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>99</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R100.htm</HtmlFileName>
      <LongName>101000 - Disclosure - Deferred compensation (Companywide Stock Award) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationCompanywideStockAwardDetails</Role>
      <ShortName>Deferred compensation (Companywide Stock Award) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>100</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R101.htm</HtmlFileName>
      <LongName>101010 - Disclosure - Deferred compensation (Stock-based compensation cost) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationStockBasedCompensationCostDetails</Role>
      <ShortName>Deferred compensation (Stock-based compensation cost) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureDeferredCompensationTables</ParentRole>
      <Position>101</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R102.htm</HtmlFileName>
      <LongName>101020 - Disclosure - Stockholders' equity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureStockholdersEquityDetails</Role>
      <ShortName>Stockholders' equity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureStockholdersEquityTables</ParentRole>
      <Position>102</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R103.htm</HtmlFileName>
      <LongName>101030 - Disclosure - Stockholders' equity - Summary of Changes in Common Shares Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureStockholdersEquitySummaryOfChangesInCommonSharesOutstandingDetails</Role>
      <ShortName>Stockholders' equity - Summary of Changes in Common Shares Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>103</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R104.htm</HtmlFileName>
      <LongName>101040 - Disclosure - Retirement Benefits - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureRetirementBenefitsAdditionalInformationDetails</Role>
      <ShortName>Retirement Benefits - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>104</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R105.htm</HtmlFileName>
      <LongName>101050 - Disclosure - Retirement Benefits- Summary of Contribution Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureRetirementBenefitsSummaryOfContributionExpenseDetails</Role>
      <ShortName>Retirement Benefits- Summary of Contribution Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>105</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R106.htm</HtmlFileName>
      <LongName>101060 - Disclosure - Commitments and Contingencies - Additional information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureCommitmentsAndContingenciesAdditionalInformationDetails</Role>
      <ShortName>Commitments and Contingencies - Additional information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>106</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R107.htm</HtmlFileName>
      <LongName>101070 - Disclosure - Commitments and Contingencies - Operating Lease Schedule (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureCommitmentsAndContingenciesOperatingLeaseScheduleDetails</Role>
      <ShortName>Commitments and Contingencies - Operating Lease Schedule (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>107</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R108.htm</HtmlFileName>
      <LongName>101080 - Disclosure - Oil and Natural Gas Activities--Costs Incurred (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesCostsIncurredDetails</Role>
      <ShortName>Oil and Natural Gas Activities--Costs Incurred (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>108</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R109.htm</HtmlFileName>
      <LongName>101090 - Disclosure - Oil and Natural Gas Activities--Depreciation, Depletion and Amortization Expense of Oil and Natural Gas Properties (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesDepreciationDepletionAndAmortizationExpenseOfOilAndNaturalGasPropertiesDetails</Role>
      <ShortName>Oil and Natural Gas Activities--Depreciation, Depletion and Amortization Expense of Oil and Natural Gas Properties (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>109</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R110.htm</HtmlFileName>
      <LongName>101100 - Disclosure - Oil and Natural Gas Activities--Oil and Natural Gas Properties not Subject to Amortization (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesOilAndNaturalGasPropertiesNotSubjectToAmortizationDetails</Role>
      <ShortName>Oil and Natural Gas Activities--Oil and Natural Gas Properties not Subject to Amortization (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>110</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R111.htm</HtmlFileName>
      <LongName>101110 - Disclosure - Oil and Natural Gas Activities--Oil and Natural Gas Properties not Subject to Amortization (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesOilAndNaturalGasPropertiesNotSubjectToAmortizationParentheticalDetails</Role>
      <ShortName>Oil and Natural Gas Activities--Oil and Natural Gas Properties not Subject to Amortization (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>111</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R112.htm</HtmlFileName>
      <LongName>101120 - Disclosure - Oil and Natural Gas Activities--Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureOilAndNaturalGasActivitiesNarrativeDetails</Role>
      <ShortName>Oil and Natural Gas Activities--Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>112</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R113.htm</HtmlFileName>
      <LongName>101130 - 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/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnauditedSummaryOfChangesInQuantitiesOfProvedReservesDetails</Role>
      <ShortName>Disclosures about Oil and Natural Gas Activities (Unaudited)--Summary of Changes in Quantities of Proved Reserves (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>113</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R114.htm</HtmlFileName>
      <LongName>101140 - 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/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnauditedStandardizedMeasureOfDiscountedFutureNetCashFlowsDetails</Role>
      <ShortName>Disclosures about Oil and Natural Gas Activities (Unaudited)--Standardized Measure of Discounted Future Net Cash Flows (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>114</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R115.htm</HtmlFileName>
      <LongName>101150 - 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/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnauditedChangesInStandardizedMeasureOfDiscountedFutureNetCashFlowsDetails</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>
      <Position>115</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R116.htm</HtmlFileName>
      <LongName>101160 - 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/20171231/taxonomy/role/DisclosureDisclosuresAboutOilAndNaturalGasActivitiesUnauditedPricesUsedInDeterminingFutureNetRevenuesDetails</Role>
      <ShortName>Disclosures about Oil and Natural Gas Activities (Unaudited)--Prices Used in Determining Future Net Revenues (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>116</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R117.htm</HtmlFileName>
      <LongName>101170 - Disclosure - Supplemental Quarterly Financial Information (Unaudited) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalQuarterlyFinancialInformationUnauditedDetails</Role>
      <ShortName>Supplemental Quarterly Financial Information (Unaudited) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>117</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R118.htm</HtmlFileName>
      <LongName>101180 - Disclosure - Supplemental Quarterly Financial Information (Unaudited) (Parenthetical) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureSupplementalQuarterlyFinancialInformationUnauditedParentheticalDetails</Role>
      <ShortName>Supplemental Quarterly Financial Information (Unaudited) (Parenthetical) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>118</Position>
    </Report>
    <Report instance="chpe-20171231.xml">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R119.htm</HtmlFileName>
      <LongName>101190 - Disclosure - Related Party Transactions - Additional information (Detail)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.chaparralenergy.com/20171231/taxonomy/role/DisclosureRelatedPartyTransactionsAdditionalInformationDetail</Role>
      <ShortName>Related Party Transactions - Additional information (Detail)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>119</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-20171231.xml</File>
    <File>chpe-20171231.xsd</File>
    <File>chpe-20171231_cal.xml</File>
    <File>chpe-20171231_def.xml</File>
    <File>chpe-20171231_lab.xml</File>
    <File>chpe-20171231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy>http://xbrl.sec.gov/invest/2013-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://fasb.org/us-gaap/2017-01-31</BaseTaxonomy>
    <BaseTaxonomy>http://xbrl.sec.gov/dei/2014-01-31</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
