<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.0.1</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>251</ContextCount>
  <ElementCount>379</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>false</FootnotesReported>
  <SegmentCount>90</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>9</UnitCount>
  <MyReports>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>0000002 - Document - Audit Information</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/AuditInformation</Role>
      <ShortName>Audit Information</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>0000003 - Statement - CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>0000004 - Statement - CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>0000005 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>0000006 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSParenthetical</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF OPERATIONS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>0000007 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>0000008 - Statement - CONSOLIDATED STATEMENTS OF SHAREHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITY</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF SHAREHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>0000009 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>0000010 - Disclosure - BASIS OF PRESENTATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/BASISOFPRESENTATION</Role>
      <ShortName>BASIS OF PRESENTATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>0000011 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>0000012 - Disclosure - CONTRACT ASSETS AND CONTRACT LIABILITIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIES</Role>
      <ShortName>CONTRACT ASSETS AND CONTRACT LIABILITIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>0000013 - Disclosure - PROPERTY AND EQUIPMENT, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/PROPERTYANDEQUIPMENTNET</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>0000014 - Disclosure - GOODWILL AND INTANGIBLE ASSETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/GOODWILLANDINTANGIBLEASSETS</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>0000015 - Disclosure - ACCRUED EXPENSES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ACCRUEDEXPENSES</Role>
      <ShortName>ACCRUED EXPENSES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>0000016 - Disclosure - SHORT-TERM DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHORTTERMDEBT</Role>
      <ShortName>SHORT-TERM DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>0000017 - Disclosure - LEASES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASES</Role>
      <ShortName>LEASES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>0000018 - Disclosure - SHAREHOLDERS??? EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITY</Role>
      <ShortName>SHAREHOLDERS??? EQUITY</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.htm</HtmlFileName>
      <LongName>0000019 - Disclosure - EMPLOYEE BENEFIT PLANS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/EMPLOYEEBENEFITPLANS</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>19</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>0000020 - Disclosure - INCOME TAXES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXES</Role>
      <ShortName>INCOME TAXES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>20</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>0000021 - Disclosure - COMMITMENTS, CONTINGENCIES, AND GUARANTEES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/COMMITMENTSCONTINGENCIESANDGUARANTEES</Role>
      <ShortName>COMMITMENTS, CONTINGENCIES, AND GUARANTEES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>0000022 - Disclosure - MISCELLANEOUS (EXPENSE) INCOME, NET</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/MISCELLANEOUSEXPENSEINCOMENET</Role>
      <ShortName>MISCELLANEOUS (EXPENSE) INCOME, NET</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>22</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>0000023 - Disclosure - RELATED PARTY TRANSACTIONS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/RELATEDPARTYTRANSACTIONS</Role>
      <ShortName>RELATED PARTY TRANSACTIONS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>23</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>0000024 - Disclosure - ENTITY WIDE DISCLOSURES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ENTITYWIDEDISCLOSURES</Role>
      <ShortName>ENTITY WIDE DISCLOSURES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>24</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>995410 - Disclosure - Pay vs Performance Disclosure</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/PvpDisclosure</Role>
      <ShortName>Pay vs Performance Disclosure</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>25</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>995445 - Disclosure - Insider Trading Arrangements</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://xbrl.sec.gov/ecd/role/InsiderTradingArrangements</Role>
      <ShortName>Insider Trading Arrangements</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>26</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>27</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - CONTRACT ASSETS AND CONTRACT LIABILITIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIESTables</Role>
      <ShortName>CONTRACT ASSETS AND CONTRACT LIABILITIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIES</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - PROPERTY AND EQUIPMENT, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/PROPERTYANDEQUIPMENTNETTables</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/PROPERTYANDEQUIPMENTNET</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - GOODWILL AND INTANGIBLE ASSETS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/GOODWILLANDINTANGIBLEASSETSTables</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/GOODWILLANDINTANGIBLEASSETS</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - ACCRUED EXPENSES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ACCRUEDEXPENSESTables</Role>
      <ShortName>ACCRUED EXPENSES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/ACCRUEDEXPENSES</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - SHORT-TERM DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHORTTERMDEBTTables</Role>
      <ShortName>SHORT-TERM DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/SHORTTERMDEBT</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - LEASES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASESTables</Role>
      <ShortName>LEASES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/LEASES</ParentRole>
      <Position>34</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - SHAREHOLDERS??? EQUITY (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYTables</Role>
      <ShortName>SHAREHOLDERS??? EQUITY (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/SHAREHOLDERSEQUITY</ParentRole>
      <Position>35</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - INCOME TAXES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESTables</Role>
      <ShortName>INCOME TAXES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/INCOMETAXES</ParentRole>
      <Position>36</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - MISCELLANEOUS (EXPENSE) INCOME, NET (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/MISCELLANEOUSEXPENSEINCOMENETTables</Role>
      <ShortName>MISCELLANEOUS (EXPENSE) INCOME, NET (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/MISCELLANEOUSEXPENSEINCOMENET</ParentRole>
      <Position>37</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - ENTITY WIDE DISCLOSURES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ENTITYWIDEDISCLOSURESTables</Role>
      <ShortName>ENTITY WIDE DISCLOSURES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.medpace.com/role/ENTITYWIDEDISCLOSURES</ParentRole>
      <Position>38</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - BASIS OF PRESENTATION - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/BASISOFPRESENTATIONDetails</Role>
      <ShortName>BASIS OF PRESENTATION - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.medpace.com/role/BASISOFPRESENTATION</ParentRole>
      <Position>39</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Computation of Basic and Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESComputationofBasicandDilutedEarningsPerShareDetails</Role>
      <ShortName>SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Computation of Basic and Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - CONTRACT ASSETS AND CONTRACT LIABILITIES - Summary of Accounts Receivable and Unbilled, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIESSummaryofAccountsReceivableandUnbilledNetDetails</Role>
      <ShortName>CONTRACT ASSETS AND CONTRACT LIABILITIES - Summary of Accounts Receivable and Unbilled, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>42</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - CONTRACT ASSETS AND CONTRACT LIABILITIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIESNarrativeDetails</Role>
      <ShortName>CONTRACT ASSETS AND CONTRACT LIABILITIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - CONTRACT ASSETS AND CONTRACT LIABILITIES - Summary of Advanced Billings (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIESSummaryofAdvancedBillingsDetails</Role>
      <ShortName>CONTRACT ASSETS AND CONTRACT LIABILITIES - Summary of Advanced Billings (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - CONTRACT ASSETS AND CONTRACT LIABILITIES - Schedule of Allowance for Doubtful Account Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/CONTRACTASSETSANDCONTRACTLIABILITIESScheduleofAllowanceforDoubtfulAccountActivityDetails</Role>
      <ShortName>CONTRACT ASSETS AND CONTRACT LIABILITIES - Schedule of Allowance for Doubtful Account Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - PROPERTY AND EQUIPMENT, NET - Summary of Property and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/PROPERTYANDEQUIPMENTNETSummaryofPropertyandEquipmentNetDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET - Summary of Property and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - PROPERTY AND EQUIPMENT, NET - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/PROPERTYANDEQUIPMENTNETNarrativeDetails</Role>
      <ShortName>PROPERTY AND EQUIPMENT, NET - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/GOODWILLANDINTANGIBLEASSETSNarrativeDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Schedule of Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/GOODWILLANDINTANGIBLEASSETSScheduleofIntangibleAssetsNetDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Schedule of Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - GOODWILL AND INTANGIBLE ASSETS - Schedule of Estimated Amortization Expense of Intangible Assets (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/GOODWILLANDINTANGIBLEASSETSScheduleofEstimatedAmortizationExpenseofIntangibleAssetsDetails</Role>
      <ShortName>GOODWILL AND INTANGIBLE ASSETS - Schedule of Estimated Amortization Expense of Intangible Assets (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - ACCRUED EXPENSES - Schedule of Accrued Expenses (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ACCRUEDEXPENSESScheduleofAccruedExpensesDetails</Role>
      <ShortName>ACCRUED EXPENSES - Schedule of Accrued Expenses (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - SHORT-TERM DEBT - Schedule of Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHORTTERMDEBTScheduleofDebtDetails</Role>
      <ShortName>SHORT-TERM DEBT - Schedule of Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - SHORT-TERM DEBT - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHORTTERMDEBTNarrativeDetails</Role>
      <ShortName>SHORT-TERM DEBT - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - LEASES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASESNarrativeDetails</Role>
      <ShortName>LEASES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - LEASES - Summary of Components of Lease Expense (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASESSummaryofComponentsofLeaseExpenseDetails</Role>
      <ShortName>LEASES - Summary of Components of Lease Expense (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>55</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - LEASES - Summary of Supplemental Cash Flow Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASESSummaryofSupplementalCashFlowInformationRelatedtoLeasesDetails</Role>
      <ShortName>LEASES - Summary of Supplemental Cash Flow Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - LEASES - Summary of Supplemental Balance Sheet Information Related to Leases (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASESSummaryofSupplementalBalanceSheetInformationRelatedtoLeasesDetails</Role>
      <ShortName>LEASES - Summary of Supplemental Balance Sheet Information Related to Leases (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - LEASES - Schedule of Lease Payments Due Related To Lease Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/LEASESScheduleofLeasePaymentsDueRelatedToLeaseLiabilitiesDetails</Role>
      <ShortName>LEASES - Schedule of Lease Payments Due Related To Lease Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - SHAREHOLDERS??? EQUITY - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYNarrativeDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - SHAREHOLDERS??? EQUITY -Schedule of Weighted-Average Assumptions Used in BSM Model to Calculate Fair Value of Options (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYScheduleofWeightedAverageAssumptionsUsedinBSMModeltoCalculateFairValueofOptionsDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY -Schedule of Weighted-Average Assumptions Used in BSM Model to Calculate Fair Value of Options (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - SHAREHOLDERS??? EQUITY - Schedule of Grant Date Fair Value and Stock-based Compensation Expense Allocated (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYScheduleofGrantDateFairValueandStockbasedCompensationExpenseAllocatedDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY - Schedule of Grant Date Fair Value and Stock-based Compensation Expense Allocated (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>61</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R62.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - SHAREHOLDERS??? EQUITY - Schedule of Stock Option Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYScheduleofStockOptionActivityDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY - Schedule of Stock Option Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>62</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R63.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - SHAREHOLDERS??? EQUITY - Schedule of Restricted Share Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYScheduleofRestrictedShareActivityDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY - Schedule of Restricted Share Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>63</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R64.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - SHAREHOLDERS??? EQUITY - Schedule of Stock Options Expected To Vest, Stock Options Exercisable, and Unvested Restricted Share Awards Expected To Vest (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYScheduleofStockOptionsExpectedToVestStockOptionsExercisableandUnvestedRestrictedShareAwardsExpectedToVestDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY - Schedule of Stock Options Expected To Vest, Stock Options Exercisable, and Unvested Restricted Share Awards Expected To Vest (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>64</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R65.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - SHAREHOLDERS??? EQUITY - Schedule of Aggregate Intrinsic Value of Stock Options Exercised, Fair Values of Awards Vested, and Share Based Liabilities Settled (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/SHAREHOLDERSEQUITYScheduleofAggregateIntrinsicValueofStockOptionsExercisedFairValuesofAwardsVestedandShareBasedLiabilitiesSettledDetails</Role>
      <ShortName>SHAREHOLDERS??? EQUITY - Schedule of Aggregate Intrinsic Value of Stock Options Exercised, Fair Values of Awards Vested, and Share Based Liabilities Settled (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>65</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R66.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - EMPLOYEE BENEFIT PLANS - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/EMPLOYEEBENEFITPLANSDetails</Role>
      <ShortName>EMPLOYEE BENEFIT PLANS - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.medpace.com/role/EMPLOYEEBENEFITPLANS</ParentRole>
      <Position>66</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R67.htm</HtmlFileName>
      <LongName>9954511 - Disclosure - INCOME TAXES - Schedule of Components of Income Before Income Taxes (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESScheduleofComponentsofIncomeBeforeIncomeTaxesDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Components of Income Before Income Taxes (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>67</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R68.htm</HtmlFileName>
      <LongName>9954512 - Disclosure - INCOME TAXES- Schedule of Income Tax Provision (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESScheduleofIncomeTaxProvisionDetails</Role>
      <ShortName>INCOME TAXES- Schedule of Income Tax Provision (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>68</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R69.htm</HtmlFileName>
      <LongName>9954513 - Disclosure - INCOME TAXES - Summary Of Difference Between Statutory Rate for Federal Income Tax and Effective Income Tax Rate (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESSummaryOfDifferenceBetweenStatutoryRateforFederalIncomeTaxandEffectiveIncomeTaxRateDetails</Role>
      <ShortName>INCOME TAXES - Summary Of Difference Between Statutory Rate for Federal Income Tax and Effective Income Tax Rate (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>69</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R70.htm</HtmlFileName>
      <LongName>9954514 - Disclosure - INCOME TAXES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESNarrativeDetails</Role>
      <ShortName>INCOME TAXES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>70</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R71.htm</HtmlFileName>
      <LongName>9954515 - Disclosure - INCOME TAXES- Schedule of Components of Company's Net Deferred Tax Asset (Liability) (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESScheduleofComponentsofCompanysNetDeferredTaxAssetLiabilityDetails</Role>
      <ShortName>INCOME TAXES- Schedule of Components of Company's Net Deferred Tax Asset (Liability) (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>71</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R72.htm</HtmlFileName>
      <LongName>9954516 - Disclosure - INCOME TAXES - Schedule of Annual Activity Related to Valuation Allowance (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESScheduleofAnnualActivityRelatedtoValuationAllowanceDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Annual Activity Related to Valuation Allowance (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>72</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R73.htm</HtmlFileName>
      <LongName>9954517 - Disclosure - INCOME TAXES - Schedule of Gross Unrecognized Tax Benefits (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/INCOMETAXESScheduleofGrossUnrecognizedTaxBenefitsDetails</Role>
      <ShortName>INCOME TAXES - Schedule of Gross Unrecognized Tax Benefits (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>73</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R74.htm</HtmlFileName>
      <LongName>9954518 - Disclosure - COMMITMENTS, CONTINGENCIES, AND GUARANTEES - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/COMMITMENTSCONTINGENCIESANDGUARANTEESDetails</Role>
      <ShortName>COMMITMENTS, CONTINGENCIES, AND GUARANTEES - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.medpace.com/role/COMMITMENTSCONTINGENCIESANDGUARANTEES</ParentRole>
      <Position>74</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R75.htm</HtmlFileName>
      <LongName>9954519 - Disclosure - MISCELLANEOUS (EXPENSE) INCOME, NET - Components of Miscellaneous Income (Expense), Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/MISCELLANEOUSEXPENSEINCOMENETComponentsofMiscellaneousIncomeExpenseNetDetails</Role>
      <ShortName>MISCELLANEOUS (EXPENSE) INCOME, NET - Components of Miscellaneous Income (Expense), Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.medpace.com/role/MISCELLANEOUSEXPENSEINCOMENETTables</ParentRole>
      <Position>75</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R76.htm</HtmlFileName>
      <LongName>9954520 - Disclosure - RELATED PARTY TRANSACTIONS - (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/RELATEDPARTYTRANSACTIONSDetails</Role>
      <ShortName>RELATED PARTY TRANSACTIONS - (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.medpace.com/role/RELATEDPARTYTRANSACTIONS</ParentRole>
      <Position>76</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R77.htm</HtmlFileName>
      <LongName>9954521 - Disclosure - ENTITY WIDE DISCLOSURES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ENTITYWIDEDISCLOSURESNarrativeDetails</Role>
      <ShortName>ENTITY WIDE DISCLOSURES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>77</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R78.htm</HtmlFileName>
      <LongName>9954522 - Disclosure - ENTITY WIDE DISCLOSURES - Summary of Property and Equipment, Net by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ENTITYWIDEDISCLOSURESSummaryofPropertyandEquipmentNetbyGeographicRegionDetails</Role>
      <ShortName>ENTITY WIDE DISCLOSURES - Summary of Property and Equipment, Net by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>78</Position>
    </Report>
    <Report instance="medp-20231231.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R79.htm</HtmlFileName>
      <LongName>9954523 - Disclosure - ENTITY WIDE DISCLOSURES - Summary of Revenue by Major Source (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.medpace.com/role/ENTITYWIDEDISCLOSURESSummaryofRevenuebyMajorSourceDetails</Role>
      <ShortName>ENTITY WIDE DISCLOSURES - Summary of Revenue by Major Source (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>79</Position>
    </Report>
    <Report>
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <LongName>All Reports</LongName>
      <ReportType>Book</ReportType>
      <ShortName>All Reports</ShortName>
    </Report>
  </MyReports>
  <InputFiles>
    <File doctype="10-K" isDefinitelyFs="true" isUsgaap="true" original="medp-20231231.htm">medp-20231231.htm</File>
    <File>medp-20231231.xsd</File>
    <File>medp-20231231_cal.xml</File>
    <File>medp-20231231_def.xml</File>
    <File>medp-20231231_lab.xml</File>
    <File>medp-20231231_pre.xml</File>
  </InputFiles>
  <SupplementalFiles>
    <File>medp-20231231_g1.jpg</File>
  </SupplementalFiles>
  <BaseTaxonomies>
    <BaseTaxonomy items="988">http://fasb.org/us-gaap/2023</BaseTaxonomy>
    <BaseTaxonomy items="40">http://xbrl.sec.gov/dei/2023</BaseTaxonomy>
    <BaseTaxonomy items="48">http://xbrl.sec.gov/ecd/2023</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
