<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2020-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="apa-20210809.xsd" xlink:type="simple"/>
    <context id="duration_2021-08-09_to_2021-08-09">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000006769</identifier>
        </entity>
        <period>
            <startDate>2021-08-09</startDate>
            <endDate>2021-08-09</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2021-08-09_to_2021-08-09"
      id="Hidden_dei_EntityRegistrantName">APACHE CORP</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2021-08-09_to_2021-08-09">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2021-08-09_to_2021-08-09"
      id="Hidden_dei_EntityCentralIndexKey">0000006769</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2021-08-09_to_2021-08-09">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2021-08-09_to_2021-08-09">2021-08-09</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2021-08-09_to_2021-08-09">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2021-08-09_to_2021-08-09">1-4300</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2021-08-09_to_2021-08-09">41-0747868</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2021-08-09_to_2021-08-09">2000 Post Oak Boulevard</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2021-08-09_to_2021-08-09">Suite 100</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2021-08-09_to_2021-08-09">Houston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2021-08-09_to_2021-08-09">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2021-08-09_to_2021-08-09">77056-4400</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2021-08-09_to_2021-08-09">(713)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2021-08-09_to_2021-08-09">296-6000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2021-08-09_to_2021-08-09">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2021-08-09_to_2021-08-09">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2021-08-09_to_2021-08-09">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2021-08-09_to_2021-08-09">false</dei:PreCommencementIssuerTenderOffer>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2021-08-09_to_2021-08-09">false</dei:EntityEmergingGrowthCompany>
</xbrl>
