<?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:xbrldi="http://xbrl.org/2006/xbrldi"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dvn-20260507.xsd" xlink:type="simple"/>
    <context id="duration_2026-05-07_to_2026-05-07">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001090012</identifier>
        </entity>
        <period>
            <startDate>2026-05-07</startDate>
            <endDate>2026-05-07</endDate>
        </period>
    </context>
    <context id="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001090012</identifier>
            <segment>
                <xbrldi:explicitMember dimension="dei:EntityAddressesAddressTypeAxis">dei:FormerAddressMember</xbrldi:explicitMember>
            </segment>
        </entity>
        <period>
            <startDate>2026-05-07</startDate>
            <endDate>2026-05-07</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2026-05-07_to_2026-05-07"
      id="Hidden_dei_EntityRegistrantName">DEVON ENERGY CORP/DE</dei:EntityRegistrantName>
    <dei:CurrentFiscalYearEndDate
      contextRef="duration_2026-05-07_to_2026-05-07"
      id="Hidden_dei_CurrentFiscalYearEndDate">--12-31</dei:CurrentFiscalYearEndDate>
    <dei:AmendmentFlag
      contextRef="duration_2026-05-07_to_2026-05-07"
      id="Hidden_dei_AmendmentFlag">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-05-07_to_2026-05-07"
      id="Hidden_dei_EntityCentralIndexKey">0001090012</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_1">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_0">2026-05-07</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_15">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-488">001-32318</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-489">73-1567067</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_9">THREE MEMORIAL CITY PLAZA</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2
      contextRef="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember"
      id="Fact_6">840 GESSNER ROAD</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine2 contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_10">840 GESSNER ROAD</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3
      contextRef="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember"
      id="Fact_7">SUITE 1400</dei:EntityAddressAddressLine3>
    <dei:EntityAddressAddressLine3 contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_11">SUITE 1400</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_12">HOUSTON</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_13">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-05-07_to_2026-05-07" id="Fact_14">77024</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-498">281</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-499">589-4600</dei:LocalPhoneNumber>
    <dei:EntityAddressAddressLine1
      contextRef="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember"
      id="Fact_3">333 W. SHERIDAN AVE.</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember"
      id="Fact_4">Oklahoma CITY</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember"
      id="Fact_5">OK</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="duration_2026-05-07_to_2026-05-07_dei-EntityAddressesAddressTypeAxis_dei-FormerAddressMember"
      id="Fact_2">73102-5015</dei:EntityAddressPostalZipCode>
    <dei:WrittenCommunications contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-503">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-504">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-505">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-506">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-507">Common Stock, par value $0.10 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-508">DVN</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-509">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-05-07_to_2026-05-07" id="ixv-510">false</dei:EntityEmergingGrowthCompany>
</xbrl>
