content: <?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:com="http://www.sec.gov/edgar/common">
    <headerData>
      <submissionType>144</submissionType>
      <filerInfo>
        <filer>
          <filerCredentials>
            <cik>0001927648</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0001048477</issuerCik>
        <issuerName>BIOMARIN PHARMACEUTICAL INC</issuerName>
        <secFileNumber>000-26727</secFileNumber>
        <issuerAddress>
          <com:street1>105 DIGITAL DRIVE</com:street1>
          <com:city>NOVATO</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94949</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>4155066700</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Burkhart Erin</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Officer</relationshipToIssuer>
        </relationshipsToIssuer>
      </issuerInfo>
      <securitiesInformation>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <brokerOrMarketmakerDetails>
          <name>Fidelity Brokerage Services LLC</name>
          <address>
            <com:street1>900 Salem Street</com:street1>
            <com:city>Smithfield</com:city>
            <com:stateOrCountry>RI</com:stateOrCountry>
            <com:zipCode>02917</com:zipCode>
          </address>
        </brokerOrMarketmakerDetails>
        <noOfUnitsSold>1295</noOfUnitsSold>
        <aggregateMarketValue>92618.40</aggregateMarketValue>
        <noOfUnitsOutstanding>190777052</noOfUnitsOutstanding>
        <approxSaleDate>03/19/2025</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/15/2025</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1295</amountOfSecuritiesAcquired>
        <paymentDate>03/15/2025</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Erin Burkhart</name>
          <address>
            <com:street1>770 Lindaro Street</com:street1>
            <com:city>San Rafael</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94901</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>02/24/2025</saleDate>
        <amountOfSecuritiesSold>1344</amountOfSecuritiesSold>
        <grossProceeds>91902.72</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/19/2025</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>11/26/2024</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ Daniel Tucci, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Erin Burkhart</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3522}]
text: 144
  0001927648
  XXXXXXXX
  LIVE
  0001048477
  BIOMARIN PHARMACEUTICAL INC
  000-26727
  105 DIGITAL DRIVE
  NOVATO
  CA
  94949
  4155066700
  Burkhart Erin
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  1295
  92618.40
  190777052
  03/19/2025
  NASDAQ
  Common
  03/15/2025
  Restricted Stock Vesting
  Issuer
  N
  1295
  03/15/2025
  Compensation
  N
  Erin Burkhart
  770 Lindaro Street
  San Rafael
  CA
  94901
  Common
  02/24/2025
  1344
  91902.72
  03/19/2025
  11/26/2024
  /s/ Daniel Tucci, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Erin Burkhart