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>0001380710</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>Davis George Eric</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>1850</noOfUnitsSold>
        <aggregateMarketValue>157262.00</aggregateMarketValue>
        <noOfUnitsOutstanding>189879803</noOfUnitsOutstanding>
        <approxSaleDate>05/02/2024</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>05/02/2024</acquiredDate>
        <natureOfAcquisitionTransaction>Options Granted - 06/04/2014</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>1850</amountOfSecuritiesAcquired>
        <paymentDate>05/02/2024</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>George Davis</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>03/28/2024</saleDate>
        <amountOfSecuritiesSold>24602</amountOfSecuritiesSold>
        <grossProceeds>2173340.68</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>05/02/2024</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>09/13/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for George E Davis</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 3522}]
text: 144
  0001380710
  XXXXXXXX
  LIVE
  0001048477
  BIOMARIN PHARMACEUTICAL INC
  000-26727
  105 DIGITAL DRIVE
  NOVATO
  CA
  94949
  4155066700
  Davis George Eric
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  1850
  157262.00
  189879803
  05/02/2024
  NASDAQ
  Common
  05/02/2024
  Options Granted - 06/04/2014
  Issuer
  N
  1850
  05/02/2024
  Cash
  N
  George Davis
  770 Lindaro Street
  San Rafael
  CA
  94901
  Common
  03/28/2024
  24602
  2173340.68
  05/02/2024
  09/13/2023
  /s/Wade Moss, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for George E Davis