<?xml version="1.0" encoding="UTF-8"?>

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c6559-a5d9-7fe2-86fc-775c85796784,g:ac7211a4-7798-4181-9d06-0d3b7696ce55-->
<link:linkbase xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain"/>
  <link:arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:type="simple" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member"/>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYunaudited" xlink:type="simple" xlink:href="fn-20260327.xsd#CONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYunaudited"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/CONDENSEDCONSOLIDATEDSTATEMENTSOFSHAREHOLDERSEQUITYunaudited" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019c6559-a77d-757f-b63f-d6ae0d146d2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable_019c6559-a77d-7abc-bef8-20ed4ba0b38f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_019c6559-a77d-757f-b63f-d6ae0d146d2e" xlink:to="loc_us-gaap_StatementTable_019c6559-a77d-7abc-bef8-20ed4ba0b38f" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019c6559-a77d-7783-82ad-9efbb280893a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_019c6559-a77d-7abc-bef8-20ed4ba0b38f" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019c6559-a77d-7783-82ad-9efbb280893a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7783-82ad-9efbb280893a_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019c6559-a77d-7783-82ad-9efbb280893a" xlink:to="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7783-82ad-9efbb280893a_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019c6559-a77d-7783-82ad-9efbb280893a" xlink:to="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019c6559-a77d-7a9c-ac54-2c9adcd9c129" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:to="loc_us-gaap_CommonStockMember_019c6559-a77d-7a9c-ac54-2c9adcd9c129" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019c6559-a77d-72b8-8cba-33565170610c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalPaidInCapitalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019c6559-a77d-72b8-8cba-33565170610c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember_019c6559-a77d-7d06-b83f-5912ae657f81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:to="loc_us-gaap_TreasuryStockCommonMember_019c6559-a77d-7d06-b83f-5912ae657f81" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a77d-7220-ab49-5ebb7d26fa0d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a77d-7220-ab49-5ebb7d26fa0d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019c6559-a77d-7f5d-92bc-c0052ba0cc43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019c6559-a77d-7e1f-8c17-ab005919c4a5" xlink:to="loc_us-gaap_RetainedEarningsMember_019c6559-a77d-7f5d-92bc-c0052ba0cc43" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_019c6559-a77d-757f-b63f-d6ae0d146d2e" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_019c6559-a77d-7158-9683-78532a84fbb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_SharesOutstanding_019c6559-a77d-7158-9683-78532a84fbb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c6559-a77d-7159-b5bd-db3fcd32a71e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_StockholdersEquity_019c6559-a77d-7159-b5bd-db3fcd32a71e" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c6559-a77d-7fdf-b850-180c6a991cd1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_NetIncomeLoss_019c6559-a77d-7fdf-b850-180c6a991cd1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019c6559-a77d-71df-9f50-47db7831bbd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019c6559-a77d-71df-9f50-47db7831bbd2" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019c6559-a77d-755f-8151-48c059d41000" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019c6559-a77d-755f-8151-48c059d41000" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued_019c6559-a77d-7d92-ac7e-0418d7ea0361" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued_019c6559-a77d-7d92-ac7e-0418d7ea0361" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019c6559-a77d-7071-b616-ecece94089f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019c6559-a77d-7071-b616-ecece94089f4" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019c6559-a77d-7f5c-9536-b10478d2e970" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019c6559-a77d-7f5c-9536-b10478d2e970" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019c6559-a77d-7224-bd53-7386c12aab9e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019c6559-a77d-7224-bd53-7386c12aab9e" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_019c6559-a77d-71f3-a97a-b50d4fb46c6a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c6559-a77d-7174-bd80-ad3cc740ccb8" xlink:to="loc_us-gaap_AdjustmentsRelatedToTaxWithholdingForShareBasedCompensation_019c6559-a77d-71f3-a97a-b50d4fb46c6a" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding_019c6559-a77d-7bb3-b803-2d33b405b6de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c6559-a77d-7322-b639-c34e17d8a7fc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/RevenuesfromcontractswithcustomersScheduleofDisaggregationofRevenuebyGeographicalRegionsDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#RevenuesfromcontractswithcustomersScheduleofDisaggregationofRevenuebyGeographicalRegionsDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/RevenuesfromcontractswithcustomersScheduleofDisaggregationofRevenuebyGeographicalRegionsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-720f-ab81-6ce07b5eb83b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-78a5-8394-5842f3a2a939" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-720f-ab81-6ce07b5eb83b" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-78a5-8394-5842f3a2a939" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019c6559-a77e-7b36-8ff0-202c0230451d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-78a5-8394-5842f3a2a939" xlink:to="loc_srt_StatementGeographicalAxis_019c6559-a77e-7b36-8ff0-202c0230451d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7b36-8ff0-202c0230451d_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019c6559-a77e-7b36-8ff0-202c0230451d" xlink:to="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7b36-8ff0-202c0230451d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7be4-9801-7ffa7611eb55" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019c6559-a77e-7b36-8ff0-202c0230451d" xlink:to="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7be4-9801-7ffa7611eb55" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NorthAmericaMember_019c6559-a77e-7f47-9583-7382dd6e349f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_NorthAmericaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7be4-9801-7ffa7611eb55" xlink:to="loc_srt_NorthAmericaMember_019c6559-a77e-7f47-9583-7382dd6e349f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019c6559-a77e-7ec1-9b7a-0fa0a8f95bf1" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NorthAmericaMember_019c6559-a77e-7f47-9583-7382dd6e349f" xlink:to="loc_country_US_019c6559-a77e-7ec1-9b7a-0fa0a8f95bf1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_NorthAmericaOtherMember_019c6559-a77e-7efe-bcc6-c984bde100e1" xlink:href="fn-20260327.xsd#fn_NorthAmericaOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NorthAmericaMember_019c6559-a77e-7f47-9583-7382dd6e349f" xlink:to="loc_fn_NorthAmericaOtherMember_019c6559-a77e-7efe-bcc6-c984bde100e1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_KY_019c6559-a77e-7e54-85ff-f03079df0a8d" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_KY"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_NorthAmericaOtherMember_019c6559-a77e-7efe-bcc6-c984bde100e1" xlink:to="loc_country_KY_019c6559-a77e-7e54-85ff-f03079df0a8d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_AsiaPacificMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7be4-9801-7ffa7611eb55" xlink:to="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IL_019c6559-a77e-7def-97b8-ea7d1ff594ed" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_IL"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_IL_019c6559-a77e-7def-97b8-ea7d1ff594ed" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IN_019c6559-a77e-799c-9612-7cb7a84f1ab5" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_IN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_IN_019c6559-a77e-799c-9612-7cb7a84f1ab5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_HK_019c6559-a77e-7d38-a116-0b82275424e5" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_HK"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_HK_019c6559-a77e-7d38-a116-0b82275424e5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_MY_019c6559-a77e-7fc2-8c2f-235464604bf5" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_MY"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_MY_019c6559-a77e-7fc2-8c2f-235464604bf5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_TH_019c6559-a77e-7413-92ea-51cc4731a8dc" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_TH"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_TH_019c6559-a77e-7413-92ea-51cc4731a8dc" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CN_019c6559-a77e-7eb9-9c5a-fa680019b962" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_CN_019c6559-a77e-7eb9-9c5a-fa680019b962" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_SG_019c6559-a77e-7bc6-9dcb-5e8bfaec6e2f" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_SG"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_SG_019c6559-a77e-7bc6-9dcb-5e8bfaec6e2f" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_JP_019c6559-a77e-71b7-8727-636a5b29d7ed" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_JP"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_country_JP_019c6559-a77e-71b7-8727-636a5b29d7ed" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_AsiaPacificOtherMember_019c6559-a77e-71bf-8ef4-7239a5d50965" xlink:href="fn-20260327.xsd#fn_AsiaPacificOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_AsiaPacificMember_019c6559-a77e-70f0-ab0d-1e530708041c" xlink:to="loc_fn_AsiaPacificOtherMember_019c6559-a77e-71bf-8ef4-7239a5d50965" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EuropeMember_019c6559-a77e-745c-ac8d-9c18334cc8c0" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_EuropeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a77e-7be4-9801-7ffa7611eb55" xlink:to="loc_srt_EuropeMember_019c6559-a77e-745c-ac8d-9c18334cc8c0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_GB_019c6559-a77e-7f3b-99b2-328e3adb5672" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_GB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EuropeMember_019c6559-a77e-745c-ac8d-9c18334cc8c0" xlink:to="loc_country_GB_019c6559-a77e-7f3b-99b2-328e3adb5672" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_DE_019c6559-a77e-7a2b-8b7c-a14cb2504a16" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_DE"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EuropeMember_019c6559-a77e-745c-ac8d-9c18334cc8c0" xlink:to="loc_country_DE_019c6559-a77e-7a2b-8b7c-a14cb2504a16" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_FI_019c6559-a77e-74a8-9381-002fa6e83e8d" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_FI"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EuropeMember_019c6559-a77e-745c-ac8d-9c18334cc8c0" xlink:to="loc_country_FI_019c6559-a77e-74a8-9381-002fa6e83e8d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_EuropeOtherMember_019c6559-a77e-7d96-9ea2-f20b1f84e52b" xlink:href="fn-20260327.xsd#fn_EuropeOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_EuropeMember_019c6559-a77e-745c-ac8d-9c18334cc8c0" xlink:to="loc_fn_EuropeOtherMember_019c6559-a77e-7d96-9ea2-f20b1f84e52b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7091-b82b-83591d0f7919" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-78a5-8394-5842f3a2a939" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7091-b82b-83591d0f7919" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-7091-b82b-83591d0f7919_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7091-b82b-83591d0f7919" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-7091-b82b-83591d0f7919_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-75d0-bd13-9b5eb8b48f03" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7091-b82b-83591d0f7919" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-75d0-bd13-9b5eb8b48f03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember_019c6559-a77e-796a-8e4b-33d3cb763a4e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-75d0-bd13-9b5eb8b48f03" xlink:to="loc_us-gaap_GeographicConcentrationRiskMember_019c6559-a77e-796a-8e4b-33d3cb763a4e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7696-b28f-8a41c57b9559" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-78a5-8394-5842f3a2a939" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7696-b28f-8a41c57b9559" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7696-b28f-8a41c57b9559_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7696-b28f-8a41c57b9559" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7696-b28f-8a41c57b9559_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-752e-bf28-34c6b197d134" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7696-b28f-8a41c57b9559" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-752e-bf28-34c6b197d134" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_019c6559-a77e-746d-b304-fc906868dada" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-752e-bf28-34c6b197d134" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_019c6559-a77e-746d-b304-fc906868dada" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019c6559-a77e-7d79-b547-341571b0e7bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-720f-ab81-6ce07b5eb83b" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerIncludingAssessedTax_019c6559-a77e-7d79-b547-341571b0e7bc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019c6559-a77e-7bdb-9568-cca4a3fe597f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-720f-ab81-6ce07b5eb83b" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019c6559-a77e-7bdb-9568-cca4a3fe597f" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/RevenuesfromcontractswithcustomersScheduleofRevenuesbyEndMarketandProductDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#RevenuesfromcontractswithcustomersScheduleofRevenuesbyEndMarketandProductDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/RevenuesfromcontractswithcustomersScheduleofRevenuesbyEndMarketandProductDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-7bdb-8047-3a59a9f02c81" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-7530-ad56-2bee2befdc69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DisaggregationOfRevenueTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-7bdb-8047-3a59a9f02c81" xlink:to="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-7530-ad56-2bee2befdc69" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019c6559-a77e-754f-b479-c2a74617b27e" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-7530-ad56-2bee2befdc69" xlink:to="loc_srt_ProductOrServiceAxis_019c6559-a77e-754f-b479-c2a74617b27e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019c6559-a77e-754f-b479-c2a74617b27e_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ProductOrServiceAxis_019c6559-a77e-754f-b479-c2a74617b27e" xlink:to="loc_srt_ProductsAndServicesDomain_019c6559-a77e-754f-b479-c2a74617b27e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019c6559-a77e-7a07-9aa4-4a079cd58a72" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ProductOrServiceAxis_019c6559-a77e-754f-b479-c2a74617b27e" xlink:to="loc_srt_ProductsAndServicesDomain_019c6559-a77e-7a07-9aa4-4a079cd58a72" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_OpticalCommunicationsMember_019c6559-a77e-7938-b801-a4a5bcac39cc" xlink:href="fn-20260327.xsd#fn_OpticalCommunicationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c6559-a77e-7a07-9aa4-4a079cd58a72" xlink:to="loc_fn_OpticalCommunicationsMember_019c6559-a77e-7938-b801-a4a5bcac39cc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_NonOpticalCommunicationsMember_019c6559-a77e-7b6c-9291-aa0474ccc15d" xlink:href="fn-20260327.xsd#fn_NonOpticalCommunicationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c6559-a77e-7a07-9aa4-4a079cd58a72" xlink:to="loc_fn_NonOpticalCommunicationsMember_019c6559-a77e-7b6c-9291-aa0474ccc15d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ContractWithCustomerMarketCategoryAxis_019c6559-a77e-70ee-a93d-9a7f9d9b0147" xlink:href="fn-20260327.xsd#fn_ContractWithCustomerMarketCategoryAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-7530-ad56-2bee2befdc69" xlink:to="loc_fn_ContractWithCustomerMarketCategoryAxis_019c6559-a77e-70ee-a93d-9a7f9d9b0147" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-70ee-a93d-9a7f9d9b0147_default" xlink:href="fn-20260327.xsd#fn_ContractWithCustomerMarketCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_fn_ContractWithCustomerMarketCategoryAxis_019c6559-a77e-70ee-a93d-9a7f9d9b0147" xlink:to="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-70ee-a93d-9a7f9d9b0147_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:href="fn-20260327.xsd#fn_ContractWithCustomerMarketCategoryDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_fn_ContractWithCustomerMarketCategoryAxis_019c6559-a77e-70ee-a93d-9a7f9d9b0147" xlink:to="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_TelecomMember_019c6559-a77e-7e79-bc49-5285b0d2670d" xlink:href="fn-20260327.xsd#fn_TelecomMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_TelecomMember_019c6559-a77e-7e79-bc49-5285b0d2670d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DatacomMember_019c6559-a77e-71ab-9e2a-6e0c83250ebe" xlink:href="fn-20260327.xsd#fn_DatacomMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_DatacomMember_019c6559-a77e-71ab-9e2a-6e0c83250ebe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DatacenterInterconnectMember_019c6559-a77e-7866-82ae-66fcabaabcd6" xlink:href="fn-20260327.xsd#fn_DatacenterInterconnectMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_DatacenterInterconnectMember_019c6559-a77e-7866-82ae-66fcabaabcd6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_AutomotiveMember_019c6559-a77e-7c04-96aa-b1dbbce52e10" xlink:href="fn-20260327.xsd#fn_AutomotiveMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_AutomotiveMember_019c6559-a77e-7c04-96aa-b1dbbce52e10" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_HighPerformanceComputingMember_019c6559-a77e-702a-b1f2-0273eddba0cb" xlink:href="fn-20260327.xsd#fn_HighPerformanceComputingMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_HighPerformanceComputingMember_019c6559-a77e-702a-b1f2-0273eddba0cb" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_IndustrialLaserMember_019c6559-a77e-7e4e-ae75-96d4cae28e29" xlink:href="fn-20260327.xsd#fn_IndustrialLaserMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_IndustrialLaserMember_019c6559-a77e-7e4e-ae75-96d4cae28e29" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_OthersMember_019c6559-a77e-7e4e-8e9f-9d6d90219ad4" xlink:href="fn-20260327.xsd#fn_OthersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ContractWithCustomerMarketCategoryDomain_019c6559-a77e-7f6f-8b54-41dba0a8406f" xlink:to="loc_fn_OthersMember_019c6559-a77e-7e4e-8e9f-9d6d90219ad4" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7ffb-bc44-c802cbcbaff5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-7530-ad56-2bee2befdc69" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7ffb-bc44-c802cbcbaff5" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-7ffb-bc44-c802cbcbaff5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7ffb-bc44-c802cbcbaff5" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-7ffb-bc44-c802cbcbaff5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-77ce-87de-08ca24896795" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a77e-7ffb-bc44-c802cbcbaff5" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-77ce-87de-08ca24896795" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductConcentrationRiskMember_019c6559-a77e-7ccc-9ab4-1bba2fd92019" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a77e-77ce-87de-08ca24896795" xlink:to="loc_us-gaap_ProductConcentrationRiskMember_019c6559-a77e-7ccc-9ab4-1bba2fd92019" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7be4-8016-4f6f9807b199" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DisaggregationOfRevenueTable_019c6559-a77e-7530-ad56-2bee2befdc69" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7be4-8016-4f6f9807b199" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7be4-8016-4f6f9807b199_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7be4-8016-4f6f9807b199" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7be4-8016-4f6f9807b199_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7236-9fdb-3c7c26102062" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a77e-7be4-8016-4f6f9807b199" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7236-9fdb-3c7c26102062" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_019c6559-a77e-7462-a3d6-c029499f75cc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a77e-7236-9fdb-3c7c26102062" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_019c6559-a77e-7462-a3d6-c029499f75cc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019c6559-a77e-7282-873a-f80034749733" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Revenues"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-7bdb-8047-3a59a9f02c81" xlink:to="loc_us-gaap_Revenues_019c6559-a77e-7282-873a-f80034749733" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019c6559-a77e-7dc7-adf3-925818fea5de" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DisaggregationOfRevenueLineItems_019c6559-a77e-7bdb-8047-3a59a9f02c81" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019c6559-a77e-7dc7-adf3-925818fea5de" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsScheduleofComponentsofCashCashEquivalentsandShortTermInvestmentsDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#CashcashequivalentsandshortterminvestmentsScheduleofComponentsofCashCashEquivalentsandShortTermInvestmentsDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsScheduleofComponentsofCashCashEquivalentsandShortTermInvestmentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashCashEquivalentsAndMarketableSecuritiesTable_019c6559-a77e-7e6f-b810-9915ab2adf71" xlink:href="fn-20260327.xsd#fn_CashCashEquivalentsAndMarketableSecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_fn_CashCashEquivalentsAndMarketableSecuritiesTable_019c6559-a77e-7e6f-b810-9915ab2adf71" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019c6559-a77e-713a-a31a-4038fac1ce2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_CashCashEquivalentsAndMarketableSecuritiesTable_019c6559-a77e-7e6f-b810-9915ab2adf71" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019c6559-a77e-713a-a31a-4038fac1ce2c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-713a-a31a-4038fac1ce2c_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019c6559-a77e-713a-a31a-4038fac1ce2c" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-713a-a31a-4038fac1ce2c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019c6559-a77e-713a-a31a-4038fac1ce2c" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashMember_019c6559-a77e-7c76-822c-7e4f56d6fcb9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:to="loc_us-gaap_CashMember_019c6559-a77e-7c76-822c-7e4f56d6fcb9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsMember_019c6559-a77e-79f8-a863-690b897cdcb0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:to="loc_us-gaap_CashEquivalentsMember_019c6559-a77e-79f8-a863-690b897cdcb0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsMember_019c6559-a77e-7981-ba53-78550b7b4b62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:to="loc_us-gaap_InterestBearingDepositsMember_019c6559-a77e-7981-ba53-78550b7b4b62" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019c6559-a77e-7447-b6db-06d34b3818c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019c6559-a77e-7447-b6db-06d34b3818c4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember_019c6559-a77e-75e0-9b8f-f369fb989609" xlink:href="fn-20260327.xsd#fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019c6559-a77e-7e78-babf-2d232acb6e96" xlink:to="loc_fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember_019c6559-a77e-75e0-9b8f-f369fb989609" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashAndCashEquivalentsAtCost_019c6559-a77e-73dc-b26d-086c4545b91b" xlink:href="fn-20260327.xsd#fn_CashAndCashEquivalentsAtCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_fn_CashAndCashEquivalentsAtCost_019c6559-a77e-73dc-b26d-086c4545b91b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019c6559-a77e-79b4-ab29-c7f4b38dd519" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019c6559-a77e-79b4-ab29-c7f4b38dd519" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_019c6559-a77e-77fc-a267-29ba9bc75779" xlink:href="fn-20260327.xsd#fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_fn_CashAndCashEquivalentsAndMarketableSecuritiesCarryingCost_019c6559-a77e-77fc-a267-29ba9bc75779" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019c6559-a77e-752f-8c07-f3c36f6d7ee3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_us-gaap_DebtSecuritiesAvailableForSaleAccumulatedGrossUnrealizedGainLossBeforeTax_019c6559-a77e-752f-8c07-f3c36f6d7ee3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c6559-a77e-7cf6-acfc-35d9c8e2f27e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_019c6559-a77e-7cf6-acfc-35d9c8e2f27e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermInvestments_019c6559-a77e-79fc-b93e-8c39da54d8c8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_us-gaap_ShortTermInvestments_019c6559-a77e-79fc-b93e-8c39da54d8c8" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherInvestments_019c6559-a77e-75f7-97b4-4cd697bad960" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherInvestments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CashAndCashEquivalentsLineItems_019c6559-a77e-7285-9be7-8ebe0a512917" xlink:to="loc_us-gaap_OtherInvestments_019c6559-a77e-75f7-97b4-4cd697bad960" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsNarrativeDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#CashcashequivalentsandshortterminvestmentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashCashEquivalentsAndMarketableSecuritiesLineItems_019c6559-a77e-7c8f-95f4-c4ff01b1e025" xlink:href="fn-20260327.xsd#fn_CashCashEquivalentsAndMarketableSecuritiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_CashCashEquivalentsAndMarketableSecuritiesTable_019c6559-a77e-7fbb-a455-72e3f8cdadb4" xlink:href="fn-20260327.xsd#fn_CashCashEquivalentsAndMarketableSecuritiesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fn_CashCashEquivalentsAndMarketableSecuritiesLineItems_019c6559-a77e-7c8f-95f4-c4ff01b1e025" xlink:to="loc_fn_CashCashEquivalentsAndMarketableSecuritiesTable_019c6559-a77e-7fbb-a455-72e3f8cdadb4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019c6559-a77e-7e6d-9fc4-0a2dd3efc89c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_CashCashEquivalentsAndMarketableSecuritiesTable_019c6559-a77e-7fbb-a455-72e3f8cdadb4" xlink:to="loc_srt_RangeAxis_019c6559-a77e-7e6d-9fc4-0a2dd3efc89c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c6559-a77e-7e6d-9fc4-0a2dd3efc89c_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019c6559-a77e-7e6d-9fc4-0a2dd3efc89c" xlink:to="loc_srt_RangeMember_019c6559-a77e-7e6d-9fc4-0a2dd3efc89c_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c6559-a77e-7499-8b4f-366e0057dc5c" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019c6559-a77e-7e6d-9fc4-0a2dd3efc89c" xlink:to="loc_srt_RangeMember_019c6559-a77e-7499-8b4f-366e0057dc5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019c6559-a77e-7bf6-9630-a814f1825d1f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019c6559-a77e-7499-8b4f-366e0057dc5c" xlink:to="loc_srt_MinimumMember_019c6559-a77e-7bf6-9630-a814f1825d1f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019c6559-a77e-720c-bcf8-9f398e573977" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019c6559-a77e-7499-8b4f-366e0057dc5c" xlink:to="loc_srt_MaximumMember_019c6559-a77e-720c-bcf8-9f398e573977" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_MarketableSecuritiesMaturityPeriod_019c6559-a77e-7235-8c9b-d080dff7efb8" xlink:href="fn-20260327.xsd#fn_MarketableSecuritiesMaturityPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_CashCashEquivalentsAndMarketableSecuritiesLineItems_019c6559-a77e-7c8f-95f4-c4ff01b1e025" xlink:to="loc_fn_MarketableSecuritiesMaturityPeriod_019c6559-a77e-7235-8c9b-d080dff7efb8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsScheduleofAvailableforSaleSecuritiesBasedonStatedEffectiveMaturitiesDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#CashcashequivalentsandshortterminvestmentsScheduleofAvailableforSaleSecuritiesBasedonStatedEffectiveMaturitiesDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/CashcashequivalentsandshortterminvestmentsScheduleofAvailableforSaleSecuritiesBasedonStatedEffectiveMaturitiesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:href="fn-20260327.xsd#fn_InvestmentsClassifiedByContractualMaturityDateLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_InvestmentsClassifiedByContractualMaturityDateTable_019c6559-a77e-7ee9-a10f-d9d0f3af3a29" xlink:href="fn-20260327.xsd#fn_InvestmentsClassifiedByContractualMaturityDateTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_fn_InvestmentsClassifiedByContractualMaturityDateTable_019c6559-a77e-7ee9-a10f-d9d0f3af3a29" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_019c6559-a77e-764c-973f-7043978371dc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateTable_019c6559-a77e-7ee9-a10f-d9d0f3af3a29" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_019c6559-a77e-764c-973f-7043978371dc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c6559-a77e-764c-973f-7043978371dc_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_019c6559-a77e-764c-973f-7043978371dc" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c6559-a77e-764c-973f-7043978371dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c6559-a77e-7210-ab67-515c3bf07374" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_019c6559-a77e-764c-973f-7043978371dc" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c6559-a77e-7210-ab67-515c3bf07374" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c6559-a77e-7de5-83d3-2e6adcb7e1b6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c6559-a77e-7210-ab67-515c3bf07374" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c6559-a77e-7de5-83d3-2e6adcb7e1b6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_019c6559-a77e-7720-8350-480ffcbe8ac4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c6559-a77e-7de5-83d3-2e6adcb7e1b6" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_019c6559-a77e-7720-8350-480ffcbe8ac4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c6559-a77e-73a0-8ae8-55607f891490" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c6559-a77e-7de5-83d3-2e6adcb7e1b6" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c6559-a77e-73a0-8ae8-55607f891490" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019c6559-a77e-74f2-b656-0304b238e266" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_019c6559-a77e-74f2-b656-0304b238e266" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019c6559-a77e-7e10-b730-a2fff8e08154" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_019c6559-a77e-7e10-b730-a2fff8e08154" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019c6559-a77e-76d2-9a9f-408946188f76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAmortizedCostBasis_019c6559-a77e-76d2-9a9f-408946188f76" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019c6559-a77e-7ed7-b396-dc371b76060d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_019c6559-a77e-7ed7-b396-dc371b76060d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019c6559-a77e-7bed-af20-0a2b9705f303" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_019c6559-a77e-7bed-af20-0a2b9705f303" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesCurrent_019c6559-a77e-7e6e-bfd3-b307f42c5386" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_InvestmentsClassifiedByContractualMaturityDateLineItems_019c6559-a77e-792a-8cfb-f64bed41b83c" xlink:to="loc_us-gaap_MarketableSecuritiesCurrent_019c6559-a77e-7e6e-bfd3-b307f42c5386" xlink:type="arc" order="5"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#FairvalueoffinancialinstrumentsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofFinancialInstrumentsMeasuredatFairValueonRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019d28d1-2052-7a58-a46f-9f42bba57991" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019d28d1-2052-7a58-a46f-9f42bba57991" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d28d1-2052-7de3-aca0-f0e949e558a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d28d1-2052-7de3-aca0-f0e949e558a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-7de3-aca0-f0e949e558a5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d28d1-2052-7de3-aca0-f0e949e558a5" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-7de3-aca0-f0e949e558a5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-77f4-ab0b-b4d5fe5e2dc6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019d28d1-2052-7de3-aca0-f0e949e558a5" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-77f4-ab0b-b4d5fe5e2dc6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019d28d1-2052-7af0-b299-a192dd817a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-77f4-ab0b-b4d5fe5e2dc6" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019d28d1-2052-7af0-b299-a192dd817a0b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019d28d1-2052-75ed-8738-82381c1360c1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-77f4-ab0b-b4d5fe5e2dc6" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019d28d1-2052-75ed-8738-82381c1360c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019d28d1-2052-7cf9-8d5d-b5404092a500" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019d28d1-2052-77f4-ab0b-b4d5fe5e2dc6" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019d28d1-2052-7cf9-8d5d-b5404092a500" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeAxis_019d28d1-2052-7f7c-ab0b-bad43c9322c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:to="loc_us-gaap_InvestmentTypeAxis_019d28d1-2052-7f7c-ab0b-bad43c9322c7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7f7c-ab0b-bad43c9322c7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_019d28d1-2052-7f7c-ab0b-bad43c9322c7" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7f7c-ab0b-bad43c9322c7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7e67-b109-d7aef248c910" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentTypeCategorizationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_019d28d1-2052-7f7c-ab0b-bad43c9322c7" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7e67-b109-d7aef248c910" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashEquivalentsMember_019d28d1-2052-724e-9456-22c88d6115ff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashEquivalentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7e67-b109-d7aef248c910" xlink:to="loc_us-gaap_CashEquivalentsMember_019d28d1-2052-724e-9456-22c88d6115ff" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestBearingDepositsMember_019d28d1-2052-7f29-a914-c37805ba7254" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestBearingDepositsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7e67-b109-d7aef248c910" xlink:to="loc_us-gaap_InterestBearingDepositsMember_019d28d1-2052-7f29-a914-c37805ba7254" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019d28d1-2052-750b-bf9d-4e9b6c3f44ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7e67-b109-d7aef248c910" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019d28d1-2052-750b-bf9d-4e9b6c3f44ab" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember_019d28d1-2052-7ee0-bf51-4a2e89ddfffa" xlink:href="fn-20260327.xsd#fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_019d28d1-2052-7e67-b109-d7aef248c910" xlink:to="loc_fn_USTreasurySecuritiesAndUSGovernmentAndAgencySecuritiesMember_019d28d1-2052-7ee0-bf51-4a2e89ddfffa" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019d28e8-5b72-7601-8746-4a4e6e777361" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019d28e8-5b72-7601-8746-4a4e6e777361" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d28e8-5b72-7601-8746-4a4e6e777361_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d28e8-5b72-7601-8746-4a4e6e777361" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d28e8-5b72-7601-8746-4a4e6e777361_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019d28e8-b151-7fe9-a693-e137e57a397e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019d28e8-5b72-7601-8746-4a4e6e777361" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019d28e8-b151-7fe9-a693-e137e57a397e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_019d28e8-fb6c-7310-b9b3-2fbc243bdd2e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019d28e8-b151-7fe9-a693-e137e57a397e" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_019d28e8-fb6c-7310-b9b3-2fbc243bdd2e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CurrencyAxis_019d28e9-6bd1-743c-a8c2-bd2c11629a25" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CurrencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:to="loc_srt_CurrencyAxis_019d28e9-6bd1-743c-a8c2-bd2c11629a25" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_AllCurrenciesDomain_019d28e9-6bd1-743c-a8c2-bd2c11629a25_default" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CurrencyAxis_019d28e9-6bd1-743c-a8c2-bd2c11629a25" xlink:to="loc_currency_AllCurrenciesDomain_019d28e9-6bd1-743c-a8c2-bd2c11629a25_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_AllCurrenciesDomain_019d28e9-a741-7b0f-ad3a-a55edcf51fb3" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CurrencyAxis_019d28e9-6bd1-743c-a8c2-bd2c11629a25" xlink:to="loc_currency_AllCurrenciesDomain_019d28e9-a741-7b0f-ad3a-a55edcf51fb3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_CAD_019d28e9-e275-7abb-b511-9a44faee1ce2" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_CAD"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_019d28e9-a741-7b0f-ad3a-a55edcf51fb3" xlink:to="loc_currency_CAD_019d28e9-e275-7abb-b511-9a44faee1ce2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis_019d42a8-9d0d-70ba-b1a1-a633bb874606" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019d28d0-b047-7510-a803-ad6353b5caf5" xlink:to="loc_us-gaap_FinancialInstrumentAxis_019d42a8-9d0d-70ba-b1a1-a633bb874606" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-70ba-b1a1-a633bb874606_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019d42a8-9d0d-70ba-b1a1-a633bb874606" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-70ba-b1a1-a633bb874606_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-787b-91f5-5e12322e5623" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentAxis_019d42a8-9d0d-70ba-b1a1-a633bb874606" xlink:to="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-787b-91f5-5e12322e5623" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankTimeDepositsMember_019d42a8-9d0d-71fa-b563-e26cb742858e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BankTimeDepositsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-787b-91f5-5e12322e5623" xlink:to="loc_us-gaap_BankTimeDepositsMember_019d42a8-9d0d-71fa-b563-e26cb742858e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_019d42a8-9d0d-7031-955d-25e09b9124ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CorporateDebtSecuritiesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-787b-91f5-5e12322e5623" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_019d42a8-9d0d-7031-955d-25e09b9124ad" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_019d42a8-9d0d-7001-8194-2d9798db73e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USTreasuryAndGovernmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_019d42a8-9d0d-787b-91f5-5e12322e5623" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_019d42a8-9d0d-7001-8194-2d9798db73e2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019d28d1-2052-7a58-a46f-9f42bba57991" xlink:to="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019d42a8-9d0d-798a-b11f-266b4b456a43" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_019d42a8-9d0d-798a-b11f-266b4b456a43" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019d42a8-9d0d-776a-9687-415d86f88128" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AvailableForSaleSecuritiesDebtSecurities"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtSecurities_019d42a8-9d0d-776a-9687-415d86f88128" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration_019d28d2-c214-762a-bf92-efcaf037f7e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:to="loc_us-gaap_DerivativeAssetCurrentStatementOfFinancialPositionExtensibleEnumeration_019d28d2-c214-762a-bf92-efcaf037f7e1" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsCurrent_019d28d1-2052-7cf0-9079-fb69436a6a62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:to="loc_us-gaap_DerivativeAssetsCurrent_019d28d1-2052-7cf0-9079-fb69436a6a62" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_019d28d1-2052-7440-88a7-8881625ae110" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract_019d28d4-43f9-77d3-a0b5-9d34f0c963eb" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_019d28d1-2052-7440-88a7-8881625ae110" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_019d28e3-cd4b-7e3a-b8fa-55893ac5bfc8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019d28d1-2052-7a58-a46f-9f42bba57991" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_019d28e3-cd4b-7e3a-b8fa-55893ac5bfc8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration_019d28e4-ae09-7ea0-97a7-4d5f7ba5a3f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_019d28e3-cd4b-7e3a-b8fa-55893ac5bfc8" xlink:to="loc_us-gaap_DerivativeLiabilityCurrentStatementOfFinancialPositionExtensibleEnumeration_019d28e4-ae09-7ea0-97a7-4d5f7ba5a3f2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesCurrent_019d28e5-222b-764e-a7a2-606d501eb8e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_019d28e3-cd4b-7e3a-b8fa-55893ac5bfc8" xlink:to="loc_us-gaap_DerivativeLiabilitiesCurrent_019d28e5-222b-764e-a7a2-606d501eb8e1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019d28e5-74ce-74a1-825e-2d489ddb3c69" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract_019d28e3-cd4b-7e3a-b8fa-55893ac5bfc8" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_019d28e5-74ce-74a1-825e-2d489ddb3c69" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_019d28e6-f320-72e8-a4e7-b6ecb26e9ea3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019d28d1-2052-7a58-a46f-9f42bba57991" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_019d28e6-f320-72e8-a4e7-b6ecb26e9ea3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotionalAmount_019d28e6-41d3-75e4-be83-4957fcb7d3e0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019d28d1-2052-7a58-a46f-9f42bba57991" xlink:to="loc_us-gaap_DerivativeAssetNotionalAmount_019d28e6-41d3-75e4-be83-4957fcb7d3e0" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsNarrativeDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#FairvalueoffinancialinstrumentsNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-7a96-9b65-26b4003503f4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:to="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-7a96-9b65-26b4003503f4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-7dee-a88d-dc4b60fc76d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-7a96-9b65-26b4003503f4" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-7dee-a88d-dc4b60fc76d4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-7dee-a88d-dc4b60fc76d4_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-7dee-a88d-dc4b60fc76d4" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-7dee-a88d-dc4b60fc76d4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-74b1-9b1b-ef3734432430" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-7dee-a88d-dc4b60fc76d4" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-74b1-9b1b-ef3734432430" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_019c6559-a77e-7871-a53d-fbd8b2d04e07" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-74b1-9b1b-ef3734432430" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_019c6559-a77e-7871-a53d-fbd8b2d04e07" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis_019c6559-a77e-730f-8480-259f22cee875" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-7a96-9b65-26b4003503f4" xlink:to="loc_us-gaap_HedgingDesignationAxis_019c6559-a77e-730f-8480-259f22cee875" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019c6559-a77e-730f-8480-259f22cee875_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_019c6559-a77e-730f-8480-259f22cee875" xlink:to="loc_us-gaap_HedgingDesignationDomain_019c6559-a77e-730f-8480-259f22cee875_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain_019c6559-a77e-7984-97fb-f918ea8c4756" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_019c6559-a77e-730f-8480-259f22cee875" xlink:to="loc_us-gaap_HedgingDesignationDomain_019c6559-a77e-7984-97fb-f918ea8c4756" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019c6559-a77e-771c-8dd0-f48e18231f17" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_019c6559-a77e-7984-97fb-f918ea8c4756" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_019c6559-a77e-771c-8dd0-f48e18231f17" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CurrencyAxis_019c6559-a77e-7d4b-a7cd-127355e527c3" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CurrencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-7a96-9b65-26b4003503f4" xlink:to="loc_srt_CurrencyAxis_019c6559-a77e-7d4b-a7cd-127355e527c3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_AllCurrenciesDomain_019c6559-a77e-7d4b-a7cd-127355e527c3_default" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_CurrencyAxis_019c6559-a77e-7d4b-a7cd-127355e527c3" xlink:to="loc_currency_AllCurrenciesDomain_019c6559-a77e-7d4b-a7cd-127355e527c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_AllCurrenciesDomain_019c6559-a77e-7ce8-864e-8dd5d850d7e2" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_AllCurrenciesDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_CurrencyAxis_019c6559-a77e-7d4b-a7cd-127355e527c3" xlink:to="loc_currency_AllCurrenciesDomain_019c6559-a77e-7ce8-864e-8dd5d850d7e2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_THB_019c6559-a77e-788b-9f83-da97a698f5e3" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_THB"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_019c6559-a77e-7ce8-864e-8dd5d850d7e2" xlink:to="loc_currency_THB_019c6559-a77e-788b-9f83-da97a698f5e3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_currency_CAD_019c6559-a77e-77a5-9b04-0d8db744e7a5" xlink:href="https://xbrl.sec.gov/currency/2025/currency-2025.xsd#currency_CAD"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_currency_AllCurrenciesDomain_019c6559-a77e-7ce8-864e-8dd5d850d7e2" xlink:to="loc_currency_CAD_019c6559-a77e-77a5-9b04-0d8db744e7a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfForeignCurrencyDerivativesHeld_019c6559-a77e-76d0-a37a-4d887f44154c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NumberOfForeignCurrencyDerivativesHeld"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:to="loc_us-gaap_NumberOfForeignCurrencyDerivativesHeld_019c6559-a77e-76d0-a37a-4d887f44154c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_019c6559-a77e-75cc-8339-59d6bfd079c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:to="loc_us-gaap_DerivativeNotionalAmount_019c6559-a77e-75cc-8339-59d6bfd079c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotionalAmount_019c6559-a77e-7cb9-aac6-1ed1a7b6f918" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotionalAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:to="loc_us-gaap_DerivativeLiabilityNotionalAmount_019c6559-a77e-7cb9-aac6-1ed1a7b6f918" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred_019c6559-a77e-7ec2-a98b-494044cd77d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossReclassificationFromAccumulatedOCIToIncomeEstimatedNetAmountToBeTransferred_019c6559-a77e-7ec2-a98b-494044cd77d3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019c6559-a77e-73de-a7e0-ab3057ce81b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrealizedGainLossOnDerivatives"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-788d-b312-abcb9b8b407e" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019c6559-a77e-73de-a7e0-ab3057ce81b0" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofImpactsofDerivativeGainLossofCashFlowHedgesDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#FairvalueoffinancialinstrumentsScheduleofImpactsofDerivativeGainLossofCashFlowHedgesDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofImpactsofDerivativeGainLossofCashFlowHedgesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract_019c6559-a77e-7652-a416-197bd9b1c88a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable_019c6559-a77e-7b77-8b83-2b568a1f84d6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract_019c6559-a77e-7652-a416-197bd9b1c88a" xlink:to="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable_019c6559-a77e-7b77-8b83-2b568a1f84d6" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-72f5-ace8-3e2594bfd4e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable_019c6559-a77e-7b77-8b83-2b568a1f84d6" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-72f5-ace8-3e2594bfd4e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-72f5-ace8-3e2594bfd4e1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-72f5-ace8-3e2594bfd4e1" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-72f5-ace8-3e2594bfd4e1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-777e-9061-7ffa4fb545a5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-72f5-ace8-3e2594bfd4e1" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-777e-9061-7ffa4fb545a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_019c6559-a77e-77bb-a850-8e6db775f63c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-777e-9061-7ffa4fb545a5" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_019c6559-a77e-77bb-a850-8e6db775f63c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_019c6559-a77e-7aa9-81cb-c603a625dfd7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable_019c6559-a77e-7b77-8b83-2b568a1f84d6" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_019c6559-a77e-7aa9-81cb-c603a625dfd7" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_019c6559-a77e-7aa9-81cb-c603a625dfd7_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_019c6559-a77e-7aa9-81cb-c603a625dfd7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_019c6559-a77e-7aa9-81cb-c603a625dfd7_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_019c6559-a77e-7841-ac3e-b88fbff01117" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationAxis_019c6559-a77e-7aa9-81cb-c603a625dfd7" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_019c6559-a77e-7841-ac3e-b88fbff01117" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeMember_019c6559-a77e-714e-89e6-8b5ce4587e38" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLocationDomain_019c6559-a77e-7841-ac3e-b88fbff01117" xlink:to="loc_us-gaap_OtherComprehensiveIncomeMember_019c6559-a77e-714e-89e6-8b5ce4587e38" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73c1-b32c-11305f7bd705" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsTable_019c6559-a77e-7b77-8b83-2b568a1f84d6" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73c1-b32c-11305f7bd705" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-73c1-b32c-11305f7bd705_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73c1-b32c-11305f7bd705" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-73c1-b32c-11305f7bd705_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-782c-a5cc-0e29844a360b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73c1-b32c-11305f7bd705" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-782c-a5cc-0e29844a360b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_019c6559-a77e-710e-bd33-270d80e896e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-782c-a5cc-0e29844a360b" xlink:to="loc_us-gaap_CostOfSalesMember_019c6559-a77e-710e-bd33-270d80e896e4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019c6559-a77e-7a22-a152-7b89eae19be4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-782c-a5cc-0e29844a360b" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019c6559-a77e-7a22-a152-7b89eae19be4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyGainLossMember_019c6559-a77e-76fa-bd50-303dd0e633f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-782c-a5cc-0e29844a360b" xlink:to="loc_us-gaap_ForeignCurrencyGainLossMember_019c6559-a77e-76fa-bd50-303dd0e633f9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DerivativesGainLossRecognizedInOtherComprehensiveIncomeLossAbstract_019c6559-a77e-76ac-97a3-5ad1d813f51f" xlink:href="fn-20260327.xsd#fn_DerivativesGainLossRecognizedInOtherComprehensiveIncomeLossAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract_019c6559-a77e-7652-a416-197bd9b1c88a" xlink:to="loc_fn_DerivativesGainLossRecognizedInOtherComprehensiveIncomeLossAbstract_019c6559-a77e-76ac-97a3-5ad1d813f51f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019c6559-a77e-71d7-a0e4-1f9306d1df05" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_DerivativesGainLossRecognizedInOtherComprehensiveIncomeLossAbstract_019c6559-a77e-76ac-97a3-5ad1d813f51f" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossBeforeReclassificationAfterTax_019c6559-a77e-71d7-a0e4-1f9306d1df05" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DerivativesGainLossReclassifiedFromOtherComprehensiveIncomeIntoEarningsAbstract_019c6559-a77e-7a41-a833-e6c4e3ea2ccc" xlink:href="fn-20260327.xsd#fn_DerivativesGainLossReclassifiedFromOtherComprehensiveIncomeIntoEarningsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract_019c6559-a77e-7652-a416-197bd9b1c88a" xlink:to="loc_fn_DerivativesGainLossReclassifiedFromOtherComprehensiveIncomeIntoEarningsAbstract_019c6559-a77e-7a41-a833-e6c4e3ea2ccc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019c6559-a77e-7a53-a7e2-efc47cb2acdd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_DerivativesGainLossReclassifiedFromOtherComprehensiveIncomeIntoEarningsAbstract_019c6559-a77e-7a41-a833-e6c4e3ea2ccc" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossReclassificationAfterTax_019c6559-a77e-7a53-a7e2-efc47cb2acdd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_019c6559-a77e-7ce9-8db3-0f94b67416a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasuredOnRecurringBasisGainLossIncludedInEarningsAbstract_019c6559-a77e-7652-a416-197bd9b1c88a" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossCashFlowHedgeGainLossAfterReclassificationBeforeTaxParent_019c6559-a77e-7ce9-8db3-0f94b67416a8" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofDerivativeFinancialInstrumentsDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#FairvalueoffinancialinstrumentsScheduleofDerivativeFinancialInstrumentsDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/FairvalueoffinancialinstrumentsScheduleofDerivativeFinancialInstrumentsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-71a2-a78a-ea97406f0649" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-743e-9684-eeb5a74000a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-71a2-a78a-ea97406f0649" xlink:to="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-743e-9684-eeb5a74000a8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-78de-a21b-8942424943b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeTable_019c6559-a77e-743e-9684-eeb5a74000a8" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-78de-a21b-8942424943b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-78de-a21b-8942424943b5_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-78de-a21b-8942424943b5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-78de-a21b-8942424943b5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-7857-9ab2-8027661abe96" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_019c6559-a77e-78de-a21b-8942424943b5" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-7857-9ab2-8027661abe96" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ForeignCurrencyForwardAndOptionContractsMember_019c6559-a77e-72e7-8ec0-5397e6f5e78c" xlink:href="fn-20260327.xsd#fn_ForeignCurrencyForwardAndOptionContractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-7857-9ab2-8027661abe96" xlink:to="loc_fn_ForeignCurrencyForwardAndOptionContractsMember_019c6559-a77e-72e7-8ec0-5397e6f5e78c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ForeignExchangeForwardMember_019c6559-a77e-7599-9c14-273321ad73db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ForeignExchangeForwardMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c6559-a77e-7857-9ab2-8027661abe96" xlink:to="loc_us-gaap_ForeignExchangeForwardMember_019c6559-a77e-7599-9c14-273321ad73db" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAbstract_019c6559-a77e-7b92-ab1c-43e15ca6b11b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-71a2-a78a-ea97406f0649" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAbstract_019c6559-a77e-7b92-ab1c-43e15ca6b11b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_019c6559-a77e-767d-8653-8a02c08b13b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAbstract_019c6559-a77e-7b92-ab1c-43e15ca6b11b" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAssetAtFairValue_019c6559-a77e-767d-8653-8a02c08b13b2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_019c6559-a77e-7f07-ab56-8c2692ad7e48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsAbstract_019c6559-a77e-7b92-ab1c-43e15ca6b11b" xlink:to="loc_us-gaap_DerivativeInstrumentsNotDesignatedAsHedgingInstrumentsLiabilityAtFairValue_019c6559-a77e-7f07-ab56-8c2692ad7e48" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNetAbstract_019c6559-a77e-76b7-947e-acdd2e02e821" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsInHedgesAtFairValueNetAbstract"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-71a2-a78a-ea97406f0649" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNetAbstract_019c6559-a77e-76b7-947e-acdd2e02e821" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_019c6559-a77e-7dcc-b310-496c6f3e331f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNetAbstract_019c6559-a77e-76b7-947e-acdd2e02e821" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesAssetsAtFairValue_019c6559-a77e-7dcc-b310-496c6f3e331f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_019c6559-a77e-7dc2-ac3b-e0897d228554" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsInHedgesAtFairValueNetAbstract_019c6559-a77e-76b7-947e-acdd2e02e821" xlink:to="loc_us-gaap_DerivativeInstrumentsInHedgesLiabilitiesAtFairValue_019c6559-a77e-7dc2-ac3b-e0897d228554" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019c6559-a77e-70a0-a8e4-29ddcc146700" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-71a2-a78a-ea97406f0649" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_019c6559-a77e-70a0-a8e4-29ddcc146700" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019c6559-a77e-74fc-bae0-76c8cd0fd7c0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ForeignCurrencyFairValueHedgeDerivativeLineItems_019c6559-a77e-71a2-a78a-ea97406f0649" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_019c6559-a77e-74fc-bae0-76c8cd0fd7c0" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/IntangiblesScheduleofWeightedAverageRemainingLifeofIntangibleAssetsDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#IntangiblesScheduleofWeightedAverageRemainingLifeofIntangibleAssetsDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/IntangiblesScheduleofWeightedAverageRemainingLifeofIntangibleAssetsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fn_FiniteLivedIntangibleLiabilitiesLineItems_019c6559-a77e-7ede-a6d5-e3dde2ac4a47" xlink:href="fn-20260327.xsd#fn_FiniteLivedIntangibleLiabilitiesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019c6559-a77e-7d97-8ece-d26567025f39" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fn_FiniteLivedIntangibleLiabilitiesLineItems_019c6559-a77e-7ede-a6d5-e3dde2ac4a47" xlink:to="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019c6559-a77e-7d97-8ece-d26567025f39" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019c6559-a77e-7fff-9874-e53bfbbc6bd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFiniteLivedIntangibleAssetsTable_019c6559-a77e-7d97-8ece-d26567025f39" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019c6559-a77e-7fff-9874-e53bfbbc6bd0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019c6559-a77e-7fff-9874-e53bfbbc6bd0_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019c6559-a77e-7fff-9874-e53bfbbc6bd0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019c6559-a77e-7fff-9874-e53bfbbc6bd0_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019c6559-a77e-72b8-aa1b-956662eb7f5e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019c6559-a77e-7fff-9874-e53bfbbc6bd0" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019c6559-a77e-72b8-aa1b-956662eb7f5e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_019c6559-a77e-7755-8038-99d6336dd03d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComputerSoftwareIntangibleAssetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019c6559-a77e-72b8-aa1b-956662eb7f5e" xlink:to="loc_us-gaap_ComputerSoftwareIntangibleAssetMember_019c6559-a77e-7755-8038-99d6336dd03d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019c6559-a77e-7fd8-b005-ead423707f1f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_FiniteLivedIntangibleLiabilitiesLineItems_019c6559-a77e-7ede-a6d5-e3dde2ac4a47" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019c6559-a77e-7fd8-b005-ead423707f1f" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationScheduleofShareBasedCompensationExpenseRecordedinCondensedConsolidatedStatementsofOperationsandComprehensiveIncomeDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SharebasedcompensationScheduleofShareBasedCompensationExpenseRecordedinCondensedConsolidatedStatementsofOperationsandComprehensiveIncomeDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationScheduleofShareBasedCompensationExpenseRecordedinCondensedConsolidatedStatementsofOperationsandComprehensiveIncomeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019c6559-a77e-797b-b73a-80cec73adcd6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019c6559-a77e-7c4e-9c6c-2bb126808277" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019c6559-a77e-797b-b73a-80cec73adcd6" xlink:to="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019c6559-a77e-7c4e-9c6c-2bb126808277" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73bb-a9a4-9f6c1ff1bc00" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfEmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsTable_019c6559-a77e-7c4e-9c6c-2bb126808277" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73bb-a9a4-9f6c1ff1bc00" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-73bb-a9a4-9f6c1ff1bc00_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73bb-a9a4-9f6c1ff1bc00" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-73bb-a9a4-9f6c1ff1bc00_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-7a24-9b55-d56abb9c3302" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_IncomeStatementLocationAxis_019c6559-a77e-73bb-a9a4-9f6c1ff1bc00" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-7a24-9b55-d56abb9c3302" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_019c6559-a77e-7161-8e61-feff61099d48" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CostOfSalesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-7a24-9b55-d56abb9c3302" xlink:to="loc_us-gaap_CostOfSalesMember_019c6559-a77e-7161-8e61-feff61099d48" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019c6559-a77e-73ca-9305-f7d2589bb7e1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SellingGeneralAndAdministrativeExpensesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019c6559-a77e-7a24-9b55-d56abb9c3302" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019c6559-a77e-73ca-9305-f7d2589bb7e1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensation_019c6559-a77e-71c1-85c1-f7bc7f47cd12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsLineItems_019c6559-a77e-797b-b73a-80cec73adcd6" xlink:to="loc_us-gaap_ShareBasedCompensation_019c6559-a77e-71c1-85c1-f7bc7f47cd12" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationNarrativeDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SharebasedcompensationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c6559-a77e-7efe-93bf-51f60d6c05b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:to="loc_us-gaap_PlanNameAxis_019c6559-a77e-7efe-93bf-51f60d6c05b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c6559-a77e-7efe-93bf-51f60d6c05b8_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019c6559-a77e-7efe-93bf-51f60d6c05b8" xlink:to="loc_us-gaap_PlanNameDomain_019c6559-a77e-7efe-93bf-51f60d6c05b8_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c6559-a77e-749e-845d-b0278a6785af" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019c6559-a77e-7efe-93bf-51f60d6c05b8" xlink:to="loc_us-gaap_PlanNameDomain_019c6559-a77e-749e-845d-b0278a6785af" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_EquityIncentivePlansMember_019c6559-a77e-798a-9443-ba1dcee3d9c0" xlink:href="fn-20260327.xsd#fn_EquityIncentivePlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c6559-a77e-749e-845d-b0278a6785af" xlink:to="loc_fn_EquityIncentivePlansMember_019c6559-a77e-798a-9443-ba1dcee3d9c0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_EquityIncentive2020PlanMember_019c6559-a77e-730c-9083-4266a9fad54e" xlink:href="fn-20260327.xsd#fn_EquityIncentive2020PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_EquityIncentivePlansMember_019c6559-a77e-798a-9443-ba1dcee3d9c0" xlink:to="loc_fn_EquityIncentive2020PlanMember_019c6559-a77e-730c-9083-4266a9fad54e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_EquityIncentive2017PlanMember_019c6559-a77e-795b-9162-70748a1789c8" xlink:href="fn-20260327.xsd#fn_EquityIncentive2017PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_EquityIncentivePlansMember_019c6559-a77e-798a-9443-ba1dcee3d9c0" xlink:to="loc_fn_EquityIncentive2017PlanMember_019c6559-a77e-795b-9162-70748a1789c8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c6559-a77e-775e-92ab-f3c15b929577" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:to="loc_us-gaap_AwardTypeAxis_019c6559-a77e-775e-92ab-f3c15b929577" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-775e-92ab-f3c15b929577_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a77e-775e-92ab-f3c15b929577" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-775e-92ab-f3c15b929577_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7572-bd97-f8c40a7e7b47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a77e-775e-92ab-f3c15b929577" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7572-bd97-f8c40a7e7b47" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019c6559-a77e-7cca-b44e-dc9d04c1dcfb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7572-bd97-f8c40a7e7b47" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019c6559-a77e-7cca-b44e-dc9d04c1dcfb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019c6559-a77e-797e-9f2d-adeeaa99567f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7572-bd97-f8c40a7e7b47" xlink:to="loc_us-gaap_PerformanceSharesMember_019c6559-a77e-797e-9f2d-adeeaa99567f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingAxis_019c6559-a77e-701e-a283-b60e5bc8a89e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:to="loc_us-gaap_VestingAxis_019c6559-a77e-701e-a283-b60e5bc8a89e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_019c6559-a77e-701e-a283-b60e5bc8a89e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VestingAxis_019c6559-a77e-701e-a283-b60e5bc8a89e" xlink:to="loc_us-gaap_VestingDomain_019c6559-a77e-701e-a283-b60e5bc8a89e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VestingDomain_019c6559-a77e-7e8f-87f1-4c94efe928ca" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VestingDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VestingAxis_019c6559-a77e-701e-a283-b60e5bc8a89e" xlink:to="loc_us-gaap_VestingDomain_019c6559-a77e-7e8f-87f1-4c94efe928ca" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_VestingOptionOneMember_019c6559-a77e-7a1e-afa1-b4b237dcae41" xlink:href="fn-20260327.xsd#fn_VestingOptionOneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_019c6559-a77e-7e8f-87f1-4c94efe928ca" xlink:to="loc_fn_VestingOptionOneMember_019c6559-a77e-7a1e-afa1-b4b237dcae41" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_VestingOptionTwoMember_019c6559-a77e-771f-b8ac-a49bb950d734" xlink:href="fn-20260327.xsd#fn_VestingOptionTwoMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_019c6559-a77e-7e8f-87f1-4c94efe928ca" xlink:to="loc_fn_VestingOptionTwoMember_019c6559-a77e-771f-b8ac-a49bb950d734" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_PeriodTenMember_019c6559-a77e-7fb2-9d81-915764bee12f" xlink:href="fn-20260327.xsd#fn_PeriodTenMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_019c6559-a77e-7e8f-87f1-4c94efe928ca" xlink:to="loc_fn_PeriodTenMember_019c6559-a77e-7fb2-9d81-915764bee12f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_PeriodSixMember_019c6559-a77e-7e57-8ee8-cba16072dbec" xlink:href="fn-20260327.xsd#fn_PeriodSixMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VestingDomain_019c6559-a77e-7e8f-87f1-4c94efe928ca" xlink:to="loc_fn_PeriodSixMember_019c6559-a77e-7e57-8ee8-cba16072dbec" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualAxis_019c6559-a77e-7fa2-9c22-e4c7c3c0acae" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:to="loc_srt_TitleOfIndividualAxis_019c6559-a77e-7fa2-9c22-e4c7c3c0acae" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019c6559-a77e-7fa2-9c22-e4c7c3c0acae_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_TitleOfIndividualAxis_019c6559-a77e-7fa2-9c22-e4c7c3c0acae" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019c6559-a77e-7fa2-9c22-e4c7c3c0acae_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019c6559-a77e-7438-92f5-003bbf6be4c7" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_TitleOfIndividualWithRelationshipToEntityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_TitleOfIndividualAxis_019c6559-a77e-7fa2-9c22-e4c7c3c0acae" xlink:to="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019c6559-a77e-7438-92f5-003bbf6be4c7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_NonEmployeeDirectorMember_019c6559-a77e-7298-af9e-a61f78716c90" xlink:href="fn-20260327.xsd#fn_NonEmployeeDirectorMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019c6559-a77e-7438-92f5-003bbf6be4c7" xlink:to="loc_fn_NonEmployeeDirectorMember_019c6559-a77e-7298-af9e-a61f78716c90" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ExecutiveDirector1Member_019c6559-a77e-796f-b464-c0df5a611d65" xlink:href="fn-20260327.xsd#fn_ExecutiveDirector1Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_TitleOfIndividualWithRelationshipToEntityDomain_019c6559-a77e-7438-92f5-003bbf6be4c7" xlink:to="loc_fn_ExecutiveDirector1Member_019c6559-a77e-796f-b464-c0df5a611d65" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019c6559-a77e-7ae5-b543-9e396b7e5901" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7fe6-8a5a-8e07be742ff5" xlink:to="loc_srt_RangeAxis_019c6559-a77e-7ae5-b543-9e396b7e5901" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c6559-a77e-7ae5-b543-9e396b7e5901_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_RangeAxis_019c6559-a77e-7ae5-b543-9e396b7e5901" xlink:to="loc_srt_RangeMember_019c6559-a77e-7ae5-b543-9e396b7e5901_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c6559-a77e-7fe0-be5a-fa4c58baa7b1" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_RangeAxis_019c6559-a77e-7ae5-b543-9e396b7e5901" xlink:to="loc_srt_RangeMember_019c6559-a77e-7fe0-be5a-fa4c58baa7b1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019c6559-a77e-74e8-a138-21eb689820cb" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019c6559-a77e-7fe0-be5a-fa4c58baa7b1" xlink:to="loc_srt_MinimumMember_019c6559-a77e-74e8-a138-21eb689820cb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019c6559-a77e-7cab-8a43-54ee66ed6acc" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_RangeMember_019c6559-a77e-7fe0-be5a-fa4c58baa7b1" xlink:to="loc_srt_MaximumMember_019c6559-a77e-7cab-8a43-54ee66ed6acc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_019c6559-a77e-76b8-9c74-02b63b63c279" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationAllocationOfRecognizedPeriodCostsCapitalizedAmount_019c6559-a77e-76b8-9c74-02b63b63c279" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019c6559-a77e-7062-8612-9d0fc693ad25" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019c6559-a77e-7062-8612-9d0fc693ad25" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c6559-a77e-7950-bfd2-65c77fed04d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockCapitalSharesReservedForFutureIssuance"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c6559-a77e-7950-bfd2-65c77fed04d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019c6559-a77e-7804-af14-807cf6c28174" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019c6559-a77e-7804-af14-807cf6c28174" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019c6559-a77e-7a1e-9633-82a07362caf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardVestingPeriod1_019c6559-a77e-7a1e-9633-82a07362caf5" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_019c6559-a77e-7941-947d-1ade9636385e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardAwardVestingRightsPercentage_019c6559-a77e-7941-947d-1ade9636385e" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019c6559-a77e-705d-914f-c463d9a0dad6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognized_019c6559-a77e-705d-914f-c463d9a0dad6" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019c6559-a77e-79c6-9fa5-d30d7ba78398" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedPeriodForRecognition1_019c6559-a77e-79c6-9fa5-d30d7ba78398" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_019c6559-a77e-70be-953d-148eda79bc4f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_SharesPaidForTaxWithholdingForShareBasedCompensation_019c6559-a77e-70be-953d-148eda79bc4f" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019c6559-a77e-70e4-a763-e79bad91621c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_PaymentsRelatedToTaxWithholdingForShareBasedCompensation_019c6559-a77e-70e4-a763-e79bad91621c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_019c6559-a77e-789a-bb92-806451fe5389" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ClassOfWarrantOrRightNumberOfSecuritiesCalledByWarrantsOrRights_019c6559-a77e-789a-bb92-806451fe5389" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_019c6559-a77e-7a06-8b95-d721ab3409db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_019c6559-a77e-7a06-8b95-d721ab3409db" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ClassOfWarrantOrRightWarrantsVested_019c6559-a77e-7501-aaff-2460de529b0e" xlink:href="fn-20260327.xsd#fn_ClassOfWarrantOrRightWarrantsVested"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_fn_ClassOfWarrantOrRightWarrantsVested_019c6559-a77e-7501-aaff-2460de529b0e" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ClassOfWarrantOrRightGrantDateFairValuePerShare_019c6559-a77e-73ec-a5e0-518e31187983" xlink:href="fn-20260327.xsd#fn_ClassOfWarrantOrRightGrantDateFairValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_fn_ClassOfWarrantOrRightGrantDateFairValuePerShare_019c6559-a77e-73ec-a5e0-518e31187983" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ClassOfWarrantOrRightGrantDateFairValue_019c6559-a77e-7064-8f6b-1a495b6f253c" xlink:href="fn-20260327.xsd#fn_ClassOfWarrantOrRightGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_fn_ClassOfWarrantOrRightGrantDateFairValue_019c6559-a77e-7064-8f6b-1a495b6f253c" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightOutstanding_019c6559-a77e-7bc3-b021-a836042469db" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfWarrantOrRightOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7694-baa5-7a4cd911cd94" xlink:to="loc_us-gaap_ClassOfWarrantOrRightOutstanding_019c6559-a77e-7bc3-b021-a836042469db" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationScheduleofSharebasedAwardActivityDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SharebasedcompensationScheduleofSharebasedAwardActivityDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationScheduleofSharebasedAwardActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7974-b585-32b2908cca2f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7726-a8d3-f7726f43c503" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7974-b585-32b2908cca2f" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7726-a8d3-f7726f43c503" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c6559-a77e-74d9-9021-0f23111df44b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7726-a8d3-f7726f43c503" xlink:to="loc_us-gaap_AwardTypeAxis_019c6559-a77e-74d9-9021-0f23111df44b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-74d9-9021-0f23111df44b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a77e-74d9-9021-0f23111df44b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-74d9-9021-0f23111df44b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7a75-9d24-c7922a35922e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a77e-74d9-9021-0f23111df44b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7a75-9d24-c7922a35922e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019c6559-a77e-7ffb-a11e-4053c6012de7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7a75-9d24-c7922a35922e" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019c6559-a77e-7ffb-a11e-4053c6012de7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019c6559-a77e-7157-83bb-10f850217c61" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7a75-9d24-c7922a35922e" xlink:to="loc_us-gaap_PerformanceSharesMember_019c6559-a77e-7157-83bb-10f850217c61" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c6559-a77e-715e-85d6-7bd169254182" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-7726-a8d3-f7726f43c503" xlink:to="loc_us-gaap_PlanNameAxis_019c6559-a77e-715e-85d6-7bd169254182" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c6559-a77e-715e-85d6-7bd169254182_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019c6559-a77e-715e-85d6-7bd169254182" xlink:to="loc_us-gaap_PlanNameDomain_019c6559-a77e-715e-85d6-7bd169254182_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c6559-a77e-7a11-bdf6-e1431be14b67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019c6559-a77e-715e-85d6-7bd169254182" xlink:to="loc_us-gaap_PlanNameDomain_019c6559-a77e-7a11-bdf6-e1431be14b67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_StockPlan2020Member_019c6559-a77e-75fe-98ae-2f9593b7096e" xlink:href="fn-20260327.xsd#fn_StockPlan2020Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c6559-a77e-7a11-bdf6-e1431be14b67" xlink:to="loc_fn_StockPlan2020Member_019c6559-a77e-75fe-98ae-2f9593b7096e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_EquityIncentive2017PlanMember_019c6559-a77e-7bdd-81a1-3118bc1bf529" xlink:href="fn-20260327.xsd#fn_EquityIncentive2017PlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c6559-a77e-7a11-bdf6-e1431be14b67" xlink:to="loc_fn_EquityIncentive2017PlanMember_019c6559-a77e-7bdd-81a1-3118bc1bf529" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a77e-73ad-bc28-33a6de02e7b2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7974-b585-32b2908cca2f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a77e-73ad-bc28-33a6de02e7b2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019c6559-a77e-7c07-82c2-c00e81d47b4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-7974-b585-32b2908cca2f" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019c6559-a77e-7c07-82c2-c00e81d47b4a" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationScheduleofRestrictedShareUnitActivityDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SharebasedcompensationScheduleofRestrictedShareUnitActivityDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationScheduleofRestrictedShareUnitActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-75f0-b027-93874373117d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-728d-9c0d-6f9a60c83649" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-75f0-b027-93874373117d" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-728d-9c0d-6f9a60c83649" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c6559-a77e-7e18-bca7-cba252f6c200" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a77e-728d-9c0d-6f9a60c83649" xlink:to="loc_us-gaap_AwardTypeAxis_019c6559-a77e-7e18-bca7-cba252f6c200" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7e18-bca7-cba252f6c200_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a77e-7e18-bca7-cba252f6c200" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7e18-bca7-cba252f6c200_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7091-9d51-bc6dd4ed0eee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a77e-7e18-bca7-cba252f6c200" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7091-9d51-bc6dd4ed0eee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockUnitsRSUMember_019c6559-a77e-7612-8ee8-2ce99f09310b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockUnitsRSUMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a77e-7091-9d51-bc6dd4ed0eee" xlink:to="loc_us-gaap_RestrictedStockUnitsRSUMember_019c6559-a77e-7612-8ee8-2ce99f09310b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-76e8-843e-70bc597ed511" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-75f0-b027-93874373117d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-76e8-843e-70bc597ed511" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a854-7ee1-b47d-8158bc47c2a9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-76e8-843e-70bc597ed511" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a854-7ee1-b47d-8158bc47c2a9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019c6559-a854-7366-93dd-e9f38f8ae27d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-76e8-843e-70bc597ed511" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019c6559-a854-7366-93dd-e9f38f8ae27d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019c6559-a854-78f4-a058-8584fa856d3b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-76e8-843e-70bc597ed511" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019c6559-a854-78f4-a058-8584fa856d3b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019c6559-a854-7c9a-8586-af9da922c3e9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-76e8-843e-70bc597ed511" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019c6559-a854-7c9a-8586-af9da922c3e9" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a854-7308-a776-2c6450f13a79" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7925-9421-7c2563e77b09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a77e-75f0-b027-93874373117d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7925-9421-7c2563e77b09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c6559-a854-7dc7-82d7-45fd664d7980" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7925-9421-7c2563e77b09" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c6559-a854-7dc7-82d7-45fd664d7980" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-7d31-9c8d-533c1f3b1f4d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7925-9421-7c2563e77b09" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-7d31-9c8d-533c1f3b1f4d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-770f-bba5-cef4f5595f4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7925-9421-7c2563e77b09" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-770f-bba5-cef4f5595f4a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019c6559-a854-7f25-8e99-38e8d99c9df6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7925-9421-7c2563e77b09" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019c6559-a854-7f25-8e99-38e8d99c9df6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c6559-a854-7cba-b535-8c912eb6bfcb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationScheduleofPerformanceShareUnitActivityDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SharebasedcompensationScheduleofPerformanceShareUnitActivityDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationScheduleofPerformanceShareUnitActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-7c3c-afa9-9380d83ebeb1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a854-76c6-8e23-2682ce88e310" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-7c3c-afa9-9380d83ebeb1" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a854-76c6-8e23-2682ce88e310" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c6559-a854-701e-98c4-d337b0a82648" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a854-76c6-8e23-2682ce88e310" xlink:to="loc_us-gaap_AwardTypeAxis_019c6559-a854-701e-98c4-d337b0a82648" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-701e-98c4-d337b0a82648_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a854-701e-98c4-d337b0a82648" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-701e-98c4-d337b0a82648_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-77ad-83ea-f6a1cddfcd5a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a854-701e-98c4-d337b0a82648" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-77ad-83ea-f6a1cddfcd5a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PerformanceSharesMember_019c6559-a854-71f5-a68d-64b6a452ce15" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PerformanceSharesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-77ad-83ea-f6a1cddfcd5a" xlink:to="loc_us-gaap_PerformanceSharesMember_019c6559-a854-71f5-a68d-64b6a452ce15" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-700b-b904-8891b7abd9c7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-7c3c-afa9-9380d83ebeb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-700b-b904-8891b7abd9c7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a854-7394-a507-2206d0d0efcd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-700b-b904-8891b7abd9c7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a854-7394-a507-2206d0d0efcd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019c6559-a854-7bc4-b611-e06e729e0cc1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-700b-b904-8891b7abd9c7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019c6559-a854-7bc4-b611-e06e729e0cc1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019c6559-a854-7d4e-9aa3-4dd22c33e8ac" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-700b-b904-8891b7abd9c7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019c6559-a854-7d4e-9aa3-4dd22c33e8ac" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019c6559-a854-79d5-82f2-a30a2a2aa466" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c6559-a854-700b-b904-8891b7abd9c7" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019c6559-a854-79d5-82f2-a30a2a2aa466" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c6559-a854-777a-9961-949e2e92a120" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7d99-b2b7-187ee3ee7a1c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-7c3c-afa9-9380d83ebeb1" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7d99-b2b7-187ee3ee7a1c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c6559-a854-7d08-8400-d7fbed43083a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7d99-b2b7-187ee3ee7a1c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c6559-a854-7d08-8400-d7fbed43083a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-7dc4-ae3d-a0bd3f4577c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7d99-b2b7-187ee3ee7a1c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-7dc4-ae3d-a0bd3f4577c9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-71ee-91be-6961cd6e8974" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7d99-b2b7-187ee3ee7a1c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019c6559-a854-71ee-91be-6961cd6e8974" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019c6559-a854-73bf-a6bd-1b4b8431e67d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c6559-a854-7d99-b2b7-187ee3ee7a1c" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019c6559-a854-73bf-a6bd-1b4b8431e67d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c6559-a854-76e0-9823-7bab14be3edc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SharebasedcompensationScheduleofSharedBasedPaymentFairValuePerShareAssumptionsCalculationDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SharebasedcompensationScheduleofSharedBasedPaymentFairValuePerShareAssumptionsCalculationDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SharebasedcompensationScheduleofSharedBasedPaymentFairValuePerShareAssumptionsCalculationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-70e3-914b-c7ededc6d2e2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a854-714f-9fd6-ed117779f03c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-70e3-914b-c7ededc6d2e2" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a854-714f-9fd6-ed117779f03c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c6559-a854-735c-9ecd-5a5ec24dd4be" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c6559-a854-714f-9fd6-ed117779f03c" xlink:to="loc_us-gaap_AwardTypeAxis_019c6559-a854-735c-9ecd-5a5ec24dd4be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-735c-9ecd-5a5ec24dd4be_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a854-735c-9ecd-5a5ec24dd4be" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-735c-9ecd-5a5ec24dd4be_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-7ec3-a659-7d9d16e90419" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_019c6559-a854-735c-9ecd-5a5ec24dd4be" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-7ec3-a659-7d9d16e90419" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WarrantMember_019c6559-a854-7d00-b3a1-e137ab082338" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WarrantMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c6559-a854-7ec3-a659-7d9d16e90419" xlink:to="loc_us-gaap_WarrantMember_019c6559-a854-7d00-b3a1-e137ab082338" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_019c6559-a854-74d3-b71a-314af76ddfad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-70e3-914b-c7ededc6d2e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedDividendRate_019c6559-a854-74d3-b71a-314af76ddfad" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_019c6559-a854-76da-90db-bab821d241c4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-70e3-914b-c7ededc6d2e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsRiskFreeInterestRate_019c6559-a854-76da-90db-bab821d241c4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_019c6559-a854-70e8-87f0-d8b879fd022c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-70e3-914b-c7ededc6d2e2" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardFairValueAssumptionsExpectedVolatilityRate_019c6559-a854-70e8-87f0-d8b879fd022c" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_019c6559-a854-757f-9596-082c55e853a4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c6559-a854-70e3-914b-c7ededc6d2e2" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardFairValueAssumptionsExpectedTerm1_019c6559-a854-757f-9596-082c55e853a4" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/ShareholdersequityDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#ShareholdersequityDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/ShareholdersequityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:href="fn-20260327.xsd#fn_ShareholdersEquityLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ShareholdersEquityTable_019c6559-a854-7953-bf7c-c79298102e07" xlink:href="fn-20260327.xsd#fn_ShareholdersEquityTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_fn_ShareholdersEquityTable_019c6559-a854-7953-bf7c-c79298102e07" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c6559-a854-716d-b7cb-5b5436b3e65f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_ShareholdersEquityTable_019c6559-a854-7953-bf7c-c79298102e07" xlink:to="loc_us-gaap_PlanNameAxis_019c6559-a854-716d-b7cb-5b5436b3e65f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c6559-a854-716d-b7cb-5b5436b3e65f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PlanNameAxis_019c6559-a854-716d-b7cb-5b5436b3e65f" xlink:to="loc_us-gaap_PlanNameDomain_019c6559-a854-716d-b7cb-5b5436b3e65f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c6559-a854-7f38-bd1c-38e4bd6d4014" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PlanNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PlanNameAxis_019c6559-a854-716d-b7cb-5b5436b3e65f" xlink:to="loc_us-gaap_PlanNameDomain_019c6559-a854-7f38-bd1c-38e4bd6d4014" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_EquityIncentivePlansMember_019c6559-a854-742d-849b-3552702b9551" xlink:href="fn-20260327.xsd#fn_EquityIncentivePlansMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c6559-a854-7f38-bd1c-38e4bd6d4014" xlink:to="loc_fn_EquityIncentivePlansMember_019c6559-a854-742d-849b-3552702b9551" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesAuthorized_019c6559-a854-722b-97c1-17c5662fb120" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_CommonStockSharesAuthorized_019c6559-a854-722b-97c1-17c5662fb120" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_019c6559-a854-7d38-9f45-969ac5e00e09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_019c6559-a854-7d38-9f45-969ac5e00e09" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_019c6559-a854-7e48-aa43-52899c80c66a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_019c6559-a854-7e48-aa43-52899c80c66a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_019c6559-a854-7b25-8735-10a324d8dada" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_019c6559-a854-7b25-8735-10a324d8dada" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_019c6559-a854-7f40-8d74-1ea1783871a3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesRestrictedStockAwardNetOfForfeitures_019c6559-a854-7f40-8d74-1ea1783871a3" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019c6559-a854-76ed-97e9-8e4ed9c1d3d9" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StockRepurchaseProgramAuthorizedAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_srt_StockRepurchaseProgramAuthorizedAmount1_019c6559-a854-76ed-97e9-8e4ed9c1d3d9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_StockRepurchaseProgramAdditionalAuthorizedRepurchaseAmount_019c6559-a854-7cf2-a582-66737d43595c" xlink:href="fn-20260327.xsd#fn_StockRepurchaseProgramAdditionalAuthorizedRepurchaseAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_fn_StockRepurchaseProgramAdditionalAuthorizedRepurchaseAmount_019c6559-a854-7cf2-a582-66737d43595c" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019c6559-a854-7875-8dd1-2fdbbf04609b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_StockRepurchaseProgramRemainingAuthorizedRepurchaseAmount1_019c6559-a854-7875-8dd1-2fdbbf04609b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockSharesAcquired_019c6559-a854-76d2-8c2a-94acc29cc461" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockSharesAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_TreasuryStockSharesAcquired_019c6559-a854-76d2-8c2a-94acc29cc461" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_019c6559-a854-7749-a7f3-ea29e996d5e4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockAcquiredAverageCostPerShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_TreasuryStockAcquiredAverageCostPerShare_019c6559-a854-7749-a7f3-ea29e996d5e4" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019c6559-a854-7a52-847a-deb142988f94" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValueAcquiredCostMethod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_fn_ShareholdersEquityLineItems_019c6559-a854-7a91-9235-828d5f5670dc" xlink:to="loc_us-gaap_TreasuryStockValueAcquiredCostMethod_019c6559-a854-7a52-847a-deb142988f94" xlink:type="arc" order="10"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/AccumulatedothercomprehensiveincomelossDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#AccumulatedothercomprehensiveincomelossDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/AccumulatedothercomprehensiveincomelossDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019c6559-a854-70c2-8c6c-1a6f91c72850" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019c6559-a854-7605-bd07-4b8274adeaa3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019c6559-a854-70c2-8c6c-1a6f91c72850" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019c6559-a854-7605-bd07-4b8274adeaa3" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019d3f2c-f8de-7fcd-b71b-b91771cbb48f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_019c6559-a854-7605-bd07-4b8274adeaa3" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019d3f2c-f8de-7fcd-b71b-b91771cbb48f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f2c-f8de-7fcd-b71b-b91771cbb48f_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f2c-f8de-7fcd-b71b-b91771cbb48f" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f2c-f8de-7fcd-b71b-b91771cbb48f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019d3f2c-f8de-743e-acd7-c2c9f6f7c94a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_019d3f2c-f8de-7fcd-b71b-b91771cbb48f" xlink:to="loc_us-gaap_EquityComponentDomain_019d3f2c-f8de-743e-acd7-c2c9f6f7c94a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a854-7e6f-a25f-594977c96671" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_019d3f2c-f8de-743e-acd7-c2c9f6f7c94a" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a854-7e6f-a25f-594977c96671" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_019c6559-a854-7f8b-aa20-3c4e8922ffcf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a854-7e6f-a25f-594977c96671" xlink:to="loc_us-gaap_AccumulatedNetUnrealizedInvestmentGainLossMember_019c6559-a854-7f8b-aa20-3c4e8922ffcf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_019c6559-a854-75af-927d-ef1e15fdcd4a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a854-7e6f-a25f-594977c96671" xlink:to="loc_us-gaap_AccumulatedGainLossNetCashFlowHedgeParentMember_019c6559-a854-75af-927d-ef1e15fdcd4a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019c6559-a854-7f53-9a97-1415e542278a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedTranslationAdjustmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c6559-a854-7e6f-a25f-594977c96671" xlink:to="loc_us-gaap_AccumulatedTranslationAdjustmentMember_019c6559-a854-7f53-9a97-1415e542278a" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AOCIAttributableToParentNetOfTaxRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_019c6559-a854-70c2-8c6c-1a6f91c72850" xlink:to="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c6559-a854-7e89-854c-8f5951838939" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:to="loc_us-gaap_StockholdersEquity_019c6559-a854-7e89-854c-8f5951838939" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019c6559-a854-7d27-85e1-337257cc4efd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:to="loc_us-gaap_OciBeforeReclassificationsBeforeTaxAttributableToParent_019c6559-a854-7d27-85e1-337257cc4efd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019c6559-a854-7075-bbf0-663613b2d802" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodBeforeTaxAttributableToParent_019c6559-a854-7075-bbf0-663613b2d802" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_019c6559-a854-7b46-baf5-cdd6d1cce23a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTaxPortionAttributableToParent1_019c6559-a854-7b46-baf5-cdd6d1cce23a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019c6559-a854-78a2-88e3-cb32910cdaef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AOCIAttributableToParentNetOfTaxRollForward_019c6559-a854-7cc2-8c14-71f50aa92a87" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPortionAttributableToParent_019c6559-a854-78a2-88e3-cb32910cdaef" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c6559-a854-7d41-84b4-867f72fc64ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/CommitmentsandcontingenciesDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#CommitmentsandcontingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/CommitmentsandcontingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_CommitmentsAndContingenciesDisclosureTable_019c6559-a854-7459-9180-57c5d0654804" xlink:href="fn-20260327.xsd#fn_CommitmentsAndContingenciesDisclosureTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_fn_CommitmentsAndContingenciesDisclosureTable_019c6559-a854-7459-9180-57c5d0654804" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_019c6559-a854-7f2a-b5f0-32ce9addd97e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_CommitmentsAndContingenciesDisclosureTable_019c6559-a854-7459-9180-57c5d0654804" xlink:to="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_019c6559-a854-7f2a-b5f0-32ce9addd97e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_019c6559-a854-7f2a-b5f0-32ce9addd97e_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_019c6559-a854-7f2a-b5f0-32ce9addd97e" xlink:to="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_019c6559-a854-7f2a-b5f0-32ce9addd97e_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_019c6559-a854-76d8-b122-aa4ed0302c22" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_UnrecordedUnconditionalPurchaseObligationByCategoryOfItemPurchasedAxis_019c6559-a854-7f2a-b5f0-32ce9addd97e" xlink:to="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_019c6559-a854-76d8-b122-aa4ed0302c22" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InventoriesMember_019c6559-a854-7940-b052-064894e4e761" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InventoriesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_UnconditionalPurchaseObligationCategoryOfGoodsOrServicesAcquiredDomain_019c6559-a854-76d8-b122-aa4ed0302c22" xlink:to="loc_us-gaap_InventoriesMember_019c6559-a854-7940-b052-064894e4e761" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019c6559-a854-7ef6-9b76-286cadab0b8f" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_CommitmentsAndContingenciesDisclosureTable_019c6559-a854-7459-9180-57c5d0654804" xlink:to="loc_srt_StatementGeographicalAxis_019c6559-a854-7ef6-9b76-286cadab0b8f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c6559-a854-7ef6-9b76-286cadab0b8f_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019c6559-a854-7ef6-9b76-286cadab0b8f" xlink:to="loc_srt_SegmentGeographicalDomain_019c6559-a854-7ef6-9b76-286cadab0b8f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c6559-a854-7781-a54f-b702b4bd1b62" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019c6559-a854-7ef6-9b76-286cadab0b8f" xlink:to="loc_srt_SegmentGeographicalDomain_019c6559-a854-7781-a54f-b702b4bd1b62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_TH_019c6559-a854-7ac8-8643-a3a09d516704" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_TH"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7781-a54f-b702b4bd1b62" xlink:to="loc_country_TH_019c6559-a854-7ac8-8643-a3a09d516704" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CN_019dbd98-facd-72cc-ae14-a141b2f4e511" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7781-a54f-b702b4bd1b62" xlink:to="loc_country_CN_019dbd98-facd-72cc-ae14-a141b2f4e511" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentAxis_019c6559-a854-7ca9-b721-a6d5f65087a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_CommitmentsAndContingenciesDisclosureTable_019c6559-a854-7459-9180-57c5d0654804" xlink:to="loc_us-gaap_DebtInstrumentAxis_019c6559-a854-7ca9-b721-a6d5f65087a6" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019c6559-a854-7ca9-b721-a6d5f65087a6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_019c6559-a854-7ca9-b721-a6d5f65087a6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019c6559-a854-7ca9-b721-a6d5f65087a6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_019c6559-a854-7c6e-987e-d7a5958a343d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentNameDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_019c6559-a854-7ca9-b721-a6d5f65087a6" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_019c6559-a854-7c6e-987e-d7a5958a343d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_BankGuaranteesMember_019c6559-a854-7d8f-b620-02db4e161d78" xlink:href="fn-20260327.xsd#fn_BankGuaranteesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019c6559-a854-7c6e-987e-d7a5958a343d" xlink:to="loc_fn_BankGuaranteesMember_019c6559-a854-7d8f-b620-02db4e161d78" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_A2023CreditFacilityAgreementMember_019c6559-a854-760b-8c0f-17d8a5063de4" xlink:href="fn-20260327.xsd#fn_A2023CreditFacilityAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_019c6559-a854-7c6e-987e-d7a5958a343d" xlink:to="loc_fn_A2023CreditFacilityAgreementMember_019c6559-a854-760b-8c0f-17d8a5063de4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_019c6559-a854-72cd-b0df-f1bd4abe37ad" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_fn_CommitmentsAndContingenciesDisclosureTable_019c6559-a854-7459-9180-57c5d0654804" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_019c6559-a854-72cd-b0df-f1bd4abe37ad" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019c6559-a854-72cd-b0df-f1bd4abe37ad_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019c6559-a854-72cd-b0df-f1bd4abe37ad" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019c6559-a854-72cd-b0df-f1bd4abe37ad_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_019c6559-a854-7b47-9d44-e1fa033c4c3f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_019c6559-a854-72cd-b0df-f1bd4abe37ad" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_019c6559-a854-7b47-9d44-e1fa033c4c3f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditMember_019c6559-a854-7731-b212-17e85c045397" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_019c6559-a854-7b47-9d44-e1fa033c4c3f" xlink:to="loc_us-gaap_LineOfCreditMember_019c6559-a854-7731-b212-17e85c045397" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_019c6559-a854-7235-a2da-34cc6a446cd0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_019c6559-a854-7235-a2da-34cc6a446cd0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCollateralAmount_019c6559-a854-7ccf-9d90-a6c7dceb1a76" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCollateralAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_us-gaap_DebtInstrumentCollateralAmount_019c6559-a854-7ccf-9d90-a6c7dceb1a76" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation_019c6559-a854-72ea-adfc-acbffff7f2b3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_us-gaap_PurchaseObligation_019c6559-a854-72ea-adfc-acbffff7f2b3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019c6559-a854-7ee8-a64c-e247bf4352b0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019c6559-a854-7ee8-a64c-e247bf4352b0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt_019c6559-a854-790b-957e-87343715d45d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_us-gaap_LongTermDebt_019c6559-a854-790b-957e-87343715d45d" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DebtInstrumentCovenantServiceCoverageRatioMinimumAtPaymentOfADividend_019c6559-a854-7796-9633-e4f008f08521" xlink:href="fn-20260327.xsd#fn_DebtInstrumentCovenantServiceCoverageRatioMinimumAtPaymentOfADividend"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_fn_DebtInstrumentCovenantServiceCoverageRatioMinimumAtPaymentOfADividend_019c6559-a854-7796-9633-e4f008f08521" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_DebtInstrumentCovenantDebtToEquityRatioMaximum_019c6559-a854-721b-a760-7b3b0d6b12ae" xlink:href="fn-20260327.xsd#fn_DebtInstrumentCovenantDebtToEquityRatioMaximum"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_019c6559-a854-79f9-a870-a20721226457" xlink:to="loc_fn_DebtInstrumentCovenantDebtToEquityRatioMaximum_019c6559-a854-721b-a760-7b3b0d6b12ae" xlink:type="arc" order="6"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/BusinesssegmentsandgeographicinformationNarrativeDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#BusinesssegmentsandgeographicinformationNarrativeDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/BusinesssegmentsandgeographicinformationNarrativeDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-74c4-816d-3ba77c7c6d46" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7b39-b661-d3986582ead8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-74c4-816d-3ba77c7c6d46" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7b39-b661-d3986582ead8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019c6559-a854-7fe3-85aa-763f2ed0d695" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MajorCustomersAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7b39-b661-d3986582ead8" xlink:to="loc_srt_MajorCustomersAxis_019c6559-a854-7fe3-85aa-763f2ed0d695" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fe3-85aa-763f2ed0d695_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_MajorCustomersAxis_019c6559-a854-7fe3-85aa-763f2ed0d695" xlink:to="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fe3-85aa-763f2ed0d695_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fd1-a38d-f2904852ed12" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_NameOfMajorCustomerDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_MajorCustomersAxis_019c6559-a854-7fe3-85aa-763f2ed0d695" xlink:to="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fd1-a38d-f2904852ed12" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_ThreeCustomersMember_019c6559-a854-786d-8c13-f9351a95d52c" xlink:href="fn-20260327.xsd#fn_ThreeCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fd1-a38d-f2904852ed12" xlink:to="loc_fn_ThreeCustomersMember_019c6559-a854-786d-8c13-f9351a95d52c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_FourCustomersMember_019d90e5-2ae0-78c5-b4f1-8651ec3845a4" xlink:href="fn-20260327.xsd#fn_FourCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fd1-a38d-f2904852ed12" xlink:to="loc_fn_FourCustomersMember_019d90e5-2ae0-78c5-b4f1-8651ec3845a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_TwoCustomersMember_019c6559-a854-7697-bbf4-c8408755efb0" xlink:href="fn-20260327.xsd#fn_TwoCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019c6559-a854-7fd1-a38d-f2904852ed12" xlink:to="loc_fn_TwoCustomersMember_019c6559-a854-7697-bbf4-c8408755efb0" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a854-7ebc-b27d-8ac0dc7582a6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7b39-b661-d3986582ead8" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a854-7ebc-b27d-8ac0dc7582a6" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a854-7ebc-b27d-8ac0dc7582a6_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a854-7ebc-b27d-8ac0dc7582a6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a854-7ebc-b27d-8ac0dc7582a6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a854-7782-98e1-f252b205626e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c6559-a854-7ebc-b27d-8ac0dc7582a6" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a854-7782-98e1-f252b205626e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradeAccountsReceivableMember_019c6559-a854-7a56-b996-ea078f2c791f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradeAccountsReceivableMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a854-7782-98e1-f252b205626e" xlink:to="loc_us-gaap_TradeAccountsReceivableMember_019c6559-a854-7a56-b996-ea078f2c791f" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueFromContractWithCustomerMember_019c6559-a854-7210-b01f-54418babc1ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueFromContractWithCustomerMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c6559-a854-7782-98e1-f252b205626e" xlink:to="loc_us-gaap_RevenueFromContractWithCustomerMember_019c6559-a854-7210-b01f-54418babc1ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a854-7804-b56d-0c4fff60f2c9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7b39-b661-d3986582ead8" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a854-7804-b56d-0c4fff60f2c9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a854-7804-b56d-0c4fff60f2c9_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a854-7804-b56d-0c4fff60f2c9" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a854-7804-b56d-0c4fff60f2c9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a854-7860-a636-e04b4ea37669" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis_019c6559-a854-7804-b56d-0c4fff60f2c9" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a854-7860-a636-e04b4ea37669" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_019c6559-a854-719d-bb67-3ccbd9522474" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CustomerConcentrationRiskMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain_019c6559-a854-7860-a636-e04b4ea37669" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_019c6559-a854-719d-bb67-3ccbd9522474" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfOperatingSegments_019c6559-a854-767f-a8b3-cbf8f0029809" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NumberOfOperatingSegments"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-74c4-816d-3ba77c7c6d46" xlink:to="loc_us-gaap_NumberOfOperatingSegments_019c6559-a854-767f-a8b3-cbf8f0029809" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019c6559-a854-7c51-924d-40872868faa9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-74c4-816d-3ba77c7c6d46" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019c6559-a854-7c51-924d-40872868faa9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_PercentageOfRevenue_019c6559-a854-747e-a6a5-1b6c177cc55d" xlink:href="fn-20260327.xsd#fn_PercentageOfRevenue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-74c4-816d-3ba77c7c6d46" xlink:to="loc_fn_PercentageOfRevenue_019c6559-a854-747e-a6a5-1b6c177cc55d" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/BusinesssegmentsandgeographicinformationScheduleofLongLivedAssetsbyGeographicAreasDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#BusinesssegmentsandgeographicinformationScheduleofLongLivedAssetsbyGeographicAreasDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/BusinesssegmentsandgeographicinformationScheduleofLongLivedAssetsbyGeographicAreasDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-79c1-9e2e-36d337a35671" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7f53-9d18-5f93288ba866" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-79c1-9e2e-36d337a35671" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7f53-9d18-5f93288ba866" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019c6559-a854-78ff-b53e-4c8766091266" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c6559-a854-7f53-9d18-5f93288ba866" xlink:to="loc_srt_StatementGeographicalAxis_019c6559-a854-78ff-b53e-4c8766091266" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c6559-a854-78ff-b53e-4c8766091266_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_StatementGeographicalAxis_019c6559-a854-78ff-b53e-4c8766091266" xlink:to="loc_srt_SegmentGeographicalDomain_019c6559-a854-78ff-b53e-4c8766091266_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_StatementGeographicalAxis_019c6559-a854-78ff-b53e-4c8766091266" xlink:to="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_TH_019c6559-a854-7222-911f-f9bf8e771b3e" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_TH"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:to="loc_country_TH_019c6559-a854-7222-911f-f9bf8e771b3e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019c6559-a854-7734-98b0-3849b790fa30" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:to="loc_country_US_019c6559-a854-7734-98b0-3849b790fa30" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_CN_019c6559-a854-7e39-afb9-aa4a45e7e897" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_CN"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:to="loc_country_CN_019c6559-a854-7e39-afb9-aa4a45e7e897" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_IL_019c6559-a854-7b2f-a10f-0239ba56d3a3" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_IL"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:to="loc_country_IL_019c6559-a854-7b2f-a10f-0239ba56d3a3" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_OthersGeographicAreaMember_019c6559-a854-74e1-a13e-056fac5a22c1" xlink:href="fn-20260327.xsd#fn_OthersGeographicAreaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_SegmentGeographicalDomain_019c6559-a854-7dd2-ad94-dcc9652d019d" xlink:to="loc_fn_OthersGeographicAreaMember_019c6559-a854-74e1-a13e-056fac5a22c1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_019c6559-a854-7700-a36a-00702299def4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoncurrentAssets"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RevenuesFromExternalCustomersAndLongLivedAssetsLineItems_019c6559-a854-79c1-9e2e-36d337a35671" xlink:to="loc_us-gaap_NoncurrentAssets_019c6559-a854-7700-a36a-00702299def4" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.fabrinet.com/role/SubsequenteventsDetails" xlink:type="simple" xlink:href="fn-20260327.xsd#SubsequenteventsDetails"/>
  <link:definitionLink xlink:role="http://www.fabrinet.com/role/SubsequenteventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019d90f5-2f5b-7703-aae5-dc5852b3f67d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTable_019d90f5-2f5b-792a-9bb6-87ac54448f33" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SubsequentEventLineItems_019d90f5-2f5b-7703-aae5-dc5852b3f67d" xlink:to="loc_us-gaap_SubsequentEventTable_019d90f5-2f5b-792a-9bb6-87ac54448f33" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAxis_019d90f5-2f5b-7a8a-a66f-0e32e044d51b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019d90f5-2f5b-792a-9bb6-87ac54448f33" xlink:to="loc_us-gaap_BusinessAcquisitionAxis_019d90f5-2f5b-7a8a-a66f-0e32e044d51b" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019d90f5-2f5b-7a8a-a66f-0e32e044d51b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019d90f5-2f5b-7a8a-a66f-0e32e044d51b" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019d90f5-2f5b-7a8a-a66f-0e32e044d51b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019d90f5-2f5b-7260-8129-d9d4e1fd5565" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionAcquireeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BusinessAcquisitionAxis_019d90f5-2f5b-7a8a-a66f-0e32e044d51b" xlink:to="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019d90f5-2f5b-7260-8129-d9d4e1fd5565" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_fn_RaytekSemiconductorInc.Member_019d90f5-2f5b-7196-b3d1-a1bc4a739069" xlink:href="fn-20260327.xsd#fn_RaytekSemiconductorInc.Member"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BusinessAcquisitionAcquireeDomain_019d90f5-2f5b-7260-8129-d9d4e1fd5565" xlink:to="loc_fn_RaytekSemiconductorInc.Member_019d90f5-2f5b-7196-b3d1-a1bc4a739069" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019d90ff-9b11-7110-a15b-531cc58009d3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019d90f5-2f5b-792a-9bb6-87ac54448f33" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019d90ff-9b11-7110-a15b-531cc58009d3" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019d90ff-9b11-7110-a15b-531cc58009d3_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019d90ff-9b11-7110-a15b-531cc58009d3" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019d90ff-9b11-7110-a15b-531cc58009d3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019d90ff-9b12-7bdf-9f8f-d5c3bca94777" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsequentEventTypeAxis_019d90ff-9b11-7110-a15b-531cc58009d3" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019d90ff-9b12-7bdf-9f8f-d5c3bca94777" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019d90ff-b583-7230-ac84-d5bc63ac8ca6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubsequentEventMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventTypeDomain_019d90ff-9b12-7bdf-9f8f-d5c3bca94777" xlink:to="loc_us-gaap_SubsequentEventMember_019d90ff-b583-7230-ac84-d5bc63ac8ca6" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019d90f5-2f5b-76df-91cb-4da712f59360" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019d90f5-2f5b-7703-aae5-dc5852b3f67d" xlink:to="loc_us-gaap_BusinessAcquisitionPercentageOfVotingInterestsAcquired_019d90f5-2f5b-76df-91cb-4da712f59360" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019d90f5-2f5b-7de2-a59a-9a431ffe6521" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BusinessCombinationConsiderationTransferred1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019d90f5-2f5b-7703-aae5-dc5852b3f67d" xlink:to="loc_us-gaap_BusinessCombinationConsiderationTransferred1_019d90f5-2f5b-7de2-a59a-9a431ffe6521" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="simple" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-roles-2025.xsd#eedm"/>
  <link:definitionLink xlink:role="http://fasb.org/us-gaap/role/eedm/ExtensibleEnumerationLists" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesCurrentAbstract"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccruedLiabilitiesCurrent"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesCurrentAbstract" xlink:to="loc_us-gaap_AccruedLiabilitiesCurrent" xlink:type="arc" order="41"/>
  </link:definitionLink>
</link:linkbase>
