<?xml version="1.0" encoding="UTF-8"?><edgarSubmission xmlns="http://www.sec.gov/edgar/ownership" xmlns:ns2="http://www.sec.gov/edgar/common">
    <headerData>
        <submissionType>144</submissionType>
        <filerInfo>
            <filer>
                <filerCredentials>
                    <cik>0001799780</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0001831363</issuerCik>
            <issuerName>TERNS PHARMACEUTICALS INC</issuerName>
            <secFileNumber>001-39926</secFileNumber>
            <issuerAddress>
                <ns2:street1>1065 East Hillsdale Blvd., Suite 100</ns2:street1>
                <ns2:city>Foster City</ns2:city>
                <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                <ns2:zipCode>94404</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>9199498299</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>JILL QUIGLEY</nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>
            <relationshipsToIssuer>
                <relationshipToIssuer>Officer</relationshipToIssuer>
            </relationshipsToIssuer>
        </issuerInfo>
        <securitiesInformation>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <brokerOrMarketmakerDetails>
                <name>Morgan Stanley Smith Barney LLC Executive Financial Services</name>
                <address>
                    <ns2:street1>1 New York Plaza</ns2:street1>
                    <ns2:street2>8th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>8857</noOfUnitsSold>
            <aggregateMarketValue>69173.17</aggregateMarketValue>
            <noOfUnitsOutstanding>70371911</noOfUnitsOutstanding>
            <approxSaleDate>09/09/2024</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>09/09/2024</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of Stock Options</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>8857</amountOfSecuritiesAcquired>
            <paymentDate>09/09/2024</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales for JILL QUIGLEY</name>
                <address>
                    <ns2:street1>1065 East Hillsdale Blvd., Suite 100</ns2:street1>
                    <ns2:city>Foster City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94404</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>08/02/2024</saleDate>
            <amountOfSecuritiesSold>8857</amountOfSecuritiesSold>
            <grossProceeds>66431.93</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>JILL QUIGLEY</name>
                <address>
                    <ns2:street1>1065 East Hillsdale Blvd., Suite 100</ns2:street1>
                    <ns2:city>Foster City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94404</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>08/01/2024</saleDate>
            <amountOfSecuritiesSold>6143</amountOfSecuritiesSold>
            <grossProceeds>47178.24</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales for JILL QUIGLEY</name>
                <address>
                    <ns2:street1>1065 East Hillsdale Blvd., Suite 100</ns2:street1>
                    <ns2:city>Foster City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94404</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>07/16/2024</saleDate>
            <amountOfSecuritiesSold>400</amountOfSecuritiesSold>
            <grossProceeds>4000.00</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>10b5-1 Sales for JILL QUIGLEY</name>
                <address>
                    <ns2:street1>1065 East Hillsdale Blvd., Suite 100</ns2:street1>
                    <ns2:city>Foster City</ns2:city>
                    <ns2:stateOrCountry>CA</ns2:stateOrCountry>
                    <ns2:zipCode>94404</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>COMMON</securitiesClassTitle>
            <saleDate>07/15/2024</saleDate>
            <amountOfSecuritiesSold>14365</amountOfSecuritiesSold>
            <grossProceeds>143660.06</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>09/09/2024</noticeDate>
            <planAdoptionDates>
                <planAdoptionDate>03/18/2024</planAdoptionDate>
            </planAdoptionDates>
            <signature>/s/ Jill Quigley</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 6208}]
144
0001799780
XXXXXXXX
LIVE
0001831363
TERNS PHARMACEUTICALS INC
001-39926
1065 East Hillsdale Blvd., Suite 100
Foster City
CA
94404
9199498299
JILL QUIGLEY
Officer
COMMON
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
8857
69173.17
70371911
09/09/2024
NASDAQ
Common
09/09/2024
Exercise of Stock Options
Issuer
N
8857
09/09/2024
Cash
N
10b5-1 Sales for JILL QUIGLEY
1065 East Hillsdale Blvd., Suite 100
Foster City
CA
94404
COMMON
08/02/2024
8857
66431.93
JILL QUIGLEY
1065 East Hillsdale Blvd., Suite 100
Foster City
CA
94404
Common
08/01/2024
6143
47178.24
10b5-1 Sales for JILL QUIGLEY
1065 East Hillsdale Blvd., Suite 100
Foster City
CA
94404
COMMON
07/16/2024
400
4000.00
10b5-1 Sales for JILL QUIGLEY
1065 East Hillsdale Blvd., Suite 100
Foster City
CA
94404
COMMON
07/15/2024
14365
143660.06
09/09/2024
03/18/2024
/s/ Jill Quigley