XML 14 R1.htm IDEA: XBRL DOCUMENT v3.24.2.u1
Cover Page - USD ($)
12 Months Ended
Jun. 27, 2024
Aug. 15, 2024
Dec. 28, 2023
Document Information [Line Items]      
Document Type 10-K    
Amendment Flag false    
Document Period End Date Jun. 27, 2024    
Document Fiscal Year Focus 2024    
Document Fiscal Period Focus FY    
Trading Symbol JBSS    
Entity Registrant Name SANFILIPPO JOHN B & SON INC    
Security Exchange Name NASDAQ    
Entity Interactive Data Current Yes    
Entity Central Index Key 0000880117    
Current Fiscal Year End Date --06-27    
Entity Well-known Seasoned Issuer Yes    
Entity Voluntary Filers No    
Entity Current Reporting Status Yes    
Entity Shell Company false    
Entity Filer Category Large Accelerated Filer    
Entity Small Business false    
Entity Emerging Growth Company false    
Title of 12(b) Security Common Stock    
Entity Address, State or Province IL    
Entity Public Float     $ 940,178,618
Securities Act File Number 0-19681    
Entity Incorporation, State or Country Code DE    
Entity Tax Identification Number 36-2419677    
Entity Address, Address Line One 1703 North Randall Road    
Entity Address, City or Town Elgin    
Entity Address, Postal Zip Code 60123    
City Area Code 847    
Local Phone Number 289-1800    
Document Transition Report false    
Document Annual Report true    
ICFR Auditor Attestation Flag true    
Auditor Name PricewaterhouseCoopers LLP    
Auditor Firm ID 238    
Auditor Location Chicago, Illinois    
Document Financial Statement Error Correction [Flag] false    
Common Stock, Non-Cumulative Voting Rights of One Vote Per Share [Member]      
Document Information [Line Items]      
Entity Common Stock, Shares Outstanding   9,006,038  
Class A Common Stock [Member]      
Document Information [Line Items]      
Entity Common Stock, Shares Outstanding   2,597,426