<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva, formerly WebFilings-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.sanmina.com/role/BalanceSheetParentheticalParentheticals" xlink:href="sanm-20140927.xsd#BalanceSheetParentheticalParentheticals" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ConsolidatedBalanceSheets" xlink:href="sanm-20140927.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="sanm-20140927.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="sanm-20140927.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ConsolidatedStatementsOfIncome" xlink:href="sanm-20140927.xsd#ConsolidatedStatementsOfIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:href="sanm-20140927.xsd#ConsolidatedStatementsOfStockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/DocumentAndEntityInformationDocument" xlink:href="sanm-20140927.xsd#DocumentAndEntityInformationDocument" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note10RestructuringCosts" xlink:href="sanm-20140927.xsd#Note10RestructuringCosts" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note10RestructuringCostsSegmentDisclosureDetails" xlink:href="sanm-20140927.xsd#Note10RestructuringCostsSegmentDisclosureDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note10RestructuringCostsTables" xlink:href="sanm-20140927.xsd#Note10RestructuringCostsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note10RestructuringRollforwardDetails" xlink:href="sanm-20140927.xsd#Note10RestructuringRollforwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note11EarningsPerShare" xlink:href="sanm-20140927.xsd#Note11EarningsPerShare" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note11EarningsPerShareDetails" xlink:href="sanm-20140927.xsd#Note11EarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note11EarningsPerShareTables" xlink:href="sanm-20140927.xsd#Note11EarningsPerShareTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12FairValueAndIntrinsicValueDetails" xlink:href="sanm-20140927.xsd#Note12FairValueAndIntrinsicValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12FairValueAssumptionsAndMethodologyDetails" xlink:href="sanm-20140927.xsd#Note12FairValueAssumptionsAndMethodologyDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12RestrictedStockRollforwardDetails" xlink:href="sanm-20140927.xsd#Note12RestrictedStockRollforwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12ShareBasedCompensationArrangementsDetails" xlink:href="sanm-20140927.xsd#Note12ShareBasedCompensationArrangementsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12StockBasedCompensation" xlink:href="sanm-20140927.xsd#Note12StockBasedCompensation" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12StockBasedCompensationTables" xlink:href="sanm-20140927.xsd#Note12StockBasedCompensationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12StockOptionsOutstandingDetails" xlink:href="sanm-20140927.xsd#Note12StockOptionsOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12StockOptionsOutstandingRollforwardDetails" xlink:href="sanm-20140927.xsd#Note12StockOptionsOutstandingRollforwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note12UnrecognizedStockBasedCompensationExpenseDetails" xlink:href="sanm-20140927.xsd#Note12UnrecognizedStockBasedCompensationExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note132009IncentivePlanDetails" xlink:href="sanm-20140927.xsd#Note132009IncentivePlanDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note13AccumulatedOtherComprehensiveIncomeLossDetails" xlink:href="sanm-20140927.xsd#Note13AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note13SharesAuthorizedForFutureIssuanceAndAvailableForGrantDetails" xlink:href="sanm-20140927.xsd#Note13SharesAuthorizedForFutureIssuanceAndAvailableForGrantDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note13StockholdersEquity" xlink:href="sanm-20140927.xsd#Note13StockholdersEquity" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note13StockholdersEquityTables" xlink:href="sanm-20140927.xsd#Note13StockholdersEquityTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note14OtherIncomeExpenseNet" xlink:href="sanm-20140927.xsd#Note14OtherIncomeExpenseNet" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note14OtherIncomeExpenseNetDetails" xlink:href="sanm-20140927.xsd#Note14OtherIncomeExpenseNetDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note14OtherIncomeExpenseNetTables" xlink:href="sanm-20140927.xsd#Note14OtherIncomeExpenseNetTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15EmployeeBenefitPlans" xlink:href="sanm-20140927.xsd#Note15EmployeeBenefitPlans" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15EmployeeBenefitPlansTables" xlink:href="sanm-20140927.xsd#Note15EmployeeBenefitPlansTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15FutureBenefitPaymentsDetails" xlink:href="sanm-20140927.xsd#Note15FutureBenefitPaymentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15NetAmountRecognizedInConsolidatedBalanceSheetDetails" xlink:href="sanm-20140927.xsd#Note15NetAmountRecognizedInConsolidatedBalanceSheetDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15NetPeriodicPensionCostDetails" xlink:href="sanm-20140927.xsd#Note15NetPeriodicPensionCostDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15PlanAssetsDetails" xlink:href="sanm-20140927.xsd#Note15PlanAssetsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note15ProjectedBenefitObligationDetails" xlink:href="sanm-20140927.xsd#Note15ProjectedBenefitObligationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note16BusinessSegmentGeographicAndCustomerInformation" xlink:href="sanm-20140927.xsd#Note16BusinessSegmentGeographicAndCustomerInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note16BusinessSegmentGeographicAndCustomerInformationTables" xlink:href="sanm-20140927.xsd#Note16BusinessSegmentGeographicAndCustomerInformationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note16LongLivedAssetsInformationByGeographicSegmentDetails" xlink:href="sanm-20140927.xsd#Note16LongLivedAssetsInformationByGeographicSegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note16NetSalesInformationByGeographicSegmentDetails" xlink:href="sanm-20140927.xsd#Note16NetSalesInformationByGeographicSegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note16RevenueAndExpensesBySegmentDetails" xlink:href="sanm-20140927.xsd#Note16RevenueAndExpensesBySegmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note17AcquisitionDetails" xlink:href="sanm-20140927.xsd#Note17AcquisitionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note17AcquisitionNotes" xlink:href="sanm-20140927.xsd#Note17AcquisitionNotes" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note17AcquisitionTables" xlink:href="sanm-20140927.xsd#Note17AcquisitionTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note1OrganizationOfSanmina" xlink:href="sanm-20140927.xsd#Note1OrganizationOfSanmina" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note1OrganizationOfSanminaDetails" xlink:href="sanm-20140927.xsd#Note1OrganizationOfSanminaDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note1OrganizationOfSanminaTables" xlink:href="sanm-20140927.xsd#Note1OrganizationOfSanminaTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note2AccountsReceivableDetails" xlink:href="sanm-20140927.xsd#Note2AccountsReceivableDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note2CashAndCashEquivalentsDetails" xlink:href="sanm-20140927.xsd#Note2CashAndCashEquivalentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note2PropertyPlantAndEquipmentDetails" xlink:href="sanm-20140927.xsd#Note2PropertyPlantAndEquipmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note2SummaryOfSignificantAccountingPolicies" xlink:href="sanm-20140927.xsd#Note2SummaryOfSignificantAccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note2SummaryOfSignificantAccountingPoliciesPolicies" xlink:href="sanm-20140927.xsd#Note2SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note2SummaryOfSignificantAccountingPoliciesTables" xlink:href="sanm-20140927.xsd#Note2SummaryOfSignificantAccountingPoliciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note3BalanceSheetItems" xlink:href="sanm-20140927.xsd#Note3BalanceSheetItems" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note3BalanceSheetItemsTables" xlink:href="sanm-20140927.xsd#Note3BalanceSheetItemsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note3InventoryDetails" xlink:href="sanm-20140927.xsd#Note3InventoryDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note3PropertyPlantAndEquipmentDetails" xlink:href="sanm-20140927.xsd#Note3PropertyPlantAndEquipmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note3WarrantyReserveDetails" xlink:href="sanm-20140927.xsd#Note3WarrantyReserveDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note4AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueDetails" xlink:href="sanm-20140927.xsd#Note4AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note4FairValue" xlink:href="sanm-20140927.xsd#Note4FairValue" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note4FairValueTables" xlink:href="sanm-20140927.xsd#Note4FairValueTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note4FinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:href="sanm-20140927.xsd#Note4FinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note4NonFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:href="sanm-20140927.xsd#Note4NonFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note5DerivativeFinancialInstruments" xlink:href="sanm-20140927.xsd#Note5DerivativeFinancialInstruments" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note5DerivativeFinancialInstrumentsDetails" xlink:href="sanm-20140927.xsd#Note5DerivativeFinancialInstrumentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note5DerivativeFinancialInstrumentsTables" xlink:href="sanm-20140927.xsd#Note5DerivativeFinancialInstrumentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note5EffectOfCashFlowHedgingRelationshipsDetails" xlink:href="sanm-20140927.xsd#Note5EffectOfCashFlowHedgingRelationshipsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note5ForeignCurrencyForwardContractsDetails" xlink:href="sanm-20140927.xsd#Note5ForeignCurrencyForwardContractsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note6ConcentrationOfCreditRiskDetails" xlink:href="sanm-20140927.xsd#Note6ConcentrationOfCreditRiskDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note6FinancialInstrumentsAndConcentrationOfCreditRisk" xlink:href="sanm-20140927.xsd#Note6FinancialInstrumentsAndConcentrationOfCreditRisk" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note6FinancialInstrumentsAndConcentrationOfCreditRiskTables" xlink:href="sanm-20140927.xsd#Note6FinancialInstrumentsAndConcentrationOfCreditRiskTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note7Debt" xlink:href="sanm-20140927.xsd#Note7Debt" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note7DebtDetailDetails" xlink:href="sanm-20140927.xsd#Note7DebtDetailDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note7DebtMaturitiesDetails" xlink:href="sanm-20140927.xsd#Note7DebtMaturitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note7DebtScheduleDetails" xlink:href="sanm-20140927.xsd#Note7DebtScheduleDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note7DebtTables" xlink:href="sanm-20140927.xsd#Note7DebtTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note7LineOfCreditFacilityDetails" xlink:href="sanm-20140927.xsd#Note7LineOfCreditFacilityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note8CommitmentAndContingencies" xlink:href="sanm-20140927.xsd#Note8CommitmentAndContingencies" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note8CommitmentAndContingenciesTables" xlink:href="sanm-20140927.xsd#Note8CommitmentAndContingenciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note8CommitmentDetails" xlink:href="sanm-20140927.xsd#Note8CommitmentDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note8LossContingencyDetails" xlink:href="sanm-20140927.xsd#Note8LossContingencyDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9DeferredTaxAssetsAndLiabilitiesDetails" xlink:href="sanm-20140927.xsd#Note9DeferredTaxAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9EffectiveTaxRateDetails" xlink:href="sanm-20140927.xsd#Note9EffectiveTaxRateDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9IncomeLossBeforeIncomeTaxDetails" xlink:href="sanm-20140927.xsd#Note9IncomeLossBeforeIncomeTaxDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9IncomeTax" xlink:href="sanm-20140927.xsd#Note9IncomeTax" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9IncomeTaxDetailDetails" xlink:href="sanm-20140927.xsd#Note9IncomeTaxDetailDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9IncomeTaxTables" xlink:href="sanm-20140927.xsd#Note9IncomeTaxTables" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/Note9UnrecognizedTaxBenefitsDetails" xlink:href="sanm-20140927.xsd#Note9UnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ScheduleIiValuationAndQualifyingAccounts" xlink:href="sanm-20140927.xsd#ScheduleIiValuationAndQualifyingAccounts" xlink:type="simple" />
  <roleRef roleURI="http://www.sanmina.com/role/ScheduleIiValuationAndQualifyingAccountsDetails" xlink:href="sanm-20140927.xsd#ScheduleIiValuationAndQualifyingAccountsDetails" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.sanmina.com/role/BalanceSheetParentheticalParentheticals" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_68E6283D820A6159B523779EF6C71023" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_B1173A82CCCFF14987BA779EF6C6F1AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_68E6283D820A6159B523779EF6C71023" xlink:to="loc_us-gaap_StatementTable_B1173A82CCCFF14987BA779EF6C6F1AD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_916BFFA3EA3DA3B66CBB779EF6C63101" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_B1173A82CCCFF14987BA779EF6C6F1AD" xlink:to="loc_us-gaap_StatementScenarioAxis_916BFFA3EA3DA3B66CBB779EF6C63101" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_78F76B082CD617B626AD779EF6C66AB6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_916BFFA3EA3DA3B66CBB779EF6C63101" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_78F76B082CD617B626AD779EF6C66AB6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_78F76B082CD617B626AD779EF6C66AB6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_916BFFA3EA3DA3B66CBB779EF6C63101" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_78F76B082CD617B626AD779EF6C66AB6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_3AF632F53586D5CC06B8779EF6C73738" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_68E6283D820A6159B523779EF6C71023" xlink:to="loc_us-gaap_AssetsAbstract_3AF632F53586D5CC06B8779EF6C73738" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AssetsCurrentAbstract" xlink:label="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3AF632F53586D5CC06B8779EF6C73738" xlink:to="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_BC6C17446081D72F1B7A779EF6C7B3DB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_BC6C17446081D72F1B7A779EF6C7B3DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsAndOtherReceivablesNetCurrent" xlink:label="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_ACBD1BEB98AA2A6DB44E779EF6C76BE2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:to="loc_us-gaap_AccountsAndOtherReceivablesNetCurrent_ACBD1BEB98AA2A6DB44E779EF6C76BE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InventoryNet" xlink:label="loc_us-gaap_InventoryNet_DBA0D87D3857A9BDA115779EF6C77498" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:to="loc_us-gaap_InventoryNet_DBA0D87D3857A9BDA115779EF6C77498" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssetsCurrent" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_337A4A6A0CAE10D5040C779EF6C74F4D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssetsCurrent_337A4A6A0CAE10D5040C779EF6C74F4D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AssetsCurrent" xlink:label="loc_us-gaap_AssetsCurrent_765CCA2D0357ADB61BCE779EF6C7208B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsCurrentAbstract_B18ADB0181576BB1FCD4779EF6C7EC70" xlink:to="loc_us-gaap_AssetsCurrent_765CCA2D0357ADB61BCE779EF6C7208B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_4D22315F90BC2E73EE81779EF6C7A413" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3AF632F53586D5CC06B8779EF6C73738" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_4D22315F90BC2E73EE81779EF6C7A413" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssetsNoncurrent" xlink:label="loc_us-gaap_OtherAssetsNoncurrent_633EEABEE8A8F31066FC779EF6C7B3BA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3AF632F53586D5CC06B8779EF6C73738" xlink:to="loc_us-gaap_OtherAssetsNoncurrent_633EEABEE8A8F31066FC779EF6C7B3BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_F0D2BA403ADA7304079A779EF6C74534" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_3AF632F53586D5CC06B8779EF6C73738" xlink:to="loc_us-gaap_Assets_F0D2BA403ADA7304079A779EF6C74534" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_68E6283D820A6159B523779EF6C71023" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesCurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:to="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccountsPayableCurrent" xlink:label="loc_us-gaap_AccountsPayableCurrent_7AD8B1775662D263A56C779EF6C87EA1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:to="loc_us-gaap_AccountsPayableCurrent_7AD8B1775662D263A56C779EF6C87EA1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherLiabilitiesCurrent" xlink:label="loc_us-gaap_OtherLiabilitiesCurrent_3CB488AB7A23AD17F122779EF6C8B7E7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:to="loc_us-gaap_OtherLiabilitiesCurrent_3CB488AB7A23AD17F122779EF6C8B7E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeRelatedLiabilitiesCurrent" xlink:label="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_51ED3791C9FF82F5989A779EF6C85AA7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:to="loc_us-gaap_EmployeeRelatedLiabilitiesCurrent_51ED3791C9FF82F5989A779EF6C85AA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtCurrent" xlink:label="loc_us-gaap_DebtCurrent_F9E0491A3FBE0B24048B779EF6C8E2DB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:to="loc_us-gaap_DebtCurrent_F9E0491A3FBE0B24048B779EF6C8E2DB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesCurrent" xlink:label="loc_us-gaap_LiabilitiesCurrent_3CBBF12E307F1914036A779EF6C83C2C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract_9884508815371BD4B531779EF6C7D278" xlink:to="loc_us-gaap_LiabilitiesCurrent_3CBBF12E307F1914036A779EF6C83C2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesNoncurrentAbstract" xlink:label="loc_us-gaap_LiabilitiesNoncurrentAbstract_681F18B73B99BDD694B6779EF6C840D5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:to="loc_us-gaap_LiabilitiesNoncurrentAbstract_681F18B73B99BDD694B6779EF6C840D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_E1DA3B90F00C51E43AEE779EF6C81B97" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_681F18B73B99BDD694B6779EF6C840D5" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_E1DA3B90F00C51E43AEE779EF6C81B97" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherLiabilitiesNoncurrent" xlink:label="loc_us-gaap_OtherLiabilitiesNoncurrent_C3E77E04913D8539C6C1779EF6C8E1D2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_681F18B73B99BDD694B6779EF6C840D5" xlink:to="loc_us-gaap_OtherLiabilitiesNoncurrent_C3E77E04913D8539C6C1779EF6C8E1D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesNoncurrent" xlink:label="loc_us-gaap_LiabilitiesNoncurrent_A3B6E3626725BD4D8ECF779EF6C8EB67" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesNoncurrentAbstract_681F18B73B99BDD694B6779EF6C840D5" xlink:to="loc_us-gaap_LiabilitiesNoncurrent_A3B6E3626725BD4D8ECF779EF6C8EB67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_3F694E241B966203691C779EF6C85B29" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:to="loc_us-gaap_CommitmentsAndContingencies_3F694E241B966203691C779EF6C85B29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquityAbstract" xlink:label="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:to="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PreferredStockValueOutstanding" xlink:label="loc_us-gaap_PreferredStockValueOutstanding_B31DF3CFE5A9C74695B9779EF6C801F8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_PreferredStockValueOutstanding_B31DF3CFE5A9C74695B9779EF6C801F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockValueOutstanding" xlink:label="loc_us-gaap_CommonStockValueOutstanding_CA37E2C30C21496AF7F8779EF6C9228E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_CommonStockValueOutstanding_CA37E2C30C21496AF7F8779EF6C9228E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockValue" xlink:label="loc_us-gaap_TreasuryStockValue_231CB13C0CB4C90AABEC779EF6C9B6A9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_TreasuryStockValue_231CB13C0CB4C90AABEC779EF6C9B6A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdditionalPaidInCapitalCommonStock" xlink:label="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8A7233E85B771EEC644E779EF6C9851F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_AdditionalPaidInCapitalCommonStock_8A7233E85B771EEC644E779EF6C9851F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_E766219D072E88C8C719779EF6C96921" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_E766219D072E88C8C719779EF6C96921" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_96B55C7B440B2BD197B9779EF6C978BF" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_96B55C7B440B2BD197B9779EF6C978BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_A8378D45AC8A1E014AA0779EF6C99EAC" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityAbstract_B903AD9F96C8069380C2779EF6C8664E" xlink:to="loc_us-gaap_StockholdersEquity_A8378D45AC8A1E014AA0779EF6C99EAC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_EE8588BE6D20CF3CF53C779EF6C90608" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_56474CB66281C6A535D7779EF6C736A3" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_EE8588BE6D20CF3CF53C779EF6C90608" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8CD607BD23C35FA456819C2605313F48" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_StatementTable_8CD607BD23C35FA456819C2605313F48" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_43B8C8B6260656651FB59C260531960D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8CD607BD23C35FA456819C2605313F48" xlink:to="loc_us-gaap_StatementScenarioAxis_43B8C8B6260656651FB59C260531960D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_4E38F6636751D5B339F99C260531DADC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_43B8C8B6260656651FB59C260531960D" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_4E38F6636751D5B339F99C260531DADC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_4E38F6636751D5B339F99C260531DADC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_43B8C8B6260656651FB59C260531960D" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_4E38F6636751D5B339F99C260531DADC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_8DD089F66F1136BCEF259C260531DFE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_8DD089F66F1136BCEF259C260531DFE7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_A77F88F8700818A5EF159C2605311A42" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_8DD089F66F1136BCEF259C260531DFE7" xlink:to="loc_us-gaap_NetIncomeLoss_A77F88F8700818A5EF159C2605311A42" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_8DD089F66F1136BCEF259C260531DFE7" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_1025C9ECA8E2E2C17FED9C26053121FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_1025C9ECA8E2E2C17FED9C26053121FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_70F166065AD378E1987C9C260531ED77" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_ShareBasedCompensation_70F166065AD378E1987C9C260531ED77" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ProvisionForBenefitFromDoubtfulAccountsProductReturnsAndOtherSalesAdjustments" xlink:label="loc_sanm_ProvisionForBenefitFromDoubtfulAccountsProductReturnsAndOtherSalesAdjustments_481A0663DCD7C8F650FA9C260531AA57" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_sanm_ProvisionForBenefitFromDoubtfulAccountsProductReturnsAndOtherSalesAdjustments_481A0663DCD7C8F650FA9C260531AA57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_31B37ED3AA35B82C45AE9C260531CC7E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_31B37ED3AA35B82C45AE9C260531CC7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainLossOnSaleOfProperties" xlink:label="loc_us-gaap_GainLossOnSaleOfProperties_CA3671B3F8D8B129063A9C260531B74D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_GainLossOnSaleOfProperties_CA3671B3F8D8B129063A9C260531B74D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf" xlink:label="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_D01F59E87D4E67FDC7C39C260531F954" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_ImpairmentOfLongLivedAssetsToBeDisposedOf_D01F59E87D4E67FDC7C39C260531F954" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_8B817918DCBF85472B189C26053158BA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_8B817918DCBF85472B189C26053158BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurring" xlink:label="loc_us-gaap_LossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurring_579A4EB612C50CC6FE299C2605311B49" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_LossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurring_579A4EB612C50CC6FE299C2605311B49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_AC2185B81C06B1B2D1CA9C26053140AB" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_9B396B3F76B67BFD372E9C260531A812" xlink:to="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement_AC2185B81C06B1B2D1CA9C26053140AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_8DD089F66F1136BCEF259C260531DFE7" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsReceivable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_9E9C01E9A59F93BA09AB9C2605317881" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsReceivable_9E9C01E9A59F93BA09AB9C2605317881" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInInventories" xlink:label="loc_us-gaap_IncreaseDecreaseInInventories_8DB042EF84948036DF309C2605318A57" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:to="loc_us-gaap_IncreaseDecreaseInInventories_8DB042EF84948036DF309C2605318A57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_6AE817FDB9C788FC263D9C260531F716" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:to="loc_us-gaap_IncreaseDecreaseInPrepaidDeferredExpenseAndOtherAssets_6AE817FDB9C788FC263D9C260531F716" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInAccountsPayable" xlink:label="loc_us-gaap_IncreaseDecreaseInAccountsPayable_1773E712052ED0D34CD09C260531CFB8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:to="loc_us-gaap_IncreaseDecreaseInAccountsPayable_1773E712052ED0D34CD09C260531CFB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_4C65C2277FBFE74900309C2605311F9A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_B2077A938B319ECA7D7C9C2605310081" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_4C65C2277FBFE74900309C2605311F9A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_46A29BDEEBD946431E339C2605313619" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_8DD089F66F1136BCEF259C260531DFE7" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesContinuingOperations_46A29BDEEBD946431E339C2605313619" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_6E0F804E9B6CC9A713839C26D5CB99CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:to="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_6E0F804E9B6CC9A713839C26D5CB99CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquirePropertyPlantAndEquipment" xlink:label="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_49682680BBC310FE1ABF9C26053166CA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:to="loc_us-gaap_PaymentsToAcquirePropertyPlantAndEquipment_49682680BBC310FE1ABF9C26053166CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment" xlink:label="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_2D98DF115220A89FA96C9C260531660A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:to="loc_us-gaap_ProceedsFromSaleOfPropertyPlantAndEquipment_2D98DF115220A89FA96C9C260531660A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_44F8014FD6C61CE5CFE69C26053177BF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_44F8014FD6C61CE5CFE69C26053177BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_4014198031AE665785CF9C260531BFC3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_A17E9683FA7829C7320F9C2605312213" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesContinuingOperations_4014198031AE665785CF9C260531BFC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromRepaymentsOfRestrictedCashFinancingActivities" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfRestrictedCashFinancingActivities_C480A00EB39FBA6C4EE59C2605318E7B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_ProceedsFromRepaymentsOfRestrictedCashFinancingActivities_C480A00EB39FBA6C4EE59C2605318E7B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromShortTermDebt" xlink:label="loc_us-gaap_ProceedsFromShortTermDebt_9A2A925A7600D52390539C2605313271" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_ProceedsFromShortTermDebt_9A2A925A7600D52390539C2605313271" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RepaymentsOfShortTermDebt" xlink:label="loc_us-gaap_RepaymentsOfShortTermDebt_2820ECFC9F7B1A41C4829C2605318C45" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_RepaymentsOfShortTermDebt_2820ECFC9F7B1A41C4829C2605318C45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromLinesOfCredit" xlink:label="loc_us-gaap_ProceedsFromLinesOfCredit_AF3F1505C421536F41EA9C260531C534" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_ProceedsFromLinesOfCredit_AF3F1505C421536F41EA9C260531C534" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RepaymentsOfLinesOfCredit" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_9BBAB48A54D48AF2FA059C260531634A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_9BBAB48A54D48AF2FA059C260531634A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RepaymentsOfLongTermDebt" xlink:label="loc_us-gaap_RepaymentsOfLongTermDebt_02604A0842211909FD6C9C260531B1C3" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_RepaymentsOfLongTermDebt_02604A0842211909FD6C9C260531B1C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromIssuanceOfLongTermDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_416504FF5C77580AFD239C2605319245" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfLongTermDebt_416504FF5C77580AFD239C2605319245" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_RevolvingCreditFacilityIssuanceCosts" xlink:label="loc_sanm_RevolvingCreditFacilityIssuanceCosts_BF5A231BB721F28426D09C2605319C83" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_sanm_RevolvingCreditFacilityIssuanceCosts_BF5A231BB721F28426D09C2605319C83" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_FBB23552760ABA4D239F9C260531CA56" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfSharesUnderIncentiveAndShareBasedCompensationPlansIncludingStockOptions_FBB23552760ABA4D239F9C260531CA56" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Proceedsfromterminationsofinterestrateswaps" xlink:label="loc_sanm_Proceedsfromterminationsofinterestrateswaps_48EAD7FD666746C77A8B9C2605315F51" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_sanm_Proceedsfromterminationsofinterestrateswaps_48EAD7FD666746C77A8B9C2605315F51" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_2E05218EC5B8AC7A49749C26053192CA" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_2E05218EC5B8AC7A49749C26053192CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8C936B8C8BB73CDF91DE9C2605318500" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_4EF599A9356A117669F59C260531B58C" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesContinuingOperations_8C936B8C8BB73CDF91DE9C2605318500" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents" xlink:label="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_5F1F55DAE565B33C24C59C26053179FF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_EffectOfExchangeRateOnCashAndCashEquivalents_5F1F55DAE565B33C24C59C26053179FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_EE42B71636181AA0F0899C260531AE58" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_EE42B71636181AA0F0899C260531AE58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F56B3F7361742D736D9D9C260531BC76" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_F56B3F7361742D736D9D9C260531BC76" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SupplementalCashFlowInformationAbstract" xlink:label="loc_us-gaap_SupplementalCashFlowInformationAbstract_978311B500D85ED899339C26053160A0" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_SupplementalCashFlowInformationAbstract_978311B500D85ED899339C26053160A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestPaidNet" xlink:label="loc_us-gaap_InterestPaidNet_0EC1A6296185D40A06F09C2605317D8F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_978311B500D85ED899339C26053160A0" xlink:to="loc_us-gaap_InterestPaidNet_0EC1A6296185D40A06F09C2605317D8F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxesPaidNet" xlink:label="loc_us-gaap_IncomeTaxesPaidNet_5FA1CF74C0F788301C3E9C2605317F53" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SupplementalCashFlowInformationAbstract_978311B500D85ED899339C26053160A0" xlink:to="loc_us-gaap_IncomeTaxesPaidNet_5FA1CF74C0F788301C3E9C2605317F53" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncashInvestingAndFinancingItemsAbstract" xlink:label="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_36D436EF82C7799C462E9C260531EF7E" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_DA94BCC7E6ED058657739C260531F1A3" xlink:to="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_36D436EF82C7799C462E9C260531EF7E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NotesIssued1" xlink:label="loc_us-gaap_NotesIssued1_067BEE8E55EED52EC0D39C260531F08A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_36D436EF82C7799C462E9C260531EF7E" xlink:to="loc_us-gaap_NotesIssued1_067BEE8E55EED52EC0D39C260531F08A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_0A57815DB2BD95E26A97566CD3F5E4F3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_E60E9C8D373B70B5542A566CD3F51DAF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_0A57815DB2BD95E26A97566CD3F5E4F3" xlink:to="loc_us-gaap_StatementTable_E60E9C8D373B70B5542A566CD3F51DAF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_8A0F0D021D5F3492D56B566CD3F5CEEE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_E60E9C8D373B70B5542A566CD3F51DAF" xlink:to="loc_us-gaap_StatementScenarioAxis_8A0F0D021D5F3492D56B566CD3F5CEEE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_BE11F46742A39CABC772566CD3F5484B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_8A0F0D021D5F3492D56B566CD3F5CEEE" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_BE11F46742A39CABC772566CD3F5484B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_BE11F46742A39CABC772566CD3F5484B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_8A0F0D021D5F3492D56B566CD3F5CEEE" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_BE11F46742A39CABC772566CD3F5484B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_B727989FB7ED1A7D6F61566CD3F62488" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0A57815DB2BD95E26A97566CD3F5E4F3" xlink:to="loc_us-gaap_NetIncomeLoss_B727989FB7ED1A7D6F61566CD3F62488" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_0A57815DB2BD95E26A97566CD3F5E4F3" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_894127D5F32410EFD85F566CD3F63A42" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossForeignCurrencyTransactionAndTranslationAdjustmentNetOfTax_894127D5F32410EFD85F566CD3F63A42" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_EA3A52E548AD74F4A261566CD3F655F1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:to="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_EA3A52E548AD74F4A261566CD3F655F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_61DF713E9ED8FC47401A566CD3F643ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_EA3A52E548AD74F4A261566CD3F655F1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeUnrealizedGainLossOnDerivativesArisingDuringPeriodNetOfTax_61DF713E9ED8FC47401A566CD3F643ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_77A6FAC256B6754B15D9566CD3F6B4DE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_EA3A52E548AD74F4A261566CD3F655F1" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIOnDerivativesNetOfTax_77A6FAC256B6754B15D9566CD3F6B4DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PensionAndOtherPostretirementBenefitExpenseAbstract" xlink:label="loc_us-gaap_PensionAndOtherPostretirementBenefitExpenseAbstract_7501B7E147D7D4DA3653566CD3F6E860" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:to="loc_us-gaap_PensionAndOtherPostretirementBenefitExpenseAbstract_7501B7E147D7D4DA3653566CD3F6E860" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_268CC95307DC6CB4F742566CD3F61476" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PensionAndOtherPostretirementBenefitExpenseAbstract_7501B7E147D7D4DA3653566CD3F6E860" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansAdjustmentBeforeReclassificationAdjustmentsNetOfTax_268CC95307DC6CB4F742566CD3F61476" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_ADDB6DCF260105880EA7566CD3F746AA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PensionAndOtherPostretirementBenefitExpenseAbstract_7501B7E147D7D4DA3653566CD3F6E860" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIPensionAndOtherPostretirementBenefitPlansNetOfTax_ADDB6DCF260105880EA7566CD3F746AA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_D3BB12178A43C761E7DB566CD3F7E551" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_D3BB12178A43C761E7DB566CD3F7E551" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ComprehensiveIncomeNetOfTax" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax_E1A0080B3E8F5E0D01B5566CD3F7AB82" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_F7B97983238FFC4F1537566CD3F69212" xlink:to="loc_us-gaap_ComprehensiveIncomeNetOfTax_E1A0080B3E8F5E0D01B5566CD3F7AB82" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/ConsolidatedStatementsOfIncome" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_561AAA8D699C1AEB83729FE691A7C7F5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_StatementTable_561AAA8D699C1AEB83729FE691A7C7F5" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementScenarioAxis" xlink:label="loc_us-gaap_StatementScenarioAxis_96E79E0CE5082ED882D89FE691A7F846" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_561AAA8D699C1AEB83729FE691A7C7F5" xlink:to="loc_us-gaap_StatementScenarioAxis_96E79E0CE5082ED882D89FE691A7F846" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_B590CDA240F8F72EF8779FE691A7761B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementScenarioAxis_96E79E0CE5082ED882D89FE691A7F846" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_B590CDA240F8F72EF8779FE691A7761B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScenarioUnspecifiedDomain" xlink:label="loc_us-gaap_ScenarioUnspecifiedDomain_B590CDA240F8F72EF8779FE691A7761B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementScenarioAxis_96E79E0CE5082ED882D89FE691A7F846" xlink:to="loc_us-gaap_ScenarioUnspecifiedDomain_B590CDA240F8F72EF8779FE691A7761B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_4A3B849825F468BB6AAE9FE691A7F726" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_SalesRevenueNet_4A3B849825F468BB6AAE9FE691A7F726" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostOfGoodsAndServicesSold" xlink:label="loc_us-gaap_CostOfGoodsAndServicesSold_F974E7D9F6E654D016FD9FE691A727B3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_CostOfGoodsAndServicesSold_F974E7D9F6E654D016FD9FE691A727B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_8D1CCC0F7D5EB04A376C9FE691A7C963" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_GrossProfit_8D1CCC0F7D5EB04A376C9FE691A7C963" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingExpensesAbstract" xlink:label="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpense" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpense_DB0452CACBFCB4F11A0F9FE691A75EB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpense_DB0452CACBFCB4F11A0F9FE691A75EB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ResearchAndDevelopmentExpense" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpense_F94E4C793C72F125A9079FE691A7C9D6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpense_F94E4C793C72F125A9079FE691A7C9D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_7926F99F5F84F40FBB7C9FE701E2C031" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_RestructuringCharges_7926F99F5F84F40FBB7C9FE701E2C031" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AmortizationOfIntangibleAssets" xlink:label="loc_us-gaap_AmortizationOfIntangibleAssets_D2189FF03C64DC019FAB9FE691A77062" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_AmortizationOfIntangibleAssets_D2189FF03C64DC019FAB9FE691A77062" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssetImpairmentCharges" xlink:label="loc_us-gaap_OtherAssetImpairmentCharges_925594ACEE2FACB518839FE691A72DF3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_OtherAssetImpairmentCharges_925594ACEE2FACB518839FE691A72DF3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainLossOnDispositionOfAssets" xlink:label="loc_us-gaap_GainLossOnDispositionOfAssets_80BBABFFDAD60BA8CEB39FE691A7D729" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_GainLossOnDispositionOfAssets_80BBABFFDAD60BA8CEB39FE691A7D729" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingExpenses" xlink:label="loc_us-gaap_OperatingExpenses_379FA6E3B3613F7C2F049FE691A7DC92" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingExpensesAbstract_CBD0A7233A4CF011034B9FE691A703DF" xlink:to="loc_us-gaap_OperatingExpenses_379FA6E3B3613F7C2F049FE691A7DC92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingIncomeLoss" xlink:label="loc_us-gaap_OperatingIncomeLoss_59B29BCD583BE7A67A3B9FE691A74FFF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_OperatingIncomeLoss_59B29BCD583BE7A67A3B9FE691A74FFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestAndOtherIncome" xlink:label="loc_us-gaap_InterestAndOtherIncome_B93CF04D8205525583FA9FE691A7519B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_InterestAndOtherIncome_B93CF04D8205525583FA9FE691A7519B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_83775AE406298996FDDD9FE691A79196" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_InterestExpense_83775AE406298996FDDD9FE691A79196" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_F4EADD65512E091CA6849FE691A766CC" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_F4EADD65512E091CA6849FE691A766CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_CE647BF524E4A8EF00769FE691A70CAE" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_CE647BF524E4A8EF00769FE691A70CAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NonoperatingIncomeExpense" xlink:label="loc_us-gaap_NonoperatingIncomeExpense_8EE5A4C9C5DACAE7C2099FE691A7E677" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_NonoperatingIncomeExpense_8EE5A4C9C5DACAE7C2099FE691A7E677" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_9B7E33A852406C0BEAD69FE691A7E9E9" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_9B7E33A852406C0BEAD69FE691A7E9E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_16336ABD659220D71D689FE691A7ECF7" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_16336ABD659220D71D689FE691A7ECF7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_B9CE7C0C6A2E76CAB9FA9FE691A75E19" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_NetIncomeLoss_B9CE7C0C6A2E76CAB9FA9FE691A75E19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EarningsPerShareAbstract" xlink:label="loc_us-gaap_EarningsPerShareAbstract_1DB128FC95B09486347E9FE691A7A9FB" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_EarningsPerShareAbstract_1DB128FC95B09486347E9FE691A7A9FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_EB2A0ABED2477E9C916C9FE691A7D062" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1DB128FC95B09486347E9FE691A7A9FB" xlink:to="loc_us-gaap_EarningsPerShareBasic_EB2A0ABED2477E9C916C9FE691A7D062" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_CC9130835CF2362D2E169FE691A7CCB1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareAbstract_1DB128FC95B09486347E9FE691A7A9FB" xlink:to="loc_us-gaap_EarningsPerShareDiluted_CC9130835CF2362D2E169FE691A7CCB1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_3289DC5E55E91826FF069FE691A751C3" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_8D979CF4916194C8072B9FE691A7683F" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_3289DC5E55E91826FF069FE691A751C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_F6CC193A9D06CABE859A9FE691A796EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_3289DC5E55E91826FF069FE691A751C3" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_F6CC193A9D06CABE859A9FE691A796EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_A7C8F90E298D2AE6ABCF9FE691A71495" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_3289DC5E55E91826FF069FE691A751C3" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_A7C8F90E298D2AE6ABCF9FE691A71495" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/ConsolidatedStatementsOfStockholdersEquity" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_9A36CFDA4E7F76FCA888813A816FFC47" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_8F9A74D7F7454AEB8B82813A816FE465" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_9A36CFDA4E7F76FCA888813A816FFC47" xlink:to="loc_us-gaap_StatementTable_8F9A74D7F7454AEB8B82813A816FE465" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_2386BD977C3ED0945F58813A816F5641" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_8F9A74D7F7454AEB8B82813A816FE465" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_2386BD977C3ED0945F58813A816F5641" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2386BD977C3ED0945F58813A816F5641" xlink:to="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_2386BD977C3ED0945F58813A816F5641" xlink:to="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_CF1F3C6EF6DFCC1826D0813A816F1D37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:to="loc_us-gaap_CommonStockIncludingAdditionalPaidInCapitalMember_CF1F3C6EF6DFCC1826D0813A816F1D37" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_NumberofCommonSharesMember" xlink:label="loc_sanm_NumberofCommonSharesMember_C7A691B6C0D85F5FF74A813A816F17FE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:to="loc_sanm_NumberofCommonSharesMember_C7A691B6C0D85F5FF74A813A816F17FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockMember" xlink:label="loc_us-gaap_TreasuryStockMember_F147BC13ACB13C18C5E6813A816F1450" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:to="loc_us-gaap_TreasuryStockMember_F147BC13ACB13C18C5E6813A816F1450" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0A0E0147566604C1C9F3813A816FE426" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_0A0E0147566604C1C9F3813A816FE426" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_EE8782F973B85297F07F813A816F39CD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_35A694156DCC932C10F5813A816FD2B6" xlink:to="loc_us-gaap_RetainedEarningsMember_EE8782F973B85297F07F813A816F39CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_9A36CFDA4E7F76FCA888813A816FFC47" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_9B5BAC18E3044B3A99C6813A816F5C4C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_StockholdersEquity_9B5BAC18E3044B3A99C6813A816F5C4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CommonStockSharesIssued" xlink:label="loc_us-gaap_CommonStockSharesIssued_27D86E459F356FC5FC20813A816F535B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_CommonStockSharesIssued_27D86E459F356FC5FC20813A816F535B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesOther" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesOther_27B8ED5968068B6C01C0813A816FCC8E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesOther_27B8ED5968068B6C01C0813A816FCC8E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockShares" xlink:label="loc_us-gaap_TreasuryStockShares_35AA87123069E817D277813A816F2A22" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_TreasuryStockShares_35AA87123069E817D277813A816F2A22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_3E58B763008237199043813A816FE95A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueStockOptionsExercised_3E58B763008237199043813A816FE95A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_197EBFD6F49040D00F2E813A816F43A7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_197EBFD6F49040D00F2E813A816F43A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockSharesAcquired" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_089D18216DD1107B112A813A816F8004" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_089D18216DD1107B112A813A816F8004" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_DA8F15B617C2C9611738813A816F8492" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_DA8F15B617C2C9611738813A816F8492" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_DB50A2D3E97CCE347B46813A816F1D1C" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_DB50A2D3E97CCE347B46813A816F1D1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_C5E518351575C978F335813A816FA3FE" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_C5E518351575C978F335813A816FA3FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_F941A1ACC9362DBF0CF4813A816FA6A4" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_F941A1ACC9362DBF0CF4813A816FA6A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_C83F79081146ACEE0641813A816F7615" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_90DFE7451B5D4F79E4FD813A816F617B" xlink:to="loc_us-gaap_NetIncomeLoss_C83F79081146ACEE0641813A816F7615" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/DocumentAndEntityInformationDocument" xlink:type="extended">
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityInformationLineItems" xlink:label="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntitiesTable" xlink:label="loc_dei_EntitiesTable_420F63DECC06016967EC615EE047E4C7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntitiesTable_420F63DECC06016967EC615EE047E4C7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_95CDB5C6ECF6A7C11501615EE048D042" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_420F63DECC06016967EC615EE047E4C7" xlink:to="loc_dei_LegalEntityAxis_95CDB5C6ECF6A7C11501615EE048D042" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_B5BB6D4B27C42BCE02E2615EE048D06A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_95CDB5C6ECF6A7C11501615EE048D042" xlink:to="loc_dei_EntityDomain_B5BB6D4B27C42BCE02E2615EE048D06A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_B5BB6D4B27C42BCE02E2615EE048D06A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_95CDB5C6ECF6A7C11501615EE048D042" xlink:to="loc_dei_EntityDomain_B5BB6D4B27C42BCE02E2615EE048D06A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_441A4709C704DC968200615EE0493089" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_DocumentPeriodEndDate_441A4709C704DC968200615EE0493089" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_9D294C56FC4DA296A854615EE0493689" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_AmendmentFlag_9D294C56FC4DA296A854615EE0493689" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_2E9C433E47339E4257F0615EE0493D53" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_DocumentFiscalYearFocus_2E9C433E47339E4257F0615EE0493D53" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_E61957CF7E692CA71C5C615EE04A6AB6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_DocumentFiscalPeriodFocus_E61957CF7E692CA71C5C615EE04A6AB6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_F0CC68B55A1C0DAC169D615EE04A92D8" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_CurrentFiscalYearEndDate_F0CC68B55A1C0DAC169D615EE04A92D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_FF22B9B77174DBF6CC50615EE04A8CB0" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityVoluntaryFilers_FF22B9B77174DBF6CC50615EE04A8CB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_31E025FA7F3761E87BD2615EE04A45DC" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityCurrentReportingStatus_31E025FA7F3761E87BD2615EE04A45DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_645E3D7D233B9DCAC506615EE04A6452" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_645E3D7D233B9DCAC506615EE04A6452" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_42CEE61DDEAC7AAD68DA615EE04A7E90" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityFilerCategory_42CEE61DDEAC7AAD68DA615EE04A7E90" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_0EF8D8125C352818E33F615EE04AA729" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityRegistrantName_0EF8D8125C352818E33F615EE04AA729" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_69078A75E14849CE6894615EE04AF052" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityCentralIndexKey_69078A75E14849CE6894615EE04AF052" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_CBD34AEACD387B9DD72A615EE04B4BB4" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_DocumentType_CBD34AEACD387B9DD72A615EE04B4BB4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_52B50936B0082B15BA02615EE04B3E7F" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_52B50936B0082B15BA02615EE04B3E7F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_D3863F640312439DD0B1615EE04B0371" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_9C61187E2EB8BF2288A4615EE048CB7B" xlink:to="loc_dei_EntityPublicFloat_D3863F640312439DD0B1615EE04B0371" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note10RestructuringCosts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note10RestructuringCostsSegmentDisclosureDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_2E8CCD587F725C091B629FDDE000BEAB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_B25B512991D4E9FEB2029FDDE00068BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_2E8CCD587F725C091B629FDDE000BEAB" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_B25B512991D4E9FEB2029FDDE00068BA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8C042DCDEE876D0290859FDDE00032AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_B25B512991D4E9FEB2029FDDE00068BA" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8C042DCDEE876D0290859FDDE00032AC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_0AB2BBCE81364D2901C69FDDE0004599_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8C042DCDEE876D0290859FDDE00032AC" xlink:to="loc_us-gaap_SegmentDomain_0AB2BBCE81364D2901C69FDDE0004599_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_0AB2BBCE81364D2901C69FDDE0004599" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8C042DCDEE876D0290859FDDE00032AC" xlink:to="loc_us-gaap_SegmentDomain_0AB2BBCE81364D2901C69FDDE0004599" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_IMSMember" xlink:label="loc_sanm_IMSMember_283D118CA06FF6B01E889FDDE00022D7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_0AB2BBCE81364D2901C69FDDE0004599" xlink:to="loc_sanm_IMSMember_283D118CA06FF6B01E889FDDE00022D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_B1FDE076007A748A02E59FDDE000FCAA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_2E8CCD587F725C091B629FDDE000BEAB" xlink:to="loc_us-gaap_RestructuringCharges_B1FDE076007A748A02E59FDDE000FCAA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note10RestructuringCostsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note10RestructuringRollforwardDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringCostAndReserveLineItems" xlink:label="loc_us-gaap_RestructuringCostAndReserveLineItems_3A9F4C755C437DCF78F69FDD52CC22D5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRestructuringAndRelatedCostsTable" xlink:label="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_17BD68650A132D14B8559FDD52CCBE33" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3A9F4C755C437DCF78F69FDD52CC22D5" xlink:to="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_17BD68650A132D14B8559FDD52CCBE33" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringCostAndReserveAxis" xlink:label="loc_us-gaap_RestructuringCostAndReserveAxis_EB493F8B1F4145BF94579FDD52CC8519" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRestructuringAndRelatedCostsTable_17BD68650A132D14B8559FDD52CCBE33" xlink:to="loc_us-gaap_RestructuringCostAndReserveAxis_EB493F8B1F4145BF94579FDD52CC8519" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_EB493F8B1F4145BF94579FDD52CC8519" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TypeOfRestructuringDomain" xlink:label="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RestructuringCostAndReserveAxis_EB493F8B1F4145BF94579FDD52CC8519" xlink:to="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeSeveranceMember" xlink:label="loc_us-gaap_EmployeeSeveranceMember_176D6DDCD269A7BD997C9FDD52CC955D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA" xlink:to="loc_us-gaap_EmployeeSeveranceMember_176D6DDCD269A7BD997C9FDD52CC955D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FacilityClosingMember" xlink:label="loc_us-gaap_FacilityClosingMember_A71DAB6D3FEEE0AD777D9FDD52CC9E4B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA" xlink:to="loc_us-gaap_FacilityClosingMember_A71DAB6D3FEEE0AD777D9FDD52CC9E4B" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_NonCashChargesMember" xlink:label="loc_sanm_NonCashChargesMember_3566D2F8C5A7FCF1158B9FDD52CCD4AD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TypeOfRestructuringDomain_52A225DD9A9DA1B170399FDD52CC9BDA" xlink:to="loc_sanm_NonCashChargesMember_3566D2F8C5A7FCF1158B9FDD52CCD4AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringReserveRollForward" xlink:label="loc_us-gaap_RestructuringReserveRollForward_C508753ECDB3AA5213DC9FDD52CC5BA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringCostAndReserveLineItems_3A9F4C755C437DCF78F69FDD52CC22D5" xlink:to="loc_us-gaap_RestructuringReserveRollForward_C508753ECDB3AA5213DC9FDD52CC5BA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringReserve" xlink:label="loc_us-gaap_RestructuringReserve_E9A57FED10CD648E75329FDD52CCA04B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_C508753ECDB3AA5213DC9FDD52CC5BA2" xlink:to="loc_us-gaap_RestructuringReserve_E9A57FED10CD648E75329FDD52CCA04B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringCharges" xlink:label="loc_us-gaap_RestructuringCharges_610AFD5DAEE5BB7F181B9FDD52CCBEE4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_C508753ECDB3AA5213DC9FDD52CC5BA2" xlink:to="loc_us-gaap_RestructuringCharges_610AFD5DAEE5BB7F181B9FDD52CCBEE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsForRestructuring" xlink:label="loc_us-gaap_PaymentsForRestructuring_9327948AB529A3B13CE09FDD52CC98C5" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_C508753ECDB3AA5213DC9FDD52CC5BA2" xlink:to="loc_us-gaap_PaymentsForRestructuring_9327948AB529A3B13CE09FDD52CC98C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestructuringReserveSettledWithoutCash1" xlink:label="loc_us-gaap_RestructuringReserveSettledWithoutCash1_19F25F43D465AC13CC339FDD52CCEE7D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RestructuringReserveRollForward_C508753ECDB3AA5213DC9FDD52CC5BA2" xlink:to="loc_us-gaap_RestructuringReserveSettledWithoutCash1_19F25F43D465AC13CC339FDD52CCEE7D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note11EarningsPerShare" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note11EarningsPerShareDetails" xlink:type="extended">
    <loc xlink:href="sanm-20140927.xsd#sanm_EarningsPerShareLineItems" xlink:label="loc_sanm_EarningsPerShareLineItems_27996D93EE18A151638C5762D6C08983" xlink:type="locator" />
    <loc xlink:href="sanm-20140927.xsd#sanm_EarningsPerShareTable" xlink:label="loc_sanm_EarningsPerShareTable_88C95C3614F6FA1E6AC55762D6BFD0CF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_sanm_EarningsPerShareLineItems_27996D93EE18A151638C5762D6C08983" xlink:to="loc_sanm_EarningsPerShareTable_88C95C3614F6FA1E6AC55762D6BFD0CF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6046FBB744DEC9CFD07E5762D6BF36A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_EarningsPerShareTable_88C95C3614F6FA1E6AC55762D6BFD0CF" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6046FBB744DEC9CFD07E5762D6BF36A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DCDBD8CC1190859D59375762D6BF6D71_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6046FBB744DEC9CFD07E5762D6BF36A8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DCDBD8CC1190859D59375762D6BF6D71_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DCDBD8CC1190859D59375762D6BF6D71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_6046FBB744DEC9CFD07E5762D6BF36A8" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DCDBD8CC1190859D59375762D6BF6D71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_3F3B49F3C4D260A06B6D5762D6BF4E02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DCDBD8CC1190859D59375762D6BF6D71" xlink:to="loc_us-gaap_EmployeeStockOptionMember_3F3B49F3C4D260A06B6D5762D6BF4E02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_5827F07030A5656F129B5762D6C07E86" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_DCDBD8CC1190859D59375762D6BF6D71" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_5827F07030A5656F129B5762D6C07E86" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_B0E3AB1403ADF34338C45762D6C09595" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_EarningsPerShareLineItems_27996D93EE18A151638C5762D6C08983" xlink:to="loc_us-gaap_NetIncomeLoss_B0E3AB1403ADF34338C45762D6C09595" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_37FF6493360A46B2D6005762D6C0F178" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_EarningsPerShareLineItems_27996D93EE18A151638C5762D6C08983" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_37FF6493360A46B2D6005762D6C0F178" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_2A7B0338431675DA4E2E5762D6C00BF9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_EarningsPerShareLineItems_27996D93EE18A151638C5762D6C08983" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_2A7B0338431675DA4E2E5762D6C00BF9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_06230D07EADBFCE148A65762D6C0D492" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_2A7B0338431675DA4E2E5762D6C00BF9" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_06230D07EADBFCE148A65762D6C0D492" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment" xlink:label="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_0EDA5DA4356BA1406F6A5762D6C0AF9B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_2A7B0338431675DA4E2E5762D6C00BF9" xlink:to="loc_us-gaap_WeightedAverageNumberDilutedSharesOutstandingAdjustment_0EDA5DA4356BA1406F6A5762D6C0AF9B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8D0B77E44AEF7876F2835762D6C04F2C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingDilutedDisclosureItemsAbstract_2A7B0338431675DA4E2E5762D6C00BF9" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_8D0B77E44AEF7876F2835762D6C04F2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EarningsPerShareBasicAndDilutedAbstract" xlink:label="loc_us-gaap_EarningsPerShareBasicAndDilutedAbstract_7F1B0E5ACB7A479633255762D6C02514" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_EarningsPerShareLineItems_27996D93EE18A151638C5762D6C08983" xlink:to="loc_us-gaap_EarningsPerShareBasicAndDilutedAbstract_7F1B0E5ACB7A479633255762D6C02514" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_E644B7B22B137AE852BC5762D6C187BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAndDilutedAbstract_7F1B0E5ACB7A479633255762D6C02514" xlink:to="loc_us-gaap_EarningsPerShareBasic_E644B7B22B137AE852BC5762D6C187BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_0519D7743CB5FFC1E8315762D6C1C81A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EarningsPerShareBasicAndDilutedAbstract_7F1B0E5ACB7A479633255762D6C02514" xlink:to="loc_us-gaap_EarningsPerShareDiluted_0519D7743CB5FFC1E8315762D6C1C81A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note11EarningsPerShareTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12FairValueAndIntrinsicValueDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12FairValueAssumptionsAndMethodologyDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E759BC13B0D0314B4400FAC1A4647AA0" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CD727707B5DA5D989B0EFAC1A463C03A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E759BC13B0D0314B4400FAC1A4647AA0" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CD727707B5DA5D989B0EFAC1A463C03A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_D313381428B4995AF338FAC1A464511C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_CD727707B5DA5D989B0EFAC1A463C03A" xlink:to="loc_us-gaap_AwardTypeAxis_D313381428B4995AF338FAC1A464511C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_243536ED7DBC79B8808AFAC1A464C335_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_D313381428B4995AF338FAC1A464511C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_243536ED7DBC79B8808AFAC1A464C335_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_243536ED7DBC79B8808AFAC1A464C335" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_D313381428B4995AF338FAC1A464511C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_243536ED7DBC79B8808AFAC1A464C335" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StockOptionMember" xlink:label="loc_us-gaap_StockOptionMember_288CBEE7AAE934C82A98FAC1A4641827" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_243536ED7DBC79B8808AFAC1A464C335" xlink:to="loc_us-gaap_StockOptionMember_288CBEE7AAE934C82A98FAC1A4641827" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C1E4B6184C99E37E09B5FAC1A464E3FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E759BC13B0D0314B4400FAC1A4647AA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_C1E4B6184C99E37E09B5FAC1A464E3FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_9DEA93CF0FC540B7E976FAC1A4641AF8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E759BC13B0D0314B4400FAC1A4647AA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_9DEA93CF0FC540B7E976FAC1A4641AF8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_3D99ECF09C4B9C7391E1FAC1A4645FCB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E759BC13B0D0314B4400FAC1A4647AA0" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_3D99ECF09C4B9C7391E1FAC1A4645FCB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_2109407572074D0F0B34FAC1A465D937" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_E759BC13B0D0314B4400FAC1A4647AA0" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_2109407572074D0F0B34FAC1A465D937" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12RestrictedStockRollforwardDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12ShareBasedCompensationArrangementsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_3D55B78E309878AAF730443FFF9DEB34" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_457121D8C6E40EBB58C3443FFF9C88C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_3D55B78E309878AAF730443FFF9DEB34" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_457121D8C6E40EBB58C3443FFF9C88C0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_BC58F0352A4E1DCB56F0443FFF9C1778" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_457121D8C6E40EBB58C3443FFF9C88C0" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_BC58F0352A4E1DCB56F0443FFF9C1778" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_BC58F0352A4E1DCB56F0443FFF9C1778" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_BC58F0352A4E1DCB56F0443FFF9C1778" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_7C394C5BCF1F22D8F3FD443FFF9CE415" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950" xlink:to="loc_us-gaap_CostOfSalesMember_7C394C5BCF1F22D8F3FD443FFF9CE415" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_F6D77C0682D014D33F0D443FFF9C31A5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_F6D77C0682D014D33F0D443FFF9C31A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ResearchAndDevelopmentExpenseMember" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_56EAA380E66E008701F7443FFF9C220E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_D7544F48F23DAFAB3CF9443FFF9C1950" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_56EAA380E66E008701F7443FFF9C220E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_5293DFFAAC5A96EE0AB3443FFF9D88BB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_457121D8C6E40EBB58C3443FFF9C88C0" xlink:to="loc_us-gaap_AwardTypeAxis_5293DFFAAC5A96EE0AB3443FFF9D88BB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5619175C6F6A6207B277443FFF9DB66E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_5293DFFAAC5A96EE0AB3443FFF9D88BB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5619175C6F6A6207B277443FFF9DB66E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5619175C6F6A6207B277443FFF9DB66E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_5293DFFAAC5A96EE0AB3443FFF9D88BB" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5619175C6F6A6207B277443FFF9DB66E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_2C2F58488C8FF84C5D40443FFF9D6E64" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5619175C6F6A6207B277443FFF9DB66E" xlink:to="loc_us-gaap_EmployeeStockOptionMember_2C2F58488C8FF84C5D40443FFF9D6E64" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_082EA42EF4F72CD67134443FFF9DF6AB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_5619175C6F6A6207B277443FFF9DB66E" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_082EA42EF4F72CD67134443FFF9DF6AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllocatedShareBasedCompensationExpense" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_5425BF0E4858A4D868BA443FFF9D4C94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_3D55B78E309878AAF730443FFF9DEB34" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_5425BF0E4858A4D868BA443FFF9D4C94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_B494E74F8895186EAC99443FFF9DA024" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_3D55B78E309878AAF730443FFF9DEB34" xlink:to="loc_us-gaap_ShareBasedCompensation_B494E74F8895186EAC99443FFF9DA024" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12StockBasedCompensation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12StockBasedCompensationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12StockOptionsOutstandingDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_E66FDC7B0438A1A899118C3CDA6B7150" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_E66FDC7B0438A1A899118C3CDA6B7150" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_FC5D6606CB6A046301938C3CDA6B50CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeTable_E66FDC7B0438A1A899118C3CDA6B7150" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_FC5D6606CB6A046301938C3CDA6B50CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_FC5D6606CB6A046301938C3CDA6B50CB" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_FC5D6606CB6A046301938C3CDA6B50CB" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A1.50to7.30Member" xlink:label="loc_sanm_A1.50to7.30Member_6FA972FC0A9ACE7847DA8C3CDA6BF243" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A1.50to7.30Member_6FA972FC0A9ACE7847DA8C3CDA6BF243" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A7.31to8.76Member" xlink:label="loc_sanm_A7.31to8.76Member_34BC67F73225354417278C3CDA6B6AF6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A7.31to8.76Member_34BC67F73225354417278C3CDA6B6AF6" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A8.77to10.80Member" xlink:label="loc_sanm_A8.77to10.80Member_A9C7860D3DD8F4B3B0AD8C3CDA6B8A59" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A8.77to10.80Member_A9C7860D3DD8F4B3B0AD8C3CDA6B8A59" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A10.81to15.76Member" xlink:label="loc_sanm_A10.81to15.76Member_F7BC3E419643912895F18C3CDA6BB274" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A10.81to15.76Member_F7BC3E419643912895F18C3CDA6BB274" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A15.77to21.11Member" xlink:label="loc_sanm_A15.77to21.11Member_D73CEF4582FF8B5081138C3CDA6BEFEA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A15.77to21.11Member_D73CEF4582FF8B5081138C3CDA6BEFEA" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A21.12to21.41Member" xlink:label="loc_sanm_A21.12to21.41Member_7F162257A0B607ADDB1D8C3CDA6B3348" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A21.12to21.41Member_7F162257A0B607ADDB1D8C3CDA6B3348" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A21.42to53.28Member" xlink:label="loc_sanm_A21.42to53.28Member_534CA41AD37BCCE269138C3CDA6B0D97" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A21.42to53.28Member_534CA41AD37BCCE269138C3CDA6B0D97" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A1.50to53.28Member" xlink:label="loc_sanm_A1.50to53.28Member_E082E6B796EE046BE2148C3CDA6BCE7A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_BA795C77C5628F8B09388C3CDA6B541E" xlink:to="loc_sanm_A1.50to53.28Member_E082E6B796EE046BE2148C3CDA6BCE7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_9011FB4F13033E75EB008C3CDA6B95BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfOutstandingOptions_9011FB4F13033E75EB008C3CDA6B95BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_EABAEC7304825D211E208C3CDA6B5132" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageRemainingContractualTerm2_EABAEC7304825D211E208C3CDA6B5132" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_6582AF4233A8EAA07E048C3CDA6B9E95" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeOutstandingOptionsWeightedAverageExercisePriceBeginningBalance1_6582AF4233A8EAA07E048C3CDA6B9E95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_35D3A158EC59418ECD0D8C3CDA6BC69F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeNumberOfExercisableOptions_35D3A158EC59418ECD0D8C3CDA6BC69F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1" xlink:label="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_6E92A657A2FBBCC4E7DE8C3CDA6BAD0A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLineItems_303F1AF05BC0E0CBC4E48C3CDA6BE734" xlink:to="loc_us-gaap_SharebasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeExercisableOptionsWeightedAverageExercisePrice1_6E92A657A2FBBCC4E7DE8C3CDA6BAD0A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12StockOptionsOutstandingRollforwardDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note12UnrecognizedStockBasedCompensationExpenseDetails" xlink:type="extended">
    <loc xlink:href="sanm-20140927.xsd#sanm_UnrecognizedCompensationCostAndWeightedAveragePeriodLineItems" xlink:label="loc_sanm_UnrecognizedCompensationCostAndWeightedAveragePeriodLineItems_DC404C5D74250A4AAEE85CCC756C482F" xlink:type="locator" />
    <loc xlink:href="sanm-20140927.xsd#sanm_UnrecognizedStockBasedCompensationExpenseTable" xlink:label="loc_sanm_UnrecognizedStockBasedCompensationExpenseTable_17356014E30C7CCD03B85CCC756C86E2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_sanm_UnrecognizedCompensationCostAndWeightedAveragePeriodLineItems_DC404C5D74250A4AAEE85CCC756C482F" xlink:to="loc_sanm_UnrecognizedStockBasedCompensationExpenseTable_17356014E30C7CCD03B85CCC756C86E2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_263D2F449D09BB2CB2665CCC756C9317" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_UnrecognizedStockBasedCompensationExpenseTable_17356014E30C7CCD03B85CCC756C86E2" xlink:to="loc_us-gaap_AwardTypeAxis_263D2F449D09BB2CB2665CCC756C9317" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_263D2F449D09BB2CB2665CCC756C9317" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_263D2F449D09BB2CB2665CCC756C9317" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeStockOptionMember" xlink:label="loc_us-gaap_EmployeeStockOptionMember_F5B8069DCE77AA16D1905CCC756C0614" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C" xlink:to="loc_us-gaap_EmployeeStockOptionMember_F5B8069DCE77AA16D1905CCC756C0614" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RestrictedStockUnitsRSUMember" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_62F251E9BA918A886FE65CCC756C0A68" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_62F251E9BA918A886FE65CCC756C0A68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_CF257133ED5689548F3C5CCC756C663A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_51CCF336822A5E638A685CCC756C3F9C" xlink:to="loc_us-gaap_PerformanceSharesMember_CF257133ED5689548F3C5CCC756C663A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VestingAxis" xlink:label="loc_us-gaap_VestingAxis_F10F3522A921231340C05CCC756C226E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_UnrecognizedStockBasedCompensationExpenseTable_17356014E30C7CCD03B85CCC756C86E2" xlink:to="loc_us-gaap_VestingAxis_F10F3522A921231340C05CCC756C226E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_916F9522F11BCEC37A655CCC756C08FA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_F10F3522A921231340C05CCC756C226E" xlink:to="loc_us-gaap_VestingDomain_916F9522F11BCEC37A655CCC756C08FA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_VestingDomain" xlink:label="loc_us-gaap_VestingDomain_916F9522F11BCEC37A655CCC756C08FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_F10F3522A921231340C05CCC756C226E" xlink:to="loc_us-gaap_VestingDomain_916F9522F11BCEC37A655CCC756C08FA" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_VestingnotprobableMember" xlink:label="loc_sanm_VestingnotprobableMember_2B20BBEEF7B7562875BA5CCC756C8AF5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_916F9522F11BCEC37A655CCC756C08FA" xlink:to="loc_sanm_VestingnotprobableMember_2B20BBEEF7B7562875BA5CCC756C8AF5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_47440B88EC3D64C19BBD5CCC756CCCA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_UnrecognizedCompensationCostAndWeightedAveragePeriodLineItems_DC404C5D74250A4AAEE85CCC756C482F" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_47440B88EC3D64C19BBD5CCC756CCCA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_58968EC4F26FC66ACCFB5CCC756C8D1C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_UnrecognizedCompensationCostAndWeightedAveragePeriodLineItems_DC404C5D74250A4AAEE85CCC756C482F" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_58968EC4F26FC66ACCFB5CCC756C8D1C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note132009IncentivePlanDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_89595D4CBF9ECA558F13FAC1A189CA3A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_886BBE2DBECAEFED2389FAC1A1888504" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_89595D4CBF9ECA558F13FAC1A189CA3A" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_886BBE2DBECAEFED2389FAC1A1888504" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_4ED36763202258B57ED9FAC1A188E64C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_886BBE2DBECAEFED2389FAC1A1888504" xlink:to="loc_us-gaap_StatementClassOfStockAxis_4ED36763202258B57ED9FAC1A188E64C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_DE535F069E6AE2EF2A0DFAC1A1886E99_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4ED36763202258B57ED9FAC1A188E64C" xlink:to="loc_us-gaap_ClassOfStockDomain_DE535F069E6AE2EF2A0DFAC1A1886E99_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_DE535F069E6AE2EF2A0DFAC1A1886E99" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_4ED36763202258B57ED9FAC1A188E64C" xlink:to="loc_us-gaap_ClassOfStockDomain_DE535F069E6AE2EF2A0DFAC1A1886E99" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A2009IncentivePlanMember" xlink:label="loc_sanm_A2009IncentivePlanMember_DDA9686F00FE936F58F1FAC1A188A409" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_DE535F069E6AE2EF2A0DFAC1A1886E99" xlink:to="loc_sanm_A2009IncentivePlanMember_DDA9686F00FE936F58F1FAC1A188A409" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_4C3AC8EF664A6B212435FAC1A189DD75" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_89595D4CBF9ECA558F13FAC1A189CA3A" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_4C3AC8EF664A6B212435FAC1A189DD75" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note13AccumulatedOtherComprehensiveIncomeLossDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note13SharesAuthorizedForFutureIssuanceAndAvailableForGrantDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note13StockholdersEquity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note13StockholdersEquityTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note14OtherIncomeExpenseNet" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note14OtherIncomeExpenseNetDetails" xlink:type="extended">
    <loc xlink:href="sanm-20140927.xsd#sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingLineItems" xlink:label="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingLineItems_7892733F17DC1CCF50BD2F753C7AD7F5" xlink:type="locator" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingTable" xlink:label="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingTable_B12C4B9E5BDF431E378E2F753C7A11B7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingLineItems_7892733F17DC1CCF50BD2F753C7AD7F5" xlink:to="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingTable_B12C4B9E5BDF431E378E2F753C7A11B7" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ComponentOfOtherIncomeExpenseNetNonoperatingAxis" xlink:label="loc_sanm_ComponentOfOtherIncomeExpenseNetNonoperatingAxis_9B2AB8C0FD098467007E2F753C7A7128" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingTable_B12C4B9E5BDF431E378E2F753C7A11B7" xlink:to="loc_sanm_ComponentOfOtherIncomeExpenseNetNonoperatingAxis_9B2AB8C0FD098467007E2F753C7A7128" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain" xlink:label="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_ComponentOfOtherIncomeExpenseNetNonoperatingAxis_9B2AB8C0FD098467007E2F753C7A7128" xlink:to="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain" xlink:label="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_ComponentOfOtherIncomeExpenseNetNonoperatingAxis_9B2AB8C0FD098467007E2F753C7A7128" xlink:to="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignCurrencyGainLossMember" xlink:label="loc_us-gaap_ForeignCurrencyGainLossMember_F154B34D01F441D643A62F753C7A5FDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF" xlink:to="loc_us-gaap_ForeignCurrencyGainLossMember_F154B34D01F441D643A62F753C7A5FDF" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_LossfromdedesignationofinterestrateswapMember" xlink:label="loc_sanm_LossfromdedesignationofinterestrateswapMember_A037133D1EEAA1124A0C2F753C7A0FB3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF" xlink:to="loc_sanm_LossfromdedesignationofinterestrateswapMember_A037133D1EEAA1124A0C2F753C7A0FB3" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_OtherNonoperatingIncomeExpenseNetMember" xlink:label="loc_sanm_OtherNonoperatingIncomeExpenseNetMember_614505237E3B6B6F366D2F753C7A9DF1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingDomain_3B3576D98498BCBF58262F753C7A46AF" xlink:to="loc_sanm_OtherNonoperatingIncomeExpenseNetMember_614505237E3B6B6F366D2F753C7A9DF1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNonoperatingIncomeExpense" xlink:label="loc_us-gaap_OtherNonoperatingIncomeExpense_F2B3F4CD3DC77E2F4BAE2F753C7ACC5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_ComponentsOfOtherIncomeExpenseNetNonoperatingLineItems_7892733F17DC1CCF50BD2F753C7AD7F5" xlink:to="loc_us-gaap_OtherNonoperatingIncomeExpense_F2B3F4CD3DC77E2F4BAE2F753C7ACC5E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note14OtherIncomeExpenseNetTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15EmployeeBenefitPlans" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15EmployeeBenefitPlansTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5BA6760DC0A062D8D4BD7D150F0F2F70" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5BA6760DC0A062D8D4BD7D150F0F2F70" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AssumptionsUsedInCalculationAxis" xlink:label="loc_sanm_AssumptionsUsedInCalculationAxis_626EF69E800F76C7FD0B7D150F0F32E2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_5BA6760DC0A062D8D4BD7D150F0F2F70" xlink:to="loc_sanm_AssumptionsUsedInCalculationAxis_626EF69E800F76C7FD0B7D150F0F32E2" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AssumptionsUsedInCalculationDomain" xlink:label="loc_sanm_AssumptionsUsedInCalculationDomain_10E47A30CC36B004F4CA7D150F0FDE83_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_AssumptionsUsedInCalculationAxis_626EF69E800F76C7FD0B7D150F0F32E2" xlink:to="loc_sanm_AssumptionsUsedInCalculationDomain_10E47A30CC36B004F4CA7D150F0FDE83_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AssumptionsUsedInCalculationDomain" xlink:label="loc_sanm_AssumptionsUsedInCalculationDomain_10E47A30CC36B004F4CA7D150F0FDE83" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_AssumptionsUsedInCalculationAxis_626EF69E800F76C7FD0B7D150F0F32E2" xlink:to="loc_sanm_AssumptionsUsedInCalculationDomain_10E47A30CC36B004F4CA7D150F0FDE83" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ProjectedBenefitObligationMember" xlink:label="loc_sanm_ProjectedBenefitObligationMember_5881191C74CA6E28A3AA7D150F0F4AED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_AssumptionsUsedInCalculationDomain_10E47A30CC36B004F4CA7D150F0FDE83" xlink:to="loc_sanm_ProjectedBenefitObligationMember_5881191C74CA6E28A3AA7D150F0F4AED" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_BenefitCostsMember" xlink:label="loc_sanm_BenefitCostsMember_50114A612A1F372637A67D150F0FCA25" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_AssumptionsUsedInCalculationDomain_10E47A30CC36B004F4CA7D150F0FDE83" xlink:to="loc_sanm_BenefitCostsMember_50114A612A1F372637A67D150F0FCA25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock_10A4975D60C934A3917C7D150F0FD812" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfChangesInProjectedBenefitObligationsTableTextBlock_10A4975D60C934A3917C7D150F0FD812" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAssumptionsUsedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_97AD065DBFCC678706307D150F0F3B77" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfAssumptionsUsedTableTextBlock_97AD065DBFCC678706307D150F0F3B77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock_ABB1AA07021ED6CAD58F7D150F0F09FC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfChangesInFairValueOfPlanAssetsTableTextBlock_ABB1AA07021ED6CAD58F7D150F0F09FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock_720F8BA6960392B0C8AF7D150F0FE36D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfAllocationOfPlanAssetsTableTextBlock_720F8BA6960392B0C8AF7D150F0FE36D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock_34466DA6FB8F9496B9AA7D150F0F3914" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfAmountsRecognizedInBalanceSheetTableTextBlock_34466DA6FB8F9496B9AA7D150F0F3914" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_8B6555901D8EBC14F5D87D150F0F1613" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeLossTableTextBlock_8B6555901D8EBC14F5D87D150F0F1613" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock_F0C5B8F01205CF51391E7D150F0F17C8" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansAndOtherPostretirementBenefitPlansTableTextBlockLineItems_3BB107BDCD97555CF2A47D150F0FEBB3" xlink:to="loc_us-gaap_ScheduleOfExpectedBenefitPaymentsTableTextBlock_F0C5B8F01205CF51391E7D150F0F17C8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15FutureBenefitPaymentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_06899F7BFB17D366FAD35CCC2FC85895" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_95E4BE3225776F07FF0E5CCC2FC8291F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_06899F7BFB17D366FAD35CCC2FC85895" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_95E4BE3225776F07FF0E5CCC2FC8291F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_E6CBB7B285A85EE6086F5CCC2FC87225" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_95E4BE3225776F07FF0E5CCC2FC8291F" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_E6CBB7B285A85EE6086F5CCC2FC87225" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_01E63AA5826B4049CD355CCC2FC87F80_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_E6CBB7B285A85EE6086F5CCC2FC87225" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_01E63AA5826B4049CD355CCC2FC87F80_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_01E63AA5826B4049CD355CCC2FC87F80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_E6CBB7B285A85EE6086F5CCC2FC87225" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_01E63AA5826B4049CD355CCC2FC87F80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_06899F7BFB17D366FAD35CCC2FC85895" xlink:to="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_CB5133D75B7213624CE85CCC2FC9DE1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsNextTwelveMonths_CB5133D75B7213624CE85CCC2FC9DE1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_CABD72CA935B00823AF85CCC2FC9BB8B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearTwo_CABD72CA935B00823AF85CCC2FC9BB8B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_7305085977074A6770405CCC2FC90D05" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearThree_7305085977074A6770405CCC2FC90D05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_3D1131813CBD5B2C218B5CCC2FC91477" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFour_3D1131813CBD5B2C218B5CCC2FC91477" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_D858766D745B13C04EE75CCC2FC972CA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsYearFive_D858766D745B13C04EE75CCC2FC972CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter" xlink:label="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_C546EAFF51600A80A59B5CCC2FC91BF4" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanEstimatedFutureBenefitPaymentsAbstract_F9769B0ABDB8531D81325CCC2FC94320" xlink:to="loc_us-gaap_DefinedBenefitPlanExpectedFutureBenefitPaymentsFiveFiscalYearsThereafter_C546EAFF51600A80A59B5CCC2FC91BF4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15NetAmountRecognizedInConsolidatedBalanceSheetDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A493BF98E9B91CD732DB770028195F33" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_3B6B10D14A459733D503770028182B95" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A493BF98E9B91CD732DB770028195F33" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_3B6B10D14A459733D503770028182B95" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EB5CFE434CF13D060DB077002818E639" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_3B6B10D14A459733D503770028182B95" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EB5CFE434CF13D060DB077002818E639" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_31F672EFF569792B0440770028189567_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EB5CFE434CF13D060DB077002818E639" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_31F672EFF569792B0440770028189567_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_31F672EFF569792B0440770028189567" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_EB5CFE434CF13D060DB077002818E639" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_31F672EFF569792B0440770028189567" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember" xlink:label="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_8DC5FD5D4E4B3AE46797770028193A50" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_31F672EFF569792B0440770028189567" xlink:to="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_8DC5FD5D4E4B3AE46797770028193A50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_199DDD0B2B17C181821C7700281941E3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_31F672EFF569792B0440770028189567" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_199DDD0B2B17C181821C7700281941E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_3657F19728B206D5ED24770028190680" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A493BF98E9B91CD732DB770028195F33" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_3657F19728B206D5ED24770028190680" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_E7AE0032D5DD173A9FE5770028197983" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_3657F19728B206D5ED24770028190680" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansCurrentLiabilities_E7AE0032D5DD173A9FE5770028197983" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent" xlink:label="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_B6D291722C96D6399DF877002819D5DF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_3657F19728B206D5ED24770028190680" xlink:to="loc_us-gaap_PensionAndOtherPostretirementDefinedBenefitPlansLiabilitiesNoncurrent_B6D291722C96D6399DF877002819D5DF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_310AA2B6CB36916A8978770028195DAC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheetAbstract_3657F19728B206D5ED24770028190680" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInBalanceSheet_310AA2B6CB36916A8978770028195DAC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_65D05BC04CFB4F68F67877167BB2FFED" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A493BF98E9B91CD732DB770028195F33" xlink:to="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_65D05BC04CFB4F68F67877167BB2FFED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetTransitionAssetsObligationsBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetTransitionAssetsObligationsBeforeTax_A5359D971367C56308C877144E766AB7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_65D05BC04CFB4F68F67877167BB2FFED" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetTransitionAssetsObligationsBeforeTax_A5359D971367C56308C877144E766AB7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_854FB6D035B12D3EBE1E77144EC42B01" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_65D05BC04CFB4F68F67877167BB2FFED" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeNetGainsLossesBeforeTax_854FB6D035B12D3EBE1E77144EC42B01" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_9F68998BE1AF92FC254C77002819D508" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanAmountsRecognizedInOtherComprehensiveIncomeAbstract_65D05BC04CFB4F68F67877167BB2FFED" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedOtherComprehensiveIncomeBeforeTax_9F68998BE1AF92FC254C77002819D508" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15NetPeriodicPensionCostDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_33CD22853C0425C7E1D95CCC2D4218BC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_FCBF80C564033C36F72C5CCC2D42B74A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_33CD22853C0425C7E1D95CCC2D4218BC" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_FCBF80C564033C36F72C5CCC2D42B74A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_FA857F36ACCDE184DC765CCC2D42B9BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_FCBF80C564033C36F72C5CCC2D42B74A" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_FA857F36ACCDE184DC765CCC2D42B9BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_9AD4E7D3A5110839E3BE5CCC2D426EBD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_FA857F36ACCDE184DC765CCC2D42B9BD" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_9AD4E7D3A5110839E3BE5CCC2D426EBD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_9AD4E7D3A5110839E3BE5CCC2D426EBD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_FA857F36ACCDE184DC765CCC2D42B9BD" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_9AD4E7D3A5110839E3BE5CCC2D426EBD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember" xlink:label="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_D1A988DA2601DD697EC25CCC2D42B78D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_9AD4E7D3A5110839E3BE5CCC2D426EBD" xlink:to="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_D1A988DA2601DD697EC25CCC2D42B78D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_457BF2CCA290722E84535CCC2D426CE8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_9AD4E7D3A5110839E3BE5CCC2D426EBD" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_457BF2CCA290722E84535CCC2D426CE8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_798B2E82A3F70924A27C5CCC2D42E2A7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_33CD22853C0425C7E1D95CCC2D4218BC" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_798B2E82A3F70924A27C5CCC2D42E2A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_A71C658D6F1625D4A6655CCC2D4287BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_798B2E82A3F70924A27C5CCC2D42E2A7" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostDiscountRate_A71C658D6F1625D4A6655CCC2D4287BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_C2F1AC50BB07BAE1F3635CCC2D42C279" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_798B2E82A3F70924A27C5CCC2D42E2A7" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostExpectedLongTermReturnOnAssets_C2F1AC50BB07BAE1F3635CCC2D42C279" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_43230C8BF26F2F02F5ED5CCC2D427DC7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingNetPeriodicBenefitCostAbstract_798B2E82A3F70924A27C5CCC2D42E2A7" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingNetPeriodicBenefitCostRateOfCompensationIncrease_43230C8BF26F2F02F5ED5CCC2D427DC7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15PlanAssetsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A04CE99BC9FCA2157BE934B9434342B2" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A04CE99BC9FCA2157BE934B9434342B2" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E59BF023C43890F12C5434B9434199FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E59BF023C43890F12C5434B9434199FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_2A539E90DD9E705B13F634B943411F57_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E59BF023C43890F12C5434B9434199FF" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_2A539E90DD9E705B13F634B943411F57_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_2A539E90DD9E705B13F634B943411F57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E59BF023C43890F12C5434B9434199FF" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_2A539E90DD9E705B13F634B943411F57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_32D700A4C031FFCF03B334B9434143BC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_32D700A4C031FFCF03B334B9434143BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_89FCBB74A825CDF0DEC334B94341C84A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_32D700A4C031FFCF03B334B9434143BC" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_89FCBB74A825CDF0DEC334B94341C84A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_89FCBB74A825CDF0DEC334B94341C84A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_32D700A4C031FFCF03B334B9434143BC" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_89FCBB74A825CDF0DEC334B94341C84A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember" xlink:label="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_A1687CC759A96A1266F134B943420F1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_89FCBB74A825CDF0DEC334B94341C84A" xlink:to="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_A1687CC759A96A1266F134B943420F1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_E23311ABADBDC3B874B234B943422FE5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_89FCBB74A825CDF0DEC334B94341C84A" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_E23311ABADBDC3B874B234B943422FE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_025DC0DD767DB627199C34B943428AEF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_025DC0DD767DB627199C34B943428AEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6764DF4533E1FF3666C834B943425F37_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_025DC0DD767DB627199C34B943428AEF" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6764DF4533E1FF3666C834B943425F37_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6764DF4533E1FF3666C834B943425F37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_025DC0DD767DB627199C34B943428AEF" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6764DF4533E1FF3666C834B943425F37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_ECE265B9A4B0047311F834B94342D12D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_6764DF4533E1FF3666C834B943425F37" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_ECE265B9A4B0047311F834B94342D12D" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DefinedBenefitPlanAxis" xlink:label="loc_sanm_DefinedBenefitPlanAxis_1BB2BAD8B0F56649B6B034B943423A26" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:to="loc_sanm_DefinedBenefitPlanAxis_1BB2BAD8B0F56649B6B034B943423A26" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DefinedBenefitPlanDomain" xlink:label="loc_sanm_DefinedBenefitPlanDomain_51A43A7C9A3D28E648D434B943427710_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_DefinedBenefitPlanAxis_1BB2BAD8B0F56649B6B034B943423A26" xlink:to="loc_sanm_DefinedBenefitPlanDomain_51A43A7C9A3D28E648D434B943427710_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DefinedBenefitPlanDomain" xlink:label="loc_sanm_DefinedBenefitPlanDomain_51A43A7C9A3D28E648D434B943427710" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_DefinedBenefitPlanAxis_1BB2BAD8B0F56649B6B034B943423A26" xlink:to="loc_sanm_DefinedBenefitPlanDomain_51A43A7C9A3D28E648D434B943427710" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_PlanAssetMember" xlink:label="loc_sanm_PlanAssetMember_515D88CED3542A190FE734B94342E6EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_DefinedBenefitPlanDomain_51A43A7C9A3D28E648D434B943427710" xlink:to="loc_sanm_PlanAssetMember_515D88CED3542A190FE734B94342E6EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis" xlink:label="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_5CD5D5DE2AC1D404156134B943423B22" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_534F220C3898C8276C0A34B94341243D" xlink:to="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_5CD5D5DE2AC1D404156134B943423B22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_5CD5D5DE2AC1D404156134B943423B22" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PlanAssetCategoriesDomain" xlink:label="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlanByPlanAssetCategoriesAxis_5CD5D5DE2AC1D404156134B943423B22" xlink:to="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquitySecuritiesMember" xlink:label="loc_us-gaap_EquitySecuritiesMember_95789845912976F34D0A34B9434206EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070" xlink:to="loc_us-gaap_EquitySecuritiesMember_95789845912976F34D0A34B9434206EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_4C27D89C8217DC2683E434B943436F7C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070" xlink:to="loc_us-gaap_DebtSecuritiesMember_4C27D89C8217DC2683E434B943436F7C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsMember" xlink:label="loc_us-gaap_CashAndCashEquivalentsMember_0A22A0040BEEA0A3D43A34B943436FE8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanAssetCategoriesDomain_A630C352B2FB39C9FBB834B943421070" xlink:to="loc_us-gaap_CashAndCashEquivalentsMember_0A22A0040BEEA0A3D43A34B943436FE8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_A04CE99BC9FCA2157BE934B9434342B2" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanFairValueOfPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_82572E9AA111F2CCD3A734B9434357AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanFairValueOfPlanAssets_82572E9AA111F2CCD3A734B9434357AC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_26D2A6C413FB413720BD34B94343F034" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanActualReturnOnPlanAssets_26D2A6C413FB413720BD34B94343F034" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanContributionsByEmployer" xlink:label="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_871CC4F8F9DCA98A28C034B94343BAD0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanContributionsByEmployer_871CC4F8F9DCA98A28C034B94343BAD0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitsPaid" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitsPaid_53599887D1CF7BA0145C34B94343067A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitsPaid_53599887D1CF7BA0145C34B94343067A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_A4A921006BF39F6E084534B94343940D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_A4A921006BF39F6E084534B94343940D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanSettlementsPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanSettlementsPlanAssets_44D6FACF69D02B8E359734B94343B6C1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanSettlementsPlanAssets_44D6FACF69D02B8E359734B94343B6C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets" xlink:label="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets_BE49D74B11B50B5D2E8134B9434394F2" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanForeignCurrencyExchangeRateChangesPlanAssets_BE49D74B11B50B5D2E8134B9434394F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_FF4533738F586790705134B9434445B4" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_FF4533738F586790705134B9434445B4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanFundedStatusOfPlan" xlink:label="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_0B6997142769E424826834B943441032" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlanAbstract_FF4533738F586790705134B9434445B4" xlink:to="loc_us-gaap_DefinedBenefitPlanFundedStatusOfPlan_0B6997142769E424826834B943441032" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract_7F83D0C6A947D3E4C5C034B943447571" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInFairValueOfPlanAssetsRollForward_BD5F3BE042DC3130A0EE34B94343870D" xlink:to="loc_us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract_7F83D0C6A947D3E4C5C034B943447571" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations" xlink:label="loc_us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations_C74DB17C0228CC62DDD134B943443AAD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract_7F83D0C6A947D3E4C5C034B943447571" xlink:to="loc_us-gaap_DefinedBenefitPlanTargetPlanAssetAllocations_C74DB17C0228CC62DDD134B943443AAD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations_497D9233A8529047C89E34B94344BAB1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanInformationAboutPlanAssetsAbstract_7F83D0C6A947D3E4C5C034B943447571" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssetAllocations_497D9233A8529047C89E34B94344BAB1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note15ProjectedBenefitObligationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4D4AADE4C74D34F329C9A126B1C13A0F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_BF5DE525AF41D5A058D3A126B1C1DF1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4D4AADE4C74D34F329C9A126B1C13A0F" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_BF5DE525AF41D5A058D3A126B1C1DF1C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A4E983BD71DB230FA2ABA126B1C1AB32" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_BF5DE525AF41D5A058D3A126B1C1DF1C" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A4E983BD71DB230FA2ABA126B1C1AB32" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FC4622CCCB21E99AF18A126B1C166F8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A4E983BD71DB230FA2ABA126B1C1AB32" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FC4622CCCB21E99AF18A126B1C166F8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FC4622CCCB21E99AF18A126B1C166F8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_A4E983BD71DB230FA2ABA126B1C1AB32" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FC4622CCCB21E99AF18A126B1C166F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_FDE66F7295944181CCFEA126B1C101D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_7FC4622CCCB21E99AF18A126B1C166F8" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_FDE66F7295944181CCFEA126B1C101D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis" xlink:label="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_B239BD4D6E5C0B40C528A126B1C1BAAA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_BF5DE525AF41D5A058D3A126B1C1DF1C" xlink:to="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_B239BD4D6E5C0B40C528A126B1C1BAAA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_4560B868E8F0211811CFA126B1C13867_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_B239BD4D6E5C0B40C528A126B1C1BAAA" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_4560B868E8F0211811CFA126B1C13867_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlansDomain" xlink:label="loc_us-gaap_DefinedBenefitPlansDomain_4560B868E8F0211811CFA126B1C13867" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedBenefitPlansDisclosuresDefinedBenefitPlansAxis_B239BD4D6E5C0B40C528A126B1C1BAAA" xlink:to="loc_us-gaap_DefinedBenefitPlansDomain_4560B868E8F0211811CFA126B1C13867" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember" xlink:label="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_AF5F263DA7A360E7F9A8A126B1C12847" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_4560B868E8F0211811CFA126B1C13867" xlink:to="loc_us-gaap_UnitedStatesPensionPlansOfUSEntityDefinedBenefitMember_AF5F263DA7A360E7F9A8A126B1C12847" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignPensionPlansDefinedBenefitMember" xlink:label="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_8C88D746A34BB28FD34DA126B1C13CA1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlansDomain_4560B868E8F0211811CFA126B1C13867" xlink:to="loc_us-gaap_ForeignPensionPlansDefinedBenefitMember_8C88D746A34BB28FD34DA126B1C13CA1" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DefinedBenefitPlanAxis" xlink:label="loc_sanm_DefinedBenefitPlanAxis_BB7C3A96B441B1292167A126B1C144A9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_BF5DE525AF41D5A058D3A126B1C1DF1C" xlink:to="loc_sanm_DefinedBenefitPlanAxis_BB7C3A96B441B1292167A126B1C144A9" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DefinedBenefitPlanDomain" xlink:label="loc_sanm_DefinedBenefitPlanDomain_A971A1997B47D332647FA126B1C1652D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_DefinedBenefitPlanAxis_BB7C3A96B441B1292167A126B1C144A9" xlink:to="loc_sanm_DefinedBenefitPlanDomain_A971A1997B47D332647FA126B1C1652D_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DefinedBenefitPlanDomain" xlink:label="loc_sanm_DefinedBenefitPlanDomain_A971A1997B47D332647FA126B1C1652D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_DefinedBenefitPlanAxis_BB7C3A96B441B1292167A126B1C144A9" xlink:to="loc_sanm_DefinedBenefitPlanDomain_A971A1997B47D332647FA126B1C1652D" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ProjectedBenefitObligationMember" xlink:label="loc_sanm_ProjectedBenefitObligationMember_A3D4CF888C8B89EA13BBA126B1C124F8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_DefinedBenefitPlanDomain_A971A1997B47D332647FA126B1C1652D" xlink:to="loc_sanm_ProjectedBenefitObligationMember_A3D4CF888C8B89EA13BBA126B1C124F8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_7A4CDF54EA1C83A745D4A126B1C108BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4D4AADE4C74D34F329C9A126B1C13A0F" xlink:to="loc_us-gaap_DefinedBenefitPlanAccumulatedBenefitObligation_7A4CDF54EA1C83A745D4A126B1C108BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward" xlink:label="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4D4AADE4C74D34F329C9A126B1C13A0F" xlink:to="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitObligation" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitObligation_8B936C8F3ECA28B9DC07A126B1C1663F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitObligation_8B936C8F3ECA28B9DC07A126B1C1663F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanServiceCost" xlink:label="loc_us-gaap_DefinedBenefitPlanServiceCost_2C57FAFFE39291DA8012A126B1C12E31" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:to="loc_us-gaap_DefinedBenefitPlanServiceCost_2C57FAFFE39291DA8012A126B1C12E31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanInterestCost" xlink:label="loc_us-gaap_DefinedBenefitPlanInterestCost_E01B568002A4EF7528C9A126B1C1A272" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:to="loc_us-gaap_DefinedBenefitPlanInterestCost_E01B568002A4EF7528C9A126B1C1A272" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanActuarialGainLoss" xlink:label="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_DDBF373E939300F77093A126B1C13DD7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:to="loc_us-gaap_DefinedBenefitPlanActuarialGainLoss_DDBF373E939300F77093A126B1C13DD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanBenefitsPaid" xlink:label="loc_us-gaap_DefinedBenefitPlanBenefitsPaid_46BC54DA7533361E332AA126B1C1F4FE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:to="loc_us-gaap_DefinedBenefitPlanBenefitsPaid_46BC54DA7533361E332AA126B1C1F4FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanOtherChanges" xlink:label="loc_us-gaap_DefinedBenefitPlanOtherChanges_FB4CBB3C784024F03176A126B1C17440" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanChangeInBenefitObligationRollForward_5A8001949FEB7B066B53A126B1C1F2FC" xlink:to="loc_us-gaap_DefinedBenefitPlanOtherChanges_FB4CBB3C784024F03176A126B1C17440" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract" xlink:label="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_ADFC8450E2E19CE742B1A126B1C19B0C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4D4AADE4C74D34F329C9A126B1C13A0F" xlink:to="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_ADFC8450E2E19CE742B1A126B1C19B0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_B4FB5EC377411210AF3AA126B1C18C3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_ADFC8450E2E19CE742B1A126B1C19B0C" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationDiscountRate_B4FB5EC377411210AF3AA126B1C18C3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease" xlink:label="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_17D82F2BCD463D64F36AA126B1C13005" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanWeightedAverageAssumptionsUsedInCalculatingBenefitObligationAbstract_ADFC8450E2E19CE742B1A126B1C19B0C" xlink:to="loc_us-gaap_DefinedBenefitPlanAssumptionsUsedCalculatingBenefitObligationRateOfCompensationIncrease_17D82F2BCD463D64F36AA126B1C13005" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract" xlink:label="loc_us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract_8A3E2BB90F71866D3058A126B1C1871F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_4D4AADE4C74D34F329C9A126B1C13A0F" xlink:to="loc_us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract_8A3E2BB90F71866D3058A126B1C1871F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredCompensationPlanAssets" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_D88AA31D5491BE5F1DF5A126B1C1F92E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract_8A3E2BB90F71866D3058A126B1C1871F" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_D88AA31D5491BE5F1DF5A126B1C1F92E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent_06DE0189DBC654D7B66DA126B1C14337" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract_8A3E2BB90F71866D3058A126B1C1871F" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent_06DE0189DBC654D7B66DA126B1C14337" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AmountDeferredUnderCompanySponsoredDeferredCompensationPlans" xlink:label="loc_sanm_AmountDeferredUnderCompanySponsoredDeferredCompensationPlans_53DDD57917875FA4D9D5A126B1C13B64" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPensionAndOtherPostretirementPlansDisclosureAbstract_8A3E2BB90F71866D3058A126B1C1871F" xlink:to="loc_sanm_AmountDeferredUnderCompanySponsoredDeferredCompensationPlans_53DDD57917875FA4D9D5A126B1C13B64" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note16BusinessSegmentGeographicAndCustomerInformation" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note16BusinessSegmentGeographicAndCustomerInformationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note16LongLivedAssetsInformationByGeographicSegmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_387D73AC8FF82DC824BAFAC1A154F03B" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_B603414F575D3045778EFAC1A15379D4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_387D73AC8FF82DC824BAFAC1A154F03B" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_B603414F575D3045778EFAC1A15379D4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_BAC5824789F22172C78CFAC1A153C5E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_B603414F575D3045778EFAC1A15379D4" xlink:to="loc_us-gaap_StatementGeographicalAxis_BAC5824789F22172C78CFAC1A153C5E7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_BAC5824789F22172C78CFAC1A153C5E7" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_BAC5824789F22172C78CFAC1A153C5E7" xlink:to="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_US" xlink:label="loc_country_US_97AB372D407B1172F07BFAC1A1530CBE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE" xlink:to="loc_country_US_97AB372D407B1172F07BFAC1A1530CBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_MX" xlink:label="loc_country_MX_4312700A65A8333CBCBBFAC1A1536FC4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE" xlink:to="loc_country_MX_4312700A65A8333CBCBBFAC1A1536FC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_CN" xlink:label="loc_country_CN_AEC54F199722C7B6D5A2FAC1A153A113" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE" xlink:to="loc_country_CN_AEC54F199722C7B6D5A2FAC1A153A113" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_OtherInternationalLongLivedAssetsMember" xlink:label="loc_sanm_OtherInternationalLongLivedAssetsMember_A0962A6674FEF7141052FAC1A154E249" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_5D07046D3E58028046D2FAC1A15319AE" xlink:to="loc_sanm_OtherInternationalLongLivedAssetsMember_A0962A6674FEF7141052FAC1A154E249" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ByGeographicAreasAbstract" xlink:label="loc_sanm_ByGeographicAreasAbstract_F6983E9336D140B3EAC0FAC1A15461B7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_387D73AC8FF82DC824BAFAC1A154F03B" xlink:to="loc_sanm_ByGeographicAreasAbstract_F6983E9336D140B3EAC0FAC1A15461B7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_88D94F667BF8881B9EB3FAC1A154A70A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_ByGeographicAreasAbstract_F6983E9336D140B3EAC0FAC1A15461B7" xlink:to="loc_us-gaap_NoncurrentAssets_88D94F667BF8881B9EB3FAC1A154A70A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note16NetSalesInformationByGeographicSegmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_33EE43F5A13BF4963275572B11FB8DA0" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_1BDE3F22D4E9A71D627A572B11F963A3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_33EE43F5A13BF4963275572B11FB8DA0" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_1BDE3F22D4E9A71D627A572B11F963A3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_0E89D55F576DB1346A41572B11FA4F93" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_1BDE3F22D4E9A71D627A572B11F963A3" xlink:to="loc_us-gaap_StatementGeographicalAxis_0E89D55F576DB1346A41572B11FA4F93" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_0E89D55F576DB1346A41572B11FA4F93" xlink:to="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_0E89D55F576DB1346A41572B11FA4F93" xlink:to="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_US" xlink:label="loc_country_US_C5D947B22FE94C05B9D9572B11FA643C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322" xlink:to="loc_country_US_C5D947B22FE94C05B9D9572B11FA643C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_MX" xlink:label="loc_country_MX_6AB74A3AAD9FF3F5C154572B11FBCD7B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322" xlink:to="loc_country_MX_6AB74A3AAD9FF3F5C154572B11FBCD7B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_CN" xlink:label="loc_country_CN_76BC7365AC7A6B84942A572B11FBA186" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322" xlink:to="loc_country_CN_76BC7365AC7A6B84942A572B11FBA186" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_OtherInternationalMember" xlink:label="loc_sanm_OtherInternationalMember_FD895CA06C5B5712C798572B11FB059D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_16018FEA50D112BD96A3572B11FAF322" xlink:to="loc_sanm_OtherInternationalMember_FD895CA06C5B5712C798572B11FB059D" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_PercentageOfNetSalesRepresentedByTenLargestCustomers" xlink:label="loc_sanm_PercentageOfNetSalesRepresentedByTenLargestCustomers_9045F40EEAD564089635572B11FBED79" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_33EE43F5A13BF4963275572B11FB8DA0" xlink:to="loc_sanm_PercentageOfNetSalesRepresentedByTenLargestCustomers_9045F40EEAD564089635572B11FBED79" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_NumberofCustomersRepresentingMoreThan10ofNetSales" xlink:label="loc_sanm_NumberofCustomersRepresentingMoreThan10ofNetSales_BDD359BD4CBC34228DC9572B11FB3264" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_33EE43F5A13BF4963275572B11FB8DA0" xlink:to="loc_sanm_NumberofCustomersRepresentingMoreThan10ofNetSales_BDD359BD4CBC34228DC9572B11FB3264" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesRevenueNet" xlink:label="loc_us-gaap_SalesRevenueNet_B5F8DD7A5586F4592BAA572B11FBB902" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_33EE43F5A13BF4963275572B11FB8DA0" xlink:to="loc_us-gaap_SalesRevenueNet_B5F8DD7A5586F4592BAA572B11FBB902" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note16RevenueAndExpensesBySegmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E268D254697C281A51239BDDF6BDB0A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E268D254697C281A51239BDDF6BDB0A4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsAxis" xlink:label="loc_us-gaap_ConsolidationItemsAxis_9B8DB934F2E8D99D05C69BDDF6BD3425" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E268D254697C281A51239BDDF6BDB0A4" xlink:to="loc_us-gaap_ConsolidationItemsAxis_9B8DB934F2E8D99D05C69BDDF6BD3425" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConsolidationItemsAxis_9B8DB934F2E8D99D05C69BDDF6BD3425" xlink:to="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConsolidationItemsDomain" xlink:label="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConsolidationItemsAxis_9B8DB934F2E8D99D05C69BDDF6BD3425" xlink:to="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingSegmentsMember" xlink:label="loc_us-gaap_OperatingSegmentsMember_5184C1FD6E8F6DB4505F9BDDF6BD7040" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E" xlink:to="loc_us-gaap_OperatingSegmentsMember_5184C1FD6E8F6DB4505F9BDDF6BD7040" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CorporateNonSegmentMember" xlink:label="loc_us-gaap_CorporateNonSegmentMember_2920FFCF9CBDD1CF77789BDDF6BDF042" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E" xlink:to="loc_us-gaap_CorporateNonSegmentMember_2920FFCF9CBDD1CF77789BDDF6BDF042" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaterialReconcilingItemsMember" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_8C2B1EF3EB66F74D718D9BDDF6BD0ADF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_8C2B1EF3EB66F74D718D9BDDF6BD0ADF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IntersegmentEliminationMember" xlink:label="loc_us-gaap_IntersegmentEliminationMember_957B9A1EAD08A324A2F29BDDF6BDDC0C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConsolidationItemsDomain_0FC57DBD37761BF6967D9BDDF6BDCD5E" xlink:to="loc_us-gaap_IntersegmentEliminationMember_957B9A1EAD08A324A2F29BDDF6BDDC0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_959D895A72393307FB3E9BDDF6BD1BDC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_E268D254697C281A51239BDDF6BDB0A4" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_959D895A72393307FB3E9BDDF6BD1BDC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B12D20AFAFBAA0538B9E9BDDF6BD19E9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_959D895A72393307FB3E9BDDF6BD1BDC" xlink:to="loc_us-gaap_SegmentDomain_B12D20AFAFBAA0538B9E9BDDF6BD19E9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_B12D20AFAFBAA0538B9E9BDDF6BD19E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_959D895A72393307FB3E9BDDF6BD1BDC" xlink:to="loc_us-gaap_SegmentDomain_B12D20AFAFBAA0538B9E9BDDF6BD19E9" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_IMSMember" xlink:label="loc_sanm_IMSMember_0A2DDE720745D08CFBFB9BDDF6BDFC84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B12D20AFAFBAA0538B9E9BDDF6BD19E9" xlink:to="loc_sanm_IMSMember_0A2DDE720745D08CFBFB9BDDF6BDFC84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllOtherSegmentsMember" xlink:label="loc_us-gaap_AllOtherSegmentsMember_DCAE181C993DB10356C89BDDF6BD68FC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_B12D20AFAFBAA0538B9E9BDDF6BD19E9" xlink:to="loc_us-gaap_AllOtherSegmentsMember_DCAE181C993DB10356C89BDDF6BD68FC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Revenues" xlink:label="loc_us-gaap_Revenues_15A6274CC3F9277CA7899BDDF6BDBEB0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_Revenues_15A6274CC3F9277CA7899BDDF6BDBEB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GrossProfit" xlink:label="loc_us-gaap_GrossProfit_41D87E0D97FA4F4B40239BDDF6BD99CB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_GrossProfit_41D87E0D97FA4F4B40239BDDF6BD99CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DepreciationDepletionAndAmortization" xlink:label="loc_us-gaap_DepreciationDepletionAndAmortization_C2B380A1BEDECF91C1B09BDDF6BDDD61" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_DepreciationDepletionAndAmortization_C2B380A1BEDECF91C1B09BDDF6BDDD61" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentAdditions" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentAdditions_9D443426272C48FB6A3D9BDDF6BD9D00" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentAdditions_9D443426272C48FB6A3D9BDDF6BD9D00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NoncurrentAssets" xlink:label="loc_us-gaap_NoncurrentAssets_FA7ECC3758BFF9D377BC9BDDF6BD80E5" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_NoncurrentAssets_FA7ECC3758BFF9D377BC9BDDF6BD80E5" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ReportableSegmentRevenuePercentage" xlink:label="loc_sanm_ReportableSegmentRevenuePercentage_474276A00993CEFC44859BDDF6BD4158" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_sanm_ReportableSegmentRevenuePercentage_474276A00993CEFC44859BDDF6BD4158" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NumberOfReportableSegments" xlink:label="loc_us-gaap_NumberOfReportableSegments_F62ABFC01D2FD55CFFBA9BDDF6BD4F1D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_NumberOfReportableSegments_F62ABFC01D2FD55CFFBA9BDDF6BD4F1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NumberOfOperatingSegments" xlink:label="loc_us-gaap_NumberOfOperatingSegments_1DBD348BB305D6DA20D29BDE435EDDD8" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_C1AF95C2DB0347C50F8E9BDDF6BD7CCD" xlink:to="loc_us-gaap_NumberOfOperatingSegments_1DBD348BB305D6DA20D29BDE435EDDD8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note17AcquisitionDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3049A150EBB28064E0445DA3BF1E57A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3049A150EBB28064E0445DA3BF1E57A2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_145E0C10E8948DA7E2CA5DA3BF1EFE0E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_3049A150EBB28064E0445DA3BF1E57A2" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_145E0C10E8948DA7E2CA5DA3BF1EFE0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB5A4931E94B748F40BB5DA3BF1E9270_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_145E0C10E8948DA7E2CA5DA3BF1EFE0E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB5A4931E94B748F40BB5DA3BF1E9270_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB5A4931E94B748F40BB5DA3BF1E9270" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_145E0C10E8948DA7E2CA5DA3BF1EFE0E" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB5A4931E94B748F40BB5DA3BF1E9270" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Q12014AcquisitionMember" xlink:label="loc_sanm_Q12014AcquisitionMember_413F712A8FF3742B3D9B5DA3BF1E06FC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB5A4931E94B748F40BB5DA3BF1E9270" xlink:to="loc_sanm_Q12014AcquisitionMember_413F712A8FF3742B3D9B5DA3BF1E06FC" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Q32014AcquisitionMember" xlink:label="loc_sanm_Q32014AcquisitionMember_D91EF0787F23DBA3C7D35DA3BF1EEFFF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_AB5A4931E94B748F40BB5DA3BF1E9270" xlink:to="loc_sanm_Q32014AcquisitionMember_D91EF0787F23DBA3C7D35DA3BF1EEFFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1" xlink:label="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_009DD4CAEB52AF3B7F405DA3BF1ECEBD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_BusinessAcquisitionEffectiveDateOfAcquisition1_009DD4CAEB52AF3B7F405DA3BF1ECEBD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationConsiderationTransferred1" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_FA13CA7B63953952F8CB5DA3BF1E6F2E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_FA13CA7B63953952F8CB5DA3BF1E6F2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired" xlink:label="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_24622F2B67D3FD492E635DA3BF1ED0E2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_PaymentsToAcquireBusinessesNetOfCashAcquired_24622F2B67D3FD492E635DA3BF1ED0E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NotesIssued1" xlink:label="loc_us-gaap_NotesIssued1_7AE1178F927A0FDEB7CD5DA3BF1EBC82" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_NotesIssued1_7AE1178F927A0FDEB7CD5DA3BF1EBC82" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_B00C1CA8D87DE1481D835DA3BF1E76CD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentAssets_B00C1CA8D87DE1481D835DA3BF1E76CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_434FAD92C15E4EA5A20A5DA3BF1E9DC7" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedPropertyPlantAndEquipment_434FAD92C15E4EA5A20A5DA3BF1E9DC7" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_TangibleandIntangibleAssetsAcquiredNoncurrentAsset" xlink:label="loc_sanm_TangibleandIntangibleAssetsAcquiredNoncurrentAsset_0EED2CDF70B8600FB0425DA3BF1E079D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_sanm_TangibleandIntangibleAssetsAcquiredNoncurrentAsset_0EED2CDF70B8600FB0425DA3BF1E079D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_B59B1058D4D870F462A75DA3BF1E09D8" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredAndLiabilitiesAssumedCurrentLiabilities_B59B1058D4D870F462A75DA3BF1E09D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet" xlink:label="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_5B6CF9F731589CD668C45DA3BF1E2024" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_BusinessCombinationRecognizedIdentifiableAssetsAcquiredGoodwillAndLiabilitiesAssumedNet_5B6CF9F731589CD668C45DA3BF1E2024" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FiniteLivedIntangibleAssetsNetAbstract" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_050B8A50D4D82B7C763C5DA3BF1E9623" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_47311BADEA8888090FA05DA3BF1E5DA1" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_050B8A50D4D82B7C763C5DA3BF1E9623" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_1FD9EE7A1AF377C311FD5DA3BF1E57C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsNetAbstract_050B8A50D4D82B7C763C5DA3BF1E9623" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_1FD9EE7A1AF377C311FD5DA3BF1E57C4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note17AcquisitionNotes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note17AcquisitionTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionLineItems" xlink:label="loc_us-gaap_BusinessAcquisitionLineItems_FE82687924AE2CDC60CA5DA3BEFF30A6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable" xlink:label="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4AE77FC73853DD87305B5DA3BEFF5754" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE82687924AE2CDC60CA5DA3BEFF30A6" xlink:to="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4AE77FC73853DD87305B5DA3BEFF5754" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAxis" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_8D320724A5D69B85B5F85DA3BEFF4687" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfBusinessAcquisitionsByAcquisitionTable_4AE77FC73853DD87305B5DA3BEFF5754" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_8D320724A5D69B85B5F85DA3BEFF4687" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_44E12BC1F713B23E4EDF5DA3BEFF09DB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8D320724A5D69B85B5F85DA3BEFF4687" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_44E12BC1F713B23E4EDF5DA3BEFF09DB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BusinessAcquisitionAcquireeDomain" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_44E12BC1F713B23E4EDF5DA3BEFF09DB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_8D320724A5D69B85B5F85DA3BEFF4687" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_44E12BC1F713B23E4EDF5DA3BEFF09DB" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Q12014AcquisitionMember" xlink:label="loc_sanm_Q12014AcquisitionMember_B2E79B9585ABED0E8C015DA3BEFF13A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_44E12BC1F713B23E4EDF5DA3BEFF09DB" xlink:to="loc_sanm_Q12014AcquisitionMember_B2E79B9585ABED0E8C015DA3BEFF13A8" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Q32014AcquisitionMember" xlink:label="loc_sanm_Q32014AcquisitionMember_1C722487F579C16870155DA3BEFFC039" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_44E12BC1F713B23E4EDF5DA3BEFF09DB" xlink:to="loc_sanm_Q32014AcquisitionMember_1C722487F579C16870155DA3BEFFC039" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_39400A039CBD4D49E0065DA3BEFFDF85" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionLineItems_FE82687924AE2CDC60CA5DA3BEFF30A6" xlink:to="loc_us-gaap_ScheduleOfRecognizedIdentifiedAssetsAcquiredAndLiabilitiesAssumedTableTextBlock_39400A039CBD4D49E0065DA3BEFFDF85" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note1OrganizationOfSanmina" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note1OrganizationOfSanminaDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note1OrganizationOfSanminaTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note2AccountsReceivableDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note2CashAndCashEquivalentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsLineItems" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_FE2D180D995CFD994B8FFAC1A14D90B7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfCashAndCashEquivalentsTable" xlink:label="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_F70C373F931301813BFEFAC1A14C1B25" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_FE2D180D995CFD994B8FFAC1A14D90B7" xlink:to="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_F70C373F931301813BFEFAC1A14C1B25" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_6CD4CE433C452545F059FAC1A14C9107" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfCashAndCashEquivalentsTable_F70C373F931301813BFEFAC1A14C1B25" xlink:to="loc_us-gaap_RangeAxis_6CD4CE433C452545F059FAC1A14C9107" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_3A316A479093D7DDD8FFFAC1A14DA120_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_6CD4CE433C452545F059FAC1A14C9107" xlink:to="loc_us-gaap_RangeMember_3A316A479093D7DDD8FFFAC1A14DA120_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_3A316A479093D7DDD8FFFAC1A14DA120" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_6CD4CE433C452545F059FAC1A14C9107" xlink:to="loc_us-gaap_RangeMember_3A316A479093D7DDD8FFFAC1A14DA120" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_113ED8010F62706B5F55FAC1A14D563F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_3A316A479093D7DDD8FFFAC1A14DA120" xlink:to="loc_us-gaap_MinimumMember_113ED8010F62706B5F55FAC1A14D563F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_7C647B796D20184EAFE3FAC1A14D0F12" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_3A316A479093D7DDD8FFFAC1A14DA120" xlink:to="loc_us-gaap_MaximumMember_7C647B796D20184EAFE3FAC1A14D0F12" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Cash" xlink:label="loc_us-gaap_Cash_93C18F74D89D08159C6EFAC1A14D1B3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_FE2D180D995CFD994B8FFAC1A14D90B7" xlink:to="loc_us-gaap_Cash_93C18F74D89D08159C6EFAC1A14D1B3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MoneyMarketFundsAtCarryingValue" xlink:label="loc_us-gaap_MoneyMarketFundsAtCarryingValue_7CB62283872948E2014EFAC1A14D1E81" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_FE2D180D995CFD994B8FFAC1A14D90B7" xlink:to="loc_us-gaap_MoneyMarketFundsAtCarryingValue_7CB62283872948E2014EFAC1A14D1E81" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_CDA9A83F2434C5539573FAC1A14D10C1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_FE2D180D995CFD994B8FFAC1A14D90B7" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_CDA9A83F2434C5539573FAC1A14D10C1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note2PropertyPlantAndEquipmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_15334E99BE84A7803111FAC1A325B724" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CD453D14447DE572CD90FAC1A3244EC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_15334E99BE84A7803111FAC1A325B724" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CD453D14447DE572CD90FAC1A3244EC3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_576466046036320110FBFAC1A3244178" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CD453D14447DE572CD90FAC1A3244EC3" xlink:to="loc_us-gaap_RangeAxis_576466046036320110FBFAC1A3244178" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_23355B3E7227A7940BC6FAC1A324CC29_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_576466046036320110FBFAC1A3244178" xlink:to="loc_us-gaap_RangeMember_23355B3E7227A7940BC6FAC1A324CC29_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_23355B3E7227A7940BC6FAC1A324CC29" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_576466046036320110FBFAC1A3244178" xlink:to="loc_us-gaap_RangeMember_23355B3E7227A7940BC6FAC1A324CC29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_C1B60CF054EA1C6BBCEDFAC1A325148B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_23355B3E7227A7940BC6FAC1A324CC29" xlink:to="loc_us-gaap_MinimumMember_C1B60CF054EA1C6BBCEDFAC1A325148B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_2EE9DCFFAEC32A7CA8B5FAC1A3257533" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_23355B3E7227A7940BC6FAC1A324CC29" xlink:to="loc_us-gaap_MaximumMember_2EE9DCFFAEC32A7CA8B5FAC1A3257533" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DB75EA197D48C68C09D1FAC1A3250D57" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_CD453D14447DE572CD90FAC1A3244EC3" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DB75EA197D48C68C09D1FAC1A3250D57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DB75EA197D48C68C09D1FAC1A3250D57" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_DB75EA197D48C68C09D1FAC1A3250D57" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BuildingMember" xlink:label="loc_us-gaap_BuildingMember_5D7B9D2B42F6A3337525FAC1A325EA80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432" xlink:to="loc_us-gaap_BuildingMember_5D7B9D2B42F6A3337525FAC1A325EA80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_579B6587D6353FD87ADEFAC1A325D909" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_579B6587D6353FD87ADEFAC1A325D909" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_MachineryEquipmentFurnitureAndFixturesMember" xlink:label="loc_sanm_MachineryEquipmentFurnitureAndFixturesMember_502B19E8F36B6EEB34ACFAC1A325624A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_FAE4C3B541FE2D8319D8FAC1A3256432" xlink:to="loc_sanm_MachineryEquipmentFurnitureAndFixturesMember_502B19E8F36B6EEB34ACFAC1A325624A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_B6BCFDF005AA5E9148FCFAC1A326476F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_15334E99BE84A7803111FAC1A325B724" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_B6BCFDF005AA5E9148FCFAC1A326476F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentDepreciationMethods" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentDepreciationMethods_C359B3F0863BC31942C0FAC1A326C608" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_15334E99BE84A7803111FAC1A325B724" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentDepreciationMethods_C359B3F0863BC31942C0FAC1A326C608" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note2SummaryOfSignificantAccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note2SummaryOfSignificantAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note2SummaryOfSignificantAccountingPoliciesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note3BalanceSheetItems" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note3BalanceSheetItemsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note3InventoryDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note3PropertyPlantAndEquipmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentLineItems" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_BB0E6E982369A3CF6B73FAC1A42AD3D7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C7053D5A92C2CD491620FAC1A4281E55" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_BB0E6E982369A3CF6B73FAC1A42AD3D7" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C7053D5A92C2CD491620FAC1A4281E55" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4A600373CCFD3E3CCB54FAC1A428BB67" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_C7053D5A92C2CD491620FAC1A4281E55" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4A600373CCFD3E3CCB54FAC1A428BB67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4A600373CCFD3E3CCB54FAC1A428BB67" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_4A600373CCFD3E3CCB54FAC1A428BB67" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MachineryAndEquipmentMember" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_CDC8F842102DAFA39A15FAC1A429AC82" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_CDC8F842102DAFA39A15FAC1A429AC82" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LandAndBuildingMember" xlink:label="loc_us-gaap_LandAndBuildingMember_4CA2747B4A71E3E7772CFAC1A42915E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:to="loc_us-gaap_LandAndBuildingMember_4CA2747B4A71E3E7772CFAC1A42915E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LeaseholdImprovementsMember" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_44C77152EA60E99E7802FAC1A429B392" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_44C77152EA60E99E7802FAC1A429B392" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FurnitureAndFixturesMember" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_A45B0F1E26DFE6D7D357FAC1A42995CA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_A45B0F1E26DFE6D7D357FAC1A42995CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ConstructionInProgressMember" xlink:label="loc_us-gaap_ConstructionInProgressMember_D64B26314537BB07A748FAC1A42A17A0" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_4F331AF2ECB78DE4009DFAC1A4281A91" xlink:to="loc_us-gaap_ConstructionInProgressMember_D64B26314537BB07A748FAC1A42A17A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentGross" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_E08DA0BFDB042392AFEDFAC1A42A14DC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_BB0E6E982369A3CF6B73FAC1A42AD3D7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_E08DA0BFDB042392AFEDFAC1A42A14DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_42E1CD92CF3AFF8C8253FAC1A42A0072" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_BB0E6E982369A3CF6B73FAC1A42AD3D7" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_42E1CD92CF3AFF8C8253FAC1A42A0072" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PropertyPlantAndEquipmentNet" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_03B2FA91BDB4AAE58E17FAC1A42A5389" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_BB0E6E982369A3CF6B73FAC1A42AD3D7" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_03B2FA91BDB4AAE58E17FAC1A42A5389" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_Depreciation" xlink:label="loc_us-gaap_Depreciation_4E6BB00E71EA3CEA9FB5FAC1A42A45AF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_BB0E6E982369A3CF6B73FAC1A42AD3D7" xlink:to="loc_us-gaap_Depreciation_4E6BB00E71EA3CEA9FB5FAC1A42A45AF" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note3WarrantyReserveDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note4AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueDetails" xlink:type="extended">
    <loc xlink:href="sanm-20140927.xsd#sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisLineItems" xlink:label="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisLineItems_8F72354473CF07BF665744400008B160" xlink:type="locator" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisTable" xlink:label="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisTable_51985C58C8B9DEADAAB944400008CB3E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisLineItems_8F72354473CF07BF665744400008B160" xlink:to="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisTable_51985C58C8B9DEADAAB944400008CB3E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_FAF8F731EAC067540FC5444000085E6F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisTable_51985C58C8B9DEADAAB944400008CB3E" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_FAF8F731EAC067540FC5444000085E6F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_C01084EB742DE66AD09144400008EFFE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_FAF8F731EAC067540FC5444000085E6F" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_C01084EB742DE66AD09144400008EFFE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_C01084EB742DE66AD09144400008EFFE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_FAF8F731EAC067540FC5444000085E6F" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_C01084EB742DE66AD09144400008EFFE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_D9537D7020A61AEF4984444000089A54" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_C01084EB742DE66AD09144400008EFFE" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_D9537D7020A61AEF4984444000089A54" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredCompensationPlanAssets" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_676C4F4FBDBA944D348144400008DDA7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisLineItems_8F72354473CF07BF665744400008B160" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_676C4F4FBDBA944D348144400008DDA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent" xlink:label="loc_us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent_EB99B27700A3503BCB4C44400008AACB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_AssetsAndLiabilitiesAssociatedWithDeferredCompensationMeasuredAtFairValueOnRecurringBasisLineItems_8F72354473CF07BF665744400008B160" xlink:to="loc_us-gaap_DeferredCompensationLiabilityCurrentAndNoncurrent_EB99B27700A3503BCB4C44400008AACB" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note4FairValue" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note4FairValueTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note4FinancialAssetsAndLiabilitiesMeasuredAtFairValueOnRecurringBasisDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E272EBDD528791E8BFB73A3FD57D675D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D12FC2D31BD33CEA271B3A3FD56EB13E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E272EBDD528791E8BFB73A3FD57D675D" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D12FC2D31BD33CEA271B3A3FD56EB13E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FinancialInstrumentAxis" xlink:label="loc_us-gaap_FinancialInstrumentAxis_A61B9028F3DA695F31A63A3FD56ED4EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D12FC2D31BD33CEA271B3A3FD56EB13E" xlink:to="loc_us-gaap_FinancialInstrumentAxis_A61B9028F3DA695F31A63A3FD56ED4EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_A61B9028F3DA695F31A63A3FD56ED4EC" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_A61B9028F3DA695F31A63A3FD56ED4EC" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MoneyMarketFundsMember" xlink:label="loc_us-gaap_MoneyMarketFundsMember_CADA8CCFABF6F66BCF713A3FD56E9AC1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690" xlink:to="loc_us-gaap_MoneyMarketFundsMember_CADA8CCFABF6F66BCF713A3FD56E9AC1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BankTimeDepositsMember" xlink:label="loc_us-gaap_BankTimeDepositsMember_4BD75407C37E3CAAE17A3A3FD56E123C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690" xlink:to="loc_us-gaap_BankTimeDepositsMember_4BD75407C37E3CAAE17A3A3FD56E123C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_C1F20E44E86312230E233A3FD56E6543" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_C1F20E44E86312230E233A3FD56E6543" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_B7094AD794AFD7A562F03A3FD56E1BD7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_54867E16E1C517AE1F353A3FD56EB690" xlink:to="loc_us-gaap_NondesignatedMember_B7094AD794AFD7A562F03A3FD56E1BD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_47B2391C7CC47B33E79F3A3FD56E1936" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D12FC2D31BD33CEA271B3A3FD56EB13E" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_47B2391C7CC47B33E79F3A3FD56E1936" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_CCA6F3E11FFF9A478B6D3A3FD56E575F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_47B2391C7CC47B33E79F3A3FD56E1936" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_CCA6F3E11FFF9A478B6D3A3FD56E575F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_CCA6F3E11FFF9A478B6D3A3FD56E575F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_47B2391C7CC47B33E79F3A3FD56E1936" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_CCA6F3E11FFF9A478B6D3A3FD56E575F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_BCBD1445DE54FD7384F03A3FD56EE016" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_CCA6F3E11FFF9A478B6D3A3FD56E575F" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_BCBD1445DE54FD7384F03A3FD56EE016" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_66D71DBB34FD4468D0983A3FD56E74A6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_CCA6F3E11FFF9A478B6D3A3FD56E575F" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_66D71DBB34FD4468D0983A3FD56E74A6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CDD296794E8819BEE8113A3FD56E8F38" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D12FC2D31BD33CEA271B3A3FD56EB13E" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CDD296794E8819BEE8113A3FD56E8F38" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0EC88E0E335BFB0CBAE33A3FD56E1771_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CDD296794E8819BEE8113A3FD56E8F38" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_0EC88E0E335BFB0CBAE33A3FD56E1771_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_0EC88E0E335BFB0CBAE33A3FD56E1771" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CDD296794E8819BEE8113A3FD56E8F38" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_0EC88E0E335BFB0CBAE33A3FD56E1771" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_996E3F0C6D93EC4B68643A3FD56E2C22" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_0EC88E0E335BFB0CBAE33A3FD56E1771" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_996E3F0C6D93EC4B68643A3FD56E2C22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_A39929A8F8889634C9553A3FD56EB20A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_D12FC2D31BD33CEA271B3A3FD56EB13E" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_A39929A8F8889634C9553A3FD56EB20A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_A39929A8F8889634C9553A3FD56EB20A" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_A39929A8F8889634C9553A3FD56EB20A" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember" xlink:label="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_6A3A907FD0CDD83CFB983A3FD56E2498" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D" xlink:to="loc_us-gaap_PrepaidExpensesAndOtherCurrentAssetsMember_6A3A907FD0CDD83CFB983A3FD56E2498" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNoncurrentAssetsMember" xlink:label="loc_us-gaap_OtherNoncurrentAssetsMember_A189DF2EC387EB999C6E3A3FD56EC6F9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D" xlink:to="loc_us-gaap_OtherNoncurrentAssetsMember_A189DF2EC387EB999C6E3A3FD56EC6F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccruedLiabilitiesMember" xlink:label="loc_us-gaap_AccruedLiabilitiesMember_1E1F00A72B4F89ADAA953A3FD57D3B1D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_4BCF2EB531E985D681393A3FD56E123D" xlink:to="loc_us-gaap_AccruedLiabilitiesMember_1E1F00A72B4F89ADAA953A3FD57D3B1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_D5C128C31CAE98F1B9133A3FD57DAD38" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E272EBDD528791E8BFB73A3FD57D675D" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_D5C128C31CAE98F1B9133A3FD57DAD38" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeAssetsCurrent" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_9E9EDC525CEFC66712283A3FD57D8DB1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E272EBDD528791E8BFB73A3FD57D675D" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_9E9EDC525CEFC66712283A3FD57D8DB1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeAssetsNoncurrent" xlink:label="loc_us-gaap_DerivativeAssetsNoncurrent_15E9D10CDF36EF3633E73A3FD57D8CCC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E272EBDD528791E8BFB73A3FD57D675D" xlink:to="loc_us-gaap_DerivativeAssetsNoncurrent_15E9D10CDF36EF3633E73A3FD57D8CCC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeLiabilitiesCurrent" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_7F0116C58616957425C73A3FD57DBDD9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_E272EBDD528791E8BFB73A3FD57D675D" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_7F0116C58616957425C73A3FD57DBDD9" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note4NonFinancialAssetsMeasuredAtFairValueOnNonrecurringBasisDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23B1A43B7475F34F61339FE7BEC55AC4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_86132C47175AC95BC5749FE7BEC52D83" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23B1A43B7475F34F61339FE7BEC55AC4" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_86132C47175AC95BC5749FE7BEC52D83" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C4A510CD7E3F81CAADB59FE7BEC5D377" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_86132C47175AC95BC5749FE7BEC52D83" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C4A510CD7E3F81CAADB59FE7BEC5D377" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4BBAE22CD4D5272DB7699FE7BEC5DDE2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C4A510CD7E3F81CAADB59FE7BEC5D377" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4BBAE22CD4D5272DB7699FE7BEC5DDE2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4BBAE22CD4D5272DB7699FE7BEC5DDE2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_C4A510CD7E3F81CAADB59FE7BEC5D377" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4BBAE22CD4D5272DB7699FE7BEC5DDE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_C39B2329DED68E069EE49FE7BEC5BD22" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_4BBAE22CD4D5272DB7699FE7BEC5DDE2" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_C39B2329DED68E069EE49FE7BEC5BD22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CACE06C5A6CFC821689B9FE7BEC54FF7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_86132C47175AC95BC5749FE7BEC52D83" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CACE06C5A6CFC821689B9FE7BEC54FF7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_AF5840663571FED7AC5E9FE7BEC50EFE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CACE06C5A6CFC821689B9FE7BEC54FF7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_AF5840663571FED7AC5E9FE7BEC50EFE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_AF5840663571FED7AC5E9FE7BEC50EFE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_CACE06C5A6CFC821689B9FE7BEC54FF7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_AF5840663571FED7AC5E9FE7BEC50EFE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_7A8C945D5420DA88885F9FE7BEC5DFAF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_AF5840663571FED7AC5E9FE7BEC50EFE" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_7A8C945D5420DA88885F9FE7BEC5DFAF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredCompensationPlanAssets" xlink:label="loc_us-gaap_DeferredCompensationPlanAssets_EA8BDA653605CD18E5799FE7BEC53BC6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23B1A43B7475F34F61339FE7BEC55AC4" xlink:to="loc_us-gaap_DeferredCompensationPlanAssets_EA8BDA653605CD18E5799FE7BEC53BC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure" xlink:label="loc_us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure_99A1FFC8F1853E3DD58C9FE7BEC5993A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23B1A43B7475F34F61339FE7BEC55AC4" xlink:to="loc_us-gaap_AssetsHeldForSaleLongLivedFairValueDisclosure_99A1FFC8F1853E3DD58C9FE7BEC5993A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherAssetImpairmentCharges" xlink:label="loc_us-gaap_OtherAssetImpairmentCharges_AA44674FE57122175496A018B9B791C8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_23B1A43B7475F34F61339FE7BEC55AC4" xlink:to="loc_us-gaap_OtherAssetImpairmentCharges_AA44674FE57122175496A018B9B791C8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note5DerivativeFinancialInstruments" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note5DerivativeFinancialInstrumentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_80D516A09D1D6BB7B71D9FE7BEB6FF36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_80D516A09D1D6BB7B71D9FE7BEB6FF36" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_193B71DBF088FA2C5C369FE7BEB6B4FE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_80D516A09D1D6BB7B71D9FE7BEB6FF36" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_193B71DBF088FA2C5C369FE7BEB6B4FE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_193B71DBF088FA2C5C369FE7BEB6B4FE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_80D516A09D1D6BB7B71D9FE7BEB6FF36" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_193B71DBF088FA2C5C369FE7BEB6B4FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_1162E00FB5C12B2CF8869FE7BEB6AAFB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_193B71DBF088FA2C5C369FE7BEB6B4FE" xlink:to="loc_us-gaap_SubsequentEventMember_1162E00FB5C12B2CF8869FE7BEB6AAFB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_33051F1819258135AE959FE7BEB62AA9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_33051F1819258135AE959FE7BEB62AA9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_F73ADC4F06C805D12EEB9FE7BEB6986C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_33051F1819258135AE959FE7BEB62AA9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_F73ADC4F06C805D12EEB9FE7BEB6986C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_F73ADC4F06C805D12EEB9FE7BEB6986C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_33051F1819258135AE959FE7BEB62AA9" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_F73ADC4F06C805D12EEB9FE7BEB6986C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_DBC698AEA0BB8BBDAC279FE7BEB6ADFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_F73ADC4F06C805D12EEB9FE7BEB6986C" xlink:to="loc_us-gaap_SeniorNotesMember_DBC698AEA0BB8BBDAC279FE7BEB6ADFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_9D8104C2D565D97DABE09FE7BEB6D4CA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:to="loc_us-gaap_DebtInstrumentAxis_9D8104C2D565D97DABE09FE7BEB6D4CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_255B8FDF97E6C979D35D9FE7BEB6FE1D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_9D8104C2D565D97DABE09FE7BEB6D4CA" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_255B8FDF97E6C979D35D9FE7BEB6FE1D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_255B8FDF97E6C979D35D9FE7BEB6FE1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_9D8104C2D565D97DABE09FE7BEB6D4CA" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_255B8FDF97E6C979D35D9FE7BEB6FE1D" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A2019NotesMember" xlink:label="loc_sanm_A2019NotesMember_22A587A8EDA1092C69FC9FE7BEB69159" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_255B8FDF97E6C979D35D9FE7BEB6FE1D" xlink:to="loc_sanm_A2019NotesMember_22A587A8EDA1092C69FC9FE7BEB69159" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_F72CBFB99D27572DA17C9FE7BEB61985" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_F72CBFB99D27572DA17C9FE7BEB61985" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1ED03AC6BE5670346D599FE7BEB6933A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F72CBFB99D27572DA17C9FE7BEB61985" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1ED03AC6BE5670346D599FE7BEB6933A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_1ED03AC6BE5670346D599FE7BEB6933A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_F72CBFB99D27572DA17C9FE7BEB61985" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_1ED03AC6BE5670346D599FE7BEB6933A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_08EF576CF049EE5375929FE7BEB64A9B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_1ED03AC6BE5670346D599FE7BEB6933A" xlink:to="loc_us-gaap_InterestRateSwapMember_08EF576CF049EE5375929FE7BEB64A9B" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_InterestrateswaptypeAxis" xlink:label="loc_sanm_InterestrateswaptypeAxis_94891D9967BC92625EEF9FE7BEB64B47" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_889C8AF386B3E9FE2B069FE7BEB653E3" xlink:to="loc_sanm_InterestrateswaptypeAxis_94891D9967BC92625EEF9FE7BEB64B47" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_InterestrateswaptypeDomain" xlink:label="loc_sanm_InterestrateswaptypeDomain_7F131EE9567DE7C98C2B9FE7BEB63CA6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_InterestrateswaptypeAxis_94891D9967BC92625EEF9FE7BEB64B47" xlink:to="loc_sanm_InterestrateswaptypeDomain_7F131EE9567DE7C98C2B9FE7BEB63CA6_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_InterestrateswaptypeDomain" xlink:label="loc_sanm_InterestrateswaptypeDomain_7F131EE9567DE7C98C2B9FE7BEB63CA6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_InterestrateswaptypeAxis_94891D9967BC92625EEF9FE7BEB64B47" xlink:to="loc_sanm_InterestrateswaptypeDomain_7F131EE9567DE7C98C2B9FE7BEB63CA6" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_PayfixedreceivevariableMember" xlink:label="loc_sanm_PayfixedreceivevariableMember_105E97C3B4B305C744AB9FE7BEB68887" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_InterestrateswaptypeDomain_7F131EE9567DE7C98C2B9FE7BEB63CA6" xlink:to="loc_sanm_PayfixedreceivevariableMember_105E97C3B4B305C744AB9FE7BEB68887" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_PayvariablereceivefixedMember" xlink:label="loc_sanm_PayvariablereceivefixedMember_B29AD685A11CB031601F9FE7BEB6CF65" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_InterestrateswaptypeDomain_7F131EE9567DE7C98C2B9FE7BEB63CA6" xlink:to="loc_sanm_PayvariablereceivefixedMember_B29AD685A11CB031601F9FE7BEB6CF65" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_3E16458111A5F1D1578D9FE7BEB6E006" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_3E16458111A5F1D1578D9FE7BEB6E006" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SeniorNotes" xlink:label="loc_us-gaap_SeniorNotes_C254B101AC07FD47ED439FE7BEB64DC0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_SeniorNotes_C254B101AC07FD47ED439FE7BEB64DC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_154D18E95DA8DA53E8AC9FE7BEB64B58" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_invest_DerivativeNotionalAmount_154D18E95DA8DA53E8AC9FE7BEB64B58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeMaturityDates" xlink:label="loc_us-gaap_DerivativeMaturityDates_E53007C01847A51608D09FE7BEB609E8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_DerivativeMaturityDates_E53007C01847A51608D09FE7BEB609E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeTypeOfInterestRatePaidOnSwap" xlink:label="loc_invest_DerivativeTypeOfInterestRatePaidOnSwap_2A51407186DEF775E8259FE7BEB646DA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_invest_DerivativeTypeOfInterestRatePaidOnSwap_2A51407186DEF775E8259FE7BEB646DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeFixedInterestRate" xlink:label="loc_us-gaap_DerivativeFixedInterestRate_D5F6487B353DFAEB529C9FE7BEB6A300" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_DerivativeFixedInterestRate_D5F6487B353DFAEB529C9FE7BEB6A300" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Descriptionofvariableratebasis" xlink:label="loc_sanm_Descriptionofvariableratebasis_764EF95CA45C63196E179FE7BEB6F99E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_sanm_Descriptionofvariableratebasis_764EF95CA45C63196E179FE7BEB6F99E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestRateDerivativeAssetsAtFairValue" xlink:label="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_DE96210F22E32691700B9FE7BEB6C216" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_InterestRateDerivativeAssetsAtFairValue_DE96210F22E32691700B9FE7BEB6C216" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract" xlink:label="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_43ADF7DCBE7BBF4C1B0D9FE7BEB6F007" xlink:to="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ExtinguishmentOfDebtAmount" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_203FB8FC683DEE84A2749FE7BEB66719" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_203FB8FC683DEE84A2749FE7BEB66719" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DerivativeNotionalAmountTerminated" xlink:label="loc_sanm_DerivativeNotionalAmountTerminated_84BEB07237636C1928D79FE7BEB6B661" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:to="loc_sanm_DerivativeNotionalAmountTerminated_84BEB07237636C1928D79FE7BEB6B661" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Proceedsfromterminationsofinterestrateswaps" xlink:label="loc_sanm_Proceedsfromterminationsofinterestrateswaps_D3CF6398B644D5CF21E29FE7BEB65A8B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:to="loc_sanm_Proceedsfromterminationsofinterestrateswaps_D3CF6398B644D5CF21E29FE7BEB65A8B" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_FairValueAdjustment" xlink:label="loc_sanm_FairValueAdjustment_8929C2AAC1DDDAAD2C069FE7BEB6158B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:to="loc_sanm_FairValueAdjustment_8929C2AAC1DDDAAD2C069FE7BEB6158B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredGainLossOnDiscontinuationOfFairValueHedge" xlink:label="loc_us-gaap_DeferredGainLossOnDiscontinuationOfFairValueHedge_294DC72EBF51464E4C3B9FE7BEB6BD29" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:to="loc_us-gaap_DeferredGainLossOnDiscontinuationOfFairValueHedge_294DC72EBF51464E4C3B9FE7BEB6BD29" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Carryingvalueadjustmentderecognizedupondebtextinguishment" xlink:label="loc_sanm_Carryingvalueadjustmentderecognizedupondebtextinguishment_81B21581BA0B6BB4C43E9FE7BEB6F903" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DiscontinuationOfFairValueHedgeAccountingAbstract_D18F6A53F28ADEE7B2309FE7BEB6E5D4" xlink:to="loc_sanm_Carryingvalueadjustmentderecognizedupondebtextinguishment_81B21581BA0B6BB4C43E9FE7BEB6F903" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note5DerivativeFinancialInstrumentsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note5EffectOfCashFlowHedgingRelationshipsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_C5AB24F937E215E530BC80667524D647" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_880A6E9D5E36EEC4EE33806675144F25" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_C5AB24F937E215E530BC80667524D647" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_880A6E9D5E36EEC4EE33806675144F25" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_60DBE8255EFE010180DF80667524B660" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_880A6E9D5E36EEC4EE33806675144F25" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_60DBE8255EFE010180DF80667524B660" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0694F02CBEBCD905270F80667524A721_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_60DBE8255EFE010180DF80667524B660" xlink:to="loc_us-gaap_EquityComponentDomain_0694F02CBEBCD905270F80667524A721_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_0694F02CBEBCD905270F80667524A721" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_60DBE8255EFE010180DF80667524B660" xlink:to="loc_us-gaap_EquityComponentDomain_0694F02CBEBCD905270F80667524A721" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_D9D75D5F619BC9E31B3180667524B7F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_0694F02CBEBCD905270F80667524A721" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromDesignatedOrQualifyingCashFlowHedgesMember_D9D75D5F619BC9E31B3180667524B7F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_43763A0AB610823D3F8B806675242122" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_880A6E9D5E36EEC4EE33806675144F25" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_43763A0AB610823D3F8B806675242122" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_0FB8BB47B2C546ECB05D806675246696_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_43763A0AB610823D3F8B806675242122" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_0FB8BB47B2C546ECB05D806675246696_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_0FB8BB47B2C546ECB05D806675246696" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_43763A0AB610823D3F8B806675242122" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_0FB8BB47B2C546ECB05D806675246696" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_8DB2D8587079DD3D6C9B80667524D3E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0FB8BB47B2C546ECB05D806675246696" xlink:to="loc_us-gaap_InterestRateSwapMember_8DB2D8587079DD3D6C9B80667524D3E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_3B2F05284B5309085A0A806675244DE1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_0FB8BB47B2C546ECB05D806675246696" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_3B2F05284B5309085A0A806675244DE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeStatementLocationAxis" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_4C8DE3080219C169DDF18066752481C0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_880A6E9D5E36EEC4EE33806675144F25" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_4C8DE3080219C169DDF18066752481C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_4C8DE3080219C169DDF18066752481C0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeStatementLocationDomain" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_4C8DE3080219C169DDF18066752481C0" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestExpenseMember" xlink:label="loc_us-gaap_InterestExpenseMember_E3FA96BF8C69829205908066752416A7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:to="loc_us-gaap_InterestExpenseMember_E3FA96BF8C69829205908066752416A7" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_IncometaxexpenseMember" xlink:label="loc_sanm_IncometaxexpenseMember_D9A03D1D89BAA74FBDE880667524A821" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:to="loc_sanm_IncometaxexpenseMember_D9A03D1D89BAA74FBDE880667524A821" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_OtherIncomeExpenseNetMember" xlink:label="loc_sanm_OtherIncomeExpenseNetMember_47A6B220664C3A50D42D806675244B99" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:to="loc_sanm_OtherIncomeExpenseNetMember_47A6B220664C3A50D42D806675244B99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SalesMember" xlink:label="loc_us-gaap_SalesMember_2A38C4447ED503F66AEF80667524D3D7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:to="loc_us-gaap_SalesMember_2A38C4447ED503F66AEF80667524D3D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CostOfSalesMember" xlink:label="loc_us-gaap_CostOfSalesMember_2FCDDF967D5C603EA2CE80667524A75C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:to="loc_us-gaap_CostOfSalesMember_2FCDDF967D5C603EA2CE80667524A75C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_C9C020ED32C8A7CDA4CB80667524ACE2" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_E7225A90FAD5F60BFF0B8066752455CC" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_C9C020ED32C8A7CDA4CB80667524ACE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_151BC29B29E73858F7AD806675240FD2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_C5AB24F937E215E530BC80667524D647" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossRecognizedInOtherComprehensiveIncomeEffectivePortionNet_151BC29B29E73858F7AD806675240FD2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_A24CF88573560A3171AE806675242327" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_C5AB24F937E215E530BC80667524D647" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassifiedFromAccumulatedOCIIntoIncomeEffectivePortionNet_A24CF88573560A3171AE806675242327" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurring" xlink:label="loc_us-gaap_LossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurring_271A64FC7A5D08785461806675247AAA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_C5AB24F937E215E530BC80667524D647" xlink:to="loc_us-gaap_LossOnDiscontinuationOfCashFlowHedgeDueToForecastedTransactionProbableOfNotOccurring_271A64FC7A5D08785461806675247AAA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note5ForeignCurrencyForwardContractsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_D01584444BBA3FF2D4641DD17D3E2FD2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:to="loc_us-gaap_DerivativeTable_D01584444BBA3FF2D4641DD17D3E2FD2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeByNatureAxis" xlink:label="loc_us-gaap_DerivativeByNatureAxis_529296A6BB3D4F6BCB041DD17D3EDF43" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_D01584444BBA3FF2D4641DD17D3E2FD2" xlink:to="loc_us-gaap_DerivativeByNatureAxis_529296A6BB3D4F6BCB041DD17D3EDF43" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_515C513D790FC51D50C81DD17D3EC88B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeByNatureAxis_529296A6BB3D4F6BCB041DD17D3EDF43" xlink:to="loc_us-gaap_DerivativeNameDomain_515C513D790FC51D50C81DD17D3EC88B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_515C513D790FC51D50C81DD17D3EC88B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeByNatureAxis_529296A6BB3D4F6BCB041DD17D3EDF43" xlink:to="loc_us-gaap_DerivativeNameDomain_515C513D790FC51D50C81DD17D3EC88B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_9EF87DA291F3C64D09A41DD17D3EED17" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_515C513D790FC51D50C81DD17D3EC88B" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_9EF87DA291F3C64D09A41DD17D3EED17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_6850FA225D4885AA0D751DD17D43778A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_515C513D790FC51D50C81DD17D3EC88B" xlink:to="loc_us-gaap_NondesignatedMember_6850FA225D4885AA0D751DD17D43778A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_2F66CCA067F1741554121DD17D43A1F2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_D01584444BBA3FF2D4641DD17D3E2FD2" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_2F66CCA067F1741554121DD17D43A1F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_F424CC5375FA79EB1DDD1DD17D43CE71_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2F66CCA067F1741554121DD17D43A1F2" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_F424CC5375FA79EB1DDD1DD17D43CE71_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_F424CC5375FA79EB1DDD1DD17D43CE71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_2F66CCA067F1741554121DD17D43A1F2" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_F424CC5375FA79EB1DDD1DD17D43CE71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignExchangeForwardMember" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_2A55C6ECAC85E104C0861DD17D441751" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F424CC5375FA79EB1DDD1DD17D43CE71" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_2A55C6ECAC85E104C0861DD17D441751" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_5210FFE84E120D56873F1DD17D44FC6E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:to="loc_invest_DerivativeNotionalAmount_5210FFE84E120D56873F1DD17D44FC6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NumberOfForeignCurrencyDerivativesHeld" xlink:label="loc_us-gaap_NumberOfForeignCurrencyDerivativesHeld_6D2BB7E0C5EDFD31C93C1DD17D44E44F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:to="loc_us-gaap_NumberOfForeignCurrencyDerivativesHeld_6D2BB7E0C5EDFD31C93C1DD17D44E44F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1" xlink:label="loc_us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1_AF15AB673B5AF2DF82D81DDE38E9803F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:to="loc_us-gaap_MaximumRemainingMaturityOfForeignCurrencyDerivatives1_AF15AB673B5AF2DF82D81DDE38E9803F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MaximumLengthOfTimeForeignCurrencyCashFlowHedge" xlink:label="loc_us-gaap_MaximumLengthOfTimeForeignCurrencyCashFlowHedge_390DF197EE871827673B1DDEB26854A3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:to="loc_us-gaap_MaximumLengthOfTimeForeignCurrencyCashFlowHedge_390DF197EE871827673B1DDEB26854A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments" xlink:label="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_A08F0322D913D4B226101DDE93CFAA99" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_0535FD6FD1ABF3EE54561DD17D44181A" xlink:to="loc_us-gaap_GainLossOnForeignCurrencyDerivativeInstrumentsNotDesignatedAsHedgingInstruments_A08F0322D913D4B226101DDE93CFAA99" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note6ConcentrationOfCreditRiskDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note6FinancialInstrumentsAndConcentrationOfCreditRisk" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note6FinancialInstrumentsAndConcentrationOfCreditRiskTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note7Debt" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note7DebtDetailDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:type="locator" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DebtDisclosureTable" xlink:label="loc_sanm_DebtDisclosureTable_C002CCD3FCBE4B7702089FE7BE87E813" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_sanm_DebtDisclosureTable_C002CCD3FCBE4B7702089FE7BE87E813" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_3B3A00B231FF2ACBE9CC9FE7BE873122" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_DebtDisclosureTable_C002CCD3FCBE4B7702089FE7BE87E813" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_3B3A00B231FF2ACBE9CC9FE7BE873122" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_2AC21A3DCCD43C52516B9FE7BE96ACCB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_3B3A00B231FF2ACBE9CC9FE7BE873122" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_2AC21A3DCCD43C52516B9FE7BE96ACCB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_2AC21A3DCCD43C52516B9FE7BE96ACCB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_3B3A00B231FF2ACBE9CC9FE7BE873122" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_2AC21A3DCCD43C52516B9FE7BE96ACCB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_E5FDB3AA897EFAA95FC69FE7BE96B2A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_2AC21A3DCCD43C52516B9FE7BE96ACCB" xlink:to="loc_us-gaap_SubsequentEventMember_E5FDB3AA897EFAA95FC69FE7BE96B2A8" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DebtExtinguishmentCostAxis" xlink:label="loc_sanm_DebtExtinguishmentCostAxis_CABA9B1BFB9227F427B09FE7BE961BD5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_DebtDisclosureTable_C002CCD3FCBE4B7702089FE7BE87E813" xlink:to="loc_sanm_DebtExtinguishmentCostAxis_CABA9B1BFB9227F427B09FE7BE961BD5" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DebtExtinguishmentCostDomain" xlink:label="loc_sanm_DebtExtinguishmentCostDomain_874872A8DB774D776B599FE7BE96232C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_DebtExtinguishmentCostAxis_CABA9B1BFB9227F427B09FE7BE961BD5" xlink:to="loc_sanm_DebtExtinguishmentCostDomain_874872A8DB774D776B599FE7BE96232C_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_DebtExtinguishmentCostDomain" xlink:label="loc_sanm_DebtExtinguishmentCostDomain_874872A8DB774D776B599FE7BE96232C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_DebtExtinguishmentCostAxis_CABA9B1BFB9227F427B09FE7BE961BD5" xlink:to="loc_sanm_DebtExtinguishmentCostDomain_874872A8DB774D776B599FE7BE96232C" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_RedemptionpremiumMember" xlink:label="loc_sanm_RedemptionpremiumMember_73C542719E3AAFC6E6BB9FE7BE96204C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_DebtExtinguishmentCostDomain_874872A8DB774D776B599FE7BE96232C" xlink:to="loc_sanm_RedemptionpremiumMember_73C542719E3AAFC6E6BB9FE7BE96204C" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ThirdpartycostMember" xlink:label="loc_sanm_ThirdpartycostMember_A8462929382E752093C09FE7BE96E084" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_DebtExtinguishmentCostDomain_874872A8DB774D776B599FE7BE96232C" xlink:to="loc_sanm_ThirdpartycostMember_A8462929382E752093C09FE7BE96E084" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_746509A49489524A74299FE7BE962124" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_DebtDisclosureTable_C002CCD3FCBE4B7702089FE7BE87E813" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_746509A49489524A74299FE7BE962124" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_D9E0A3EDF4406CFDD3D39FE7BE96790C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_746509A49489524A74299FE7BE962124" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_D9E0A3EDF4406CFDD3D39FE7BE96790C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_D9E0A3EDF4406CFDD3D39FE7BE96790C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_746509A49489524A74299FE7BE962124" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_D9E0A3EDF4406CFDD3D39FE7BE96790C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_EF3EDA6E339E9CBFF6C39FE7BE96A57B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_D9E0A3EDF4406CFDD3D39FE7BE96790C" xlink:to="loc_us-gaap_SeniorNotesMember_EF3EDA6E339E9CBFF6C39FE7BE96A57B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_893F2C0EC1B47B78FAE49FE7BE96D4A2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_D9E0A3EDF4406CFDD3D39FE7BE96790C" xlink:to="loc_us-gaap_SecuredDebtMember_893F2C0EC1B47B78FAE49FE7BE96D4A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_FC38C0739124548B4A019FE7BE96F83D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_sanm_DebtDisclosureTable_C002CCD3FCBE4B7702089FE7BE87E813" xlink:to="loc_us-gaap_DebtInstrumentAxis_FC38C0739124548B4A019FE7BE96F83D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_FC38C0739124548B4A019FE7BE96F83D" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_FC38C0739124548B4A019FE7BE96F83D" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_SecuredNotesdue2019Member" xlink:label="loc_sanm_SecuredNotesdue2019Member_7ADA180DE3B6CB5CC4E39FE7BE968AEB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83" xlink:to="loc_sanm_SecuredNotesdue2019Member_7ADA180DE3B6CB5CC4E39FE7BE968AEB" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A2019NotesMember" xlink:label="loc_sanm_A2019NotesMember_DC2D828CA7A642D3DFE19FE7BE96D02C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83" xlink:to="loc_sanm_A2019NotesMember_DC2D828CA7A642D3DFE19FE7BE96D02C" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_SecuredLongTermLoanMember" xlink:label="loc_sanm_SecuredLongTermLoanMember_4E8CACE526A58D6BB2389FE7BE960E8B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83" xlink:to="loc_sanm_SecuredLongTermLoanMember_4E8CACE526A58D6BB2389FE7BE960E8B" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_NoninterestbearingnotespayableMember" xlink:label="loc_sanm_NoninterestbearingnotespayableMember_C2F9D3CCEF3E994869BF9FE7BE96BF9F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_4D67C1675A66D43B18789FE7BE966F83" xlink:to="loc_sanm_NoninterestbearingnotespayableMember_C2F9D3CCEF3E994869BF9FE7BE96BF9F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentFaceAmount" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount_A89DF67BD44B9948C2A29FE7BE9680AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtInstrumentFaceAmount_A89DF67BD44B9948C2A29FE7BE9680AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentMaturityDate" xlink:label="loc_us-gaap_DebtInstrumentMaturityDate_876975AE73078D164D839FE7BE963851" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtInstrumentMaturityDate_876975AE73078D164D839FE7BE963851" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentInterestRateStatedPercentage" xlink:label="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_00B8576A0AE9D9A0EB799FE7BE96EE8F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtInstrumentInterestRateStatedPercentage_00B8576A0AE9D9A0EB799FE7BE96EE8F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentInterestRateTerms" xlink:label="loc_us-gaap_DebtInstrumentInterestRateTerms_78C58AAA7C9B2B291DE39FE7BE9678A0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtInstrumentInterestRateTerms_78C58AAA7C9B2B291DE39FE7BE9678A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentFrequencyOfPeriodicPayment" xlink:label="loc_us-gaap_DebtInstrumentFrequencyOfPeriodicPayment_676B54EA2ED4938BB49F9FE7BE96545F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtInstrumentFrequencyOfPeriodicPayment_676B54EA2ED4938BB49F9FE7BE96545F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtIssuanceCosts" xlink:label="loc_us-gaap_DebtIssuanceCosts_AC95E0A572F064D6D56B9FE7BE96341D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtIssuanceCosts_AC95E0A572F064D6D56B9FE7BE96341D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentCallFeature" xlink:label="loc_us-gaap_DebtInstrumentCallFeature_741BBA2A8287D3E6D1189FE7BE96850E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_DebtInstrumentCallFeature_741BBA2A8287D3E6D1189FE7BE96850E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ExtinguishmentOfDebtAmount" xlink:label="loc_us-gaap_ExtinguishmentOfDebtAmount_B20ADACDD8DCD56E2C949FE7BE967F97" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_ExtinguishmentOfDebtAmount_B20ADACDD8DCD56E2C949FE7BE967F97" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_1C3F220DAF8695CF4B9A9FE7BE963BEE" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_1C3F220DAF8695CF4B9A9FE7BE963BEE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_6ED1040BF514033BD9219FE7BE961F44" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_6ED1040BF514033BD9219FE7BE961F44" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PaymentsOfDebtExtinguishmentCosts" xlink:label="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_100BC4FCF0CD734C837D9FE7BE967C17" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_PaymentsOfDebtExtinguishmentCosts_100BC4FCF0CD734C837D9FE7BE967C17" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Carryingvalueadjustmentderecognizedupondebtextinguishment" xlink:label="loc_sanm_Carryingvalueadjustmentderecognizedupondebtextinguishment_BEA8991EF62DDED6A8AD9FE7BE96C589" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_sanm_Carryingvalueadjustmentderecognizedupondebtextinguishment_BEA8991EF62DDED6A8AD9FE7BE96C589" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_NotesIssued1" xlink:label="loc_us-gaap_NotesIssued1_D936F30F0BA439F9AF4D9FE7BE96D8CA" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_C28A07693A82F9A387309FE7BE96A2A0" xlink:to="loc_us-gaap_NotesIssued1_D936F30F0BA439F9AF4D9FE7BE96D8CA" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note7DebtMaturitiesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note7DebtScheduleDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentLineItems" xlink:label="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentTable" xlink:label="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="sanm-20140927.xsd#sanm_LongTermDebtMaturitiesAxis" xlink:label="loc_sanm_LongTermDebtMaturitiesAxis_3E36521043408239A309A550C5A5E26B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:to="loc_sanm_LongTermDebtMaturitiesAxis_3E36521043408239A309A550C5A5E26B" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_LongTermDebtMaturitiesDomain" xlink:label="loc_sanm_LongTermDebtMaturitiesDomain_416AD7C5A1AA21BCAFE7A550C5A50DF2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_LongTermDebtMaturitiesAxis_3E36521043408239A309A550C5A5E26B" xlink:to="loc_sanm_LongTermDebtMaturitiesDomain_416AD7C5A1AA21BCAFE7A550C5A50DF2_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_LongTermDebtMaturitiesDomain" xlink:label="loc_sanm_LongTermDebtMaturitiesDomain_416AD7C5A1AA21BCAFE7A550C5A50DF2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_LongTermDebtMaturitiesAxis_3E36521043408239A309A550C5A5E26B" xlink:to="loc_sanm_LongTermDebtMaturitiesDomain_416AD7C5A1AA21BCAFE7A550C5A50DF2" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_CurrentportionMember" xlink:label="loc_sanm_CurrentportionMember_8000F812E93A17086CFCA550C5A5070C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_LongTermDebtMaturitiesDomain_416AD7C5A1AA21BCAFE7A550C5A50DF2" xlink:to="loc_sanm_CurrentportionMember_8000F812E93A17086CFCA550C5A5070C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_2019E5AA7D0C08049DABA550C5A5A98C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_2019E5AA7D0C08049DABA550C5A5A98C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_CAB319F2CC4F53E0EA68A550C5A5CC93_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_2019E5AA7D0C08049DABA550C5A5A98C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_CAB319F2CC4F53E0EA68A550C5A5CC93_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_CAB319F2CC4F53E0EA68A550C5A5CC93" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_2019E5AA7D0C08049DABA550C5A5A98C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_CAB319F2CC4F53E0EA68A550C5A5CC93" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SecuredDebtMember" xlink:label="loc_us-gaap_SecuredDebtMember_B305CF7E8F091B3C8C80A550C5A5E124" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_CAB319F2CC4F53E0EA68A550C5A5CC93" xlink:to="loc_us-gaap_SecuredDebtMember_B305CF7E8F091B3C8C80A550C5A5E124" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SeniorNotesMember" xlink:label="loc_us-gaap_SeniorNotesMember_1D70669A7AC1567768E6A550C5A5A3B6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_CAB319F2CC4F53E0EA68A550C5A5CC93" xlink:to="loc_us-gaap_SeniorNotesMember_1D70669A7AC1567768E6A550C5A5A3B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_EC1F87F898E2403BA775A550C5A52CC3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:to="loc_us-gaap_DebtInstrumentAxis_EC1F87F898E2403BA775A550C5A52CC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_EC1F87F898E2403BA775A550C5A52CC3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_EC1F87F898E2403BA775A550C5A52CC3" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_A2019NotesMember" xlink:label="loc_sanm_A2019NotesMember_0810763D5A95CA461CB3A550C5A55000" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89" xlink:to="loc_sanm_A2019NotesMember_0810763D5A95CA461CB3A550C5A55000" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_SecuredNotesdue2019Member" xlink:label="loc_sanm_SecuredNotesdue2019Member_DC694C0E821A7623D074A550C5A5C46C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89" xlink:to="loc_sanm_SecuredNotesdue2019Member_DC694C0E821A7623D074A550C5A5C46C" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_Debtdue2015Member" xlink:label="loc_sanm_Debtdue2015Member_85F528481637DB2356B0A550C5A55268" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_3E86766FF94C7CC888D0A550C5A5FF89" xlink:to="loc_sanm_Debtdue2015Member_85F528481637DB2356B0A550C5A55268" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_E389C013625A6846D440A550C5A5DD71" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_E389C013625A6846D440A550C5A5DD71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_F7CA057C758B553395D1A550C5A50A83_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_E389C013625A6846D440A550C5A5DD71" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_F7CA057C758B553395D1A550C5A50A83_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_F7CA057C758B553395D1A550C5A50A83" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_E389C013625A6846D440A550C5A5DD71" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_F7CA057C758B553395D1A550C5A50A83" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_AA7F520F381EC3280DE0A550C5A58068" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_F7CA057C758B553395D1A550C5A50A83" xlink:to="loc_us-gaap_InterestRateSwapMember_AA7F520F381EC3280DE0A550C5A58068" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_FairvalueamortizationAxis" xlink:label="loc_sanm_FairvalueamortizationAxis_462B1BE075EE2A4286EDA550C5A5C846" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_D00A57D38DC7490FF314A550C5A57DE9" xlink:to="loc_sanm_FairvalueamortizationAxis_462B1BE075EE2A4286EDA550C5A5C846" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_FairvalueamortizationDomain" xlink:label="loc_sanm_FairvalueamortizationDomain_07C6FC996AD954BA3A7EA550C5A5B351_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_sanm_FairvalueamortizationAxis_462B1BE075EE2A4286EDA550C5A5C846" xlink:to="loc_sanm_FairvalueamortizationDomain_07C6FC996AD954BA3A7EA550C5A5B351_default" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_FairvalueamortizationDomain" xlink:label="loc_sanm_FairvalueamortizationDomain_07C6FC996AD954BA3A7EA550C5A5B351" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_sanm_FairvalueamortizationAxis_462B1BE075EE2A4286EDA550C5A5C846" xlink:to="loc_sanm_FairvalueamortizationDomain_07C6FC996AD954BA3A7EA550C5A5B351" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AmortizableMember" xlink:label="loc_sanm_AmortizableMember_B2E9451E8DD3F4C8368BA550C5A57E72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_FairvalueamortizationDomain_07C6FC996AD954BA3A7EA550C5A5B351" xlink:to="loc_sanm_AmortizableMember_B2E9451E8DD3F4C8368BA550C5A57E72" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_NonamortizableMember" xlink:label="loc_sanm_NonamortizableMember_8C72F934F597D81EE612A550C5A5E2D2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_FairvalueamortizationDomain_07C6FC996AD954BA3A7EA550C5A5B351" xlink:to="loc_sanm_NonamortizableMember_8C72F934F597D81EE612A550C5A5E2D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SecuredDebt" xlink:label="loc_us-gaap_SecuredDebt_AC5F78F8DB8CCAC4C0EDA550C5A549D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_us-gaap_SecuredDebt_AC5F78F8DB8CCAC4C0EDA550C5A549D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SeniorNotes" xlink:label="loc_us-gaap_SeniorNotes_73F094671FD97D920038A550C5A55174" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_us-gaap_SeniorNotes_73F094671FD97D920038A550C5A55174" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherNotesPayable" xlink:label="loc_us-gaap_OtherNotesPayable_65FD0B034D2B0ABF6463A550C5A5821A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_us-gaap_OtherNotesPayable_65FD0B034D2B0ABF6463A550C5A5821A" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_FairValueAdjustment" xlink:label="loc_sanm_FairValueAdjustment_A9A88009FBB08F72901FA550C5A58214" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_sanm_FairValueAdjustment_A9A88009FBB08F72901FA550C5A58214" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_E68D18C582268C9C4B53A550C5A54F2A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_us-gaap_LongTermDebt_E68D18C582268C9C4B53A550C5A54F2A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_F55150EF10A7C20C2FCDA550C5A55806" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_ECB1BD5E63AE3A57CBD6A550C5A5FB5D" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_F55150EF10A7C20C2FCDA550C5A55806" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note7DebtTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note7LineOfCreditFacilityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityLineItems" xlink:label="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityTable" xlink:label="loc_us-gaap_LineOfCreditFacilityTable_BC86F97D61CE125C64625DD0BCE9C47B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LineOfCreditFacilityTable_BC86F97D61CE125C64625DD0BCE9C47B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_2D31BCE868E755DEF8B75DD0BCE94A12" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_BC86F97D61CE125C64625DD0BCE9C47B" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_2D31BCE868E755DEF8B75DD0BCE94A12" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_2C13F5B51D62568464375DD0BCE9C7C2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_2D31BCE868E755DEF8B75DD0BCE94A12" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_2C13F5B51D62568464375DD0BCE9C7C2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_2C13F5B51D62568464375DD0BCE9C7C2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_2D31BCE868E755DEF8B75DD0BCE94A12" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_2C13F5B51D62568464375DD0BCE9C7C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LetterOfCreditMember" xlink:label="loc_us-gaap_LetterOfCreditMember_EC3EFB05526238E5CEFE5DD0BCE9FA0E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_2C13F5B51D62568464375DD0BCE9C7C2" xlink:to="loc_us-gaap_LetterOfCreditMember_EC3EFB05526238E5CEFE5DD0BCE9FA0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CreditFacilityAxis" xlink:label="loc_us-gaap_CreditFacilityAxis_2450F272050F1A816FC05DD0BCE9DF94" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LineOfCreditFacilityTable_BC86F97D61CE125C64625DD0BCE9C47B" xlink:to="loc_us-gaap_CreditFacilityAxis_2450F272050F1A816FC05DD0BCE9DF94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_6D87AB081AF1A9B651445DD0BCE96AAB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_2450F272050F1A816FC05DD0BCE9DF94" xlink:to="loc_us-gaap_CreditFacilityDomain_6D87AB081AF1A9B651445DD0BCE96AAB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CreditFacilityDomain" xlink:label="loc_us-gaap_CreditFacilityDomain_6D87AB081AF1A9B651445DD0BCE96AAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_2450F272050F1A816FC05DD0BCE9DF94" xlink:to="loc_us-gaap_CreditFacilityDomain_6D87AB081AF1A9B651445DD0BCE96AAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_46DC664604D04A4DA6C25DD0BCE9D0FD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6D87AB081AF1A9B651445DD0BCE96AAB" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_46DC664604D04A4DA6C25DD0BCE9D0FD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignLineOfCreditMember" xlink:label="loc_us-gaap_ForeignLineOfCreditMember_B3E8238E1464A20365445DD0BCE9B898" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_6D87AB081AF1A9B651445DD0BCE96AAB" xlink:to="loc_us-gaap_ForeignLineOfCreditMember_B3E8238E1464A20365445DD0BCE9B898" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4A3EFC8F82D2E36814965DD0BCE9CC61" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_4A3EFC8F82D2E36814965DD0BCE9CC61" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_AdditionalCreditLine" xlink:label="loc_sanm_AdditionalCreditLine_9A748AD8FE4C9C066F665DD0BCE93A47" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_sanm_AdditionalCreditLine_9A748AD8FE4C9C066F665DD0BCE93A47" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityExpirationDate1" xlink:label="loc_us-gaap_LineOfCreditFacilityExpirationDate1_5339B31CDDD9A439E0615DD0BCE9794D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LineOfCreditFacilityExpirationDate1_5339B31CDDD9A439E0615DD0BCE9794D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityInterestRateDescription" xlink:label="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_EDF29A9E0D5C8437A1C55DD0BCE97389" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LineOfCreditFacilityInterestRateDescription_EDF29A9E0D5C8437A1C55DD0BCE97389" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DebtIssuanceCosts" xlink:label="loc_us-gaap_DebtIssuanceCosts_04E211A10C85F5810C6B5DD0BCE9040C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_DebtIssuanceCosts_04E211A10C85F5810C6B5DD0BCE9040C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCredit" xlink:label="loc_us-gaap_LineOfCredit_8F0EBE8D1D88C134BB605DD0BCE93B0F" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LineOfCredit_8F0EBE8D1D88C134BB605DD0BCE93B0F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LettersOfCreditOutstandingAmount" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_76D097D4DCA19402ABEA5DD0BCE96E5A" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_76D097D4DCA19402ABEA5DD0BCE96E5A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity" xlink:label="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_7C68C954F8F527FB36DB5DD0BCE95502" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LineOfCreditFacilityLineItems_00B250D35F3B28646DC65DD0BCE92274" xlink:to="loc_us-gaap_LineOfCreditFacilityRemainingBorrowingCapacity_7C68C954F8F527FB36DB5DD0BCE95502" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note8CommitmentAndContingencies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note8CommitmentAndContingenciesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note8CommitmentDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherCommitmentsLineItems" xlink:label="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherCommitmentsTable" xlink:label="loc_us-gaap_OtherCommitmentsTable_ED8715DBC8B61AFC96605DD162A4848C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OtherCommitmentsTable_ED8715DBC8B61AFC96605DD162A4848C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_FE568B99FC6EAD7E8F5D5DD9D2CA5E08" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherCommitmentsTable_ED8715DBC8B61AFC96605DD162A4848C" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_FE568B99FC6EAD7E8F5D5DD9D2CA5E08" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6DAD05A4E46EF5D70B245DD9D2CA1AFB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_FE568B99FC6EAD7E8F5D5DD9D2CA5E08" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_6DAD05A4E46EF5D70B245DD9D2CA1AFB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_6DAD05A4E46EF5D70B245DD9D2CA1AFB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_FE568B99FC6EAD7E8F5D5DD9D2CA5E08" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_6DAD05A4E46EF5D70B245DD9D2CA1AFB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_9C6EAEEEC6DF639484C25DD9D2CA6BC4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_6DAD05A4E46EF5D70B245DD9D2CA1AFB" xlink:to="loc_us-gaap_SubsequentEventMember_9C6EAEEEC6DF639484C25DD9D2CA6BC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_88CC19149444AF7D534C5DD162A5FE2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueCurrent_88CC19149444AF7D534C5DD162A5FE2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_0545ADEB328E99F038685DD162A54451" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInTwoYears_0545ADEB328E99F038685DD162A54451" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_7297D8085D4F3C3EF3555DD162A5292E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInThreeYears_7297D8085D4F3C3EF3555DD162A5292E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_2737C03AF1F64EDEAE315DD162A553AA" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFourYears_2737C03AF1F64EDEAE315DD162A553AA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_BC7441BDC2A1A6C58ABF5DD162A53712" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueInFiveYears_BC7441BDC2A1A6C58ABF5DD162A53712" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_7BFDAA5F4DAB0E631E855DD162A5C134" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDueThereafter_7BFDAA5F4DAB0E631E855DD162A5C134" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesFutureMinimumPaymentsDue" xlink:label="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_62E445B385CF66B6F5225DD162A540EA" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesFutureMinimumPaymentsDue_62E445B385CF66B6F5225DD162A540EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLeasesRentExpenseNet" xlink:label="loc_us-gaap_OperatingLeasesRentExpenseNet_2D35E9065A3CB40768765DD162A5AC6A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_OperatingLeasesRentExpenseNet_2D35E9065A3CB40768765DD162A5AC6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_PurchaseObligationDueInNextTwelveMonths" xlink:label="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_C91774B903EE71A6B61A5DD162A583B4" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherCommitmentsLineItems_74F084F4233DBAE7D3BE5DD162A5D3FB" xlink:to="loc_us-gaap_PurchaseObligationDueInNextTwelveMonths_C91774B903EE71A6B61A5DD162A583B4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note8LossContingencyDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_FCA946E280D4E9A0779D5DD8CA57B15F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_6B9FADC7DF45682854B45DD8CA530A31" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_FCA946E280D4E9A0779D5DD8CA57B15F" xlink:to="loc_us-gaap_LossContingenciesTable_6B9FADC7DF45682854B45DD8CA530A31" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeAxis" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_8DB6B7EE2D5746EF66CD5DD8CAE3F073" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_6B9FADC7DF45682854B45DD8CA530A31" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_8DB6B7EE2D5746EF66CD5DD8CAE3F073" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_C5A3460DADF01ACA0BFE5DD8CAE6D472_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8DB6B7EE2D5746EF66CD5DD8CAE3F073" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C5A3460DADF01ACA0BFE5DD8CAE6D472_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventTypeDomain" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_C5A3460DADF01ACA0BFE5DD8CAE6D472" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_8DB6B7EE2D5746EF66CD5DD8CAE3F073" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_C5A3460DADF01ACA0BFE5DD8CAE6D472" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_SubsequentEventMember" xlink:label="loc_us-gaap_SubsequentEventMember_84DCA90107411ACD30125DD8CC291BBF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_C5A3460DADF01ACA0BFE5DD8CAE6D472" xlink:to="loc_us-gaap_SubsequentEventMember_84DCA90107411ACD30125DD8CC291BBF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingenciesByNatureOfContingencyAxis" xlink:label="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_A288E6E2A3CD9531C6035DD8CA53042A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_6B9FADC7DF45682854B45DD8CA530A31" xlink:to="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_A288E6E2A3CD9531C6035DD8CA53042A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_DEC8D9522266126EC6FF5DD8CA564D19_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_A288E6E2A3CD9531C6035DD8CA53042A" xlink:to="loc_us-gaap_LossContingencyNatureDomain_DEC8D9522266126EC6FF5DD8CA564D19_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingencyNatureDomain" xlink:label="loc_us-gaap_LossContingencyNatureDomain_DEC8D9522266126EC6FF5DD8CA564D19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LossContingenciesByNatureOfContingencyAxis_A288E6E2A3CD9531C6035DD8CA53042A" xlink:to="loc_us-gaap_LossContingencyNatureDomain_DEC8D9522266126EC6FF5DD8CA564D19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_CollectibilityOfReceivablesMember" xlink:label="loc_us-gaap_CollectibilityOfReceivablesMember_1F4B541285D637A3F7B95DD8CBE490BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingencyNatureDomain_DEC8D9522266126EC6FF5DD8CA564D19" xlink:to="loc_us-gaap_CollectibilityOfReceivablesMember_1F4B541285D637A3F7B95DD8CBE490BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingencyAccrualAtCarryingValue" xlink:label="loc_us-gaap_LossContingencyAccrualAtCarryingValue_D89AA145C36AD52B3FBB5DD1629E93AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FCA946E280D4E9A0779D5DD8CA57B15F" xlink:to="loc_us-gaap_LossContingencyAccrualAtCarryingValue_D89AA145C36AD52B3FBB5DD1629E93AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_LossContingencyLossInPeriod" xlink:label="loc_us-gaap_LossContingencyLossInPeriod_44F27F7E39C470552A9C5DD7F682E485" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FCA946E280D4E9A0779D5DD8CA57B15F" xlink:to="loc_us-gaap_LossContingencyLossInPeriod_44F27F7E39C470552A9C5DD7F682E485" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9DeferredTaxAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9EffectiveTaxRateDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9IncomeLossBeforeIncomeTaxDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9IncomeTax" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9IncomeTaxDetailDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_4CD1ACD5595F2EF06ACC824513739535" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_8C5FF4F210E6314C8DAE824513729897" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_4CD1ACD5595F2EF06ACC824513739535" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_8C5FF4F210E6314C8DAE824513729897" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxAuthorityAxis" xlink:label="loc_us-gaap_IncomeTaxAuthorityAxis_27E347BCE6315D8D64EA82451372A0B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_8C5FF4F210E6314C8DAE824513729897" xlink:to="loc_us-gaap_IncomeTaxAuthorityAxis_27E347BCE6315D8D64EA82451372A0B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_27E347BCE6315D8D64EA82451372A0B6" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxAuthorityDomain" xlink:label="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeTaxAuthorityAxis_27E347BCE6315D8D64EA82451372A0B6" xlink:to="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_InternalRevenueServiceIRSMember" xlink:label="loc_us-gaap_InternalRevenueServiceIRSMember_B34AE2D4FB104FB82CCD8245137206C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:to="loc_us-gaap_InternalRevenueServiceIRSMember_B34AE2D4FB104FB82CCD8245137206C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_StateAndLocalJurisdictionMember" xlink:label="loc_us-gaap_StateAndLocalJurisdictionMember_29D6DC7D977F4DBE3BEE824513725E0E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:to="loc_us-gaap_StateAndLocalJurisdictionMember_29D6DC7D977F4DBE3BEE824513725E0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ForeignCountryMember" xlink:label="loc_us-gaap_ForeignCountryMember_B491E2A78A5DF8528A938245137230C1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:to="loc_us-gaap_ForeignCountryMember_B491E2A78A5DF8528A938245137230C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_SG" xlink:label="loc_country_SG_8ADA1A275374EEE64FBE82451373D762" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:to="loc_country_SG_8ADA1A275374EEE64FBE82451373D762" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ChinaandThailandMember" xlink:label="loc_sanm_ChinaandThailandMember_AF821B79C6838B67627F82462CE18AA2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:to="loc_sanm_ChinaandThailandMember_AF821B79C6838B67627F82462CE18AA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/country/2013/country-2013-01-31.xsd#country_IN" xlink:label="loc_country_IN_6424632D53D62793C04482451373F5F2" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeTaxAuthorityDomain_24CA357F31F036689DE682451372856E" xlink:to="loc_country_IN_6424632D53D62793C04482451373F5F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract" xlink:label="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_4CD1ACD5595F2EF06ACC824513739535" xlink:to="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLossCarryforwards" xlink:label="loc_us-gaap_OperatingLossCarryforwards_2121F4AF731B4D4F72BE82451373E0C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:to="loc_us-gaap_OperatingLossCarryforwards_2121F4AF731B4D4F72BE82451373E0C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLossCarryforwardsLimitationsOnUse" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLimitationsOnUse_BE3649E44F606B85A12D824513788EAE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:to="loc_us-gaap_OperatingLossCarryforwardsLimitationsOnUse_BE3649E44F606B85A12D824513788EAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OperatingLossCarryforwardsExpirationDate" xlink:label="loc_us-gaap_OperatingLossCarryforwardsExpirationDate_D8084D4BFB20010007FE824513795B1E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:to="loc_us-gaap_OperatingLossCarryforwardsExpirationDate_D8084D4BFB20010007FE824513795B1E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_UndistributedEarningsOfForeignSubsidiaries" xlink:label="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_6F6640287A098C70FA07824513795BC1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:to="loc_us-gaap_UndistributedEarningsOfForeignSubsidiaries_6F6640287A098C70FA07824513795BC1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_OtherInformationPertainingToIncomeTaxes" xlink:label="loc_us-gaap_OtherInformationPertainingToIncomeTaxes_9436CE59C8986B8AEF14824513793DC3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetsOperatingLossCarryforwardsAlternativeAbstract_13A8ED9CB43156056519824513739188" xlink:to="loc_us-gaap_OtherInformationPertainingToIncomeTaxes_9436CE59C8986B8AEF14824513793DC3" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_IncomeTaxHolidayAbstract" xlink:label="loc_sanm_IncomeTaxHolidayAbstract_B618A013D275E97D0B2782451379985F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_4CD1ACD5595F2EF06ACC824513739535" xlink:to="loc_sanm_IncomeTaxHolidayAbstract_B618A013D275E97D0B2782451379985F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxHolidayAggregateDollarAmount" xlink:label="loc_us-gaap_IncomeTaxHolidayAggregateDollarAmount_34BAA061428E65890D87824513799AD8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_IncomeTaxHolidayAbstract_B618A013D275E97D0B2782451379985F" xlink:to="loc_us-gaap_IncomeTaxHolidayAggregateDollarAmount_34BAA061428E65890D87824513799AD8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare" xlink:label="loc_us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare_259736B9D81498979337824513794ABE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_IncomeTaxHolidayAbstract_B618A013D275E97D0B2782451379985F" xlink:to="loc_us-gaap_IncomeTaxHolidayIncomeTaxBenefitsPerShare_259736B9D81498979337824513794ABE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_IncomeTaxHolidayTerminationDate" xlink:label="loc_us-gaap_IncomeTaxHolidayTerminationDate_4053BF89529DC5E6DA28824513791A6F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_sanm_IncomeTaxHolidayAbstract_B618A013D275E97D0B2782451379985F" xlink:to="loc_us-gaap_IncomeTaxHolidayTerminationDate_4053BF89529DC5E6DA28824513791A6F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9IncomeTaxTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/Note9UnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/ScheduleIiValuationAndQualifyingAccounts" xlink:type="extended" />
  <definitionLink xlink:role="http://www.sanmina.com/role/ScheduleIiValuationAndQualifyingAccountsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_3F3D078AD88FF566CC35FAC1A4A55AF3" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAndQualifyingAccountsDisclosureTable" xlink:label="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_172406472A0C630142DDFAC1A4A53E17" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_3F3D078AD88FF566CC35FAC1A4A55AF3" xlink:to="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_172406472A0C630142DDFAC1A4A53E17" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D5108B9BBA22EF5E2553FAC1A4A5156C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureTable_172406472A0C630142DDFAC1A4A53E17" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D5108B9BBA22EF5E2553FAC1A4A5156C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_D2B3D03FCA50993FAF9BFAC1A4A5FA5C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D5108B9BBA22EF5E2553FAC1A4A5156C" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_D2B3D03FCA50993FAF9BFAC1A4A5FA5C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_D2B3D03FCA50993FAF9BFAC1A4A5FA5C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_D5108B9BBA22EF5E2553FAC1A4A5156C" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_D2B3D03FCA50993FAF9BFAC1A4A5FA5C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_AllowanceForTradeReceivablesMember" xlink:label="loc_us-gaap_AllowanceForTradeReceivablesMember_725D43F829D1F26D298EFAC1A4A5FCA8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_D2B3D03FCA50993FAF9BFAC1A4A5FA5C" xlink:to="loc_us-gaap_AllowanceForTradeReceivablesMember_725D43F829D1F26D298EFAC1A4A5FCA8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_MovementInValuationAllowancesAndReservesRollForward" xlink:label="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_416847327FF611568247FAC1A4A59BF1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAndQualifyingAccountsDisclosureLineItems_3F3D078AD88FF566CC35FAC1A4A55AF3" xlink:to="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_416847327FF611568247FAC1A4A59BF1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesBalance" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesBalance_CF39BC79242FB40393D9FAC1A4A5C9BE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_416847327FF611568247FAC1A4A59BF1" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesBalance_CF39BC79242FB40393D9FAC1A4A5C9BE" xlink:type="arc" />
    <loc xlink:href="sanm-20140927.xsd#sanm_ProvisionForBenefitFromDoubtfulAccountsProductReturnsAndOtherSalesAdjustments" xlink:label="loc_sanm_ProvisionForBenefitFromDoubtfulAccountsProductReturnsAndOtherSalesAdjustments_059611F5BF80EB44D4A5FAC1A4A6C907" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_416847327FF611568247FAC1A4A59BF1" xlink:to="loc_sanm_ProvisionForBenefitFromDoubtfulAccountsProductReturnsAndOtherSalesAdjustments_059611F5BF80EB44D4A5FAC1A4A6C907" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2014/elts/us-gaap-2014-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDeductions" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDeductions_BD529BFDD9799D2F9352FAC1A4A6B8CA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MovementInValuationAllowancesAndReservesRollForward_416847327FF611568247FAC1A4A59BF1" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDeductions_BD529BFDD9799D2F9352FAC1A4A6B8CA" xlink:type="arc" />
  </definitionLink>
</linkbase>
