<?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="iex-20260903.xsd" xlink:type="simple"/>
    <context id="duration_2026-09-03_to_2026-09-03">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000832101</identifier>
        </entity>
        <period>
            <startDate>2026-09-03</startDate>
            <endDate>2026-09-03</endDate>
        </period>
    </context>
    <dei:EntityRegistrantName
      contextRef="duration_2026-09-03_to_2026-09-03"
      id="Hidden_dei_EntityRegistrantName">IDEX CORP /DE/</dei:EntityRegistrantName>
    <dei:AmendmentFlag contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-270">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="duration_2026-09-03_to_2026-09-03"
      id="Hidden_dei_EntityCentralIndexKey">0000832101</dei:EntityCentralIndexKey>
    <dei:DocumentType contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-281">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-282">2026-09-03</dei:DocumentPeriodEndDate>
    <dei:EntityIncorporationStateCountryCode contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-283">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-284">1-10235</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-285">36-3555336</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1 contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-286">3100 Sanders Road</dei:EntityAddressAddressLine1>
    <dei:EntityAddressAddressLine2 contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-287">Suite&#160;301</dei:EntityAddressAddressLine2>
    <dei:EntityAddressCityOrTown contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-288">Northbrook</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-289">IL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-290">60062</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-291">(847)</dei:CityAreaCode>
    <dei:LocalPhoneNumber contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-292">498-7070</dei:LocalPhoneNumber>
    <dei:WrittenCommunications contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-293">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-294">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-295">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-296">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-297">Common Stock, par value $.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-298">IEX</dei:TradingSymbol>
    <dei:SecurityExchangeName contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-299">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany contextRef="duration_2026-09-03_to_2026-09-03" id="ixv-300">false</dei:EntityEmergingGrowthCompany>
</xbrl>
