XML 32 R1.htm IDEA: XBRL DOCUMENT v2.4.0.6
Document And Entity Information (USD $)
9 Months Ended
May 26, 2012
Feb. 24, 2012
Jun. 29, 2012
Common Class A [Member]
Jun. 29, 2012
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   $ 890,888,543    
Entity Common Stock, Shares Outstanding     15,051,369 4,885,277
Document Fiscal Year Focus 2012      
Document Fiscal Period Focus Q3      
Document Type 10-Q      
Amendment Flag false      
Document Period End Date May 26, 2012