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>0001197355</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>FUCHS HENRY J</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>35341</noOfUnitsSold>
        <aggregateMarketValue>3010397.21</aggregateMarketValue>
        <noOfUnitsOutstanding>188675622</noOfUnitsOutstanding>
        <approxSaleDate>03/05/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>02/29/2016</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>22876</amountOfSecuritiesAcquired>
        <paymentDate>02/29/2016</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/28/2017</acquiredDate>
        <natureOfAcquisitionTransaction>ESPP Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>302</amountOfSecuritiesAcquired>
        <paymentDate>04/28/2017</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/03/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>3278</amountOfSecuritiesAcquired>
        <paymentDate>03/03/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/22/2018</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>5932</amountOfSecuritiesAcquired>
        <paymentDate>03/22/2018</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/30/2018</acquiredDate>
        <natureOfAcquisitionTransaction>ESPP Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>309</amountOfSecuritiesAcquired>
        <paymentDate>04/30/2018</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/30/2019</acquiredDate>
        <natureOfAcquisitionTransaction>ESPP Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>309</amountOfSecuritiesAcquired>
        <paymentDate>04/30/2019</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>04/30/2020</acquiredDate>
        <natureOfAcquisitionTransaction>ESPP Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>339</amountOfSecuritiesAcquired>
        <paymentDate>04/30/2020</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/15/2021</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1996</amountOfSecuritiesAcquired>
        <paymentDate>03/15/2021</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>03/05/2024</noticeDate>
        <signature>/s/ Daniel Tucci, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Henry J. Fuchs</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 6521}]
text: 144
  0001197355
  XXXXXXXX
  LIVE
  0001048477
  BIOMARIN PHARMACEUTICAL INC
  000-26727
  105 DIGITAL DRIVE
  NOVATO
  CA
  94949
  4155066700
  FUCHS HENRY J
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  35341
  3010397.21
  188675622
  03/05/2024
  NASDAQ
  Common
  02/29/2016
  Restricted Stock Vesting
  Issuer
  N
  22876
  02/29/2016
  Compensation
  Common
  04/28/2017
  ESPP Purchase
  Issuer
  N
  302
  04/28/2017
  Cash
  Common
  03/03/2018
  Restricted Stock Vesting
  Issuer
  N
  3278
  03/03/2018
  Compensation
  Common
  03/22/2018
  Restricted Stock Vesting
  Issuer
  N
  5932
  03/22/2018
  Compensation
  Common
  04/30/2018
  ESPP Purchase
  Issuer
  N
  309
  04/30/2018
  Cash
  Common
  04/30/2019
  ESPP Purchase
  Issuer
  N
  309
  04/30/2019
  Cash
  Common
  04/30/2020
  ESPP Purchase
  Issuer
  N
  339
  04/30/2020
  Cash
  Common
  03/15/2021
  Restricted Stock Vesting
  Issuer
  N
  1996
  03/15/2021
  Compensation
  Y
  03/05/2024
  /s/ Daniel Tucci, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Henry J. Fuchs