XML 16 R1.htm IDEA: XBRL DOCUMENT v3.7.0.1
Document and Entity Information - USD ($)
12 Months Ended
Jun. 29, 2017
Aug. 11, 2017
Dec. 29, 2016
Document Information [Line Items]      
Document Type 10-K    
Amendment Flag false    
Document Period End Date Jun. 29, 2017    
Document Fiscal Year Focus 2017    
Document Fiscal Period Focus FY    
Trading Symbol JBSS    
Entity Registrant Name SANFILIPPO JOHN B & SON INC    
Entity Central Index Key 0000880117    
Current Fiscal Year End Date --06-29    
Entity Well-known Seasoned Issuer No    
Entity Current Reporting Status Yes    
Entity Voluntary Filers No    
Entity Filer Category Accelerated Filer    
Entity Public Float     $ 593,573,553
Common Stock, Non-Cumulative Voting Rights of One Vote Per Share [Member]      
Document Information [Line Items]      
Entity Common Stock, Shares Outstanding   8,699,983  
Class A Common Stock [Member]      
Document Information [Line Items]      
Entity Common Stock, Shares Outstanding   2,597,426