<?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>0001564621</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>512 2ND STREET, 4TH FLOOR</com:street1>
        <com:city>SAN FRANCISCO</com:city>
        <com:stateOrCountry>CA</com:stateOrCountry>
        <com:zipCode>94107</com:zipCode>
      </issuerAddress>
      <issuerContactPhone>(415) 651-3316</issuerContactPhone>
      <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>Moriarty John B</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
      <relationshipsToIssuer>
        <relationshipToIssuer>Former Chief Legal 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>12851</noOfUnitsSold>
      <aggregateMarketValue>123130.15</aggregateMarketValue>
      <noOfUnitsOutstanding>40761714</noOfUnitsOutstanding>
      <approxSaleDate>06/28/2023</approxSaleDate>
      <securitiesExchangeName>NASDAQ</securitiesExchangeName>
    </securitiesInformation>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/28/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 09/19/2020</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>12369</amountOfSecuritiesAcquired>
      <paymentDate>06/28/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <securitiesToBeSold>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <acquiredDate>06/28/2023</acquiredDate>
      <natureOfAcquisitionTransaction>Option Granted - 02/01/2022</natureOfAcquisitionTransaction>
      <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
      <isGiftTransaction>N</isGiftTransaction>
      <amountOfSecuritiesAcquired>482</amountOfSecuritiesAcquired>
      <paymentDate>06/28/2023</paymentDate>
      <natureOfPayment>Cash</natureOfPayment>
    </securitiesToBeSold>
    <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr.</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>05/19/2023</saleDate>
      <amountOfSecuritiesSold>5000</amountOfSecuritiesSold>
      <grossProceeds>35839.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr.</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/05/2023</saleDate>
      <amountOfSecuritiesSold>10023</amountOfSecuritiesSold>
      <grossProceeds>60399.66</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr.</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/06/2023</saleDate>
      <amountOfSecuritiesSold>10000</amountOfSecuritiesSold>
      <grossProceeds>62786.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr.</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/08/2023</saleDate>
      <amountOfSecuritiesSold>15000</amountOfSecuritiesSold>
      <grossProceeds>93028.50</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr.</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/09/2023</saleDate>
      <amountOfSecuritiesSold>65000</amountOfSecuritiesSold>
      <grossProceeds>488187.00</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/12/2023</saleDate>
      <amountOfSecuritiesSold>41167</amountOfSecuritiesSold>
      <grossProceeds>365003.10</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/13/2023</saleDate>
      <amountOfSecuritiesSold>9213</amountOfSecuritiesSold>
      <grossProceeds>86185.51</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/14/2023</saleDate>
      <amountOfSecuritiesSold>198</amountOfSecuritiesSold>
      <grossProceeds>1838.61</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr</name>
        <address>
          <com:street1>512 2nd Street, 4th Floor</com:street1>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/15/2023</saleDate>
      <amountOfSecuritiesSold>31</amountOfSecuritiesSold>
      <grossProceeds>287.05</grossProceeds>
    </securitiesSoldInPast3Months>
    <securitiesSoldInPast3Months>
      <sellerDetails>
        <name>John Moriarty Jr</name>
        <address>
          <com:street1>512 2nd Street</com:street1>
          <com:street2>4th Floor</com:street2>
          <com:city>San Francisco</com:city>
          <com:stateOrCountry>CA</com:stateOrCountry>
          <com:zipCode>94107</com:zipCode>
        </address>
      </sellerDetails>
      <securitiesClassTitle>Common</securitiesClassTitle>
      <saleDate>06/27/2023</saleDate>
      <amountOfSecuritiesSold>15029</amountOfSecuritiesSold>
      <grossProceeds>133268.94</grossProceeds>
    </securitiesSoldInPast3Months>
    <noticeSignature>
      <noticeDate>06/28/2023</noticeDate>
      <signature>/s/ Gerardo Ibarra-Munoz, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for John B. Moriarty Jr</signature>
    </noticeSignature>
  </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 9705}]
144
0001564621
XXXXXXXX
LIVE
0001750284
Olema Pharmaceuticals, Inc.
001-39712
512 2ND STREET, 4TH FLOOR
SAN FRANCISCO
CA
94107
(415) 651-3316
Moriarty John B
Former Chief Legal Officer
Common
Fidelity Brokerage Services LLC
900 Salem Street
Smithfield
RI
02917
12851
123130.15
40761714
06/28/2023
NASDAQ
Common
06/28/2023
Option Granted - 09/19/2020
Issuer
N
12369
06/28/2023
Cash
Common
06/28/2023
Option Granted - 02/01/2022
Issuer
N
482
06/28/2023
Cash
N
John Moriarty Jr.
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
05/19/2023
5000
35839.00
John Moriarty Jr.
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/05/2023
10023
60399.66
John Moriarty Jr.
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/06/2023
10000
62786.00
John Moriarty Jr.
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/08/2023
15000
93028.50
John Moriarty Jr.
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/09/2023
65000
488187.00
John Moriarty Jr
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/12/2023
41167
365003.10
John Moriarty Jr
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/13/2023
9213
86185.51
John Moriarty Jr
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/14/2023
198
1838.61
John Moriarty Jr
512 2nd Street, 4th Floor
San Francisco
CA
94107
Common
06/15/2023
31
287.05
John Moriarty Jr
512 2nd Street
4th Floor
San Francisco
CA
94107
Common
06/27/2023
15029
133268.94
06/28/2023
/s/ Gerardo Ibarra-Munoz, as a duly authorized representative of Fidelity Brokerage Services LLC, as attorney-in-fact for John B. Moriarty Jr