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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019c2e61-0931-7084-81ed-7aa9760bbc13,g:d383b2f9-14b2-4efb-857c-7c373595ef4f-->
<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.mrcy.com/role/ConsolidatedStatementsofShareholdersEquity" xlink:type="simple" xlink:href="mrcy-20260327.xsd#ConsolidatedStatementsofShareholdersEquity"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/ConsolidatedStatementsofShareholdersEquity" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems_019c2e61-09e4-7a80-b129-894a75a580ba" 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_019c2e61-09e4-7594-a372-a2f8628fc4ef" 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_019c2e61-09e4-7a80-b129-894a75a580ba" xlink:to="loc_us-gaap_StatementTable_019c2e61-09e4-7594-a372-a2f8628fc4ef" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019c2e61-09e4-79b2-911b-02ef6ae30fc4" 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_019c2e61-09e4-7594-a372-a2f8628fc4ef" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019c2e61-09e4-79b2-911b-02ef6ae30fc4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019c2e61-09e4-79b2-911b-02ef6ae30fc4_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_019c2e61-09e4-79b2-911b-02ef6ae30fc4" xlink:to="loc_us-gaap_EquityComponentDomain_019c2e61-09e4-79b2-911b-02ef6ae30fc4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019c2e61-09e4-71ef-8139-dbad692db470" 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_019c2e61-09e4-79b2-911b-02ef6ae30fc4" xlink:to="loc_us-gaap_EquityComponentDomain_019c2e61-09e4-71ef-8139-dbad692db470" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019c2e61-09e4-7d38-93ed-809adbb6908d" 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_019c2e61-09e4-71ef-8139-dbad692db470" xlink:to="loc_us-gaap_CommonStockMember_019c2e61-09e4-7d38-93ed-809adbb6908d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_019c2e61-09e4-71f3-9322-df129dd42785" 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_019c2e61-09e4-71ef-8139-dbad692db470" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_019c2e61-09e4-71f3-9322-df129dd42785" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember_019c2e61-09e4-79e6-ab99-1db8ed5de3e2" 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_019c2e61-09e4-71ef-8139-dbad692db470" xlink:to="loc_us-gaap_RetainedEarningsMember_019c2e61-09e4-79e6-ab99-1db8ed5de3e2" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c2e61-09e4-7f87-a253-175812d04b1c" 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_019c2e61-09e4-71ef-8139-dbad692db470" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember_019c2e61-09e4-7f87-a253-175812d04b1c" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" 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_019c2e61-09e4-7a80-b129-894a75a580ba" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019c2e61-09e4-779d-83bf-1d5f1c65a6ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_019c2e61-09e4-779d-83bf-1d5f1c65a6ee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c2e61-09e4-7602-9847-f9251bd8bd23" 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_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockholdersEquity_019c2e61-09e4-7602-9847-f9251bd8bd23" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019c2e61-09e4-7078-bbe4-eabe52ee8e9b" 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_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesShareBasedCompensation_019c2e61-09e4-7078-bbe4-eabe52ee8e9b" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019c2e61-09e4-77e0-bb16-2962a254dea0" 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_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueShareBasedCompensation_019c2e61-09e4-77e0-bb16-2962a254dea0" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019c2e61-09e4-726b-9a25-ddcd97419975" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019c2e61-09e4-726b-9a25-ddcd97419975" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019c2e61-09e4-7a6c-bd56-8fe819758295" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeStockPurchasePlan_019c2e61-09e4-7a6c-bd56-8fe819758295" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan_019c2e61-09e4-700d-8458-556150fd4fd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeBenefitPlan_019c2e61-09e4-700d-8458-556150fd4fd2" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan_019c2e61-09e4-7baa-87f7-367327c14492" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueEmployeeBenefitPlan_019c2e61-09e4-7baa-87f7-367327c14492" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019c2e61-09e4-7978-8d80-9e9805154e2c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_019c2e61-09e4-7978-8d80-9e9805154e2c" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019c2e61-09e4-70db-b58a-d10a2eeeaa0a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_019c2e61-09e4-70db-b58a-d10a2eeeaa0a" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019c2e61-09e4-7adf-afd6-dbf9e1e476d2" 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_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_019c2e61-09e4-7adf-afd6-dbf9e1e476d2" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss_019c2e61-09e4-70f3-b0d8-bfe6cfc2d880" 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_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_NetIncomeLoss_019c2e61-09e4-70f3-b0d8-bfe6cfc2d880" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019c2e61-09e4-7bad-ac2d-2ef8c6c31e45" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_019c2e61-09e4-7254-a9d8-a22674ba1f0c" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_019c2e61-09e4-7bad-ac2d-2ef8c6c31e45" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_019c2e61-09e4-7e7a-b39c-44ee6ad4ffed" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity_019c2e61-09e4-730b-8b61-c2be74bc80cb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#SummaryofSignificantAccountingPoliciesAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:href="mrcy-20260327.xsd#mrcy_SignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:href="mrcy-20260327.xsd#mrcy_SignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueArrangementTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7340-a283-cf3a86408824" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7340-a283-cf3a86408824" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShipandBillMember_019c2e61-09e4-766f-ab8b-3a7ef7e6e50b" xlink:href="mrcy-20260327.xsd#mrcy_ShipandBillMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7340-a283-cf3a86408824" xlink:to="loc_mrcy_ShipandBillMember_019c2e61-09e4-766f-ab8b-3a7ef7e6e50b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-76ea-9f35-da8a1c43a887_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-76ea-9f35-da8a1c43a887_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-78f5-91a9-c9083d15d0fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-78f5-91a9-c9083d15d0fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredOverTimeMember_019c2e61-09e4-713e-9e40-11666fce74fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferredOverTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-78f5-91a9-c9083d15d0fd" xlink:to="loc_us-gaap_TransferredOverTimeMember_019c2e61-09e4-713e-9e40-11666fce74fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" 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_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_srt_RangeAxis_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4_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_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" xlink:to="loc_srt_RangeMember_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c2e61-09e4-7acb-aed7-5d67415b2585" 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_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" xlink:to="loc_srt_RangeMember_019c2e61-09e4-7acb-aed7-5d67415b2585" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019c2e61-09e4-7d38-b792-e8f194e09563" 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_019c2e61-09e4-7acb-aed7-5d67415b2585" xlink:to="loc_srt_MinimumMember_019c2e61-09e4-7d38-b792-e8f194e09563" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019c2e61-09e4-7506-9b30-641509729609" 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_019c2e61-09e4-7acb-aed7-5d67415b2585" xlink:to="loc_srt_MaximumMember_019c2e61-09e4-7506-9b30-641509729609" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019c2e61-09e4-79d9-8136-aca384e95a8e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionStartDateAxis_019c2e61-09e4-79d9-8136-aca384e95a8e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7dd2-8d98-c564766552ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7dd2-8d98-c564766552ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7c92-9f19-f24200da173e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7c92-9f19-f24200da173e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember_019c2e61-09e4-71c5-b414-fbddd6edde31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7c92-9f19-f24200da173e" xlink:to="loc_us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember_019c2e61-09e4-71c5-b414-fbddd6edde31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019de3b0-cfc4-7c31-9576-3f760439d596" 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_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019de3b0-cfc4-7c31-9576-3f760439d596" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7c31-9576-3f760439d596_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_019de3b0-cfc4-7c31-9576-3f760439d596" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7c31-9576-3f760439d596_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7b9e-913f-f28be977dcfc" 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_019de3b0-cfc4-7c31-9576-3f760439d596" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7b9e-913f-f28be977dcfc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_019de3b1-01f6-76e7-9228-f56b2f4bd677" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7b9e-913f-f28be977dcfc" xlink:to="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_019de3b1-01f6-76e7-9228-f56b2f4bd677" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ReceivablesPurchaseAgreementLimitOnPurchasedReceivables_019c2e61-09e4-7d35-b8cf-494f8d5aa260" xlink:href="mrcy-20260327.xsd#mrcy_ReceivablesPurchaseAgreementLimitOnPurchasedReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_ReceivablesPurchaseAgreementLimitOnPurchasedReceivables_019c2e61-09e4-7d35-b8cf-494f8d5aa260" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ReceivablesPurchaseAgreementInitialTerm_019c2e61-09e4-743f-a40c-63b8705b5c46" xlink:href="mrcy-20260327.xsd#mrcy_ReceivablesPurchaseAgreementInitialTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_ReceivablesPurchaseAgreementInitialTerm_019c2e61-09e4-743f-a40c-63b8705b5c46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_DueToFactoringLiability_019c2e61-09e4-7ff9-86fb-7219dfc62c28" xlink:href="mrcy-20260327.xsd#mrcy_DueToFactoringLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_DueToFactoringLiability_019c2e61-09e4-7ff9-86fb-7219dfc62c28" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AccountsReceivableFactoredAccountsReceivable_019c2e61-09e4-719a-918e-7f762f9d48c8" xlink:href="mrcy-20260327.xsd#mrcy_AccountsReceivableFactoredAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_AccountsReceivableFactoredAccountsReceivable_019c2e61-09e4-719a-918e-7f762f9d48c8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AccountsReceivableAmountFactored_019c2e61-09e4-7e46-9c78-205919bb22d1" xlink:href="mrcy-20260327.xsd#mrcy_AccountsReceivableAmountFactored"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_AccountsReceivableAmountFactored_019c2e61-09e4-7e46-9c78-205919bb22d1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AccountsReceivableFactoringFees_019c2e61-09e4-7819-90fb-978f017802e0" xlink:href="mrcy-20260327.xsd#mrcy_AccountsReceivableFactoringFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_AccountsReceivableFactoringFees_019c2e61-09e4-7819-90fb-978f017802e0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_PercentageOfRevenueRecognized_019c2e61-09e4-7995-ad30-a5ffeb97b324" xlink:href="mrcy-20260327.xsd#mrcy_PercentageOfRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_PercentageOfRevenueRecognized_019c2e61-09e4-7995-ad30-a5ffeb97b324" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_StandardProductWarrantyPeriod_019c2e61-09e4-7bb6-8e3f-cde09ecc6570" xlink:href="mrcy-20260327.xsd#mrcy_StandardProductWarrantyPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_StandardProductWarrantyPeriod_019c2e61-09e4-7bb6-8e3f-cde09ecc6570" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ExtendedProductWarrantyPeriod_019c2e61-09e4-7c08-95fa-37acc4012ae1" xlink:href="mrcy-20260327.xsd#mrcy_ExtendedProductWarrantyPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_ExtendedProductWarrantyPeriod_019c2e61-09e4-7c08-95fa-37acc4012ae1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNet_019c2e61-09e4-70a9-ac31-6ad1d08eb4bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_ContractWithCustomerAssetNet_019c2e61-09e4-70a9-ac31-6ad1d08eb4bb" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossTransactionVolume_019c2e61-09e4-763b-a259-d9bfaa0e6e11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossTransactionVolume"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_GrossTransactionVolume_019c2e61-09e4-763b-a259-d9bfaa0e6e11" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_RevenuePerformanceObligationSatisfiedOverTime_019c2e61-09e4-7a44-902a-ee75a446106c" xlink:href="mrcy-20260327.xsd#mrcy_RevenuePerformanceObligationSatisfiedOverTime"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_RevenuePerformanceObligationSatisfiedOverTime_019c2e61-09e4-7a44-902a-ee75a446106c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_019c2e61-09e4-7001-990b-172d219acc86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_ContractWithCustomerLiability_019c2e61-09e4-7001-990b-172d219acc86" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019c2e61-09e4-7395-802a-68258f5c3ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019c2e61-09e4-7395-802a-68258f5c3ae6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_019c2e61-09e4-7f64-9250-248eaaff969a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_019c2e61-09e4-7f64-9250-248eaaff969a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019c2e61-09e4-72a5-8355-9fe5d3bd8380" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019c2e61-09e4-72a5-8355-9fe5d3bd8380" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019c2e61-09e4-742d-96a6-264ed5d264f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019c2e61-09e4-742d-96a6-264ed5d264f0" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019c2e61-09e4-7b91-96e6-fe560dc06bbc" 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_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019c2e61-09e4-7b91-96e6-fe560dc06bbc" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_019de3af-5f75-7f3d-aeda-4415c160b209" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_019de3af-5f75-7f3d-aeda-4415c160b209" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_StandardProductWarrantyAccrualTerm_019c2e61-09e4-7bfe-af67-36a1935532d8" xlink:href="mrcy-20260327.xsd#mrcy_StandardProductWarrantyAccrualTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_StandardProductWarrantyAccrualTerm_019c2e61-09e4-7bfe-af67-36a1935532d8" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019c2e61-09e4-778a-b1b2-338cd3b0066e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019c2e61-09e4-778a-b1b2-338cd3b0066e" xlink:type="arc" order="20"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails_1" xlink:type="simple" xlink:href="mrcy-20260327.xsd#SummaryofSignificantAccountingPoliciesAdditionalInformationDetails_1"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/SummaryofSignificantAccountingPoliciesAdditionalInformationDetails_1" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:href="mrcy-20260327.xsd#mrcy_SignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:href="mrcy-20260327.xsd#mrcy_SignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueArrangementTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7340-a283-cf3a86408824" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredRevenueArrangementTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeAxis_019c2e61-09e4-7e7e-b27b-3aa4a29f6dde" xlink:to="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7340-a283-cf3a86408824" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShipandBillMember_019c2e61-09e4-766f-ab8b-3a7ef7e6e50b" xlink:href="mrcy-20260327.xsd#mrcy_ShipandBillMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredRevenueArrangementTypeDomain_019c2e61-09e4-7340-a283-cf3a86408824" xlink:to="loc_mrcy_ShipandBillMember_019c2e61-09e4-766f-ab8b-3a7ef7e6e50b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-76ea-9f35-da8a1c43a887_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-76ea-9f35-da8a1c43a887_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-78f5-91a9-c9083d15d0fd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TimingOfTransferOfGoodOrServiceDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceAxis_019c2e61-09e4-76ea-9f35-da8a1c43a887" xlink:to="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-78f5-91a9-c9083d15d0fd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferredOverTimeMember_019c2e61-09e4-713e-9e40-11666fce74fb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferredOverTimeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TimingOfTransferOfGoodOrServiceDomain_019c2e61-09e4-78f5-91a9-c9083d15d0fd" xlink:to="loc_us-gaap_TransferredOverTimeMember_019c2e61-09e4-713e-9e40-11666fce74fb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" 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_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_srt_RangeAxis_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4_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_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" xlink:to="loc_srt_RangeMember_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c2e61-09e4-7acb-aed7-5d67415b2585" 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_019c2e61-09e4-7ff4-954f-1bf4fbdb35f4" xlink:to="loc_srt_RangeMember_019c2e61-09e4-7acb-aed7-5d67415b2585" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019c2e61-09e4-7d38-b792-e8f194e09563" 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_019c2e61-09e4-7acb-aed7-5d67415b2585" xlink:to="loc_srt_MinimumMember_019c2e61-09e4-7d38-b792-e8f194e09563" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019c2e61-09e4-7506-9b30-641509729609" 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_019c2e61-09e4-7acb-aed7-5d67415b2585" xlink:to="loc_srt_MaximumMember_019c2e61-09e4-7506-9b30-641509729609" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7dd2-8d98-c564766552ab_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7dd2-8d98-c564766552ab_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7c92-9f19-f24200da173e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-7dd2-8d98-c564766552ab" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7c92-9f19-f24200da173e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember_019c2e61-09e4-71c5-b414-fbddd6edde31" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7c92-9f19-f24200da173e" xlink:to="loc_us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember_019c2e61-09e4-71c5-b414-fbddd6edde31" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019de3b0-cfc4-7c31-9576-3f760439d596" 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_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-70b1-b459-91b7c90a465c" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsByMajorClassAxis_019de3b0-cfc4-7c31-9576-3f760439d596" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7c31-9576-3f760439d596_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_019de3b0-cfc4-7c31-9576-3f760439d596" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7c31-9576-3f760439d596_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7b9e-913f-f28be977dcfc" 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_019de3b0-cfc4-7c31-9576-3f760439d596" xlink:to="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7b9e-913f-f28be977dcfc" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_019de3b1-01f6-76e7-9228-f56b2f4bd677" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TechnologyBasedIntangibleAssetsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FiniteLivedIntangibleAssetsMajorClassNameDomain_019de3b0-cfc4-7b9e-913f-f28be977dcfc" xlink:to="loc_us-gaap_TechnologyBasedIntangibleAssetsMember_019de3b1-01f6-76e7-9228-f56b2f4bd677" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ReceivablesPurchaseAgreementLimitOnPurchasedReceivables_019c2e61-09e4-7d35-b8cf-494f8d5aa260" xlink:href="mrcy-20260327.xsd#mrcy_ReceivablesPurchaseAgreementLimitOnPurchasedReceivables"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_ReceivablesPurchaseAgreementLimitOnPurchasedReceivables_019c2e61-09e4-7d35-b8cf-494f8d5aa260" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ReceivablesPurchaseAgreementInitialTerm_019c2e61-09e4-743f-a40c-63b8705b5c46" xlink:href="mrcy-20260327.xsd#mrcy_ReceivablesPurchaseAgreementInitialTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_ReceivablesPurchaseAgreementInitialTerm_019c2e61-09e4-743f-a40c-63b8705b5c46" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_DueToFactoringLiability_019c2e61-09e4-7ff9-86fb-7219dfc62c28" xlink:href="mrcy-20260327.xsd#mrcy_DueToFactoringLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_DueToFactoringLiability_019c2e61-09e4-7ff9-86fb-7219dfc62c28" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AccountsReceivableFactoredAccountsReceivable_019c2e61-09e4-719a-918e-7f762f9d48c8" xlink:href="mrcy-20260327.xsd#mrcy_AccountsReceivableFactoredAccountsReceivable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_AccountsReceivableFactoredAccountsReceivable_019c2e61-09e4-719a-918e-7f762f9d48c8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AccountsReceivableAmountFactored_019c2e61-09e4-7e46-9c78-205919bb22d1" xlink:href="mrcy-20260327.xsd#mrcy_AccountsReceivableAmountFactored"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_AccountsReceivableAmountFactored_019c2e61-09e4-7e46-9c78-205919bb22d1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AccountsReceivableFactoringFees_019c2e61-09e4-7819-90fb-978f017802e0" xlink:href="mrcy-20260327.xsd#mrcy_AccountsReceivableFactoringFees"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_AccountsReceivableFactoringFees_019c2e61-09e4-7819-90fb-978f017802e0" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_PercentageOfRevenueRecognized_019c2e61-09e4-7995-ad30-a5ffeb97b324" xlink:href="mrcy-20260327.xsd#mrcy_PercentageOfRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_PercentageOfRevenueRecognized_019c2e61-09e4-7995-ad30-a5ffeb97b324" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_StandardProductWarrantyPeriod_019c2e61-09e4-7bb6-8e3f-cde09ecc6570" xlink:href="mrcy-20260327.xsd#mrcy_StandardProductWarrantyPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_StandardProductWarrantyPeriod_019c2e61-09e4-7bb6-8e3f-cde09ecc6570" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ExtendedProductWarrantyPeriod_019c2e61-09e4-7c08-95fa-37acc4012ae1" xlink:href="mrcy-20260327.xsd#mrcy_ExtendedProductWarrantyPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_ExtendedProductWarrantyPeriod_019c2e61-09e4-7c08-95fa-37acc4012ae1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerAssetNet_019c2e61-09e4-70a9-ac31-6ad1d08eb4bb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerAssetNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_ContractWithCustomerAssetNet_019c2e61-09e4-70a9-ac31-6ad1d08eb4bb" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GrossTransactionVolume_019c2e61-09e4-763b-a259-d9bfaa0e6e11" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GrossTransactionVolume"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_GrossTransactionVolume_019c2e61-09e4-763b-a259-d9bfaa0e6e11" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_RevenuePerformanceObligationSatisfiedOverTime_019c2e61-09e4-7a44-902a-ee75a446106c" xlink:href="mrcy-20260327.xsd#mrcy_RevenuePerformanceObligationSatisfiedOverTime"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_RevenuePerformanceObligationSatisfiedOverTime_019c2e61-09e4-7a44-902a-ee75a446106c" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiability_019c2e61-09e4-7001-990b-172d219acc86" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiability"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_ContractWithCustomerLiability_019c2e61-09e4-7001-990b-172d219acc86" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019c2e61-09e4-7395-802a-68258f5c3ae6" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerLiabilityRevenueRecognized"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_ContractWithCustomerLiabilityRevenueRecognized_019c2e61-09e4-7395-802a-68258f5c3ae6" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligation_019c2e61-09e4-7f64-9250-248eaaff969a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligation"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligation_019c2e61-09e4-7f64-9250-248eaaff969a" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019c2e61-09e4-72a5-8355-9fe5d3bd8380" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationPercentage"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationPercentage_019c2e61-09e4-72a5-8355-9fe5d3bd8380" xlink:type="arc" order="15"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019c2e61-09e4-742d-96a6-264ed5d264f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_RevenueRemainingPerformanceObligationExpectedTimingOfSatisfactionPeriod1_019c2e61-09e4-742d-96a6-264ed5d264f0" xlink:type="arc" order="16"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019c2e61-09e4-7b91-96e6-fe560dc06bbc" 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_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_AcquiredFiniteLivedIntangibleAssetsWeightedAverageUsefulLife_019c2e61-09e4-7b91-96e6-fe560dc06bbc" xlink:type="arc" order="17"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_019de3af-5f75-7f3d-aeda-4415c160b209" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinitelivedIntangibleAssetsAcquired1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_FinitelivedIntangibleAssetsAcquired1_019de3af-5f75-7f3d-aeda-4415c160b209" xlink:type="arc" order="18"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_StandardProductWarrantyAccrualTerm_019c2e61-09e4-7bfe-af67-36a1935532d8" xlink:href="mrcy-20260327.xsd#mrcy_StandardProductWarrantyAccrualTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_mrcy_StandardProductWarrantyAccrualTerm_019c2e61-09e4-7bfe-af67-36a1935532d8" xlink:type="arc" order="19"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019c2e61-09e4-778a-b1b2-338cd3b0066e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7ec7-8db5-a65d6393816d" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_019c2e61-09e4-778a-b1b2-338cd3b0066e" xlink:type="arc" order="20"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#SummaryofSignificantAccountingPoliciesDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/SummaryofSignificantAccountingPoliciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7e67-b6a9-416bc2ae289a" xlink:href="mrcy-20260327.xsd#mrcy_SignificantAccountingPoliciesLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-76e1-9c27-9214fac61bb5" xlink:href="mrcy-20260327.xsd#mrcy_SignificantAccountingPoliciesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7e67-b6a9-416bc2ae289a" xlink:to="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-76e1-9c27-9214fac61bb5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-77c7-afe0-5a5a22779c28" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_mrcy_SignificantAccountingPoliciesTable_019c2e61-09e4-76e1-9c27-9214fac61bb5" xlink:to="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-77c7-afe0-5a5a22779c28" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-77c7-afe0-5a5a22779c28_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-77c7-afe0-5a5a22779c28" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-77c7-afe0-5a5a22779c28_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7eb0-9a1c-e37da2d76bdd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInAccountingEstimateTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ChangeInAccountingEstimateByTypeAxis_019c2e61-09e4-77c7-afe0-5a5a22779c28" xlink:to="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7eb0-9a1c-e37da2d76bdd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember_019c2e61-09e4-70ae-8693-0c1c93950cb5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ChangeInAccountingEstimateTypeDomain_019c2e61-09e4-7eb0-9a1c-e37da2d76bdd" xlink:to="loc_us-gaap_ContractsAccountedForUnderPercentageOfCompletionMember_019c2e61-09e4-70ae-8693-0c1c93950cb5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_019c2e61-09e4-7ed1-81ed-7b5a5f7c5aa5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7e67-b6a9-416bc2ae289a" xlink:to="loc_us-gaap_ContractWithCustomerPerformanceObligationSatisfiedInPreviousPeriod_019c2e61-09e4-7ed1-81ed-7b5a5f7c5aa5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingIncomeLoss_019c2e61-09e4-7e36-b125-8905889b839c" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingIncomeLoss"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7e67-b6a9-416bc2ae289a" xlink:to="loc_us-gaap_OperatingIncomeLoss_019c2e61-09e4-7e36-b125-8905889b839c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_019c2e61-09e4-799e-9bb4-d9ba4b7782d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7e67-b6a9-416bc2ae289a" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsPerDilutedShare_019c2e61-09e4-799e-9bb4-d9ba4b7782d8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019c2e61-09e4-7861-af08-122700ce61f0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_SignificantAccountingPoliciesLineItems_019c2e61-09e4-7e67-b6a9-416bc2ae289a" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_019c2e61-09e4-7861-af08-122700ce61f0" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/FairValueofFinancialInstrumentsScheduleofFinancialLiabilitiesMeasuredatFairValueonaRecurringBasisDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#FairValueofFinancialInstrumentsScheduleofFinancialLiabilitiesMeasuredatFairValueonaRecurringBasisDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/FairValueofFinancialInstrumentsScheduleofFinancialLiabilitiesMeasuredatFairValueonaRecurringBasisDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019c2e61-09e4-798c-8291-356420f84ce0" 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_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" 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_019c2e61-09e4-798c-8291-356420f84ce0" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_019c2e61-09e4-76ae-ade1-8b9a4ef9ffef" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_019c2e61-09e4-76ae-ade1-8b9a4ef9ffef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-76ae-ade1-8b9a4ef9ffef_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_019c2e61-09e4-76ae-ade1-8b9a4ef9ffef" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-76ae-ade1-8b9a4ef9ffef_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c2e61-09e4-7165-95bb-f99fdc3763d3" 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_019c2e61-09e4-76ae-ade1-8b9a4ef9ffef" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c2e61-09e4-7165-95bb-f99fdc3763d3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-72a6-b08a-54a00ed70226" 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_019c2e61-09e4-7165-95bb-f99fdc3763d3" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-72a6-b08a-54a00ed70226" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c2e61-09e4-7faa-b007-2b378862c7f8" 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_019c2e61-09e4-72a6-b08a-54a00ed70226" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c2e61-09e4-7faa-b007-2b378862c7f8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7bf1-9c8f-35a716a7a4ee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7bf1-9c8f-35a716a7a4ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7bf1-9c8f-35a716a7a4ee_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7bf1-9c8f-35a716a7a4ee" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7bf1-9c8f-35a716a7a4ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7611-aa47-5423dc314f5d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7bf1-9c8f-35a716a7a4ee" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7611-aa47-5423dc314f5d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019c2e61-09e4-7913-8a15-3c40df3aadf5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7611-aa47-5423dc314f5d" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019c2e61-09e4-7913-8a15-3c40df3aadf5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019c2e61-09e4-72b6-9219-8f083ca2546d" 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_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_019c2e61-09e4-72b6-9219-8f083ca2546d" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019c2e61-09e4-72b6-9219-8f083ca2546d_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_019c2e61-09e4-72b6-9219-8f083ca2546d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019c2e61-09e4-72b6-9219-8f083ca2546d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019c2e61-09e4-758c-a2e6-2f82dd7e7fb8" 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_019c2e61-09e4-72b6-9219-8f083ca2546d" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_019c2e61-09e4-758c-a2e6-2f82dd7e7fb8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_019c2e61-09e4-7b85-b2af-2c283ff7d37d" 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_019c2e61-09e4-758c-a2e6-2f82dd7e7fb8" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_019c2e61-09e4-7b85-b2af-2c283ff7d37d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_019c2e61-09e4-7c22-b1ab-90be1e182cb9" 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_019c2e61-09e4-758c-a2e6-2f82dd7e7fb8" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_019c2e61-09e4-7c22-b1ab-90be1e182cb9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_019c2e61-09e4-70be-bff9-acfb6f17433d" 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_019c2e61-09e4-758c-a2e6-2f82dd7e7fb8" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_019c2e61-09e4-70be-bff9-acfb6f17433d" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019c2e61-09e4-70d9-9591-a879da63a3d6" 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_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019c2e61-09e4-70d9-9591-a879da63a3d6" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-70d9-9591-a879da63a3d6_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_019c2e61-09e4-70d9-9591-a879da63a3d6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-70d9-9591-a879da63a3d6_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-708e-9444-2fa45ab25621" 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_019c2e61-09e4-70d9-9591-a879da63a3d6" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-708e-9444-2fa45ab25621" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_019c2e61-09e4-77a8-8b00-bad3e5e33c47" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-708e-9444-2fa45ab25621" xlink:to="loc_us-gaap_InterestRateSwapMember_019c2e61-09e4-77a8-8b00-bad3e5e33c47" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c2e61-09e4-77a3-8b2d-920fd8913846" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-78ef-9ec2-4fc340dd5d44" xlink:to="loc_us-gaap_PlanNameAxis_019c2e61-09e4-77a3-8b2d-920fd8913846" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-09e4-77a3-8b2d-920fd8913846_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_019c2e61-09e4-77a3-8b2d-920fd8913846" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-09e4-77a3-8b2d-920fd8913846_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-09e4-739f-98ff-61ff651cb3f6" 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_019c2e61-09e4-77a3-8b2d-920fd8913846" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-09e4-739f-98ff-61ff651cb3f6" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SwapAgreementMember_019c2e61-09e4-7517-a211-bc75e68ef7a8" xlink:href="mrcy-20260327.xsd#mrcy_SwapAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c2e61-09e4-739f-98ff-61ff651cb3f6" xlink:to="loc_mrcy_SwapAgreementMember_019c2e61-09e4-7517-a211-bc75e68ef7a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019c2e61-09e4-71c8-82b3-acfa62099719" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019c2e61-09e4-798c-8291-356420f84ce0" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_019c2e61-09e4-71c8-82b3-acfa62099719" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#FairValueofFinancialInstrumentsAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/FairValueofFinancialInstrumentsAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019c2e61-09e4-77a9-82fd-5612f95c76d7" 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_019c2e61-09e4-796d-bf4f-b82bc63c0897" 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_019c2e61-09e4-77a9-82fd-5612f95c76d7" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-796d-bf4f-b82bc63c0897" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_019c2e61-09e4-7eba-b984-0d3c70721256" 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_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-796d-bf4f-b82bc63c0897" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_019c2e61-09e4-7eba-b984-0d3c70721256" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-7eba-b984-0d3c70721256_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_019c2e61-09e4-7eba-b984-0d3c70721256" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-7eba-b984-0d3c70721256_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c2e61-09e4-7471-aea6-39d5e4cd8587" 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_019c2e61-09e4-7eba-b984-0d3c70721256" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c2e61-09e4-7471-aea6-39d5e4cd8587" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-737a-81b6-c73e47ab2050" 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_019c2e61-09e4-7471-aea6-39d5e4cd8587" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-09e4-737a-81b6-c73e47ab2050" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c2e61-09e4-70fb-b890-bce22961af64" 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_019c2e61-09e4-737a-81b6-c73e47ab2050" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c2e61-09e4-70fb-b890-bce22961af64" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7fea-baad-e79276520174" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-796d-bf4f-b82bc63c0897" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7fea-baad-e79276520174" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7fea-baad-e79276520174_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7fea-baad-e79276520174" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7fea-baad-e79276520174_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7e4f-882b-9482de810057" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-09e4-7fea-baad-e79276520174" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7e4f-882b-9482de810057" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019c2e61-09e4-76f0-88a0-c57ac1e84fe7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-09e4-7e4f-882b-9482de810057" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019c2e61-09e4-76f0-88a0-c57ac1e84fe7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019c2e61-09e4-7bb1-9a5e-eb518c14a697" 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_019c2e61-09e4-796d-bf4f-b82bc63c0897" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019c2e61-09e4-7bb1-9a5e-eb518c14a697" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-7bb1-9a5e-eb518c14a697_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_019c2e61-09e4-7bb1-9a5e-eb518c14a697" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-7bb1-9a5e-eb518c14a697_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-77f9-a2c7-0f0cd3f3e319" 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_019c2e61-09e4-7bb1-9a5e-eb518c14a697" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-77f9-a2c7-0f0cd3f3e319" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_019c2e61-09e4-73f3-9019-dd53eff04af1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-09e4-77f9-a2c7-0f0cd3f3e319" xlink:to="loc_us-gaap_InterestRateSwapMember_019c2e61-09e4-73f3-9019-dd53eff04af1" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c2e61-09e4-7160-abd8-3966c0582f48" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_019c2e61-09e4-796d-bf4f-b82bc63c0897" xlink:to="loc_us-gaap_PlanNameAxis_019c2e61-09e4-7160-abd8-3966c0582f48" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-09e4-7160-abd8-3966c0582f48_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_019c2e61-09e4-7160-abd8-3966c0582f48" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-09e4-7160-abd8-3966c0582f48_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-09e4-7684-8383-30a099d709c1" 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_019c2e61-09e4-7160-abd8-3966c0582f48" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-09e4-7684-8383-30a099d709c1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SwapAgreementMember_019c2e61-09e4-7727-b6f3-2eb337326c0e" xlink:href="mrcy-20260327.xsd#mrcy_SwapAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c2e61-09e4-7684-8383-30a099d709c1" xlink:to="loc_mrcy_SwapAgreementMember_019c2e61-09e4-7727-b6f3-2eb337326c0e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019c2e61-09e4-70c9-9f9f-c94eabbdd5a1" 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_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_019c2e61-09e4-77a9-82fd-5612f95c76d7" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_019c2e61-09e4-70c9-9f9f-c94eabbdd5a1" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#PropertyandEquipmentScheduleofPropertyandEquipmentDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/PropertyandEquipmentScheduleofPropertyandEquipmentDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019c2e61-0a9b-7bc3-b713-ddab193cf22a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019c2e61-0a9b-75f8-8581-4ccc923a90f5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfPropertyPlantAndEquipmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019c2e61-0a9b-7bc3-b713-ddab193cf22a" xlink:to="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019c2e61-0a9b-75f8-8581-4ccc923a90f5" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019c2e61-0a9b-752e-8917-0a36c398a156" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentByTypeAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfPropertyPlantAndEquipmentTable_019c2e61-0a9b-75f8-8581-4ccc923a90f5" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019c2e61-0a9b-752e-8917-0a36c398a156" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-752e-8917-0a36c398a156_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019c2e61-0a9b-752e-8917-0a36c398a156" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-752e-8917-0a36c398a156_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-768c-a471-88a5ef808a1e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentByTypeAxis_019c2e61-0a9b-752e-8917-0a36c398a156" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-768c-a471-88a5ef808a1e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ComputerEquipmentAndSoftwareMember_019c2e61-0a9b-7f6c-9a37-404d60037044" xlink:href="mrcy-20260327.xsd#mrcy_ComputerEquipmentAndSoftwareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-768c-a471-88a5ef808a1e" xlink:to="loc_mrcy_ComputerEquipmentAndSoftwareMember_019c2e61-0a9b-7f6c-9a37-404d60037044" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FurnitureAndFixturesMember_019c2e61-0a9b-7fb4-9f17-6e68eeee8dee" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FurnitureAndFixturesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-768c-a471-88a5ef808a1e" xlink:to="loc_us-gaap_FurnitureAndFixturesMember_019c2e61-0a9b-7fb4-9f17-6e68eeee8dee" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LeaseholdImprovementsMember_019c2e61-0a9b-741b-850a-73cfaf92f01b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LeaseholdImprovementsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-768c-a471-88a5ef808a1e" xlink:to="loc_us-gaap_LeaseholdImprovementsMember_019c2e61-0a9b-741b-850a-73cfaf92f01b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MachineryAndEquipmentMember_019c2e61-0a9b-7f01-b866-eb25c6d7fcfd" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MachineryAndEquipmentMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentTypeDomain_019c2e61-0a9b-768c-a471-88a5ef808a1e" xlink:to="loc_us-gaap_MachineryAndEquipmentMember_019c2e61-0a9b-7f01-b866-eb25c6d7fcfd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis_019c2e61-0a9b-721a-9620-aa3d479d4ee9" 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_ScheduleOfPropertyPlantAndEquipmentTable_019c2e61-0a9b-75f8-8581-4ccc923a90f5" xlink:to="loc_srt_RangeAxis_019c2e61-0a9b-721a-9620-aa3d479d4ee9" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c2e61-0a9b-721a-9620-aa3d479d4ee9_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_019c2e61-0a9b-721a-9620-aa3d479d4ee9" xlink:to="loc_srt_RangeMember_019c2e61-0a9b-721a-9620-aa3d479d4ee9_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember_019c2e61-0a9b-7e09-af0f-54bb7e4cd167" 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_019c2e61-0a9b-721a-9620-aa3d479d4ee9" xlink:to="loc_srt_RangeMember_019c2e61-0a9b-7e09-af0f-54bb7e4cd167" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember_019c2e61-0a9b-74ba-b6ac-72e0bec4b667" 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_019c2e61-0a9b-7e09-af0f-54bb7e4cd167" xlink:to="loc_srt_MinimumMember_019c2e61-0a9b-74ba-b6ac-72e0bec4b667" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember_019c2e61-0a9b-7497-ba12-40d704750c5c" 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_019c2e61-0a9b-7e09-af0f-54bb7e4cd167" xlink:to="loc_srt_MaximumMember_019c2e61-0a9b-7497-ba12-40d704750c5c" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019c2e61-0a9b-7d46-b6d4-646021859167" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentUsefulLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019c2e61-0a9b-7bc3-b713-ddab193cf22a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentUsefulLife_019c2e61-0a9b-7d46-b6d4-646021859167" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentGross_019c2e61-0a9b-7578-983f-cd59344af6a7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019c2e61-0a9b-7bc3-b713-ddab193cf22a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentGross_019c2e61-0a9b-7578-983f-cd59344af6a7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019c2e61-0a9b-7e5f-b1ca-cd7867b0e5f1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019c2e61-0a9b-7bc3-b713-ddab193cf22a" xlink:to="loc_us-gaap_AccumulatedDepreciationDepletionAndAmortizationPropertyPlantAndEquipment_019c2e61-0a9b-7e5f-b1ca-cd7867b0e5f1" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PropertyPlantAndEquipmentNet_019c2e61-0a9b-73b1-92a1-7f25ba39142b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PropertyPlantAndEquipmentNet"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PropertyPlantAndEquipmentLineItems_019c2e61-0a9b-7bc3-b713-ddab193cf22a" xlink:to="loc_us-gaap_PropertyPlantAndEquipmentNet_019c2e61-0a9b-73b1-92a1-7f25ba39142b" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/DebtDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#DebtDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/DebtDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable_019c2e61-0a9a-777d-9ac6-73939e6fb932" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_DebtInstrumentTable_019c2e61-0a9a-777d-9ac6-73939e6fb932" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019c2e61-0a9a-7961-bef1-df9d3171fffe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DebtInstrumentTable_019c2e61-0a9a-777d-9ac6-73939e6fb932" xlink:to="loc_us-gaap_CreditFacilityAxis_019c2e61-0a9a-7961-bef1-df9d3171fffe" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019c2e61-0a9a-7961-bef1-df9d3171fffe_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019c2e61-0a9a-7961-bef1-df9d3171fffe" xlink:to="loc_us-gaap_CreditFacilityDomain_019c2e61-0a9a-7961-bef1-df9d3171fffe_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019c2e61-0a9a-7893-a952-8de56d0d5ed1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019c2e61-0a9a-7961-bef1-df9d3171fffe" xlink:to="loc_us-gaap_CreditFacilityDomain_019c2e61-0a9a-7893-a952-8de56d0d5ed1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019c2e61-0a9a-78d2-9a19-40b371164d12" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019c2e61-0a9a-7893-a952-8de56d0d5ed1" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019c2e61-0a9a-78d2-9a19-40b371164d12" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_TermLoanMember_019c2e61-0a9a-76b1-8ade-ec3ec5c59b0f" xlink:href="mrcy-20260327.xsd#mrcy_TermLoanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019c2e61-0a9a-7893-a952-8de56d0d5ed1" xlink:to="loc_mrcy_TermLoanMember_019c2e61-0a9a-76b1-8ade-ec3ec5c59b0f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm_019c2e61-0a9a-7da6-ae75-28174c2fdaaf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_DebtInstrumentTerm_019c2e61-0a9a-7da6-ae75-28174c2fdaaf" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019c2e61-0a9a-7048-af4e-d4332bc9588f" 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_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_LineOfCreditFacilityMaximumBorrowingCapacity_019c2e61-0a9a-7048-af4e-d4332bc9588f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_019c2e61-0a9a-780e-92af-d3a97d825cd8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_SecuredLongTermDebt_019c2e61-0a9a-780e-92af-d3a97d825cd8" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LettersOfCreditOutstandingAmount_019c2e61-0a9a-72c6-aa3f-e0fc01a277a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LettersOfCreditOutstandingAmount"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_LettersOfCreditOutstandingAmount_019c2e61-0a9a-72c6-aa3f-e0fc01a277a8" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpense_019c2e61-0a9a-709b-adc8-0911c3f80d7f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_InterestExpense_019c2e61-0a9a-709b-adc8-0911c3f80d7f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsCurrentGross_019c2e61-0a9a-7987-9b43-65bcae3fc1b9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsCurrentGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_DeferredFinanceCostsCurrentGross_019c2e61-0a9a-7987-9b43-65bcae3fc1b9" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_019c2e61-0a9a-74fb-baaf-58f819179edb" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WriteOffOfDeferredDebtIssuanceCost"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_WriteOffOfDeferredDebtIssuanceCost_019c2e61-0a9a-74fb-baaf-58f819179edb" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredFinanceCostsGross_019c2e61-0a9a-7367-8856-cfb8f9338a0b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredFinanceCostsGross"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_us-gaap_DeferredFinanceCostsGross_019c2e61-0a9a-7367-8856-cfb8f9338a0b" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_DebtInstrumentTermExtension_019c2e61-0a9a-7eb6-8ced-a487dd944f90" xlink:href="mrcy-20260327.xsd#mrcy_DebtInstrumentTermExtension"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentLineItems_019c2e61-0a9a-7652-914e-0657cea6265e" xlink:to="loc_mrcy_DebtInstrumentTermExtension_019c2e61-0a9a-7eb6-8ced-a487dd944f90" xlink:type="arc" order="8"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#StockBasedCompensationAdditionalInformationDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/StockBasedCompensationAdditionalInformationDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" 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_019c2e61-0a9a-759d-a13d-cdb2da6ad5bd" 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_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c2e61-0a9a-759d-a13d-cdb2da6ad5bd" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c2e61-0a9a-7d94-913e-fd0b401f0692" 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_019c2e61-0a9a-759d-a13d-cdb2da6ad5bd" xlink:to="loc_us-gaap_PlanNameAxis_019c2e61-0a9a-7d94-913e-fd0b401f0692" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-7d94-913e-fd0b401f0692_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_019c2e61-0a9a-7d94-913e-fd0b401f0692" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-7d94-913e-fd0b401f0692_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-70fc-bffc-4b911e1362cd" 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_019c2e61-0a9a-7d94-913e-fd0b401f0692" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-70fc-bffc-4b911e1362cd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_A2025StockIncentivePlanMember_019c2e61-0a9a-7514-9e3d-f4679118ef95" xlink:href="mrcy-20260327.xsd#mrcy_A2025StockIncentivePlanMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-70fc-bffc-4b911e1362cd" xlink:to="loc_mrcy_A2025StockIncentivePlanMember_019c2e61-0a9a-7514-9e3d-f4679118ef95" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_A1997ESPPMember_019c2e61-0a9a-73f4-ac67-20a96e610d83" xlink:href="mrcy-20260327.xsd#mrcy_A1997ESPPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-70fc-bffc-4b911e1362cd" xlink:to="loc_mrcy_A1997ESPPMember_019c2e61-0a9a-73f4-ac67-20a96e610d83" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_A2024ESPPMember_019c2e61-0a9a-7789-8a8c-d0a6a08a28cd" xlink:href="mrcy-20260327.xsd#mrcy_A2024ESPPMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-70fc-bffc-4b911e1362cd" xlink:to="loc_mrcy_A2024ESPPMember_019c2e61-0a9a-7789-8a8c-d0a6a08a28cd" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c2e61-0a9a-7fd3-a8b0-d076ade00a30" 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_019c2e61-0a9a-759d-a13d-cdb2da6ad5bd" xlink:to="loc_us-gaap_AwardTypeAxis_019c2e61-0a9a-7fd3-a8b0-d076ade00a30" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7fd3-a8b0-d076ade00a30_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_019c2e61-0a9a-7fd3-a8b0-d076ade00a30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7fd3-a8b0-d076ade00a30_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-75a5-b89f-22f4b52b5af8" 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_019c2e61-0a9a-7fd3-a8b0-d076ade00a30" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-75a5-b89f-22f4b52b5af8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockMember_019c2e61-0a9a-79f4-b63f-d044f3ecfde4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-75a5-b89f-22f4b52b5af8" xlink:to="loc_us-gaap_EmployeeStockMember_019c2e61-0a9a-79f4-b63f-d044f3ecfde4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019c2e61-0a9a-79ad-a635-288fdb26a862" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-75a5-b89f-22f4b52b5af8" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019c2e61-0a9a-79ad-a635-288fdb26a862" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_StockOptionsAndStockAppreciationRightsMember_019c2e61-0a9a-75d8-946e-b8893922750a" xlink:href="mrcy-20260327.xsd#mrcy_StockOptionsAndStockAppreciationRightsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-75a5-b89f-22f4b52b5af8" xlink:to="loc_mrcy_StockOptionsAndStockAppreciationRightsMember_019c2e61-0a9a-75d8-946e-b8893922750a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_FutureFullValueAwardsMember_019c2e61-0a9a-73ee-a5f9-2d9bd7be44e0" xlink:href="mrcy-20260327.xsd#mrcy_FutureFullValueAwardsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-75a5-b89f-22f4b52b5af8" xlink:to="loc_mrcy_FutureFullValueAwardsMember_019c2e61-0a9a-73ee-a5f9-2d9bd7be44e0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_019c2e61-0a9a-7a8f-a80e-d212e93cb354" 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_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c2e61-0a9a-759d-a13d-cdb2da6ad5bd" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_019c2e61-0a9a-7a8f-a80e-d212e93cb354" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019c2e61-0a9a-7a8f-a80e-d212e93cb354_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_019c2e61-0a9a-7a8f-a80e-d212e93cb354" xlink:to="loc_us-gaap_EquityComponentDomain_019c2e61-0a9a-7a8f-a80e-d212e93cb354_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain_019c2e61-0a9a-7c1b-8003-cdfbeff0775e" 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_019c2e61-0a9a-7a8f-a80e-d212e93cb354" xlink:to="loc_us-gaap_EquityComponentDomain_019c2e61-0a9a-7c1b-8003-cdfbeff0775e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember_019c2e61-0a9a-7d3b-8457-421e9e2c07f9" 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_019c2e61-0a9a-7c1b-8003-cdfbeff0775e" xlink:to="loc_us-gaap_CommonStockMember_019c2e61-0a9a-7d3b-8457-421e9e2c07f9" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019c2e61-0a9a-7dd5-ad1d-37304b2c53a7" 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_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorized_019c2e61-0a9a-7dd5-ad1d-37304b2c53a7" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedApprovedByShareholders_019c2e61-0a9a-79ed-8897-8d5504087e20" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedApprovedByShareholders"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedApprovedByShareholders_019c2e61-0a9a-79ed-8897-8d5504087e20" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedSharesAuthorizedFromForfeitureOfPredecessorPlan_019c2e61-0a9a-7be4-b162-3857d420001b" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedSharesAuthorizedFromForfeitureOfPredecessorPlan"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedSharesAuthorizedFromForfeitureOfPredecessorPlan_019c2e61-0a9a-7be4-b162-3857d420001b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePricePercentageOfFairValueThreshold_019c2e61-0a9a-7555-b4ad-84a56ba05d24" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePricePercentageOfFairValueThreshold"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardExercisePricePercentageOfFairValueThreshold_019c2e61-0a9a-7555-b4ad-84a56ba05d24" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardContractualLife_019c2e61-0a9a-7978-96ca-3a6b8797368f" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardContractualLife"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardContractualLife_019c2e61-0a9a-7978-96ca-3a6b8797368f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedSharesReductionPerShareIssued_019c2e61-0a9a-7639-9cb6-037b229e0323" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedSharesReductionPerShareIssued"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAuthorizedSharesReductionPerShareIssued_019c2e61-0a9a-7639-9cb6-037b229e0323" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate_019c2e61-0a9a-70df-bcca-83db6282985d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardDiscountFromMarketPriceOfferingDate_019c2e61-0a9a-70df-bcca-83db6282985d" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod_019c2e61-0a9a-7914-bdb8-8260f3ae2383" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardOfferingPeriod_019c2e61-0a9a-7914-bdb8-8260f3ae2383" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_EmployeeStockPurchasePlanMaximumPercentageOfCompensationToPurchaseSharesByEligibleParticipants_019c2e61-0a9a-7222-8c79-6cb2cb766dc1" xlink:href="mrcy-20260327.xsd#mrcy_EmployeeStockPurchasePlanMaximumPercentageOfCompensationToPurchaseSharesByEligibleParticipants"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_mrcy_EmployeeStockPurchasePlanMaximumPercentageOfCompensationToPurchaseSharesByEligibleParticipants_019c2e61-0a9a-7222-8c79-6cb2cb766dc1" xlink:type="arc" order="8"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019c2e61-0a9a-7a4c-a3ed-b1b5df21ced8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesEmployeeStockPurchasePlans_019c2e61-0a9a-7a4c-a3ed-b1b5df21ced8" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c2e61-0a9a-7cf0-937e-440a22b47ab7" 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_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_CommonStockCapitalSharesReservedForFutureIssuance_019c2e61-0a9a-7cf0-937e-440a22b47ab7" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019c2e61-0a9a-79f4-b0e3-0763028f9f10" 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_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardNumberOfSharesAvailableForGrant_019c2e61-0a9a-79f4-b0e3-0763028f9f10" xlink:type="arc" order="11"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019c2e61-0a9a-7a63-be5b-9a03956bcea0" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019c2e61-0a9a-7a63-be5b-9a03956bcea0" xlink:type="arc" order="12"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_019c2e61-0a9a-7565-8ec1-934a21245ffa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedNumberOfShares_019c2e61-0a9a-7565-8ec1-934a21245ffa" xlink:type="arc" order="13"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_019c2e61-0a9a-7bd6-bf61-a5e98ad229bc" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationNonvestedAwardsTotalCompensationCostNotYetRecognizedShareBasedAwardsOtherThanOptions_019c2e61-0a9a-7bd6-bf61-a5e98ad229bc" xlink:type="arc" order="14"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_019c2e61-0a9a-7673-8685-6517f53cc571" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7da1-9bb4-f3a6cce328ea" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardAwardRequisiteServicePeriod1_019c2e61-0a9a-7673-8685-6517f53cc571" xlink:type="arc" order="15"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/StockBasedCompensationScheduleofOptionActivityDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#StockBasedCompensationScheduleofOptionActivityDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/StockBasedCompensationScheduleofOptionActivityDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" 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_019c2e61-0a9a-702e-bda5-65d5e9107a11" 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_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c2e61-0a9a-702e-bda5-65d5e9107a11" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c2e61-0a9a-7f49-bf3a-594972a9d735" 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_019c2e61-0a9a-702e-bda5-65d5e9107a11" xlink:to="loc_us-gaap_AwardTypeAxis_019c2e61-0a9a-7f49-bf3a-594972a9d735" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7f49-bf3a-594972a9d735_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_019c2e61-0a9a-7f49-bf3a-594972a9d735" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7f49-bf3a-594972a9d735_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7784-a33c-5cd42f699fea" 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_019c2e61-0a9a-7f49-bf3a-594972a9d735" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7784-a33c-5cd42f699fea" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember_019c2e61-0a9a-7b2f-8b5d-862e531e2a23" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7784-a33c-5cd42f699fea" xlink:to="loc_us-gaap_EmployeeStockOptionMember_019c2e61-0a9a-7b2f-8b5d-862e531e2a23" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019c2e61-0a9a-7838-b85c-df0c8274492a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019c2e61-0a9a-7838-b85c-df0c8274492a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodExcludingSharesIssuedInConnectionWithAcquisition_019c2e61-0a9a-75ae-9734-8525f3d08fdb" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodExcludingSharesIssuedInConnectionWithAcquisition"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:to="loc_mrcy_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsGrantsInPeriodExcludingSharesIssuedInConnectionWithAcquisition_019c2e61-0a9a-75ae-9734-8525f3d08fdb" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019c2e61-0a9a-7fb5-891f-75faa7c03570" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesStockOptionsExercised_019c2e61-0a9a-7fb5-891f-75faa7c03570" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_019c2e61-0a9a-78ad-b4ca-f412ce96172f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriod_019c2e61-0a9a-78ad-b4ca-f412ce96172f" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_019c2e61-0a9a-7bac-9cff-7e93fb1bdd54" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_019c2e61-0a9a-7cb0-b2a0-4998aaa32adf" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingRollForward_019c2e61-0a9a-7d4c-8298-e333e8c17b26" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_019c2e61-0a9a-7cb0-b2a0-4998aaa32adf" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c2e61-0a9a-7c68-8439-0becde1694ac" 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_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c2e61-0a9a-7c68-8439-0becde1694ac" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-76f7-8278-a63764c3cf62" 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_019c2e61-0a9a-7c68-8439-0becde1694ac" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-76f7-8278-a63764c3cf62" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-78c0-b24d-3981045614fa" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-7a36-9b80-6fc21f788d10" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c2e61-0a9a-7c68-8439-0becde1694ac" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-7a36-9b80-6fc21f788d10" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_019c2e61-0a9a-7a62-a208-68105529dfa3" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_019c2e61-0a9a-7a62-a208-68105529dfa3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodExcludingSharesIssuedInConnectionWithAcquisitionWeightedAverageExercisePrice_019c2e61-0a9a-74db-acd0-c1d51145c28a" xlink:href="mrcy-20260327.xsd#mrcy_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodExcludingSharesIssuedInConnectionWithAcquisitionWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:to="loc_mrcy_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsGrantsInPeriodExcludingSharesIssuedInConnectionWithAcquisitionWeightedAverageExercisePrice_019c2e61-0a9a-74db-acd0-c1d51145c28a" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_019c2e61-0a9a-7c75-9a46-02df7ddf20ef" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardOptionsExercisesInPeriodWeightedAverageExercisePrice_019c2e61-0a9a-7c75-9a46-02df7ddf20ef" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_019c2e61-0a9a-7fff-a999-e11ad5378f09" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsForfeituresAndExpirationsInPeriodWeightedAverageExercisePrice_019c2e61-0a9a-7fff-a999-e11ad5378f09" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice_019c2e61-0a9a-7cf2-8c60-6e6158a64b8b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePrice"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_019c2e61-0a9a-7c82-9431-724006ea3e91" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingWeightedAverageExercisePriceRollforward_019c2e61-0a9a-75a2-bb4d-8622599fe26b" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableWeightedAverageExercisePrice_019c2e61-0a9a-7c82-9431-724006ea3e91" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_019c2e61-0a9a-7ab7-b942-995c51662da9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_019c2e61-0a9a-7ab7-b942-995c51662da9" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_019c2e61-0a9a-7e8e-8a44-751c042415ba" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7d3b-9592-8a08b2f463bb" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingIntrinsicValue_019c2e61-0a9a-7e8e-8a44-751c042415ba" xlink:type="arc" order="4"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/StockBasedCompensationScheduleofRestrictedStockAwardsDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#StockBasedCompensationScheduleofRestrictedStockAwardsDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/StockBasedCompensationScheduleofRestrictedStockAwardsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7d85-b49d-5c7e078dfe81" 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_019c2e61-0a9a-784d-be96-8a3b1e7f7aa8" 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_019c2e61-0a9a-7d85-b49d-5c7e078dfe81" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c2e61-0a9a-784d-be96-8a3b1e7f7aa8" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis_019c2e61-0a9a-7293-83e6-34243b800f2d" 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_019c2e61-0a9a-784d-be96-8a3b1e7f7aa8" xlink:to="loc_us-gaap_AwardTypeAxis_019c2e61-0a9a-7293-83e6-34243b800f2d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7293-83e6-34243b800f2d_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_019c2e61-0a9a-7293-83e6-34243b800f2d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7293-83e6-34243b800f2d_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7c16-af27-d2c6b4e14b87" 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_019c2e61-0a9a-7293-83e6-34243b800f2d" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7c16-af27-d2c6b4e14b87" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedStockMember_019c2e61-0a9a-75fd-9fb6-652e146b19d8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedStockMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_019c2e61-0a9a-7c16-af27-d2c6b4e14b87" xlink:to="loc_us-gaap_RestrictedStockMember_019c2e61-0a9a-75fd-9fb6-652e146b19d8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c2e61-0a9a-7432-a639-66103923fccc" 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_019c2e61-0a9a-7d85-b49d-5c7e078dfe81" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedRollForward_019c2e61-0a9a-7432-a639-66103923fccc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c2e61-0a9a-7586-bdcf-0a8349e7dafb" 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_019c2e61-0a9a-7432-a639-66103923fccc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c2e61-0a9a-7586-bdcf-0a8349e7dafb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019c2e61-0a9a-7133-aace-e2ac25f58d06" 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_019c2e61-0a9a-7432-a639-66103923fccc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriod_019c2e61-0a9a-7133-aace-e2ac25f58d06" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019c2e61-0a9a-748f-a641-19585c3280c0" 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_019c2e61-0a9a-7432-a639-66103923fccc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriod_019c2e61-0a9a-748f-a641-19585c3280c0" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019c2e61-0a9a-7697-8830-156ff26a1aa1" 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_019c2e61-0a9a-7432-a639-66103923fccc" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeitedInPeriod_019c2e61-0a9a-7697-8830-156ff26a1aa1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_019c2e61-0a9a-7490-8878-d0e5093cebc6" 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_019c2e61-0a9a-7fcb-9469-498c317162ae" 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_019c2e61-0a9a-7d85-b49d-5c7e078dfe81" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValueRollForward_019c2e61-0a9a-7fcb-9469-498c317162ae" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-7ce7-905f-22182f11f37a" 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_019c2e61-0a9a-7fcb-9469-498c317162ae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-7ce7-905f-22182f11f37a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019c2e61-0a9a-7371-8efc-883e3fba1d3f" 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_019c2e61-0a9a-7fcb-9469-498c317162ae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsGrantsInPeriodWeightedAverageGrantDateFairValue_019c2e61-0a9a-7371-8efc-883e3fba1d3f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019c2e61-0a9a-7334-bc8d-e7ae313c6f87" 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_019c2e61-0a9a-7fcb-9469-498c317162ae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsVestedInPeriodWeightedAverageGrantDateFairValue_019c2e61-0a9a-7334-bc8d-e7ae313c6f87" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019c2e61-0a9a-7f88-9c93-b0743597ae9b" 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_019c2e61-0a9a-7fcb-9469-498c317162ae" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsForfeituresWeightedAverageGrantDateFairValue_019c2e61-0a9a-7f88-9c93-b0743597ae9b" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue_019c2e61-0a9a-7051-ad21-ccecbc96e0ae" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedWeightedAverageGrantDateFairValue"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/StockBasedCompensationScheduleofStockBasedCompensationExpensesDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#StockBasedCompensationScheduleofStockBasedCompensationExpensesDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/StockBasedCompensationScheduleofStockBasedCompensationExpensesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7502-82f8-16a38097facc" 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_019c2e61-0a9a-708f-a52e-dee2e3b9d2b4" 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_019c2e61-0a9a-7502-82f8-16a38097facc" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c2e61-0a9a-708f-a52e-dee2e3b9d2b4" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis_019c2e61-0a9a-72a4-9e29-a3fd5a44d9a4" 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_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_019c2e61-0a9a-708f-a52e-dee2e3b9d2b4" xlink:to="loc_us-gaap_IncomeStatementLocationAxis_019c2e61-0a9a-72a4-9e29-a3fd5a44d9a4" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019c2e61-0a9a-72a4-9e29-a3fd5a44d9a4_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_019c2e61-0a9a-72a4-9e29-a3fd5a44d9a4" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019c2e61-0a9a-72a4-9e29-a3fd5a44d9a4_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain_019c2e61-0a9a-7f30-88d8-cc21f419d17f" 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_019c2e61-0a9a-72a4-9e29-a3fd5a44d9a4" xlink:to="loc_us-gaap_IncomeStatementLocationDomain_019c2e61-0a9a-7f30-88d8-cc21f419d17f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CostOfSalesMember_019c2e61-0a9a-7455-88cb-6808a58185eb" 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_019c2e61-0a9a-7f30-88d8-cc21f419d17f" xlink:to="loc_us-gaap_CostOfSalesMember_019c2e61-0a9a-7455-88cb-6808a58185eb" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019c2e61-0a9a-730c-965a-9a224700b052" 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_019c2e61-0a9a-7f30-88d8-cc21f419d17f" xlink:to="loc_us-gaap_SellingGeneralAndAdministrativeExpensesMember_019c2e61-0a9a-730c-965a-9a224700b052" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ResearchAndDevelopmentExpenseMember_019c2e61-0a9a-783e-85be-f2582016624f" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ResearchAndDevelopmentExpenseMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncomeStatementLocationDomain_019c2e61-0a9a-7f30-88d8-cc21f419d17f" xlink:to="loc_us-gaap_ResearchAndDevelopmentExpenseMember_019c2e61-0a9a-783e-85be-f2582016624f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpense_019c2e61-0a9a-750f-b014-1ff692a5b7a8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7502-82f8-16a38097facc" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpense_019c2e61-0a9a-750f-b014-1ff692a5b7a8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_019c2e61-0a9a-76dc-964c-6cc50ff9353a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7502-82f8-16a38097facc" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitFromCompensationExpense_019c2e61-0a9a-76dc-964c-6cc50ff9353a" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_019c2e61-0a9a-7d3b-965d-c7cb0c34f0fe" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_019c2e61-0a9a-7502-82f8-16a38097facc" xlink:to="loc_us-gaap_AllocatedShareBasedCompensationExpenseNetOfTax_019c2e61-0a9a-7d3b-965d-c7cb0c34f0fe" xlink:type="arc" order="2"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/OperatingSegmentGeographicInformationandSignificantCustomersScheduleofGeographicDistributionofRevenuesDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#OperatingSegmentGeographicInformationandSignificantCustomersScheduleofGeographicDistributionofRevenuesDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/OperatingSegmentGeographicInformationandSignificantCustomersScheduleofGeographicDistributionofRevenuesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingRevenueReconcilingItemLineItems_019c2e61-0a9a-7afa-a6b9-bb1a795ca453" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingRevenueReconcilingItemLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c2e61-0a9a-7e03-961c-92abe0f69f38" 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_SegmentReportingRevenueReconcilingItemLineItems_019c2e61-0a9a-7afa-a6b9-bb1a795ca453" xlink:to="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c2e61-0a9a-7e03-961c-92abe0f69f38" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis_019c2e61-0a9a-7ef3-b5b8-3732ae7c7615" 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_019c2e61-0a9a-7e03-961c-92abe0f69f38" xlink:to="loc_srt_StatementGeographicalAxis_019c2e61-0a9a-7ef3-b5b8-3732ae7c7615" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c2e61-0a9a-7ef3-b5b8-3732ae7c7615_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_019c2e61-0a9a-7ef3-b5b8-3732ae7c7615" xlink:to="loc_srt_SegmentGeographicalDomain_019c2e61-0a9a-7ef3-b5b8-3732ae7c7615_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain_019c2e61-0a9a-7af6-8256-5e56dc65fe21" 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_019c2e61-0a9a-7ef3-b5b8-3732ae7c7615" xlink:to="loc_srt_SegmentGeographicalDomain_019c2e61-0a9a-7af6-8256-5e56dc65fe21" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_country_US_019c2e61-0a9a-718f-b2d2-4f788df73ea3" 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_019c2e61-0a9a-7af6-8256-5e56dc65fe21" xlink:to="loc_country_US_019c2e61-0a9a-718f-b2d2-4f788df73ea3" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_EuropeMember_019c2e61-0a9a-7b1a-8c9b-089266e4a869" 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_019c2e61-0a9a-7af6-8256-5e56dc65fe21" xlink:to="loc_srt_EuropeMember_019c2e61-0a9a-7b1a-8c9b-089266e4a869" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis_019c2e61-0a9a-7601-9330-05ee46ccea69" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c2e61-0a9a-7e03-961c-92abe0f69f38" xlink:to="loc_srt_ConsolidationItemsAxis_019c2e61-0a9a-7601-9330-05ee46ccea69" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019c2e61-0a9a-7601-9330-05ee46ccea69_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_ConsolidationItemsAxis_019c2e61-0a9a-7601-9330-05ee46ccea69" xlink:to="loc_srt_ConsolidationItemsDomain_019c2e61-0a9a-7601-9330-05ee46ccea69_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain_019c2e61-0a9a-7825-8a6e-03d229e51ec1" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_ConsolidationItemsAxis_019c2e61-0a9a-7601-9330-05ee46ccea69" xlink:to="loc_srt_ConsolidationItemsDomain_019c2e61-0a9a-7825-8a6e-03d229e51ec1" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_GeographyEliminationsMember_019c2e61-0a9a-7ede-8f42-3e49d9915450" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_GeographyEliminationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019c2e61-0a9a-7825-8a6e-03d229e51ec1" xlink:to="loc_srt_GeographyEliminationsMember_019c2e61-0a9a-7ede-8f42-3e49d9915450" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ReportableGeographicalComponentsMember_019c2e61-0a9a-75ff-8ba1-32d24922bbe5" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ReportableGeographicalComponentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ConsolidationItemsDomain_019c2e61-0a9a-7825-8a6e-03d229e51ec1" xlink:to="loc_srt_ReportableGeographicalComponentsMember_019c2e61-0a9a-75ff-8ba1-32d24922bbe5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionAxis_019c2e61-0a9a-7958-9cd4-61ab07352ef2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c2e61-0a9a-7e03-961c-92abe0f69f38" xlink:to="loc_us-gaap_GeographicDistributionAxis_019c2e61-0a9a-7958-9cd4-61ab07352ef2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_019c2e61-0a9a-7958-9cd4-61ab07352ef2_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GeographicDistributionAxis_019c2e61-0a9a-7958-9cd4-61ab07352ef2" xlink:to="loc_us-gaap_GeographicDistributionDomain_019c2e61-0a9a-7958-9cd4-61ab07352ef2_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomain_019c2e61-0a9a-7f2f-94ca-d5e271f94fe8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GeographicDistributionAxis_019c2e61-0a9a-7958-9cd4-61ab07352ef2" xlink:to="loc_us-gaap_GeographicDistributionDomain_019c2e61-0a9a-7f2f-94ca-d5e271f94fe8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionDomesticMember_019c2e61-0a9a-71b1-85fb-f96c2608b746" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionDomesticMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_019c2e61-0a9a-7f2f-94ca-d5e271f94fe8" xlink:to="loc_us-gaap_GeographicDistributionDomesticMember_019c2e61-0a9a-71b1-85fb-f96c2608b746" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicDistributionForeignMember_019c2e61-0a9a-73b8-aba2-b344cb67b6b5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicDistributionForeignMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GeographicDistributionDomain_019c2e61-0a9a-7f2f-94ca-d5e271f94fe8" xlink:to="loc_us-gaap_GeographicDistributionForeignMember_019c2e61-0a9a-73b8-aba2-b344cb67b6b5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_EndApplicationAxis_019c2e61-0a9a-7a06-882c-c8cd2fd6c5fc" xlink:href="mrcy-20260327.xsd#mrcy_EndApplicationAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c2e61-0a9a-7e03-961c-92abe0f69f38" xlink:to="loc_mrcy_EndApplicationAxis_019c2e61-0a9a-7a06-882c-c8cd2fd6c5fc" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7a06-882c-c8cd2fd6c5fc_default" xlink:href="mrcy-20260327.xsd#mrcy_EndApplicationsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_mrcy_EndApplicationAxis_019c2e61-0a9a-7a06-882c-c8cd2fd6c5fc" xlink:to="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7a06-882c-c8cd2fd6c5fc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7c16-941f-7998c717a2be" xlink:href="mrcy-20260327.xsd#mrcy_EndApplicationsDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_mrcy_EndApplicationAxis_019c2e61-0a9a-7a06-882c-c8cd2fd6c5fc" xlink:to="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7c16-941f-7998c717a2be" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_TotalSensorAndEffectorApplicationsMember_019c2e61-0a9a-7aa0-8983-77fd2cc404dc" xlink:href="mrcy-20260327.xsd#mrcy_TotalSensorAndEffectorApplicationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7c16-941f-7998c717a2be" xlink:to="loc_mrcy_TotalSensorAndEffectorApplicationsMember_019c2e61-0a9a-7aa0-8983-77fd2cc404dc" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_RadarMember_019c2e61-0a9a-7d4f-8f0e-da1adbed75fb" xlink:href="mrcy-20260327.xsd#mrcy_RadarMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_TotalSensorAndEffectorApplicationsMember_019c2e61-0a9a-7aa0-8983-77fd2cc404dc" xlink:to="loc_mrcy_RadarMember_019c2e61-0a9a-7d4f-8f0e-da1adbed75fb" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ElectronicWarfareMember_019c2e61-0a9a-73df-9389-f4e6ebd624e5" xlink:href="mrcy-20260327.xsd#mrcy_ElectronicWarfareMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_TotalSensorAndEffectorApplicationsMember_019c2e61-0a9a-7aa0-8983-77fd2cc404dc" xlink:to="loc_mrcy_ElectronicWarfareMember_019c2e61-0a9a-73df-9389-f4e6ebd624e5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_OtherSensorAndEffectorApplicationsMember_019c2e61-0a9a-7779-9272-004c38400ccd" xlink:href="mrcy-20260327.xsd#mrcy_OtherSensorAndEffectorApplicationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_TotalSensorAndEffectorApplicationsMember_019c2e61-0a9a-7aa0-8983-77fd2cc404dc" xlink:to="loc_mrcy_OtherSensorAndEffectorApplicationsMember_019c2e61-0a9a-7779-9272-004c38400ccd" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_C4IApplicationsMember_019c2e61-0a9a-7b72-8c08-9a4943a16e4d" xlink:href="mrcy-20260327.xsd#mrcy_C4IApplicationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7c16-941f-7998c717a2be" xlink:to="loc_mrcy_C4IApplicationsMember_019c2e61-0a9a-7b72-8c08-9a4943a16e4d" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_OtherEndApplicationsMember_019c2e61-0a9a-76a2-98be-6f8fc07c560b" xlink:href="mrcy-20260327.xsd#mrcy_OtherEndApplicationsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_EndApplicationsDomain_019c2e61-0a9a-7c16-941f-7998c717a2be" xlink:to="loc_mrcy_OtherEndApplicationsMember_019c2e61-0a9a-76a2-98be-6f8fc07c560b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019c2e61-0a9a-7e1c-a1dd-6bdbf718e354" 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_ScheduleOfRevenuesFromExternalCustomersAndLongLivedAssetsTable_019c2e61-0a9a-7e03-961c-92abe0f69f38" xlink:to="loc_srt_ProductOrServiceAxis_019c2e61-0a9a-7e1c-a1dd-6bdbf718e354" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7e1c-a1dd-6bdbf718e354_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_019c2e61-0a9a-7e1c-a1dd-6bdbf718e354" xlink:to="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7e1c-a1dd-6bdbf718e354_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7152-ba5c-ce9ad6a02895" 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_019c2e61-0a9a-7e1c-a1dd-6bdbf718e354" xlink:to="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7152-ba5c-ce9ad6a02895" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ComponentsMember_019c2e61-0a9a-7649-8790-6153c286d817" xlink:href="mrcy-20260327.xsd#mrcy_ComponentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7152-ba5c-ce9ad6a02895" xlink:to="loc_mrcy_ComponentsMember_019c2e61-0a9a-7649-8790-6153c286d817" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ModulesAndSubAssembliesMember_019c2e61-0a9a-7b98-9ab5-6a7f33e28807" xlink:href="mrcy-20260327.xsd#mrcy_ModulesAndSubAssembliesMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7152-ba5c-ce9ad6a02895" xlink:to="loc_mrcy_ModulesAndSubAssembliesMember_019c2e61-0a9a-7b98-9ab5-6a7f33e28807" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_IntegratedSubsystemsMember_019c2e61-0a9a-7041-bb54-0915a595e831" xlink:href="mrcy-20260327.xsd#mrcy_IntegratedSubsystemsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7152-ba5c-ce9ad6a02895" xlink:to="loc_mrcy_IntegratedSubsystemsMember_019c2e61-0a9a-7041-bb54-0915a595e831" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019c2e61-0a9a-79c9-a025-6d4d356c6bfd" 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_SegmentReportingRevenueReconcilingItemLineItems_019c2e61-0a9a-7afa-a6b9-bb1a795ca453" xlink:to="loc_us-gaap_Revenues_019c2e61-0a9a-79c9-a025-6d4d356c6bfd" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncurrentAssets_019c2e61-0a9a-7385-ba91-b6a50db41689" 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_SegmentReportingRevenueReconcilingItemLineItems_019c2e61-0a9a-7afa-a6b9-bb1a795ca453" xlink:to="loc_us-gaap_NoncurrentAssets_019c2e61-0a9a-7385-ba91-b6a50db41689" xlink:type="arc" order="1"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/OperatingSegmentGeographicInformationandSignificantCustomersScheduleofRevenueByPlatformDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#OperatingSegmentGeographicInformationandSignificantCustomersScheduleofRevenueByPlatformDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/OperatingSegmentGeographicInformationandSignificantCustomersScheduleofRevenueByPlatformDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_019c2e61-0a9a-745e-bfc0-e145f404592d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_019c2e61-0a9a-74ae-a7bb-a1052da280ab" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideInformationRevenueFromExternalCustomerLineItems_019c2e61-0a9a-745e-bfc0-e145f404592d" xlink:to="loc_us-gaap_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_019c2e61-0a9a-74ae-a7bb-a1052da280ab" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis_019c2e61-0a9a-768f-ad35-8159e6f008c3" 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_ScheduleOfEntityWideInformationRevenueFromExternalCustomersByProductsAndServicesTable_019c2e61-0a9a-74ae-a7bb-a1052da280ab" xlink:to="loc_srt_ProductOrServiceAxis_019c2e61-0a9a-768f-ad35-8159e6f008c3" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-768f-ad35-8159e6f008c3_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_019c2e61-0a9a-768f-ad35-8159e6f008c3" xlink:to="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-768f-ad35-8159e6f008c3_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" 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_019c2e61-0a9a-768f-ad35-8159e6f008c3" xlink:to="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_AirborneMember_019c2e61-0a9a-7d00-8a29-f4a91803f186" xlink:href="mrcy-20260327.xsd#mrcy_AirborneMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" xlink:to="loc_mrcy_AirborneMember_019c2e61-0a9a-7d00-8a29-f4a91803f186" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LandMember_019c2e61-0a9a-7a9b-bf65-9ce2f765199e" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LandMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" xlink:to="loc_us-gaap_LandMember_019c2e61-0a9a-7a9b-bf65-9ce2f765199e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_NavalMember_019c2e61-0a9a-76a6-a8ff-d1d42fecd4bf" xlink:href="mrcy-20260327.xsd#mrcy_NavalMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" xlink:to="loc_mrcy_NavalMember_019c2e61-0a9a-76a6-a8ff-d1d42fecd4bf" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SpaceMember_019c2e61-0a9a-7a98-b99e-7221610a812e" xlink:href="mrcy-20260327.xsd#mrcy_SpaceMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" xlink:to="loc_mrcy_SpaceMember_019c2e61-0a9a-7a98-b99e-7221610a812e" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProductAndServiceOtherMember_019c2e61-0a9a-7ce7-9c22-b42d667f914a" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProductAndServiceOtherMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_ProductsAndServicesDomain_019c2e61-0a9a-7f2a-abaf-853323d22ee9" xlink:to="loc_us-gaap_ProductAndServiceOtherMember_019c2e61-0a9a-7ce7-9c22-b42d667f914a" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Revenues_019c2e61-0a9a-7fb5-b503-05d2c6e95be8" 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_EntityWideInformationRevenueFromExternalCustomerLineItems_019c2e61-0a9a-745e-bfc0-e145f404592d" xlink:to="loc_us-gaap_Revenues_019c2e61-0a9a-7fb5-b503-05d2c6e95be8" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/OperatingSegmentGeographicInformationandSignificantCustomersScheduleofRevenuebyMajorCustomersDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#OperatingSegmentGeographicInformationandSignificantCustomersScheduleofRevenuebyMajorCustomersDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/OperatingSegmentGeographicInformationandSignificantCustomersScheduleofRevenuebyMajorCustomersDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_019c2e61-0a9a-7cc5-b0f5-a9056080d163" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EntityWideRevenueMajorCustomerLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_019c2e61-0a9a-74ee-bb00-306fde497618" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_EntityWideRevenueMajorCustomerLineItems_019c2e61-0a9a-7cc5-b0f5-a9056080d163" xlink:to="loc_us-gaap_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_019c2e61-0a9a-74ee-bb00-306fde497618" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c2e61-0a9a-7655-b392-8641da6b199f" 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_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_019c2e61-0a9a-74ee-bb00-306fde497618" xlink:to="loc_us-gaap_ConcentrationRiskByBenchmarkAxis_019c2e61-0a9a-7655-b392-8641da6b199f" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c2e61-0a9a-7655-b392-8641da6b199f_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_019c2e61-0a9a-7655-b392-8641da6b199f" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c2e61-0a9a-7655-b392-8641da6b199f_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c2e61-0a9a-799c-b2e2-b96dfd2cf20e" 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_019c2e61-0a9a-7655-b392-8641da6b199f" xlink:to="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c2e61-0a9a-799c-b2e2-b96dfd2cf20e" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SalesRevenueNetMember_019c2e61-0a9a-7faa-a1ae-76e9916ac8e5" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SalesRevenueNetMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain_019c2e61-0a9a-799c-b2e2-b96dfd2cf20e" xlink:to="loc_us-gaap_SalesRevenueNetMember_019c2e61-0a9a-7faa-a1ae-76e9916ac8e5" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis_019c2e61-0a9a-7ddb-b243-8ac250ff0338" 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_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_019c2e61-0a9a-74ee-bb00-306fde497618" xlink:to="loc_us-gaap_ConcentrationRiskByTypeAxis_019c2e61-0a9a-7ddb-b243-8ac250ff0338" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c2e61-0a9a-7ddb-b243-8ac250ff0338_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_019c2e61-0a9a-7ddb-b243-8ac250ff0338" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c2e61-0a9a-7ddb-b243-8ac250ff0338_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain_019c2e61-0a9a-7078-97de-a3176bbd33ef" 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_019c2e61-0a9a-7ddb-b243-8ac250ff0338" xlink:to="loc_us-gaap_ConcentrationRiskTypeDomain_019c2e61-0a9a-7078-97de-a3176bbd33ef" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CustomerConcentrationRiskMember_019c2e61-0a9a-7f89-87c6-c612de4dd15a" 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_019c2e61-0a9a-7078-97de-a3176bbd33ef" xlink:to="loc_us-gaap_CustomerConcentrationRiskMember_019c2e61-0a9a-7f89-87c6-c612de4dd15a" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MajorCustomersAxis_019c2e61-0a9a-75cb-a030-45034cfd83dc" 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_ScheduleOfEntityWideRevenueByMajorCustomersByReportingSegmentsTable_019c2e61-0a9a-74ee-bb00-306fde497618" xlink:to="loc_srt_MajorCustomersAxis_019c2e61-0a9a-75cb-a030-45034cfd83dc" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019c2e61-0a9a-75cb-a030-45034cfd83dc_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_019c2e61-0a9a-75cb-a030-45034cfd83dc" xlink:to="loc_srt_NameOfMajorCustomerDomain_019c2e61-0a9a-75cb-a030-45034cfd83dc_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_NameOfMajorCustomerDomain_019c2e61-0a9a-7d31-9112-6fd5c69fcc34" 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_019c2e61-0a9a-75cb-a030-45034cfd83dc" xlink:to="loc_srt_NameOfMajorCustomerDomain_019c2e61-0a9a-7d31-9112-6fd5c69fcc34" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_MajorCustomersMember_019c2e61-0a9a-7eb0-b749-273be39a0aaa" xlink:href="mrcy-20260327.xsd#mrcy_MajorCustomersMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_NameOfMajorCustomerDomain_019c2e61-0a9a-7d31-9112-6fd5c69fcc34" xlink:to="loc_mrcy_MajorCustomersMember_019c2e61-0a9a-7eb0-b749-273be39a0aaa" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_RaytheonCompanyMember_019c2e61-0a9a-762f-8933-de4e7237ce80" xlink:href="mrcy-20260327.xsd#mrcy_RaytheonCompanyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_MajorCustomersMember_019c2e61-0a9a-7eb0-b749-273be39a0aaa" xlink:to="loc_mrcy_RaytheonCompanyMember_019c2e61-0a9a-762f-8933-de4e7237ce80" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_NorthropGrummanCorporationMember_019c2e61-0a9a-7d92-914c-161e73ce791f" xlink:href="mrcy-20260327.xsd#mrcy_NorthropGrummanCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_MajorCustomersMember_019c2e61-0a9a-7eb0-b749-273be39a0aaa" xlink:to="loc_mrcy_NorthropGrummanCorporationMember_019c2e61-0a9a-7d92-914c-161e73ce791f" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LockheedMartinCorporationMember_019c2e61-0a9a-75b2-a7b6-64c832193954" xlink:href="mrcy-20260327.xsd#mrcy_LockheedMartinCorporationMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_MajorCustomersMember_019c2e61-0a9a-7eb0-b749-273be39a0aaa" xlink:to="loc_mrcy_LockheedMartinCorporationMember_019c2e61-0a9a-75b2-a7b6-64c832193954" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_USNavyMember_019c2e61-0a9a-70eb-8a44-049395bcc01e" xlink:href="mrcy-20260327.xsd#mrcy_USNavyMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_mrcy_MajorCustomersMember_019c2e61-0a9a-7eb0-b749-273be39a0aaa" xlink:to="loc_mrcy_USNavyMember_019c2e61-0a9a-70eb-8a44-049395bcc01e" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1_019c2e61-0a9a-78ec-95ee-d423cbd28c70" 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_EntityWideRevenueMajorCustomerLineItems_019c2e61-0a9a-7cc5-b0f5-a9056080d163" xlink:to="loc_us-gaap_ConcentrationRiskPercentage1_019c2e61-0a9a-78ec-95ee-d423cbd28c70" xlink:type="arc" order="0"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/CommitmentsAndContingenciesDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#CommitmentsAndContingenciesDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/CommitmentsAndContingenciesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_019c2e61-0a9a-7ad7-9e29-1163eeb15c66" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_019c2e61-0a9a-7ad7-9e29-1163eeb15c66" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_019c2e61-0a9a-71ae-8b11-dcb18a117b67" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_019c2e61-0a9a-7ad7-9e29-1163eeb15c66" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_019c2e61-0a9a-71ae-8b11-dcb18a117b67" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_019c2e61-0a9a-71ae-8b11-dcb18a117b67_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_019c2e61-0a9a-71ae-8b11-dcb18a117b67" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_019c2e61-0a9a-71ae-8b11-dcb18a117b67_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_019c2e61-0a9a-79b4-ac69-fa75a039caa7" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentByCategoryOfItemPurchasedAxis_019c2e61-0a9a-71ae-8b11-dcb18a117b67" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_019c2e61-0a9a-79b4-ac69-fa75a039caa7" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_NonCancelablePurchaseCommitmentsMember_019c2e61-0a9a-7d06-ab25-d5b6e231f77e" xlink:href="mrcy-20260327.xsd#mrcy_NonCancelablePurchaseCommitmentsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentCategoryOfItemPurchasedDomain_019c2e61-0a9a-79b4-ac69-fa75a039caa7" xlink:to="loc_mrcy_NonCancelablePurchaseCommitmentsMember_019c2e61-0a9a-7d06-ab25-d5b6e231f77e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseAxis_019c2e61-0a9a-798c-a899-91cf47424cc5" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_019c2e61-0a9a-7ad7-9e29-1163eeb15c66" xlink:to="loc_srt_LitigationCaseAxis_019c2e61-0a9a-798c-a899-91cf47424cc5" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-798c-a899-91cf47424cc5_default" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_srt_LitigationCaseAxis_019c2e61-0a9a-798c-a899-91cf47424cc5" xlink:to="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-798c-a899-91cf47424cc5_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-714c-b693-4a8a4571aecd" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseTypeDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_srt_LitigationCaseAxis_019c2e61-0a9a-798c-a899-91cf47424cc5" xlink:to="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-714c-b693-4a8a4571aecd" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_FormerCEOMember_019c2e61-0a9a-7229-a529-2799456c93a0" xlink:href="mrcy-20260327.xsd#mrcy_FormerCEOMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-714c-b693-4a8a4571aecd" xlink:to="loc_mrcy_FormerCEOMember_019c2e61-0a9a-7229-a529-2799456c93a0" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_CarpentersPensionTrustFundForNorthernCaliforniaMember_019c2e61-0a9a-7a49-ab45-61e71550f5e0" xlink:href="mrcy-20260327.xsd#mrcy_CarpentersPensionTrustFundForNorthernCaliforniaMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-714c-b693-4a8a4571aecd" xlink:to="loc_mrcy_CarpentersPensionTrustFundForNorthernCaliforniaMember_019c2e61-0a9a-7a49-ab45-61e71550f5e0" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_FormerEmployeeMember_019c2e61-0a9a-7abd-b028-348a0e1864ec" xlink:href="mrcy-20260327.xsd#mrcy_FormerEmployeeMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-714c-b693-4a8a4571aecd" xlink:to="loc_mrcy_FormerEmployeeMember_019c2e61-0a9a-7abd-b028-348a0e1864ec" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_ProductPerformanceSpecificationsUnderSubcontractsMember_019c2e61-0a9a-7631-8c03-09437f50daa2" xlink:href="mrcy-20260327.xsd#mrcy_ProductPerformanceSpecificationsUnderSubcontractsMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_srt_LitigationCaseTypeDomain_019c2e61-0a9a-714c-b693-4a8a4571aecd" xlink:to="loc_mrcy_ProductPerformanceSpecificationsUnderSubcontractsMember_019c2e61-0a9a-7631-8c03-09437f50daa2" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019c2e61-0a9a-7513-9f03-12f5b06b4f51" 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_LongTermPurchaseCommitmentTable_019c2e61-0a9a-7ad7-9e29-1163eeb15c66" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019c2e61-0a9a-7513-9f03-12f5b06b4f51" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019c2e61-0a9a-7513-9f03-12f5b06b4f51_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_019c2e61-0a9a-7513-9f03-12f5b06b4f51" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019c2e61-0a9a-7513-9f03-12f5b06b4f51_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019c2e61-0a9a-74b7-b607-7ab429cf8b03" 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_019c2e61-0a9a-7513-9f03-12f5b06b4f51" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019c2e61-0a9a-74b7-b607-7ab429cf8b03" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019c2e61-0a9a-71c9-a275-f11319ae5fca" 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_019c2e61-0a9a-74b7-b607-7ab429cf8b03" xlink:to="loc_us-gaap_SubsequentEventMember_019c2e61-0a9a-71c9-a275-f11319ae5fca" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_019c2e61-0a9a-79cc-8322-e87171dfb46b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LitigationSettlementAmountAwardedToOtherParty"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_us-gaap_LitigationSettlementAmountAwardedToOtherParty_019c2e61-0a9a-79cc-8322-e87171dfb46b" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyAmendmentFilingPeriod_019c2e61-0a9a-79f0-a3dd-05d1d90c6ac2" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyAmendmentFilingPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyAmendmentFilingPeriod_019c2e61-0a9a-79f0-a3dd-05d1d90c6ac2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyNumberOfClaimsDismissed_019c2e61-0a9a-7754-87fe-cd77bb44ee29" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyNumberOfClaimsDismissed"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyNumberOfClaimsDismissed_019c2e61-0a9a-7754-87fe-cd77bb44ee29" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyTotalNumberOfClaimsChallenged_019c2e61-0a9a-7098-b3fb-61103ad39c29" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyTotalNumberOfClaimsChallenged"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyTotalNumberOfClaimsChallenged_019c2e61-0a9a-7098-b3fb-61103ad39c29" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyNumberOfRemainingClaimsChallenged_019c2e61-0a9a-7327-b9e1-f6c53606398c" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyNumberOfRemainingClaimsChallenged"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyNumberOfRemainingClaimsChallenged_019c2e61-0a9a-7327-b9e1-f6c53606398c" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyNumberOfFundsRequestingExclusionFromClass_019de3c7-2d14-7d50-85a3-da9c3c8269c3" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyNumberOfFundsRequestingExclusionFromClass"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyNumberOfFundsRequestingExclusionFromClass_019de3c7-2d14-7d50-85a3-da9c3c8269c3" xlink:type="arc" order="5"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyFundsRequestingExclusionFromClassPercentageOfTotal_019de3c7-abc2-76fc-87e2-baf58cacc872" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyFundsRequestingExclusionFromClassPercentageOfTotal"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyFundsRequestingExclusionFromClassPercentageOfTotal_019de3c7-abc2-76fc-87e2-baf58cacc872" xlink:type="arc" order="6"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesAwardedValue_019c2e61-0a9a-7ca9-b7c5-714db5071705" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyDamagesAwardedValue"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_us-gaap_LossContingencyDamagesAwardedValue_019c2e61-0a9a-7ca9-b7c5-714db5071705" xlink:type="arc" order="7"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingencyDamagesAwardedValue_019c2e61-0a9a-7b27-a827-de78f7ca1aa9" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingencyDamagesAwardedValue"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyTotalRevenueOfSubcontracts_019c2e61-0a9a-73dd-a56e-df28453a0e71" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyTotalRevenueOfSubcontracts"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyTotalRevenueOfSubcontracts_019c2e61-0a9a-73dd-a56e-df28453a0e71" xlink:type="arc" order="9"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_LossContingencyRevenueRecognizedPeriod_019c2e61-0a9a-76f1-b7e2-b276d9669033" xlink:href="mrcy-20260327.xsd#mrcy_LossContingencyRevenueRecognizedPeriod"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_mrcy_LossContingencyRevenueRecognizedPeriod_019c2e61-0a9a-76f1-b7e2-b276d9669033" xlink:type="arc" order="10"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted_019c2e61-0a9a-7a7b-ab5b-85ecca417b63" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_019c2e61-0a9a-7fcd-9d96-b9f8c8be96f9" xlink:to="loc_us-gaap_PurchaseCommitmentRemainingMinimumAmountCommitted_019c2e61-0a9a-7a7b-ab5b-85ecca417b63" xlink:type="arc" order="11"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/DerivativesDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#DerivativesDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/DerivativesDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems_019c2e61-0a9a-75d7-bff2-b5d2df30ecd2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable_019c2e61-0a9a-7dee-ba2e-ff5ae0b47d62" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_019c2e61-0a9a-75d7-bff2-b5d2df30ecd2" xlink:to="loc_us-gaap_DerivativeTable_019c2e61-0a9a-7dee-ba2e-ff5ae0b47d62" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_019c2e61-0a9a-78de-8c1e-6dec4ba1fe01" 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_DerivativeTable_019c2e61-0a9a-7dee-ba2e-ff5ae0b47d62" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_019c2e61-0a9a-78de-8c1e-6dec4ba1fe01" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-0a9a-78de-8c1e-6dec4ba1fe01_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_019c2e61-0a9a-78de-8c1e-6dec4ba1fe01" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-0a9a-78de-8c1e-6dec4ba1fe01_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-0a9a-78da-b73b-e91ccbf158bf" 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_019c2e61-0a9a-78de-8c1e-6dec4ba1fe01" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-0a9a-78da-b73b-e91ccbf158bf" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateSwapMember_019c2e61-0a9a-7055-9193-a9bd310998f2" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateSwapMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_019c2e61-0a9a-78da-b73b-e91ccbf158bf" xlink:to="loc_us-gaap_InterestRateSwapMember_019c2e61-0a9a-7055-9193-a9bd310998f2" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameAxis_019c2e61-0a9a-718d-a608-49b35fab77ee" 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_DerivativeTable_019c2e61-0a9a-7dee-ba2e-ff5ae0b47d62" xlink:to="loc_us-gaap_PlanNameAxis_019c2e61-0a9a-718d-a608-49b35fab77ee" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-718d-a608-49b35fab77ee_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_019c2e61-0a9a-718d-a608-49b35fab77ee" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-718d-a608-49b35fab77ee_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-79a5-ae10-9b0c6d496bf2" 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_019c2e61-0a9a-718d-a608-49b35fab77ee" xlink:to="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-79a5-ae10-9b0c6d496bf2" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_mrcy_SwapAgreementMember_019c2e61-0a9a-74ca-bbb8-00d041cc161e" xlink:href="mrcy-20260327.xsd#mrcy_SwapAgreementMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PlanNameDomain_019c2e61-0a9a-79a5-ae10-9b0c6d496bf2" xlink:to="loc_mrcy_SwapAgreementMember_019c2e61-0a9a-74ca-bbb8-00d041cc161e" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_019c2e61-0a9a-7e49-bdd4-b4820f2fcc80" 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_us-gaap_DerivativeTable_019c2e61-0a9a-7dee-ba2e-ff5ae0b47d62" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_019c2e61-0a9a-7e49-bdd4-b4820f2fcc80" xlink:type="arc" order="3"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-0a9a-7e49-bdd4-b4820f2fcc80_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_019c2e61-0a9a-7e49-bdd4-b4820f2fcc80" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-0a9a-7e49-bdd4-b4820f2fcc80_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c2e61-0a9a-7cd6-9f27-343473c86582" 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_019c2e61-0a9a-7e49-bdd4-b4820f2fcc80" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_019c2e61-0a9a-7cd6-9f27-343473c86582" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-0a9a-7ad1-88e5-cc0472374a11" 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_019c2e61-0a9a-7cd6-9f27-343473c86582" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_019c2e61-0a9a-7ad1-88e5-cc0472374a11" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c2e61-0a9a-78c0-a617-70e476f3a6a5" 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_019c2e61-0a9a-7ad1-88e5-cc0472374a11" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_019c2e61-0a9a-78c0-a617-70e476f3a6a5" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-0a9a-706b-9176-8ecdf593d3d1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_019c2e61-0a9a-7dee-ba2e-ff5ae0b47d62" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-0a9a-706b-9176-8ecdf593d3d1" xlink:type="arc" order="4"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-0a9a-706b-9176-8ecdf593d3d1_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-0a9a-706b-9176-8ecdf593d3d1" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-0a9a-706b-9176-8ecdf593d3d1_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-0a9a-795b-83bf-00ccb4a53160" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_019c2e61-0a9a-706b-9176-8ecdf593d3d1" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-0a9a-795b-83bf-00ccb4a53160" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_019c2e61-0a9a-7422-a743-81479342b990" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_019c2e61-0a9a-795b-83bf-00ccb4a53160" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_019c2e61-0a9a-7422-a743-81479342b990" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount_019c2e61-0a9a-7fe7-b79b-918395d71487" 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_DerivativeLineItems_019c2e61-0a9a-75d7-bff2-b5d2df30ecd2" xlink:to="loc_us-gaap_DerivativeNotionalAmount_019c2e61-0a9a-7fe7-b79b-918395d71487" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_019c2e61-0a9a-7bf8-b21f-3498593d8c74" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_019c2e61-0a9a-75d7-bff2-b5d2df30ecd2" xlink:to="loc_us-gaap_SecuredLongTermDebt_019c2e61-0a9a-7bf8-b21f-3498593d8c74" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_019c2e61-0a9a-7e0d-a8d8-e4c30b4ffea4" 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_DerivativeLineItems_019c2e61-0a9a-75d7-bff2-b5d2df30ecd2" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_019c2e61-0a9a-7e0d-a8d8-e4c30b4ffea4" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnrealizedGainLossOnDerivatives_019c2e61-0a9a-76db-8dd6-ecedb84ccb6c" 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_DerivativeLineItems_019c2e61-0a9a-75d7-bff2-b5d2df30ecd2" xlink:to="loc_us-gaap_UnrealizedGainLossOnDerivatives_019c2e61-0a9a-76db-8dd6-ecedb84ccb6c" xlink:type="arc" order="3"/>
  </link:definitionLink>
  <link:roleRef roleURI="http://www.mrcy.com/role/SubsequentEventsDetails" xlink:type="simple" xlink:href="mrcy-20260327.xsd#SubsequentEventsDetails"/>
  <link:definitionLink xlink:role="http://www.mrcy.com/role/SubsequentEventsDetails" xlink:type="extended">
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventLineItems_019de3ce-91c3-7e31-b5a4-2779455b3dc1" 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_019de3ce-91c3-7a25-afd7-2a174990ba90" 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_019de3ce-91c3-7e31-b5a4-2779455b3dc1" xlink:to="loc_us-gaap_SubsequentEventTable_019de3ce-91c3-7a25-afd7-2a174990ba90" xlink:type="arc" order="1" xbrldt:closed="true" xbrldt:contextElement="segment"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeAxis_019de3ce-91c3-7b2a-a8ec-f7e4cf524297" 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_019de3ce-91c3-7a25-afd7-2a174990ba90" xlink:to="loc_us-gaap_SubsequentEventTypeAxis_019de3ce-91c3-7b2a-a8ec-f7e4cf524297" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019de3ce-91c3-7b2a-a8ec-f7e4cf524297_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_019de3ce-91c3-7b2a-a8ec-f7e4cf524297" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019de3ce-91c3-7b2a-a8ec-f7e4cf524297_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventTypeDomain_019de3ce-91c3-72f0-a8af-eee979df15ab" 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_019de3ce-91c3-7b2a-a8ec-f7e4cf524297" xlink:to="loc_us-gaap_SubsequentEventTypeDomain_019de3ce-91c3-72f0-a8af-eee979df15ab" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubsequentEventMember_019de3ce-daf7-7e23-b3e3-27afba8cffc8" 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_019de3ce-91c3-72f0-a8af-eee979df15ab" xlink:to="loc_us-gaap_SubsequentEventMember_019de3ce-daf7-7e23-b3e3-27afba8cffc8" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityAxis_019de3ce-ede7-73bc-8fd0-437d98ce4e5b" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityAxis"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_SubsequentEventTable_019de3ce-91c3-7a25-afd7-2a174990ba90" xlink:to="loc_us-gaap_CreditFacilityAxis_019de3ce-ede7-73bc-8fd0-437d98ce4e5b" xlink:type="arc" order="2"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019de3ce-ede7-73bc-8fd0-437d98ce4e5b_default" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditFacilityAxis_019de3ce-ede7-73bc-8fd0-437d98ce4e5b" xlink:to="loc_us-gaap_CreditFacilityDomain_019de3ce-ede7-73bc-8fd0-437d98ce4e5b_default" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditFacilityDomain_019de3ce-ede7-7678-b355-bd62a84733b8" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditFacilityDomain"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditFacilityAxis_019de3ce-ede7-73bc-8fd0-437d98ce4e5b" xlink:to="loc_us-gaap_CreditFacilityDomain_019de3ce-ede7-7678-b355-bd62a84733b8" xlink:type="arc" order="1"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_019de3cf-2ca0-7022-b466-6d4e2816157d" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevolvingCreditFacilityMember"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CreditFacilityDomain_019de3ce-ede7-7678-b355-bd62a84733b8" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_019de3cf-2ca0-7022-b466-6d4e2816157d" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfLinesOfCredit_019de3ce-91c3-7f36-8316-2d1d0fcd55d4" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfLinesOfCredit"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019de3ce-91c3-7e31-b5a4-2779455b3dc1" xlink:to="loc_us-gaap_RepaymentsOfLinesOfCredit_019de3ce-91c3-7f36-8316-2d1d0fcd55d4" xlink:type="arc" order="0"/>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredLongTermDebt_019de3cf-c01c-764e-a9e1-8a75f8ec8770" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredLongTermDebt"/>
    <link:definitionArc xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SubsequentEventLineItems_019de3ce-91c3-7e31-b5a4-2779455b3dc1" xlink:to="loc_us-gaap_SecuredLongTermDebt_019de3cf-c01c-764e-a9e1-8a75f8ec8770" xlink:type="arc" order="1"/>
  </link:definitionLink>
</link:linkbase>
