<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xml:lang="en-US"
  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="ehc-20210126.xsd" xlink:type="simple"/>
    <context id="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000785161</identifier>
        </entity>
        <period>
            <startDate>2021-01-26</startDate>
            <endDate>2021-01-26</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml80L2ZyYWc6MzgyZjhiY2UzMGI1NDhlMWI1ODFmYzg1YzMwMjUxYzcvdGFibGU6Y2NiNjFiMWI2MmEwNGViNThjNmViNThjMjZkNjU5ODUvdGFibGVyYW5nZTpjY2I2MWIxYjYyYTA0ZWI1OGM2ZWI1OGMyNmQ2NTk4NV8wLTEtMS0xLTA_feb95375-2773-429e-bd1c-4f469fc8b4fa">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml80L2ZyYWc6MzgyZjhiY2UzMGI1NDhlMWI1ODFmYzg1YzMwMjUxYzcvdGFibGU6Y2NiNjFiMWI2MmEwNGViNThjNmViNThjMjZkNjU5ODUvdGFibGVyYW5nZTpjY2I2MWIxYjYyYTA0ZWI1OGM2ZWI1OGMyNmQ2NTk4NV8xLTEtMS0xLTA_e4627d70-22d0-44fb-9af5-85f68a180536">0000785161</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjY2_9a26f616-e5a0-423c-b4d3-b0f017f68e7c">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8yMjY_d4527755-4b15-4f7e-ba91-16323a9875d6">2021-01-26</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjcx_42a046da-14d3-48c8-a22f-5a11bb749705">Encompass Health Corporation</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjcy_828360e5-e8ae-4542-9741-a0e3f4c8f788">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6OTY1N2JjMTAzNTU3NDFkNTg3MmM5N2Q5ZWQ3NDQ1ZjYvdGFibGVyYW5nZTo5NjU3YmMxMDM1NTc0MWQ1ODcyYzk3ZDllZDc0NDVmNl8wLTAtMS0xLTA_e90f00e8-a0ad-4bb8-900a-59d742971c0a">001-10315</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6OTY1N2JjMTAzNTU3NDFkNTg3MmM5N2Q5ZWQ3NDQ1ZjYvdGFibGVyYW5nZTo5NjU3YmMxMDM1NTc0MWQ1ODcyYzk3ZDllZDc0NDVmNl8wLTEtMS0xLTA_79fe2831-2a57-4957-ada7-cf00f89ec71e">63-0860407</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjY3_919488b0-cc66-471c-87a3-6a4f119b0cc1">9001 Liberty Parkway</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjY4_226268a9-25a8-4e79-a18f-7af2ee9cd31f">Birmingham</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjY0_b07d3279-2301-4c4a-b948-21fad7a06ccc">AL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjcz_f679a386-e590-4aa0-8448-a1b9b96f2a0a">35242</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjY5_6bcea846-70e0-4898-a708-1c032785be37">205</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjcw_87fd1a26-078a-4abb-b8ce-70073fab7490">967-7116</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6NzI4NGFmNTIzZWFmNGY0YTlhNDAzYzk5ODVlMDc3YWQvdGFibGVyYW5nZTo3Mjg0YWY1MjNlYWY0ZjRhOWE0MDNjOTk4NWUwNzdhZF8wLTAtMS0xLTA_c49c7a76-4715-4357-8f08-3665fb3b361d">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6NzI4NGFmNTIzZWFmNGY0YTlhNDAzYzk5ODVlMDc3YWQvdGFibGVyYW5nZTo3Mjg0YWY1MjNlYWY0ZjRhOWE0MDNjOTk4NWUwNzdhZF8yLTAtMS0xLTA_f18e445b-1bc2-463c-bbac-08e156621534">false</dei:SolicitingMaterial>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6NzI4NGFmNTIzZWFmNGY0YTlhNDAzYzk5ODVlMDc3YWQvdGFibGVyYW5nZTo3Mjg0YWY1MjNlYWY0ZjRhOWE0MDNjOTk4NWUwNzdhZF80LTAtMS0xLTA_acfcd409-c8e1-4bbc-a11b-0bad5dab8452">false</dei:PreCommencementIssuerTenderOffer>
    <dei:PreCommencementTenderOffer
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6NzI4NGFmNTIzZWFmNGY0YTlhNDAzYzk5ODVlMDc3YWQvdGFibGVyYW5nZTo3Mjg0YWY1MjNlYWY0ZjRhOWE0MDNjOTk4NWUwNzdhZF82LTAtMS0xLTA_4c7e3dda-7735-4c4f-a688-73c1021eadd5">false</dei:PreCommencementTenderOffer>
    <dei:EntityEmergingGrowthCompany
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGV4dHJlZ2lvbjo1OGI0NzdmYTllYzA0M2VmYTY1MGZkZjhjZjczMDBiNl8xMjY1_590e10e0-ba4f-4626-89f9-13f9c96725ef">false</dei:EntityEmergingGrowthCompany>
    <dei:Security12bTitle
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6OTBiNGQ2ZjdlYTA0NGFmMGI3MjJkYWQzZjhjNGMwY2UvdGFibGVyYW5nZTo5MGI0ZDZmN2VhMDQ0YWYwYjcyMmRhZDNmOGM0YzBjZV8xLTAtMS0xLTA_72f7aedc-9db8-48ae-b111-e47016f4f0f5">Common Stock, par value $0.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6OTBiNGQ2ZjdlYTA0NGFmMGI3MjJkYWQzZjhjNGMwY2UvdGFibGVyYW5nZTo5MGI0ZDZmN2VhMDQ0YWYwYjcyMmRhZDNmOGM0YzBjZV8xLTEtMS0xLTA_bfd7415e-2291-45fd-8ec9-df9c0fe51def">EHC</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="i6f87bc53e0344f95b9fc5fa4a8879e4b_D20210126-20210126"
      id="id3VybDovL2RvY3MudjEvZG9jOjgyNmUwN2E0YWJiZjQ2N2I5NDJmZWY3OTY3MGQ4MjQyL3NlYzo4MjZlMDdhNGFiYmY0NjdiOTQyZmVmNzk2NzBkODI0Ml8xL2ZyYWc6NThiNDc3ZmE5ZWMwNDNlZmE2NTBmZGY4Y2Y3MzAwYjYvdGFibGU6OTBiNGQ2ZjdlYTA0NGFmMGI3MjJkYWQzZjhjNGMwY2UvdGFibGVyYW5nZTo5MGI0ZDZmN2VhMDQ0YWYwYjcyMmRhZDNmOGM0YzBjZV8xLTItMS0xLTA_f3a2620c-714f-43f1-82d5-e90ca4c94929">NYSE</dei:SecurityExchangeName>
</xbrl>
