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>0001831410</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>Harmon Cyrus</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
        <relationshipsToIssuer>
          <relationshipToIssuer>Director</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>25000</noOfUnitsSold>
        <aggregateMarketValue>334413.19</aggregateMarketValue>
        <noOfUnitsOutstanding>54769800</noOfUnitsOutstanding>
        <approxSaleDate>12/29/2023</approxSaleDate>
        <securitiesExchangeName>NASDAQ</securitiesExchangeName>
      </securitiesInformation>
      <securitiesToBeSold>
        <securitiesClassTitle>Common</securitiesClassTitle>
        <acquiredDate>03/20/2007</acquiredDate>
        <natureOfAcquisitionTransaction>Open Market Purchase</natureOfAcquisitionTransaction>
        <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
        <isGiftTransaction>N</isGiftTransaction>
        <amountOfSecuritiesAcquired>25000</amountOfSecuritiesAcquired>
        <paymentDate>03/20/2007</paymentDate>
        <natureOfPayment>Cash</natureOfPayment>
      </securitiesToBeSold>
      <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cyrus L. Harmon</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/29/2023</saleDate>
        <amountOfSecuritiesSold>25000</amountOfSecuritiesSold>
        <grossProceeds>310165.66</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cyrus L. Harmon</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>10/31/2023</saleDate>
        <amountOfSecuritiesSold>25000</amountOfSecuritiesSold>
        <grossProceeds>301330.47</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cyrus L. Harmon</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>5000</amountOfSecuritiesSold>
        <grossProceeds>78217.37</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cyrus L. Harmon</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>4192</amountOfSecuritiesSold>
        <grossProceeds>62288.09</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cyrus L. Harmon</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/22/2023</saleDate>
        <amountOfSecuritiesSold>3989</amountOfSecuritiesSold>
        <grossProceeds>55459.39</grossProceeds>
      </securitiesSoldInPast3Months>
      <securitiesSoldInPast3Months>
        <sellerDetails>
          <name>Cyrus L. Harmon</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/30/2023</saleDate>
        <amountOfSecuritiesSold>25000</amountOfSecuritiesSold>
        <grossProceeds>314311.18</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>12/29/2023</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>05/16/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ Gary Redman, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Cyrus L. Harmon</signature>
      </noticeSignature>
    </formData>
  </edgarSubmission>
metadata_documents: [{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 6476}]
text: 144
  0001831410
  XXXXXXXX
  LIVE
  0001750284
  Olema Pharmaceuticals, Inc.
  001-39712
  780 BRANNAN STREET
  SAN FRANCISCO
  CA
  94103
  (415) 651-3316
  Harmon Cyrus
  Director
  Common
  Fidelity Brokerage Services LLC
  900 Salem Street
  Smithfield
  RI
  02917
  25000
  334413.19
  54769800
  12/29/2023
  NASDAQ
  Common
  03/20/2007
  Open Market Purchase
  Issuer
  N
  25000
  03/20/2007
  Cash
  N
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  09/29/2023
  25000
  310165.66
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  10/31/2023
  25000
  301330.47
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/02/2023
  5000
  78217.37
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/21/2023
  4192
  62288.09
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/22/2023
  3989
  55459.39
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  11/30/2023
  25000
  314311.18
  12/29/2023
  05/16/2023
  /s/ Gary Redman, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Cyrus L. Harmon