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>0001811096</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>Guyer Charles Greg</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>7034</noOfUnitsSold>
        <aggregateMarketValue>501358.76</aggregateMarketValue>
        <noOfUnitsOutstanding>190777052</noOfUnitsOutstanding>
        <approxSaleDate>03/06/2025</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/04/2022</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>433</amountOfSecuritiesAcquired>
        <paymentDate>05/04/2022</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>10/31/2022</acquiredDate>
        <natureOfAcquisitionTransaction>ESPP Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>252</amountOfSecuritiesAcquired>
        <paymentDate>10/31/2022</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/15/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>3509</amountOfSecuritiesAcquired>
        <paymentDate>03/15/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/30/2023</acquiredDate>
        <natureOfAcquisitionTransaction>ESPP Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>239</amountOfSecuritiesAcquired>
        <paymentDate>04/30/2023</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/04/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>2601</amountOfSecuritiesAcquired>
        <paymentDate>05/04/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/06/2025</noticeDate>
        <signature>/s/ Gerardo Ibarra-Munoz, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Charles G. Guyer</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 4958}]
text: 144
  0001811096
  XXXXXXXX
  LIVE
  0001048477
  BIOMARIN PHARMACEUTICAL INC
  000-26727
  105 DIGITAL DRIVE
  NOVATO
  CA
  94949
  4155066700
  Guyer Charles Greg
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  7034
  501358.76
  190777052
  03/06/2025
  NASDAQ
  Common
  05/04/2022
  Restricted Stock Vesting
  Issuer
  N
  433
  05/04/2022
  Compensation
  Common
  10/31/2022
  ESPP Purchase
  Issuer
  N
  252
  10/31/2022
  Cash
  Common
  03/15/2023
  Restricted Stock Vesting
  Issuer
  N
  3509
  03/15/2023
  Compensation
  Common
  04/30/2023
  ESPP Purchase
  Issuer
  N
  239
  04/30/2023
  Cash
  Common
  05/04/2023
  Restricted Stock Vesting
  Issuer
  N
  2601
  05/04/2023
  Compensation
  Y
  03/06/2025
  /s/ Gerardo Ibarra-Munoz, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Charles G. Guyer