<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2023"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="md-20240509.xsd" xlink:type="simple"/>
    <context id="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0000893949</identifier>
        </entity>
        <period>
            <startDate>2024-05-09</startDate>
            <endDate>2024-05-09</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_49e9bd05-508d-4dd1-8ec7-725c6e16f209">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_dff67f0c-d8df-4549-a836-e7b45bd4e457">0000893949</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_b9039c98-bde7-44a0-9e3f-660d63a0f0ca">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_a355ef3c-6594-4bb8-b0ca-ef3dee8eceab">2024-05-09</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_d4ce4c91-20fe-40ef-81dd-dba82b1b73b9">Pediatrix Medical Group, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_6e6e905a-607b-433f-92c7-32dd32be3cd7">FL</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_115c8d85-3dc2-4446-a07b-b5f6d6485ddf">001-12111</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_7912f7bf-844d-40a6-a805-00a5ebabbeee">26-3667538</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_18ef4130-c701-4301-b6fc-71f0e91daa2e">1301 Concord Terrace</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_e23d9167-82de-416e-b17e-4037965161a4">Sunrise</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_c5c79b94-3928-415a-8d19-cb6ffc4560cc">FL</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_1ea4c67f-d385-40b5-bd35-e06ec61428eb">33323</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_2d38a642-3f7c-48fa-a93d-3a9bf1db1f7a">954</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_1c69f220-c252-43df-bf07-47c2a30992ef">384-0175</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_726a984a-af16-40ee-8883-d812b36ac17b">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_8113e0c8-c0a9-496d-8abd-c5ee6ad95b3d">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_d41acf87-db2b-4acb-8f33-3ac1911fb51e">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_25938b4b-27aa-4568-b892-d1273b8cca15">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_05790274-ecf4-4430-9d62-2a571478db5b">Common Stock, par value $.01 per share</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_fdac3ea6-a3e9-4820-a092-0dad8b1dfa5d">MD</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_15ef90b2-b8da-4af5-9a80-ef39e208ff4e">NYSE</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="C_0e2903d2-ae4a-42c2-b91e-e338ed4d8d4c"
      id="F_ba1b9270-30f9-4dc7-9a9b-dfaf02f3eee8">false</dei:EntityEmergingGrowthCompany>
</xbrl>
