<?xml version='1.0' encoding='utf-8'?>
<FilingSummary>
  <Version>3.25.3</Version>
  <ProcessingTime/>
  <ReportFormat>html</ReportFormat>
  <ContextCount>272</ContextCount>
  <ElementCount>239</ElementCount>
  <EntityCount>1</EntityCount>
  <FootnotesReported>true</FootnotesReported>
  <SegmentCount>68</SegmentCount>
  <ScenarioCount>0</ScenarioCount>
  <TuplesReported>false</TuplesReported>
  <UnitCount>6</UnitCount>
  <MyReports>
    <Report instance="bmrn-20250930.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-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R2.htm</HtmlFileName>
      <LongName>9952151 - Statement - CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMELOSS</Role>
      <ShortName>CONDENSED CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (LOSS)</ShortName>
      <MenuCategory>Statements</MenuCategory>
      <Position>2</Position>
    </Report>
    <Report instance="bmrn-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.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-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R14.htm</HtmlFileName>
      <LongName>9952163 - Disclosure - SEGMENT INFORMATION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATION</Role>
      <ShortName>SEGMENT INFORMATION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>14</Position>
    </Report>
    <Report instance="bmrn-20250930.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-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R16.htm</HtmlFileName>
      <LongName>9952165 - Disclosure - EARNINGS (LOSS) PER COMMON SHARE</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHARE</Role>
      <ShortName>EARNINGS (LOSS) PER COMMON SHARE</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>16</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R17.htm</HtmlFileName>
      <LongName>9952166 - 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>17</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R18.htm</HtmlFileName>
      <LongName>9952167 - Disclosure - ASSET ACQUISITION</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ASSETACQUISITION</Role>
      <ShortName>ASSET ACQUISITION</ShortName>
      <MenuCategory>Notes</MenuCategory>
      <Position>18</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R19.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>19</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R20.htm</HtmlFileName>
      <LongName>9955511 - 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>20</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R21.htm</HtmlFileName>
      <LongName>9955512 - 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>21</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R22.htm</HtmlFileName>
      <LongName>9955513 - 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>22</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R23.htm</HtmlFileName>
      <LongName>9955514 - 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>23</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R24.htm</HtmlFileName>
      <LongName>9955515 - 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>24</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R25.htm</HtmlFileName>
      <LongName>9955516 - 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>25</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R26.htm</HtmlFileName>
      <LongName>9955517 - 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>26</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R27.htm</HtmlFileName>
      <LongName>9955518 - Disclosure - SEGMENT INFORMATION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATIONTables</Role>
      <ShortName>SEGMENT INFORMATION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/SEGMENTINFORMATION</ParentRole>
      <Position>27</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R28.htm</HtmlFileName>
      <LongName>9955519 - 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>28</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R29.htm</HtmlFileName>
      <LongName>9955520 - Disclosure - EARNINGS (LOSS) PER COMMON SHARE (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHARETables</Role>
      <ShortName>EARNINGS (LOSS) PER COMMON SHARE (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHARE</ParentRole>
      <Position>29</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R30.htm</HtmlFileName>
      <LongName>9955521 - Disclosure - ASSET ACQUISITION (Tables)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ASSETACQUISITIONTables</Role>
      <ShortName>ASSET ACQUISITION (Tables)</ShortName>
      <MenuCategory>Tables</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/ASSETACQUISITION</ParentRole>
      <Position>30</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R31.htm</HtmlFileName>
      <LongName>9955522 - 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/BUSINESSOVERVIEWANDSIGNIFICANTACCOUNTINGPOLICIESPolicies</ParentRole>
      <Position>31</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R32.htm</HtmlFileName>
      <LongName>9955523 - 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>32</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R33.htm</HtmlFileName>
      <LongName>9955524 - 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>33</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R34.htm</HtmlFileName>
      <LongName>9955525 - 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>34</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R35.htm</HtmlFileName>
      <LongName>9955526 - 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>35</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R36.htm</HtmlFileName>
      <LongName>9955527 - 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>36</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R37.htm</HtmlFileName>
      <LongName>9955528 - 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>37</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R38.htm</HtmlFileName>
      <LongName>9955529 - 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>38</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R39.htm</HtmlFileName>
      <LongName>9955530 - 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>39</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R40.htm</HtmlFileName>
      <LongName>9955531 - 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>40</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R41.htm</HtmlFileName>
      <LongName>9955532 - 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>41</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R42.htm</HtmlFileName>
      <LongName>9955533 - 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>42</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R43.htm</HtmlFileName>
      <LongName>9955534 - 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>43</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R44.htm</HtmlFileName>
      <LongName>9955535 - 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>44</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R45.htm</HtmlFileName>
      <LongName>9955536 - 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>45</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R46.htm</HtmlFileName>
      <LongName>9955537 - 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>46</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R47.htm</HtmlFileName>
      <LongName>9955538 - Disclosure - SEGMENT INFORMATION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATIONNarrativeDetails</Role>
      <ShortName>SEGMENT INFORMATION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>47</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R48.htm</HtmlFileName>
      <LongName>9955539 - Disclosure - SEGMENT INFORMATION - Schedule of Reportable Segment Information (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofReportableSegmentInformationDetails</Role>
      <ShortName>SEGMENT INFORMATION - Schedule of Reportable Segment Information (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>48</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R49.htm</HtmlFileName>
      <LongName>9955540 - Disclosure - SEGMENT INFORMATION - Schedule of Total Revenues and Disaggregates Net Product Revenues by Product (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofTotalRevenuesandDisaggregatesNetProductRevenuesbyProductDetails</Role>
      <ShortName>SEGMENT INFORMATION - Schedule of Total Revenues and Disaggregates Net Product Revenues by Product (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>49</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R50.htm</HtmlFileName>
      <LongName>9955541 - Disclosure - SEGMENT INFORMATION- Schedule of Disaggregation of Total Net Product Revenues by Geographic Region (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofDisaggregationofTotalNetProductRevenuesbyGeographicRegionDetails</Role>
      <ShortName>SEGMENT INFORMATION- Schedule of Disaggregation of Total Net Product Revenues by Geographic Region (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>50</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R51.htm</HtmlFileName>
      <LongName>9955542 - Disclosure - SEGMENT INFORMATION - Schedule of Total Net Product Revenues Attributed to Largest Customers (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/SEGMENTINFORMATIONScheduleofTotalNetProductRevenuesAttributedtoLargestCustomersDetails</Role>
      <ShortName>SEGMENT INFORMATION - Schedule of Total Net Product Revenues Attributed to Largest Customers (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>51</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R52.htm</HtmlFileName>
      <LongName>9955543 - 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>52</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R53.htm</HtmlFileName>
      <LongName>9955544 - Disclosure - EARNINGS (LOSS) 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/EARNINGSLOSSPERCOMMONSHAREScheduleofComputationofBasicandDilutedEarningsPerCommonShareDetails</Role>
      <ShortName>EARNINGS (LOSS) PER COMMON SHARE - Schedule of Computation of Basic and Diluted Earnings Per Common Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHARETables</ParentRole>
      <Position>53</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R54.htm</HtmlFileName>
      <LongName>9955545 - Disclosure - EARNINGS (LOSS) 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/EARNINGSLOSSPERCOMMONSHAREScheduleofAntiDilutiveCommonStockExcludedfromComputationofDilutedEarningsPerShareDetails</Role>
      <ShortName>EARNINGS (LOSS) PER COMMON SHARE - Schedule of Anti-Dilutive Common Stock Excluded from Computation of Diluted Earnings Per Share (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <ParentRole>http://www.bmrn.com/role/EARNINGSLOSSPERCOMMONSHARETables</ParentRole>
      <Position>54</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R55.htm</HtmlFileName>
      <LongName>9955546 - 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>55</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R56.htm</HtmlFileName>
      <LongName>9955547 - Disclosure - ASSET ACQUISITION - Narrative (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ASSETACQUISITIONNarrativeDetails</Role>
      <ShortName>ASSET ACQUISITION - Narrative (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>56</Position>
    </Report>
    <Report instance="bmrn-20250930.htm">
      <IsDefault>false</IsDefault>
      <HasEmbeddedReports>false</HasEmbeddedReports>
      <HtmlFileName>R57.htm</HtmlFileName>
      <LongName>9955548 - Disclosure - ASSET ACQUISITION - Schedule of Total Consideration Transferred Assets Acquired, Liabilities Assumed (Details)</LongName>
      <ReportType>Sheet</ReportType>
      <Role>http://www.bmrn.com/role/ASSETACQUISITIONScheduleofTotalConsiderationTransferredAssetsAcquiredLiabilitiesAssumedDetails</Role>
      <ShortName>ASSET ACQUISITION - Schedule of Total Consideration Transferred Assets Acquired, Liabilities Assumed (Details)</ShortName>
      <MenuCategory>Details</MenuCategory>
      <Position>57</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-20250930.htm">bmrn-20250930.htm</File>
    <File>bmrn-20250930.xsd</File>
    <File>bmrn-20250930_cal.xml</File>
    <File>bmrn-20250930_def.xml</File>
    <File>bmrn-20250930_lab.xml</File>
    <File>bmrn-20250930_pre.xml</File>
  </InputFiles>
  <SupplementalFiles/>
  <BaseTaxonomies>
    <BaseTaxonomy items="799">http://fasb.org/us-gaap/2025</BaseTaxonomy>
    <BaseTaxonomy items="29">http://xbrl.sec.gov/dei/2025</BaseTaxonomy>
    <BaseTaxonomy items="4">http://xbrl.sec.gov/ecd/2025</BaseTaxonomy>
  </BaseTaxonomies>
  <HasPresentationLinkbase>true</HasPresentationLinkbase>
  <HasCalculationLinkbase>true</HasCalculationLinkbase>
</FilingSummary>
