<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.24.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>285</ContextCount>
  <ElementCount>248</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>75</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>7</UnitCount>
  <MyReports>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R1.htm</HtmlFileName>
      <LongName>0000001 - Document - Cover Page</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CoverPage</Role>
      <ShortName>Cover Page</ShortName>
      <MenuCategory>Cover</MenuCategory>
      <Position>1</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOME</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R3.htm</HtmlFileName>
      <LongName>9952152 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETS</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>3</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R4.htm</HtmlFileName>
      <LongName>9952153 - Statement - CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDBALANCESHEETSParenthetical</Role>
      <ShortName>CONDENSED CONSOLIDATED BALANCE SHEETS (Parenthetical)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>4</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R5.htm</HtmlFileName>
      <LongName>9952154 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSTOCKHOLDERSEQUITY</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF STOCKHOLDERS' EQUITY</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>5</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R6.htm</HtmlFileName>
      <LongName>9952155 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCASHFLOWS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF CASH FLOWS</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>6</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R7.htm</HtmlFileName>
      <LongName>9952156 - Disclosure - BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIES</Role>
      <ShortName>BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>7</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R8.htm</HtmlFileName>
      <LongName>9952157 - Disclosure - FINANCIAL INSTRUMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FINANCIALINSTRUMENTS</Role>
      <ShortName>FINANCIAL INSTRUMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>8</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R9.htm</HtmlFileName>
      <LongName>9952158 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATION</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>9</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R10.htm</HtmlFileName>
      <LongName>9952159 - Disclosure - FAIR VALUE MEASUREMENTS</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FAIRVALUEMEASUREMENTS</Role>
      <ShortName>FAIR VALUE MEASUREMENTS</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>10</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R11.htm</HtmlFileName>
      <LongName>9952160 - Disclosure - DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIES</Role>
      <ShortName>DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>11</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R12.htm</HtmlFileName>
      <LongName>9952161 - Disclosure - DEBT</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DEBT</Role>
      <ShortName>DEBT</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>12</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R13.htm</HtmlFileName>
      <LongName>9952162 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOME</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>13</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATION</Role>
      <ShortName>REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R15.htm</HtmlFileName>
      <LongName>9952164 - Disclosure - STOCK-BASED COMPENSATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/STOCKBASEDCOMPENSATION</Role>
      <ShortName>STOCK-BASED COMPENSATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>15</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - RESTRUCTURING</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/RESTRUCTURING</Role>
      <ShortName>RESTRUCTURING</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - Disclosure - EARNINGS PER COMMON SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/EARNINGSPERCOMMONSHARE</Role>
      <ShortName>EARNINGS PER COMMON SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>17</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - COMMITMENTS AND CONTINGENCIES</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/COMMITMENTSANDCONTINGENCIES</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.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>19</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.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>20</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9954471 - Disclosure - BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES (Policies)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIESPolicies</Role>
      <ShortName>BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES (Policies)</ShortName>
      <MenuCategory>Policies</MenuCategory>
      <Position>21</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9954472 - Disclosure - BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIESTables</Role>
      <ShortName>BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIES</ParentRole>
      <Position>22</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9954473 - Disclosure - FINANCIAL INSTRUMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FINANCIALINSTRUMENTSTables</Role>
      <ShortName>FINANCIAL INSTRUMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/FINANCIALINSTRUMENTS</ParentRole>
      <Position>23</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9954474 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONTables</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATION</ParentRole>
      <Position>24</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9954475 - Disclosure - FAIR VALUE MEASUREMENTS (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSTables</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/FAIRVALUEMEASUREMENTS</ParentRole>
      <Position>25</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9954476 - Disclosure - DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIESTables</Role>
      <ShortName>DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIES</ParentRole>
      <Position>26</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9954477 - Disclosure - DEBT (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DEBTTables</Role>
      <ShortName>DEBT (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/DEBT</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9954478 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMETables</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOME</ParentRole>
      <Position>28</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9954479 - Disclosure - REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATIONTables</Role>
      <ShortName>REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATION</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9954480 - Disclosure - STOCK-BASED COMPENSATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/STOCKBASEDCOMPENSATIONTables</Role>
      <ShortName>STOCK-BASED COMPENSATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/STOCKBASEDCOMPENSATION</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9954481 - Disclosure - RESTRUCTURING (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/RESTRUCTURINGTables</Role>
      <ShortName>RESTRUCTURING (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/RESTRUCTURING</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9954482 - Disclosure - EARNINGS PER COMMON SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/EARNINGSPERCOMMONSHARETables</Role>
      <ShortName>EARNINGS PER COMMON SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/EARNINGSPERCOMMONSHARE</ParentRole>
      <Position>32</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9954483 - Disclosure - BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails</Role>
      <ShortName>BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIESTables</ParentRole>
      <Position>33</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9954484 - Disclosure - BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES - Schedule of Error Corrections and Prior Period Adjustments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIESScheduleofErrorCorrectionsandPriorPeriodAdjustmentsDetails</Role>
      <ShortName>BUSINESS OVERVIEW AND SIGNIFICANT ACCOUNTING POLICIES - Schedule of Error Corrections and Prior Period Adjustments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>34</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9954485 - Disclosure - FINANCIAL INSTRUMENTS - Schedule of Cash, Cash Equivalents and Available-for-Sale Securities by Significant Investment Category (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FINANCIALINSTRUMENTSScheduleofCashCashEquivalentsandAvailableforSaleSecuritiesbySignificantInvestmentCategoryDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS - Schedule of Cash, Cash Equivalents and Available-for-Sale Securities by Significant Investment Category (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>35</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9954486 - Disclosure - FINANCIAL INSTRUMENTS - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FINANCIALINSTRUMENTSNarrativeDetails</Role>
      <ShortName>FINANCIAL INSTRUMENTS - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>36</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9954487 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Inventory (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofInventoryDetails</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Inventory (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>37</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9954488 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Property, Plant and Equipment, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofPropertyPlantandEquipmentNetDetails</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Property, Plant and Equipment, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>38</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9954489 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONNarrativeDetails</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>39</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9954490 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Intangible Assets, Net (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofIntangibleAssetsNetDetails</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Intangible Assets, Net (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>40</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9954491 - Disclosure - SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Accounts Payable and Accrued Liabilities (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SUPPLEMENTALFINANCIALSTATEMENTSINFORMATIONScheduleofAccountsPayableandAccruedLiabilitiesDetails</Role>
      <ShortName>SUPPLEMENTAL FINANCIAL STATEMENTS INFORMATION - Schedule of Accounts Payable and Accrued Liabilities (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>41</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9954492 - Disclosure - FAIR VALUE MEASUREMENTS (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSDetails</Role>
      <ShortName>FAIR VALUE MEASUREMENTS (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/FAIRVALUEMEASUREMENTSTables</ParentRole>
      <Position>42</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9954493 - Disclosure - DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIESNarrativeDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>43</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9954494 - Disclosure - DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Schedule of Aggregate Notional Amounts for the Derivatives Outstanding (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIESScheduleofAggregateNotionalAmountsfortheDerivativesOutstandingDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Schedule of Aggregate Notional Amounts for the Derivatives Outstanding (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>44</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9954495 - Disclosure - DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Schedule of Fair Value Carrying Amounts of Derivatives (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIESScheduleofFairValueCarryingAmountsofDerivativesDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Schedule of Fair Value Carrying Amounts of Derivatives (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>45</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9954496 - Disclosure - DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Schedule of Impact of Gains and Losses from Derivatives Designated and Not Designated as Hedging Instruments (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DERIVATIVEINSTRUMENTSANDHEDGINGSTRATEGIESScheduleofImpactofGainsandLossesfromDerivativesDesignatedandNotDesignatedasHedgingInstrumentsDetails</Role>
      <ShortName>DERIVATIVE INSTRUMENTS AND HEDGING STRATEGIES - Schedule of Impact of Gains and Losses from Derivatives Designated and Not Designated as Hedging Instruments (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>46</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9954497 - Disclosure - DEBT - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DEBTNarrativeDetails</Role>
      <ShortName>DEBT - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9954498 - Disclosure - DEBT - Schedule of Convertible Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DEBTScheduleofConvertibleDebtDetails</Role>
      <ShortName>DEBT - Schedule of Convertible Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9954499 - Disclosure - DEBT - Schedule of Interest Expense on Convertible Debt (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/DEBTScheduleofInterestExpenseonConvertibleDebtDetails</Role>
      <ShortName>DEBT - Schedule of Interest Expense on Convertible Debt (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9954500 - Disclosure - ACCUMULATED OTHER COMPREHENSIVE INCOME (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMEDetails</Role>
      <ShortName>ACCUMULATED OTHER COMPREHENSIVE INCOME (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/ACCUMULATEDOTHERCOMPREHENSIVEINCOMETables</ParentRole>
      <Position>50</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9954501 - Disclosure - REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATIONNarrativeDetails</Role>
      <ShortName>REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATIONTables</ParentRole>
      <Position>51</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9954502 - Disclosure - REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Schedule of Disaggregation of Total Net Product Revenues by Product (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATIONScheduleofDisaggregationofTotalNetProductRevenuesbyProductDetails</Role>
      <ShortName>REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Schedule of Disaggregation of Total Net Product Revenues by Product (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>52</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9954503 - Disclosure - REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Schedule of Disaggregation of Total Net Product Revenues by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATIONScheduleofDisaggregationofTotalNetProductRevenuesbyGeographicRegionDetails</Role>
      <ShortName>REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Schedule of Disaggregation of Total Net Product Revenues by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>53</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9954504 - Disclosure - REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Schedule of Total Net Product Revenue Concentrations Attributed to Largest Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/REVENUECREDITCONCENTRATIONSANDGEOGRAPHICINFORMATIONScheduleofTotalNetProductRevenueConcentrationsAttributedtoLargestCustomersDetails</Role>
      <ShortName>REVENUE, CREDIT CONCENTRATIONS AND GEOGRAPHIC INFORMATION - Schedule of Total Net Product Revenue Concentrations Attributed to Largest Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>54</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9954505 - Disclosure - STOCK-BASED COMPENSATION (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/STOCKBASEDCOMPENSATIONDetails</Role>
      <ShortName>STOCK-BASED COMPENSATION (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/STOCKBASEDCOMPENSATIONTables</ParentRole>
      <Position>55</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9954506 - Disclosure - RESTRUCTURING - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/RESTRUCTURINGNarrativeDetails</Role>
      <ShortName>RESTRUCTURING - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9954507 - Disclosure - RESTRUCTURING - Schedule of Restructuring and Related Costs (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/RESTRUCTURINGScheduleofRestructuringandRelatedCostsDetails</Role>
      <ShortName>RESTRUCTURING - Schedule of Restructuring and Related Costs (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R58.htm</HtmlFileName>
      <LongName>9954508 - Disclosure - RESTRUCTURING - Schedule of Restructuring Activity (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/RESTRUCTURINGScheduleofRestructuringActivityDetails</Role>
      <ShortName>RESTRUCTURING - Schedule of Restructuring Activity (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>58</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R59.htm</HtmlFileName>
      <LongName>9954509 - Disclosure - EARNINGS PER COMMON SHARE - Schedule of Computation of Basic and Diluted Earnings Per Common Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/EARNINGSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails</Role>
      <ShortName>EARNINGS PER COMMON SHARE - Schedule of Computation of Basic and Diluted Earnings Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>59</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R60.htm</HtmlFileName>
      <LongName>9954510 - Disclosure - EARNINGS PER COMMON SHARE - Schedule of Anti-Dilutive Common Stock Excluded from Computation of Diluted Earnings Per Share (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/EARNINGSPERCOMMONSHAREScheduleofAntiDilutiveCommonStockExcludedfromComputationofDilutedEarningsPerShareDetails</Role>
      <ShortName>EARNINGS PER COMMON SHARE - Schedule of Anti-Dilutive Common Stock Excluded from Computation of Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>60</Position>
    </Report>
    <Report instance="bmrn-20240930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R61.htm</HtmlFileName>
      <LongName>9954511 - Disclosure - COMMITMENTS AND CONTINGENCIES (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/COMMITMENTSANDCONTINGENCIESDetails</Role>
      <ShortName>COMMITMENTS AND CONTINGENCIES (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/COMMITMENTSANDCONTINGENCIES</ParentRole>
      <Position>61</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-Q" isDefinitelyFs="true" isUsgaap="true" original="bmrn-20240930.htm">bmrn-20240930.htm</File>
    <File>bmrn-20240930.xsd</File>
    <File>bmrn-20240930_cal.xml</File>
    <File>bmrn-20240930_def.xml</File>
    <File>bmrn-20240930_lab.xml</File>
    <File>bmrn-20240930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="833">http://fasb.org/us-gaap/2024</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2024</BaseTaxonomy>
    <BaseTaxonomy items="19">http://xbrl.sec.gov/ecd/2024</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
