<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2025"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:oxy="http://oxy.com/20251002"
  xmlns:us-gaap="http://fasb.org/us-gaap/2025"
  xmlns:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="oxy-20251002.xsd" xlink:type="simple"/>
    <context id="c20251002to20251002">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797468</identifier>
        </entity>
        <period>
            <startDate>2025-10-02</startDate>
            <endDate>2025-10-02</endDate>
        </period>
    </context>
    <context id="c20251002to20251002_StatementClassOfStockAxis_CommonStockMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797468</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">us-gaap:CommonStockMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-02</startDate>
            <endDate>2025-10-02</endDate>
        </period>
    </context>
    <context id="c20251002to20251002_StatementClassOfStockAxis_WarrantsToPurchaseCommonStock020ParValueMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000797468</identifier>
            <segment>
                <xbrldi:explicitMember dimension="us-gaap:StatementClassOfStockAxis">oxy:WarrantsToPurchaseCommonStock020ParValueMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2025-10-02</startDate>
            <endDate>2025-10-02</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20251002to20251002"
      id="Fact_31ad87a50a01494087e1b2e6a8455a4b">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20251002to20251002"
      id="Fact_4405065078e9452e80bbd37ab81ca02a">0000797468</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20251002to20251002"
      id="Fact_a19f0ca79bb84b099fc3de9520ed1aa1">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20251002to20251002"
      id="Fact_4c9489604d2e413a8d80dbaf4176fa48">2025-10-02</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20251002to20251002"
      id="Fact_5041be9e8f8d4885bbc8dcadc6a83cb7">OCCIDENTAL PETROLEUM CORPORATION</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20251002to20251002"
      id="Fact_e965b007cd3f474fac8e118127b56050">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20251002to20251002"
      id="Fact_2fae507347c14787ac00a97ccb3e3130">1-9210</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20251002to20251002"
      id="Fact_6cd2fa2c7ff541af9c26906e966855b7">95-4035997</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20251002to20251002"
      id="Fact_37464e5c20bf4051a853b1505127fbc1">5 Greenway Plaza</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="c20251002to20251002"
      id="Fact_480f4247de124c7eb3a27e9075fa019e">Suite 110</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown
      contextRef="c20251002to20251002"
      id="Fact_1fea9765f23948a2b61782d1d9294115">Houston</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20251002to20251002"
      id="Fact_9eb186a5fa88497d8dc26f06d1ff2e17">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20251002to20251002"
      id="Fact_70586e6b3c6547839adfbc57cc06e184">77046</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20251002to20251002"
      id="Fact_4d96538c816b4b13a0336dbe432c9568">713</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20251002to20251002"
      id="Fact_e6d8b27622374febb051ef1fcc17f5ef">215-7000</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20251002to20251002"
      id="Fact_6e6fe16849bb4ce18902d7fb1ed9acf5">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20251002to20251002"
      id="Fact_dd7f3ef571734169840ff0fc168c5a72">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20251002to20251002"
      id="Fact_d69dcd74fe274157aa98ba26c82b5f3b">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20251002to20251002"
      id="Fact_0e7bfe9a27d040c68a4bbe088bf6a115">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20251002to20251002_StatementClassOfStockAxis_CommonStockMember"
      id="Fact_5d3a6f61d1f7473a81a2290952d6dde7">Common Stock, $0.20 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20251002to20251002_StatementClassOfStockAxis_CommonStockMember"
      id="Fact_7001a294f9c54b859d932b0be8a30c94">OXY</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20251002to20251002_StatementClassOfStockAxis_CommonStockMember"
      id="Fact_128ec8bd0c174bb3a8305b00d3bf3a6b">NYSE</dei:SecurityExchangeName>
    <dei:Security12bTitle
      contextRef="c20251002to20251002_StatementClassOfStockAxis_WarrantsToPurchaseCommonStock020ParValueMember"
      id="Fact_34675450037f444589e995612d3aa0be">Warrants to Purchase Common Stock, $0.20 par value</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20251002to20251002_StatementClassOfStockAxis_WarrantsToPurchaseCommonStock020ParValueMember"
      id="Fact_57334bc335de460eb1be2670e37f869b">OXY WS</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20251002to20251002_StatementClassOfStockAxis_WarrantsToPurchaseCommonStock020ParValueMember"
      id="Fact_9ab5d8d14dfe4a068b6569875f6882fa">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20251002to20251002"
      id="Fact_839d2ed7b3a746ddb591c20fa2a59ec4">false</dei:EntityEmergingGrowthCompany>
</xbrl>
