XML 74 R59.htm IDEA: XBRL DOCUMENT
v3.25.3

LINE OF CREDIT FACILITY (Details) - USD ($) $ / shares in Units, shares in Thousands, $ in Thousands |  | 3 Months Ended | 12 Months Ended |  |  |  |  |
--- | --- | --- | --- | --- | --- | --- | --- | ---
Oct. 27, 2025 | Sep. 27, 2025 | Sep. 27, 2025 | Sep. 28, 2024 | Sep. 30, 2023 | Oct. 20, 2025 | Jul. 30, 2025 | Jul. 29, 2025 | May 18, 2025 | Sep. 27, 2022
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Acquisition and integration charges |  |  | $ 34,162 | $ 0 | $ 0 |  |  |  |  |
Subsequent Event | ZT Systems |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Business Combination, Effective Date of Acquisition | Oct. 27, 2025 |  |  |  |  |  |  |  |  |
Business Combination, Price Per Share | $ 130.32 |  |  |  |  |  |  |  |  |
Business Combination, Contingent Consideration, Range of Outcomes, Maximum, Amount | $ 450,000 |  |  |  |  |  |  |  |  |
Business Combination, Consideration Transferred, Equity Interest, Share Issued, Number of Shares | 1,200 |  |  |  |  |  |  |  |  |
Foreign Line of Credit |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum Borrowing Capacity |  | $ 71,000 | 71,000 |  |  |  |  |  |  |
Amount Outstanding |  | 0 | $ 0 |  |  |  |  |  |  |
Line of Credit Expiration Date |  |  | the first quarter of 2027 |  |  |  |  |  |  |
Bridge Loan |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum Borrowing Capacity |  |  |  |  |  |  | $ 800,000 |  | $ 2,500,000 |
Line of Credit Facility, Initiation Date |  |  | May 18, 2025 |  |  |  |  |  |  |
Acquisition and integration charges |  | $ 24,000 |  |  |  |  |  |  |  |
New Credit Agreement |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum Borrowing Capacity |  |  |  |  |  |  |  | $ 1,500,000 |  |
Line of Credit Facility, Initiation Date |  | Jul. 29, 2025 |  |  |  |  |  |  |  |
Line of Credit Facility, Commitment Fee Percentage |  | 0.25% |  |  |  |  |  |  |  |
Total Borrowing Capacity for Senior Secured Credit Facilities |  |  |  |  |  |  |  | 3,500,000 |  |
New Credit Agreement | Base Rate |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 0.75% |  |  |  |  |  |  |  |
New Credit Agreement | Secured Overnight Financing Rate (SOFR) |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate |  | 1.75% |  |  |  |  |  |  |  |
New Credit Agreement | Other Assets [Member] |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Issuance Costs, Gross |  | $ 5,000 | $ 5,000 |  |  |  |  |  |  |
Existing Credit Agreement |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Maximum Borrowing Capacity |  |  |  |  |  |  |  |  |  | $ 800,000
Additional Credit Line |  |  |  |  |  |  |  |  |  | 200,000
Line of Credit Facility, Initiation Date |  |  | Sep. 27, 2022 |  |  |  |  |  |  |
Facility Expiration Date |  |  | Sep. 27, 2027 |  |  |  |  |  |  |
Amount Outstanding |  | 0 | $ 0 |  |  |  |  |  |  |
Letters of Credit Outstanding, Amount |  | 9,000 | 9,000 |  |  |  |  |  |  |
Line of Credit Facility, Remaining Borrowing Capacity |  | $ 791,000 | $ 791,000 |  |  |  |  |  |  |
Term Loan |  |  |  |  |  |  |  |  |  | 350,000
Debt Issuance Costs, Gross |  |  |  |  |  |  |  |  |  | $ 3,000
Term Loan Due 2027 | Existing Credit Agreement |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Quarterly Principal Repayment Percentage for Long-term Debt |  | 1.25% | 1.25% |  |  |  |  |  |  |
Long Term Debt, Gross |  | $ 301,875 | $ 301,875 |  |  |  |  |  |  |
Loans Payable to Bank |  | $ 300,474 | $ 300,474 | $ 317,323 |  |  |  |  |  |
Term Loan B | New Credit Agreement | Subsequent Event |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Term Loan | $ 800,000 |  |  |  |  |  |  |  |  |
Loans Payable to Bank | $ 800,000 |  |  |  |  |  |  |  |  |
Term Loan B | New Credit Agreement | Base Rate | Subsequent Event |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate | 1.00% |  |  |  |  |  |  |  |  |
Term Loan B | New Credit Agreement | Secured Overnight Financing Rate (SOFR) | Subsequent Event |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Debt Instrument, Basis Spread on Variable Rate | 2.00% |  |  |  |  |  |  |  |  |
Term Loan A | New Credit Agreement |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Term Loan |  |  |  |  |  |  |  | $ 2,000,000 |  |
Term Loan A | New Credit Agreement | Subsequent Event |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Loans Payable to Bank | $ 1,400,000 |  |  |  |  |  |  |  |  |
Delayed Draw Term Loan A | New Credit Agreement | Subsequent Event |  |  |  |  |  |  |  |  |  |
Line of Credit Facility [Line Items] |  |  |  |  |  |  |  |  |  |
Term Loan |  |  |  |  |  | $ 600,000 |  |  |  |

X
- Definition Additional available line of credit as of the balance sheet date upon obtaining additional commitments from the lenders then party to the Loan Agreement or new lenders. + References No definition available. + Details
Name: | sanm_AdditionalCreditLine
Namespace Prefix: | sanm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Line of Credit Expiration Date + References No definition available. + Details
Name: | sanm_LineOfCreditExpirationDate
Namespace Prefix: | sanm_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Percentage represents the portion of principal repayment of long-term debt for each quarterly installment + References No definition available. + Details
Name: | sanm_RepaymentPercentageforLongtermDebt
Namespace Prefix: | sanm_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount that a credit facility can be increased upon receiving additional commitments from lenders and drawn on as a term loan + References No definition available. + Details
Name: | sanm_TermLoan
Namespace Prefix: | sanm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Total Borrowing Capacity for Senior Secured Credit Facilities + References No definition available. + Details
Name: | sanm_TotalBorrowingCapacityForSeniorSecuredCreditFacilities
Namespace Prefix: | sanm_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Date when acquirer obtains control of acquiree in business combination, in YYYY-MM-DD format. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 38 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-38 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-2 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-7 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 6 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-6 + Details
Name: | us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Number of shares of equity interest issued or issuable by acquirer as part of consideration transferred in business combination. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 41 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-41 Reference 3: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 4: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 5: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-42 + Details
Name: | us-gaap_BusinessAcquisitionEquityInterestsIssuedOrIssuableNumberOfSharesIssued
Namespace Prefix: | us-gaap_
Data Type: | xbrli:sharesItemType
Balance Type: | na
Period Type: | duration

X
- Definition Per share price of saleable stock paid or offered to be paid by acquirer in business combination. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 40 -Name Accounting Standards Codification -Section 55 -Paragraph 10 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479299/805-40-55-10 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (b)(4) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 5: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 42 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-42 + Details
Name: | us-gaap_BusinessAcquisitionSharePrice
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:perShareItemType
Balance Type: | na
Period Type: | instant

X
- Definition Amount of expense for acquisition-related cost incurred to effect business combination. Includes, but is not limited to, finder's fee; advisory, legal, accounting, valuation, and other professional and consulting fees; and general administrative cost, including cost of maintaining internal acquisition department. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 7 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-7 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 25 -Paragraph 23 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479405/805-10-25-23 + Details
Name: | us-gaap_BusinessCombinationAcquisitionRelatedCosts
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | duration

X
- Definition Maximum amount of estimate for undiscounted range of outcomes in contingent consideration arrangement in business combination. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 8 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479328/805-10-50-8 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 805 -SubTopic 10 -Name Accounting Standards Codification -Section 55 -Paragraph 43 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479303/805-10-55-43 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-2 Reference 4: http://www.xbrl.org/2003/role/disclosureRef -Topic 805 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Subparagraph (c)(3) -Publisher FASB -URI https://asc.fasb.org/1943274/2147479581/805-30-50-1 + Details
Name: | us-gaap_BusinessCombinationContingentConsiderationArrangementsRangeOfOutcomesValueHigh
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Percentage points added to the reference rate to compute the variable rate on the debt instrument. + References No definition available. + Details
Name: | us-gaap_DebtInstrumentBasisSpreadOnVariableRate1
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Amount, before unamortized (discount) premium and debt issuance costs, of long-term debt. Includes, but is not limited to, notes payable, bonds payable, commercial loans, mortgage loans, convertible debt, subordinated debt and other types of debt. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 20 -Name Accounting Standards Codification -Section 50 -Paragraph 4 -Subparagraph (b)(1) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481139/470-20-50-4 + Details
Name: | us-gaap_DebtInstrumentCarryingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount, before accumulated amortization, of debt issuance costs. Includes, but is not limited to, legal, accounting, underwriting, printing, and registration costs. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 45 -Paragraph 2 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482925/835-30-45-2 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 835 -SubTopic 30 -Name Accounting Standards Codification -Section 50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147482900/835-30-50-1 + Details
Name: | us-gaap_DeferredFinanceCostsGross
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | debit
Period Type: | instant

X
- Definition The total amount of the contingent obligation under letters of credit outstanding as of the reporting date. + References Reference 1: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 15 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-15 Reference 2: http://www.xbrl.org/2003/role/exampleRef -Topic 944 -SubTopic 605 -Name Accounting Standards Codification -Section 55 -Paragraph 12 -Publisher FASB -URI https://asc.fasb.org/1943274/2147477548/944-605-55-12 + Details
Name: | us-gaap_LettersOfCreditOutstandingAmount
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The carrying value as of the balance sheet date of the current and noncurrent portions of long-term obligations drawn from a line of credit, which is a bank's commitment to make loans up to a specific amount. Examples of items that might be included in the application of this element may consist of letters of credit, standby letters of credit, and revolving credit arrangements, under which borrowings can be made up to a maximum amount as of any point in time conditional on satisfaction of specified terms before, as of and after the date of drawdowns on the line. Includes short-term obligations that would normally be classified as current liabilities but for which (a) postbalance sheet date issuance of a long term obligation to refinance the short term obligation on a long term basis, or (b) the enterprise has entered into a financing agreement that clearly permits the enterprise to refinance the short-term obligation on a long term basis and the following conditions are met (1) the agreement does not expire within 1 year and is not cancelable by the lender except for violation of an objectively determinable provision, (2) no violation exists at the BS date, and (3) the lender has entered into the financing agreement is expected to be financially capable of honoring the agreement. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_LineOfCredit
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition The fee, expressed as a percentage of the line of credit facility, for the line of credit facility regardless of whether the facility has been used. + References No definition available. + Details
Name: | us-gaap_LineOfCreditFacilityCommitmentFeePercentage
Namespace Prefix: | us-gaap_
Data Type: | dtr-types:percentItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility terminates, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityExpirationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Date the credit facility first became available, in YYYY-MM-DD format. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityInitiationDate1
Namespace Prefix: | us-gaap_
Data Type: | xbrli:dateItemType
Balance Type: | na
Period Type: | duration

X
- Definition Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table. + References Reference 1: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S50 -Paragraph 1 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480738/235-10-S50-1 Reference 2: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 235 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.4-08(f)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480678/235-10-S99-1 Reference 3: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 4: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (a) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 + Details
Name: | us-gaap_LineOfCreditFacilityLineItems
Namespace Prefix: | us-gaap_
Data Type: | xbrli:stringItemType
Balance Type: | na
Period Type: | duration

X
- Definition Maximum borrowing capacity under the credit facility without consideration of any current restrictions on the amount that could be borrowed or the amounts currently outstanding under the facility. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Amount of borrowing capacity currently available under the credit facility (current borrowing capacity less the amount of borrowings outstanding). + References Reference 1: http://www.xbrl.org/2003/role/disclosureRef -Topic 470 -SubTopic 10 -Name Accounting Standards Codification -Section 50 -Paragraph 6 -Subparagraph (b) -Publisher FASB -URI https://asc.fasb.org/1943274/2147481544/470-10-50-6 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 3: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 210 -SubTopic 10 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(19)(b)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 + Details
Name: | us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Definition Including the current and noncurrent portions, carrying value as of the balance sheet date of loans from a bank with maturities initially due after one year or beyond the normal operating cycle if longer. + References Reference 1: http://fasb.org/us-gaap/role/ref/legacyRef -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.5-02(22)) -SubTopic 10 -Topic 210 -Publisher FASB -URI https://asc.fasb.org/1943274/2147480566/210-10-S99-1 Reference 2: http://fasb.org/us-gaap/role/ref/legacyRef -Topic 942 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.9-03(16)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478546/942-210-S99-1 Reference 3: http://www.xbrl.org/2009/role/commonPracticeRef -Topic 944 -SubTopic 210 -Name Accounting Standards Codification -Section S99 -Paragraph 1 -Subparagraph (SX 210.7-03(a)(16)(a)(2)) -Publisher FASB -URI https://asc.fasb.org/1943274/2147478777/944-210-S99-1 + Details
Name: | us-gaap_LoansPayableToBank
Namespace Prefix: | us-gaap_
Data Type: | xbrli:monetaryItemType
Balance Type: | credit
Period Type: | instant

X
- Details
Name: | us-gaap_SubsequentEventTypeAxis=us-gaap_SubsequentEventMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BusinessAcquisitionAxis=sanm_ZTSystemsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_ForeignLineOfCreditMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=us-gaap_BridgeLoanMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=sanm_NewCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_BaseRateMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_VariableRateAxis=us-gaap_SecuredOvernightFinancingRateSofrMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_BalanceSheetLocationAxis=us-gaap_OtherAssetsMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_CreditFacilityAxis=sanm_ExistingCreditAgreementMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=sanm_TermLoanDue2027Member
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=sanm_TermLoanBMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=sanm_TermLoanAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |

X
- Details
Name: | us-gaap_DebtInstrumentAxis=sanm_DelayedDrawTermLoanAMember
Namespace Prefix: |
Data Type: | na
Balance Type: |
Period Type: |