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>0001831216</cik>
            <ccc>XXXXXXXX</ccc>
          </filerCredentials>
        </filer>
        <liveTestFlag>LIVE</liveTestFlag>
  
  
  
      </filerInfo>
    </headerData>
    <formData>
      <issuerInfo>
        <issuerCik>0001750284</issuerCik>
        <issuerName>Olema Pharmaceuticals, Inc.</issuerName>
        <secFileNumber>001-39712</secFileNumber>
        <issuerAddress>
          <com:street1>780 BRANNAN STREET</com:street1>
          <com:city>SAN FRANCISCO</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94103</com:zipCode>
        </issuerAddress>
        <issuerContactPhone>(415) 651-3316</issuerContactPhone>
        <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Myles David C.</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>6653</noOfUnitsSold>
        <aggregateMarketValue>92421.09</aggregateMarketValue>
        <noOfUnitsOutstanding>54769800</noOfUnitsOutstanding>
        <approxSaleDate>11/22/2023</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>11/21/2023</acquiredDate>
        <natureOfAcquisitionTransaction>Restricted Stock Vesting</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>6653</amountOfSecuritiesAcquired>
        <paymentDate>11/21/2023</paymentDate>
        <natureOfPayment>Compensation</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David Myles</name>
          <address>
            <com:street1>780 Brannan Street</com:street1>
            <com:city>San Francisco</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94103</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>09/19/2023</saleDate>
        <amountOfSecuritiesSold>20000</amountOfSecuritiesSold>
        <grossProceeds>253399.74</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David Myles</name>
          <address>
            <com:street1>780 Brannan Street</com:street1>
            <com:city>San Francisco</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94103</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/01/2023</saleDate>
        <amountOfSecuritiesSold>6668</amountOfSecuritiesSold>
        <grossProceeds>100126.29</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David Myles</name>
          <address>
            <com:street1>780 Brannan Street</com:street1>
            <com:city>San Francisco</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94103</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/02/2023</saleDate>
        <amountOfSecuritiesSold>3332</amountOfSecuritiesSold>
        <grossProceeds>51176.19</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David Myles</name>
          <address>
            <com:street1>780 Brannan Street</com:street1>
            <com:city>San Francisco</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94103</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/03/2023</saleDate>
        <amountOfSecuritiesSold>541</amountOfSecuritiesSold>
        <grossProceeds>9473.50</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David Myles</name>
          <address>
            <com:street1>780 Brannan Street</com:street1>
            <com:city>San Francisco</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94103</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/08/2023</saleDate>
        <amountOfSecuritiesSold>200</amountOfSecuritiesSold>
        <grossProceeds>3521.00</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>David Myles</name>
          <address>
            <com:street1>780 Brannan Street</com:street1>
            <com:city>San Francisco</com:city>
            <com:stateOrCountry>CA</com:stateOrCountry>
            <com:zipCode>94103</com:zipCode>
          </address>
        </sellerDetails>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <saleDate>11/21/2023</saleDate>
        <amountOfSecuritiesSold>6976</amountOfSecuritiesSold>
        <grossProceeds>103806.31</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>11/22/2023</noticeDate>
        <signature>/s/ Daniel Tucci, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for David C. Myles</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 6347}]
text: 144
  0001831216
  XXXXXXXX
  LIVE
  0001750284
  Olema Pharmaceuticals, Inc.
  001-39712
  780 BRANNAN STREET
  SAN FRANCISCO
  CA
  94103
  (415) 651-3316
  Myles David C.
  Officer
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  6653
  92421.09
  54769800
  11/22/2023
  NASDAQ
  Common
  11/21/2023
  Restricted Stock Vesting
  Issuer
  N
  6653
  11/21/2023
  Compensation
  N
  David Myles
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  09/19/2023
  20000
  253399.74
  David Myles
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/01/2023
  6668
  100126.29
  David Myles
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/02/2023
  3332
  51176.19
  David Myles
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/03/2023
  541
  9473.50
  David Myles
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/08/2023
  200
  3521.00
  David Myles
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/21/2023
  6976
  103806.31
  11/22/2023
  /s/ Daniel Tucci, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for David C. Myles