XML 12 R1.htm IDEA: XBRL DOCUMENT v3.5.0.2
Document and Entity Information - shares
3 Months Ended
Sep. 29, 2016
Oct. 25, 2016
Document Information [Line Items]    
Document Type 10-Q  
Amendment Flag false  
Document Period End Date Sep. 29, 2016  
Document Fiscal Year Focus 2017  
Document Fiscal Period Focus Q1  
Trading Symbol JBSS  
Entity Registrant Name SANFILIPPO JOHN B & SON INC  
Entity Central Index Key 0000880117  
Current Fiscal Year End Date --06-29  
Entity Filer Category Accelerated Filer  
Common Stock, Non-Cumulative Voting Rights of One Vote Per Share [Member]    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   8,614,693
Class A Common Stock [Member]    
Document Information [Line Items]    
Entity Common Stock, Shares Outstanding   2,597,426