XML 12 R1.htm IDEA: XBRL DOCUMENT v3.10.0.1
Document And Entity Information - shares
9 Months Ended
Jun. 30, 2018
Jul. 26, 2018
Document Information [Line Items]    
Entity Registrant Name J&J SNACK FOODS CORP  
Entity Central Index Key 0000785956  
Trading Symbol jjsf  
Current Fiscal Year End Date --09-29  
Entity Filer Category Large Accelerated Filer  
Entity Current Reporting Status Yes  
Entity Voluntary Filers No  
Entity Well-known Seasoned Issuer Yes  
Entity Common Stock, Shares Outstanding (in shares)   18,716,140
Document Type 10-Q  
Document Period End Date Jun. 30, 2018  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q3  
Amendment Flag false