XML 30 R1.htm IDEA: XBRL DOCUMENT v2.4.0.6
Document And Entity Information (USD $)
3 Months Ended
Nov. 24, 2012
Feb. 24, 2012
Dec. 27, 2012
Common Class A [Member]
Dec. 27, 2012
Common Class B [Member]
Entity Information [Line Items]        
Entity Registrant Name UNIFIRST CORP      
Entity Central Index Key 0000717954      
Current Fiscal Year End Date --08-31      
Entity Well-known Seasoned Issuer Yes      
Entity Voluntary Filers No      
Entity Current Reporting Status Yes      
Entity Filer Category Large Accelerated Filer      
Entity Public Float   $ 890,888,543    
Entity Common Stock, Shares Outstanding     15,093,069 4,885,277
Document Fiscal Year Focus 2013      
Document Fiscal Period Focus Q1      
Document Type 10-Q      
Amendment Flag false      
Document Period End Date Nov. 24, 2012