XML 13 R1.htm IDEA: XBRL DOCUMENT v3.8.0.1
DEI Document - shares
6 Months Ended
Mar. 31, 2018
Apr. 23, 2018
Document and entity information [Abstract]    
Entity Registrant Name Sanmina Corporation  
Entity Central Index Key 0000897723  
Document Type 10-Q  
Document Period End Date Mar. 31, 2018  
Amendment Flag false  
Document Fiscal Year Focus 2018  
Document Fiscal Period Focus Q2  
Current Fiscal Year End Date --09-29  
Entity Voluntary Filers No  
Entity Current Reporting Status Yes  
Entity Filer Category Large Accelerated Filer  
Entity Common Stock, Shares Outstanding   68,602,374