<?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:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="dvn-20260630.xsd" xlink:type="simple"/>
    <context id="duration_2026-06-30_to_2026-06-30">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001090012</identifier>
        </entity>
        <period>
            <startDate>2026-06-30</startDate>
            <endDate>2026-06-30</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2026-06-30_to_2026-06-30"
      id="Hidden_dei_EntityRegistrantName">DEVON ENERGY CORP/DE</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-485">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-06-30_to_2026-06-30"
      id="Hidden_dei_EntityCentralIndexKey">0001090012</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-496">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-497">2026-06-30</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-498">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-499">001-32318</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-500">73-1567067</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-501">THREE MEMORIAL CITY PLAZA</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-502">840 GESSNER ROAD</dei:EntityAddressAddressLine2>
    <dei:EntityAddressAddressLine3 contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-503">SUITE 1400</dei:EntityAddressAddressLine3>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-504">HOUSTON</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-505">TX</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-506">77024</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-507">(281)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-508">589-4600</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-509">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-510">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-511">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-512">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-513">Common Stock, par value $0.10 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-514">DVN</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-515">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-06-30_to_2026-06-30" id="ixv-516">false</dei:EntityEmergingGrowthCompany>
</xbrl>
