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>15000</noOfUnitsSold>
        <aggregateMarketValue>140449.12</aggregateMarketValue>
        <noOfUnitsOutstanding>41352381</noOfUnitsOutstanding>
        <approxSaleDate>08/31/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>15000</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>06/05/2023</saleDate>
        <amountOfSecuritiesSold>5000</amountOfSecuritiesSold>
        <grossProceeds>30224.40</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>06/06/2023</saleDate>
        <amountOfSecuritiesSold>5000</amountOfSecuritiesSold>
        <grossProceeds>31476.85</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>06/08/2023</saleDate>
        <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
        <grossProceeds>63000.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>08/16/2023</saleDate>
        <amountOfSecuritiesSold>15000</amountOfSecuritiesSold>
        <grossProceeds>152070.94</grossProceeds>
      </securitiesSoldInPast3Months>
      <noticeSignature>
        <noticeDate>08/31/2023</noticeDate>
        <planAdoptionDates>
          <planAdoptionDate>05/16/2023</planAdoptionDate>
        </planAdoptionDates>
        <signature>/s/ Ryan Riviere, 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": 5298}]
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
  15000
  140449.12
  41352381
  08/31/2023
  NASDAQ
  Common
  03/20/2007
  Open Market Purchase
  Issuer
  N
  15000
  03/20/2007
  Cash
  N
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  06/05/2023
  5000
  30224.40
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  06/06/2023
  5000
  31476.85
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  06/08/2023
  10000
  63000.66
  Cyrus L. Harmon
  780 Brannan Street
  San Francisco
  CA
  94103
  Common
  08/16/2023
  15000
  152070.94
  08/31/2023
  05/16/2023
  /s/ Ryan Riviere, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for Cyrus L. Harmon