<?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>0001952646</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>ROBERT CRANMER</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>2278</noOfUnitsSold>
            <aggregateMarketValue>369106.62</aggregateMarketValue>
            <noOfUnitsOutstanding>19386000</noOfUnitsOutstanding>
            <approxSaleDate>05/09/2024</approxSaleDate>
            <securitiesExchangeName>NASDAQ</securitiesExchangeName>
        </securitiesInformation>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>05/09/2024</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of options under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>706</amountOfSecuritiesAcquired>
            <paymentDate>05/09/2024</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>11/10/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>107</amountOfSecuritiesAcquired>
            <paymentDate>11/10/2022</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>04/13/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2</amountOfSecuritiesAcquired>
            <paymentDate>04/13/2021</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/31/2019</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>47</amountOfSecuritiesAcquired>
            <paymentDate>12/31/2019</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>06/28/2019</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>54</amountOfSecuritiesAcquired>
            <paymentDate>06/28/2019</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/31/2018</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>53</amountOfSecuritiesAcquired>
            <paymentDate>12/31/2018</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>04/12/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2</amountOfSecuritiesAcquired>
            <paymentDate>04/12/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>06/30/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>50</amountOfSecuritiesAcquired>
            <paymentDate>06/30/2021</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>01/11/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2</amountOfSecuritiesAcquired>
            <paymentDate>01/11/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>07/12/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>1</amountOfSecuritiesAcquired>
            <paymentDate>07/12/2021</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>07/11/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2</amountOfSecuritiesAcquired>
            <paymentDate>07/11/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>06/30/2020</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>60</amountOfSecuritiesAcquired>
            <paymentDate>06/30/2020</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>12/31/2020</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>66</amountOfSecuritiesAcquired>
            <paymentDate>12/31/2020</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>10/11/2022</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2</amountOfSecuritiesAcquired>
            <paymentDate>10/11/2022</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>10/11/2021</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>2</amountOfSecuritiesAcquired>
            <paymentDate>10/11/2021</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>06/29/2018</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>42</amountOfSecuritiesAcquired>
            <paymentDate>06/29/2018</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>05/09/2024</acquiredDate>
            <natureOfAcquisitionTransaction>Exercise of options under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>794</amountOfSecuritiesAcquired>
            <paymentDate>05/09/2024</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>11/10/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>107</amountOfSecuritiesAcquired>
            <paymentDate>11/10/2023</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>11/16/2023</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>109</amountOfSecuritiesAcquired>
            <paymentDate>11/16/2023</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>07/31/2019</acquiredDate>
            <natureOfAcquisitionTransaction>Restricted stock vesting under a registered plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>65</amountOfSecuritiesAcquired>
            <paymentDate>07/31/2019</paymentDate>
            <natureOfPayment>Not Applicable</natureOfPayment>
        </securitiesToBeSold>
        <securitiesToBeSold>
            <securitiesClassTitle>Common</securitiesClassTitle>
            <acquiredDate>07/08/2020</acquiredDate>
            <natureOfAcquisitionTransaction>Shares Purchased through Employee Stock Purchase Plan</natureOfAcquisitionTransaction>
            <nameOfPersonfromWhomAcquired>Issuer</nameOfPersonfromWhomAcquired>
            <isGiftTransaction>N</isGiftTransaction>
            <amountOfSecuritiesAcquired>5</amountOfSecuritiesAcquired>
            <paymentDate>07/08/2020</paymentDate>
            <natureOfPayment>Cash</natureOfPayment>
        </securitiesToBeSold>
        <nothingToReportFlagOnSecuritiesSoldInPast3Months>Y</nothingToReportFlagOnSecuritiesSoldInPast3Months>
        <remarks>The 5 shares of common stock were acquired as dividends as part of employee stock purchase plan on various dates during the period between 7/6/2018 and 7/8/2020.</remarks>
        <noticeSignature>
            <noticeDate>05/09/2024</noticeDate>
            <planAdoptionDates/>
            <signature>/s/ Robert Cranmer</signature>
        </noticeSignature>
    </formData>
</edgarSubmission>
[{"type": "144", "sequence": "1", "filename": "primary_doc.xml", "secsgml_size_bytes": 15745}]
144
0001952646
XXXXXXXX
LIVE
0000785956
J & J SNACK FOODS CORP.
000-14616
350 Fellowship Road
Suite 100
Mount Laurel
NJ
08054
(856) 665-9533
ROBERT CRANMER
Officer
Common
Morgan Stanley Smith Barney LLC Executive Financial Services
1 New York Plaza
8th Floor
New York
NY
10004
2278
369106.62
19386000
05/09/2024
NASDAQ
Common
05/09/2024
Exercise of options under a registered plan
Issuer
N
706
05/09/2024
Cash
Common
11/10/2022
Restricted stock vesting under a registered plan
Issuer
N
107
11/10/2022
Not Applicable
Common
04/13/2021
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
2
04/13/2021
Cash
Common
12/31/2019
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
47
12/31/2019
Cash
Common
06/28/2019
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
54
06/28/2019
Cash
Common
12/31/2018
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
53
12/31/2018
Cash
Common
04/12/2022
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
2
04/12/2022
Cash
Common
06/30/2021
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
50
06/30/2021
Cash
Common
01/11/2022
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
2
01/11/2022
Cash
Common
07/12/2021
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
1
07/12/2021
Cash
Common
07/11/2022
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
2
07/11/2022
Cash
Common
06/30/2020
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
60
06/30/2020
Cash
Common
12/31/2020
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
66
12/31/2020
Cash
Common
10/11/2022
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
2
10/11/2022
Cash
Common
10/11/2021
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
2
10/11/2021
Cash
Common
06/29/2018
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
42
06/29/2018
Cash
Common
05/09/2024
Exercise of options under a registered plan
Issuer
N
794
05/09/2024
Cash
Common
11/10/2023
Restricted stock vesting under a registered plan
Issuer
N
107
11/10/2023
Not Applicable
Common
11/16/2023
Restricted stock vesting under a registered plan
Issuer
N
109
11/16/2023
Not Applicable
Common
07/31/2019
Restricted stock vesting under a registered plan
Issuer
N
65
07/31/2019
Not Applicable
Common
07/08/2020
Shares Purchased through Employee Stock Purchase Plan
Issuer
N
5
07/08/2020
Cash
Y
The 5 shares of common stock were acquired as dividends as part of employee stock purchase plan on various dates during the period between 7/6/2018 and 7/8/2020.
05/09/2024
/s/ Robert Cranmer