XML 32 R1.htm IDEA: XBRL DOCUMENT v2.4.0.6
Document And Entity Information (USD $)
3 Months Ended
Nov. 26, 2011
Feb. 25, 2011
Dec. 30, 2011
Common Class A [Member]
Dec. 30, 2011
Common Class B [Member]
Entity Information [Line Items]        
Entity Registrant Name UniFirst Corporation      
Entity Central Index Key 0000717954      
Current Fiscal Year End Date --08-25      
Entity Well-known Seasoned Issuer Yes      
Entity Voluntary Filers No      
Entity Current Reporting Status Yes      
Entity Filer Category Large Accelerated Filer      
Entity Public Float   $ 801,785,035    
Entity Common Stock, Shares Outstanding     15,005,171 4,885,277
Document Fiscal Year Focus 2012      
Document Fiscal Period Focus Q1      
Document Type 10-Q      
Amendment Flag false      
Document Period End Date Nov. 26, 2011