<?xml version="1.0" encoding="utf-8"?>
<xbrl
  xmlns="http://www.xbrl.org/2003/instance"
  xmlns:dei="http://xbrl.sec.gov/dei/2019-01-31"
  xmlns:link="http://www.xbrl.org/2003/linkbase"
  xmlns:xlink="http://www.w3.org/1999/xlink">
    <link:schemaRef xlink:href="medp-20200301.xsd" xlink:type="simple"/>
    <context id="c20200301to20200301">
        <entity>
            <identifier scheme="http://www.sec.gov/CIK">0001668397</identifier>
        </entity>
        <period>
            <startDate>2020-03-01</startDate>
            <endDate>2020-03-01</endDate>
        </period>
    </context>
    <dei:AmendmentFlag
      contextRef="c20200301to20200301"
      id="Fact_6d511e706efa4fc0a5c7a12759eb81d9">false</dei:AmendmentFlag>
    <dei:EntityCentralIndexKey
      contextRef="c20200301to20200301"
      id="Fact_fe60978eb8c14fadbe524f8179214acc">0001668397</dei:EntityCentralIndexKey>
    <dei:DocumentType
      contextRef="c20200301to20200301"
      id="Fact_7f1d2c0a46174d71a09c83467e985d13">8-K</dei:DocumentType>
    <dei:DocumentPeriodEndDate
      contextRef="c20200301to20200301"
      id="Fact_26d29dc172c5481f87454734b254cbbc">2020-03-01</dei:DocumentPeriodEndDate>
    <dei:EntityRegistrantName
      contextRef="c20200301to20200301"
      id="Fact_001109091d4448568d7f04c973e93390">Medpace Holdings, Inc.</dei:EntityRegistrantName>
    <dei:EntityIncorporationStateCountryCode
      contextRef="c20200301to20200301"
      id="Fact_1d47a781e6804c4c8f00d87fd7d1bda4">DE</dei:EntityIncorporationStateCountryCode>
    <dei:EntityFileNumber
      contextRef="c20200301to20200301"
      id="Fact_0c3e16d1acb44c44ba8f25c6b0dd9a47">001-37856</dei:EntityFileNumber>
    <dei:EntityTaxIdentificationNumber
      contextRef="c20200301to20200301"
      id="Fact_6e3ef07a2ffa425fb49837116546f2ac">32-0434904</dei:EntityTaxIdentificationNumber>
    <dei:EntityAddressAddressLine1
      contextRef="c20200301to20200301"
      id="Fact_ef0dc3bde9ca42fabb51e7184e34aeda">5375 MEDPACE WAY</dei:EntityAddressAddressLine1>
    <dei:EntityAddressCityOrTown
      contextRef="c20200301to20200301"
      id="Fact_85a51adaf27d49c0a4f8f355a4a85200">CINCINNATI</dei:EntityAddressCityOrTown>
    <dei:EntityAddressStateOrProvince
      contextRef="c20200301to20200301"
      id="Fact_b748d66527524ad7924eff6b9dfcc21e">OH</dei:EntityAddressStateOrProvince>
    <dei:EntityAddressPostalZipCode
      contextRef="c20200301to20200301"
      id="Fact_e6c326caf75643c4810329edc0c91af9">45227</dei:EntityAddressPostalZipCode>
    <dei:CityAreaCode
      contextRef="c20200301to20200301"
      id="Fact_063932968fa3445e895662ed1aeb8a5c">513</dei:CityAreaCode>
    <dei:LocalPhoneNumber
      contextRef="c20200301to20200301"
      id="Fact_43f146334b074b7fbacb4a5ada79458c">579-9911</dei:LocalPhoneNumber>
    <dei:WrittenCommunications
      contextRef="c20200301to20200301"
      id="Fact_52dd50df463d4402bb9530beede10a6c">false</dei:WrittenCommunications>
    <dei:SolicitingMaterial
      contextRef="c20200301to20200301"
      id="Fact_ac350e6cab1b48898aea1f24a42ce004">false</dei:SolicitingMaterial>
    <dei:PreCommencementTenderOffer
      contextRef="c20200301to20200301"
      id="Fact_947df6ebc95f4cbaa007af55e9b659bb">false</dei:PreCommencementTenderOffer>
    <dei:PreCommencementIssuerTenderOffer
      contextRef="c20200301to20200301"
      id="Fact_260186b1391e425fbae5eebbda897cad">false</dei:PreCommencementIssuerTenderOffer>
    <dei:Security12bTitle
      contextRef="c20200301to20200301"
      id="Fact_54148953e409415096f41615c9d40e80">Common Stock</dei:Security12bTitle>
    <dei:TradingSymbol
      contextRef="c20200301to20200301"
      id="Fact_378663c7136647b3a8519e546872b00a">MEDP</dei:TradingSymbol>
    <dei:SecurityExchangeName
      contextRef="c20200301to20200301"
      id="Fact_57f04441f5994e7e94985901ca61860d">NASDAQ</dei:SecurityExchangeName>
    <dei:EntityEmergingGrowthCompany
      contextRef="c20200301to20200301"
      id="Fact_cd83b2a9e4b54d6f930d0a997bc0b5ca">false</dei:EntityEmergingGrowthCompany>
</xbrl>
