<?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>0001220246</cik>
                    <ccc>XXXXXXXX</ccc>
                </filerCredentials>
            </filer>
            <liveTestFlag>LIVE</liveTestFlag>



        </filerInfo>
    </headerData>
    <formData>
        <issuerInfo>
            <issuerCik>0000785956</issuerCik>
            <issuerName>J &amp; J SNACK FOODS CORP.</issuerName>
            <secFileNumber>000-14616</secFileNumber>
            <issuerAddress>
                <ns2:street1>350 Fellowship Road</ns2:street1>
                <ns2:street2>Suite 100</ns2:street2>
                <ns2:city>Mount Laurel</ns2:city>
                <ns2:stateOrCountry>NJ</ns2:stateOrCountry>
                <ns2:zipCode>08054</ns2:zipCode>
            </issuerAddress>
            <issuerContactPhone>(856) 665-9533</issuerContactPhone>
            <nameOfPersonForWhoseAccountTheSecuritiesAreToBeSold>DANIEL J. FACHNER</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>38th Floor</ns2:street2>
                    <ns2:city>New York</ns2:city>
                    <ns2:stateOrCountry>NY</ns2:stateOrCountry>
                    <ns2:zipCode>10004</ns2:zipCode>
                </address>
            </brokerOrMarketmakerDetails>
            <noOfUnitsSold>20</noOfUnitsSold>
            <aggregateMarketValue>3306.90</aggregateMarketValue>
            <noOfUnitsOutstanding>19332000</noOfUnitsOutstanding>
            <approxSaleDate>11/29/2023</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>11/29/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of options under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>20</amountOfSecuritiesAcquired>
            <paymentDate>11/29/2023</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>N</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>DANIEL J. FACHNER</name>
                <address>
                    <ns2:street1>350 Fellowship Road</ns2:street1>
                    <ns2:street2>Suite 100</ns2:street2>
                    <ns2:city>Mount Laurel</ns2:city>
                    <ns2:stateOrCountry>NJ</ns2:stateOrCountry>
                    <ns2:zipCode>08054</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>11/28/2023</saleDate>
            <amountOfSecuritiesSold>400</amountOfSecuritiesSold>
            <grossProceeds>66615.52</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>DANIEL J. FACHNER</name>
                <address>
                    <ns2:street1>350 Fellowship Road</ns2:street1>
                    <ns2:street2>Suite 100</ns2:street2>
                    <ns2:city>Mount Laurel</ns2:city>
                    <ns2:stateOrCountry>NJ</ns2:stateOrCountry>
                    <ns2:zipCode>08054</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>11/27/2023</saleDate>
            <amountOfSecuritiesSold>6949</amountOfSecuritiesSold>
            <grossProceeds>1156219.79</grossProceeds>
        </securitiesSoldInPast3Months>
        <securitiesSoldInPast3Months>
            <sellerDetails>
                <name>DANIEL J. FACHNER</name>
                <address>
                    <ns2:street1>350 Fellowship Road</ns2:street1>
                    <ns2:street2>Suite 100</ns2:street2>
                    <ns2:city>Mount Laurel</ns2:city>
                    <ns2:stateOrCountry>NJ</ns2:stateOrCountry>
                    <ns2:zipCode>08054</ns2:zipCode>
                </address>
            </sellerDetails>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <saleDate>11/24/2023</saleDate>
            <amountOfSecuritiesSold>1051</amountOfSecuritiesSold>
            <grossProceeds>177784.11</grossProceeds>
        </securitiesSoldInPast3Months>
        <noticeSignature>
            <noticeDate>11/29/2023</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Daniel J Fachner</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 5558}]
144
0001220246
XXXXXXXX
LIVE
0000785956
J & J SNACK FOODS CORP.
000-14616
350 Fellowship Road
Suite 100
Mount Laurel
NJ
08054
(856) 665-9533
DANIEL J. FACHNER
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
38th Floor
New York
NY
10004
20
3306.90
19332000
11/29/2023
NASDAQ
Common
11/29/2023
Exercise of options under a registered plan
Issuer
N
20
11/29/2023
Cash
N
DANIEL J. FACHNER
350 Fellowship Road
Suite 100
Mount Laurel
NJ
08054
Common
11/28/2023
400
66615.52
DANIEL J. FACHNER
350 Fellowship Road
Suite 100
Mount Laurel
NJ
08054
Common
11/27/2023
6949
1156219.79
DANIEL J. FACHNER
350 Fellowship Road
Suite 100
Mount Laurel
NJ
08054
Common
11/24/2023
1051
177784.11
11/29/2023
/s/ Daniel J Fachner