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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:22fe33f5-24b6-49f6-a9d6-502a332bf35c,g:eef7807e-6746-4970-b382-34f71b0fc7df-->
<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" xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd">
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodStartLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/netLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/net-2009-12-16.xsd#netLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedNetLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedNetLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTerseLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedPeriodEndLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedLabel"/>
  <link:roleRef roleURI="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="simple" xlink:href="http://www.xbrl.org/lrr/role/negated-2009-12-16.xsd#negatedTotalLabel"/>
  <link:labelLink xlink:role="http://www.xbrl.org/2003/role/link" xlink:type="extended">
    <link:label id="lab_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract_c40e3a33-feff-4718-8a0b-eb8dc40db8ef_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, before Allowance for Credit Loss, by Origination Year [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract" xlink:to="lab_us-gaap_FinancingReceivableBeforeAllowanceForCreditLossByOriginationYearAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RestatementAxis_019b0e66-bfa7-71a2-99dd-15339ceef810_terseLabel_en-US" xlink:label="lab_srt_RestatementAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revision of Prior Period [Axis]</link:label>
    <link:label id="lab_srt_RestatementAxis_label_en-US" xlink:label="lab_srt_RestatementAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revision of Prior Period [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementAxis" xlink:to="lab_srt_RestatementAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SingleFamilySegmentMember_88512845-c466-4d13-aacb-ecc5b8df5d6d_terseLabel_en-US" xlink:label="lab_fnm_SingleFamilySegmentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single-Family</link:label>
    <link:label id="lab_fnm_SingleFamilySegmentMember_label_en-US" xlink:label="lab_fnm_SingleFamilySegmentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Single Family Segment [Member]</link:label>
    <link:label id="lab_fnm_SingleFamilySegmentMember_documentation_en-US" xlink:label="lab_fnm_SingleFamilySegmentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Single Family Segment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SingleFamilySegmentMember" xlink:href="fnm-20251231.xsd#fnm_SingleFamilySegmentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SingleFamilySegmentMember" xlink:to="lab_fnm_SingleFamilySegmentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_2845cec9-24ca-4be7-8af9-8580af5a7c12_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Investments in Trading Securities [Line Items]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_label_en-US" xlink:label="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt and Equity Securities, FV-NI [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:to="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfShortTermDebtTextBlock_670d3ff2-d2e3-40ca-bf59-815ee9162214_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-Term Debt</link:label>
    <link:label id="lab_us-gaap_ScheduleOfShortTermDebtTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Short-Term Debt [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShortTermDebtTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:to="lab_us-gaap_ScheduleOfShortTermDebtTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_3c97ff1a-058a-4613-b2d1-e8ac5754cfd5_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash collateral posted for derivative instruments</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Subject to Master Netting Arrangement, Collateral, Obligation to Return Cash, Offset Against Derivative Asset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset" xlink:to="lab_us-gaap_DerivativeAssetCollateralObligationToReturnCashOffset" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardTmgPredtrmndFlag_terseLabel_en-US" xlink:label="lab_ecd_AwardTmgPredtrmndFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Timing Predetermined</link:label>
    <link:label id="lab_ecd_AwardTmgPredtrmndFlag_label_en-US" xlink:label="lab_ecd_AwardTmgPredtrmndFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Timing Predetermined [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardTmgPredtrmndFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardTmgPredtrmndFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardTmgPredtrmndFlag" xlink:to="lab_ecd_AwardTmgPredtrmndFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember_4c4dface-033f-4141-ba68-4866c1992240_terseLabel_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Less than or equal to 80%</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember_label_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Original Loan to Value Ratio Less than or Equal to Eighty Percent [Member]</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember_documentation_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents loans with an original loan-to-value ratio less than or equal to 80%.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember" xlink:href="fnm-20251231.xsd#fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember" xlink:to="lab_fnm_OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityFileNumber_c0840305-a763-4f2a-a9a6-37c2f3f86b67_terseLabel_en-US" xlink:label="lab_dei_EntityFileNumber" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity File Number</link:label>
    <link:label id="lab_dei_EntityFileNumber_label_en-US" xlink:label="lab_dei_EntityFileNumber" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity File Number</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFileNumber" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFileNumber"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFileNumber" xlink:to="lab_dei_EntityFileNumber" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_a2e57508-987c-4d1b-86e5-3c6331072de7_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Reclassification adjustment for gains (losses) included in net income, net of taxes</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Net of Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TabularListTableTextBlock_terseLabel_en-US" xlink:label="lab_ecd_TabularListTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tabular List, Table</link:label>
    <link:label id="lab_ecd_TabularListTableTextBlock_label_en-US" xlink:label="lab_ecd_TabularListTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Tabular List [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TabularListTableTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TabularListTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TabularListTableTextBlock" xlink:to="lab_ecd_TabularListTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InterestRateRiskOnDebtMember_94243f30-7a29-40a7-a323-10f50c7809f0_terseLabel_en-US" xlink:label="lab_fnm_InterestRateRiskOnDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest Rate Risk On Debt</link:label>
    <link:label id="lab_fnm_InterestRateRiskOnDebtMember_label_en-US" xlink:label="lab_fnm_InterestRateRiskOnDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Rate Risk On Debt [Member]</link:label>
    <link:label id="lab_fnm_InterestRateRiskOnDebtMember_documentation_en-US" xlink:label="lab_fnm_InterestRateRiskOnDebtMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Interest rate risk on debt</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InterestRateRiskOnDebtMember" xlink:href="fnm-20251231.xsd#fnm_InterestRateRiskOnDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InterestRateRiskOnDebtMember" xlink:to="lab_fnm_InterestRateRiskOnDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_f285b773-b7f8-4a56-9dc1-f3202250f5a1_terseLabel_en-US" xlink:label="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">New Accounting Guidance</link:label>
    <link:label id="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">New Accounting Pronouncements, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:to="lab_us-gaap_NewAccountingPronouncementsPolicyPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_a218be6a-2055-4980-9630-21068eebe595_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Related Party Transactions</link:label>
    <link:label id="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Related Party Transactions [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuredOvernightFinancingRateSofrMember_cd74a77a-a6d1-440a-a07d-3dbde811b4d1_terseLabel_en-US" xlink:label="lab_us-gaap_SecuredOvernightFinancingRateSofrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Secured Overnight Financing Rate (SOFR)</link:label>
    <link:label id="lab_us-gaap_SecuredOvernightFinancingRateSofrMember_label_en-US" xlink:label="lab_us-gaap_SecuredOvernightFinancingRateSofrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Secured Overnight Financing Rate (SOFR) [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuredOvernightFinancingRateSofrMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuredOvernightFinancingRateSofrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuredOvernightFinancingRateSofrMember" xlink:to="lab_us-gaap_SecuredOvernightFinancingRateSofrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock_4bb9257f-1fb2-4047-b2de-0a9ec9b6d6f8_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value of Financial Instruments</link:label>
    <link:label id="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock_label_en-US" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, by Balance Sheet Grouping [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:to="lab_us-gaap_FairValueByBalanceSheetGroupingTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember_9f233c67-69a2-4534-aa7b-905689744fa6_terseLabel_en-US" xlink:label="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forward contracts to sell mortgage-related securities</link:label>
    <link:label id="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember_label_en-US" xlink:label="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forward Contracts to Sell Mortgage-related Securities [Member]</link:label>
    <link:label id="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember_documentation_en-US" xlink:label="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents forward contract/commitment to sell mortgage-related securities.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember" xlink:href="fnm-20251231.xsd#fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember" xlink:to="lab_fnm_ForwardContractsToSellMortgageRelatedSecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable_23b9eeb1-5483-4c0d-8cc4-8e559bab0233_terseLabel_en-US" xlink:label="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurements Using Significant Unobservable Inputs (Level3) [Table]</link:label>
    <link:label id="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable_label_en-US" xlink:label="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Assets and Liabilities Measured on Recurring Basis Unobservable Input Reconciliation Table [Table]</link:label>
    <link:label id="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable_documentation_en-US" xlink:label="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Summarization of information required and determined to be provided for purposes of reconciling beginning and ending balances of fair value measurements of assets and liabilities using significant unobservable inputs (Level 3). Such reconciliation, separately presenting changes during the period, at a minimum, may include: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets or liabilities), and a description of where those gains or losses included in earnings (or changes in net assets or liabilities) are reported in the statement of income (or activities); (2) purchases, sales, issuances, and settlements (net); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs).</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable" xlink:href="fnm-20251231.xsd#fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable" xlink:to="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteeObligationsMaximumExposure_8aadae0b-dd53-47d5-b04b-84db4f5c6347_terseLabel_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsMaximumExposure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum Exposure</link:label>
    <link:label id="lab_us-gaap_GuaranteeObligationsMaximumExposure_label_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsMaximumExposure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantor Obligations, Maximum Exposure, Undiscounted</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsMaximumExposure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteeObligationsMaximumExposure" xlink:to="lab_us-gaap_GuaranteeObligationsMaximumExposure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtSecuritiesMember_4c5a56b1-9590-4e26-8d38-f9dc9cfb19b3_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-Sale Securities</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesMember_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesMember" xlink:to="lab_us-gaap_DebtSecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_019b139d-0d57-73b2-95f6-02b9b1671784_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Research and development</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Research, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsResearch"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:to="lab_us-gaap_IncomeTaxReconciliationTaxCreditsResearch" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteesFairValueDisclosure_d21e5600-308b-4c5b-9711-b2fa8ceabfb8_verboseLabel_en-US" xlink:label="lab_us-gaap_GuaranteesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Guaranty obligations</link:label>
    <link:label id="lab_us-gaap_GuaranteesFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_GuaranteesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantees, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteesFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteesFairValueDisclosure" xlink:to="lab_us-gaap_GuaranteesFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss_2d88e2fc-2ab4-437b-b388-d44e0390880d_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans held for investment, excluding fair value option</link:label>
    <link:label id="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss_label_en-US" xlink:label="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Fair Value Option, before Allowance for Credit Loss</link:label>
    <link:label id="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Fair Value Option, before Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss" xlink:to="lab_fnm_FinancingReceivableExcludingFairValueOptionBeforeAllowanceForCreditLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueByMeasurementBasisAxis_e22edb22-8231-4558-9e13-58371f73378d_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByMeasurementBasisAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Measurement Basis [Axis]</link:label>
    <link:label id="lab_us-gaap_FairValueByMeasurementBasisAxis_label_en-US" xlink:label="lab_us-gaap_FairValueByMeasurementBasisAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Measurement Basis [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementBasisAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis" xlink:to="lab_us-gaap_FairValueByMeasurementBasisAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AdjToCompAxis_terseLabel_en-US" xlink:label="lab_ecd_AdjToCompAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustment to Compensation:</link:label>
    <link:label id="lab_ecd_AdjToCompAxis_label_en-US" xlink:label="lab_ecd_AdjToCompAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustment to Compensation [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AdjToCompAxis" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AdjToCompAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AdjToCompAxis" xlink:to="lab_ecd_AdjToCompAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NamedExecutiveOfficersFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_NamedExecutiveOfficersFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Named Executive Officers, Footnote</link:label>
    <link:label id="lab_ecd_NamedExecutiveOfficersFnTextBlock_label_en-US" xlink:label="lab_ecd_NamedExecutiveOfficersFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Named Executive Officers, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NamedExecutiveOfficersFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NamedExecutiveOfficersFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NamedExecutiveOfficersFnTextBlock" xlink:to="lab_ecd_NamedExecutiveOfficersFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConvertibleSeries20041PreferredStockMember_9b6d8075-3636-4f0b-bc47-5edace4a9be2_terseLabel_en-US" xlink:label="lab_fnm_ConvertibleSeries20041PreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Convertible Series 2004-1</link:label>
    <link:label id="lab_fnm_ConvertibleSeries20041PreferredStockMember_label_en-US" xlink:label="lab_fnm_ConvertibleSeries20041PreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Convertible Series 2004-1 Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_ConvertibleSeries20041PreferredStockMember_documentation_en-US" xlink:label="lab_fnm_ConvertibleSeries20041PreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Convertible Series 2004-1 Preferred Stock, convertible at any time, at the option of holders, into shares of Fannie Mae common stock. The conversion price is adjustable, as necessary, to maintain the stated conversion rate into common stock.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConvertibleSeries20041PreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_ConvertibleSeries20041PreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConvertibleSeries20041PreferredStockMember" xlink:to="lab_fnm_ConvertibleSeries20041PreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain_d98c37ba-b674-4699-a4f4-8bec42804f3f_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable Portfolio Segment [Domain]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain_label_en-US" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable Portfolio Segment [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:to="lab_us-gaap_FinancingReceivablePortfolioSegmentDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_6a56ef51-408f-4cb9-afc5-ff5a610e8474_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Recoveries</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Recovery</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery" xlink:to="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossRecovery" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfStockByClassTable_e735729c-5a93-4fcf-908f-d528fae1b764_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfStockByClassTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock, Class of Stock [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfStockByClassTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfStockByClassTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock, Class of Stock [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable" xlink:to="lab_us-gaap_ScheduleOfStockByClassTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1_75a0e568-e9c4-4f65-9103-4bff9e4567e5_verboseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Fair value gains (losses), net</link:label>
    <link:label id="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1_3d4ba873-35bb-4d14-a9b1-454fd3186793_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Changes in fair value, gain (loss)</link:label>
    <link:label id="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1_label_en-US" xlink:label="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Option, Changes in Fair Value, Gain (Loss)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionChangesInFairValueGainLoss1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:to="lab_us-gaap_FairValueOptionChangesInFairValueGainLoss1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_43fadbe7-b961-46b3-9999-fbb56edf1e71_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Cash collateral received for derivative instruments</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Cash Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset" xlink:to="lab_us-gaap_DerivativeLiabilityCollateralRightToReclaimCashOffset" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum_733c23f6-baa0-4191-b936-8d4cda3ab7b8_terseLabel_en-US" xlink:label="lab_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Ratio Requirement</link:label>
    <link:label id="lab_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum_label_en-US" xlink:label="lab_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier 1 Risk-Based Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:to="lab_us-gaap_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CurrentIncomeTaxExpenseBenefit_aa6e327d-fb94-4fa0-ae7e-39689d0e1bd6_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Current income tax benefit (provision)</link:label>
    <link:label id="lab_us-gaap_CurrentIncomeTaxExpenseBenefit_label_en-US" xlink:label="lab_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Current Income Tax Expense (Benefit)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrentIncomeTaxExpenseBenefit"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_CurrentIncomeTaxExpenseBenefit" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011_dadb0bc9-830f-4000-b7a9-b232ebcc6202_terseLabel_en-US" xlink:label="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">TCCA, increase of guarantee fee rate</link:label>
    <link:label id="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011_label_en-US" xlink:label="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase of Guarantee Fee Rate Resulting from the Temporary Payroll Tax Cut Continuation Act of 2011.</link:label>
    <link:label id="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011_documentation_en-US" xlink:label="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Increase in guaranty fee on single-family residential mortgages required by the Temporary Payroll Tax Cut Continuation Act of 2011.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011" xlink:href="fnm-20251231.xsd#fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011" xlink:to="lab_fnm_IncreaseOfGuaranteeFeeRateResultingFromTemporaryPayrollTaxCutContinuationActOf2011" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock_50731183-5ed9-49f7-b7fa-2624f197542f_terseLabel_en-US" xlink:label="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Delinquency Status Guaranty Book of Business</link:label>
    <link:label id="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock_label_en-US" xlink:label="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule Of Delinquency Status Guaranty Book of Business [Table Text Block]</link:label>
    <link:label id="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock_documentation_en-US" xlink:label="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tabular disclosure of current delinquency status of our single-family conventional and total multifamily guaranty book of business.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock" xlink:to="lab_fnm_ScheduleOfDelinquencyStatusGuarantyBookOfBusinessTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AdjToCompAmt_terseLabel_en-US" xlink:label="lab_ecd_AdjToCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustment to Compensation, Amount</link:label>
    <link:label id="lab_ecd_AdjToCompAmt_label_en-US" xlink:label="lab_ecd_AdjToCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustment to Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AdjToCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AdjToCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AdjToCompAmt" xlink:to="lab_ecd_AdjToCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskPercentage1_d0571ed7-510b-4a75-bbde-5d3cb3a47dfc_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskPercentage1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration risk, percentage</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskPercentage1_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskPercentage1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk, Percentage</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskPercentage1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskPercentage1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskPercentage1" xlink:to="lab_us-gaap_ConcentrationRiskPercentage1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_019b0df3-8bf9-78b0-b870-62879376c502_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Borrowings that have an original maturity of three months or less, net</link:label>
    <link:label id="lab_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess_label_en-US" xlink:label="lab_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from (Repayments of) Short-Term Debt, Maturing in Three Months or Less</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:to="lab_us-gaap_ProceedsFromRepaymentsOfShortTermDebtMaturingInThreeMonthsOrLess" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConsolidationPolicyTextBlock_aa75f18a-8e79-4a37-942c-7565b785ec69_terseLabel_en-US" xlink:label="lab_us-gaap_ConsolidationPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Principles of Consolidation</link:label>
    <link:label id="lab_us-gaap_ConsolidationPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_ConsolidationPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidation, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsolidationPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConsolidationPolicyTextBlock" xlink:to="lab_us-gaap_ConsolidationPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InternalModelAndWalkForwardMember_cd15c4c5-f65f-4e4e-8164-c1fdfff89a1a_terseLabel_en-US" xlink:label="lab_fnm_InternalModelAndWalkForwardMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Internal Model and Walk Forward</link:label>
    <link:label id="lab_fnm_InternalModelAndWalkForwardMember_label_en-US" xlink:label="lab_fnm_InternalModelAndWalkForwardMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Internal Model and Walk Forward [Member]</link:label>
    <link:label id="lab_fnm_InternalModelAndWalkForwardMember_documentation_en-US" xlink:label="lab_fnm_InternalModelAndWalkForwardMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Internal Model and Walk Forward</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InternalModelAndWalkForwardMember" xlink:href="fnm-20251231.xsd#fnm_InternalModelAndWalkForwardMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InternalModelAndWalkForwardMember" xlink:to="lab_fnm_InternalModelAndWalkForwardMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EmployeeStockOptionMember_terseLabel_en-US" xlink:label="lab_us-gaap_EmployeeStockOptionMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Employee Stock Option</link:label>
    <link:label id="lab_us-gaap_EmployeeStockOptionMember_label_en-US" xlink:label="lab_us-gaap_EmployeeStockOptionMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Share-Based Payment Arrangement, Option [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EmployeeStockOptionMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EmployeeStockOptionMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EmployeeStockOptionMember" xlink:to="lab_us-gaap_EmployeeStockOptionMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock_4e18250e-1efc-4ceb-a678-6c9da8c7d6f3_terseLabel_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash and Restricted Cash</link:label>
    <link:label id="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash and Cash Equivalents, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashAndCashEquivalentsPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:to="lab_us-gaap_CashAndCashEquivalentsPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_Series20082SeniorPreferredStockMember_fc9ec912-d489-4635-bc03-0badb1175d65_terseLabel_en-US" xlink:label="lab_fnm_Series20082SeniorPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series 2008-2 Senior Preferred Stock</link:label>
    <link:label id="lab_fnm_Series20082SeniorPreferredStockMember_label_en-US" xlink:label="lab_fnm_Series20082SeniorPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series 2008-2 Senior Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_Series20082SeniorPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_Series20082SeniorPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Series 2008-2 Senior Preferred Stock -issued on September 8, 2008 one million of variable liquidation preference senior preferred stock with an aggregate stated value of $1.0 billion agreement with Treasury. Senior preferred stock ranks senior to all other series of preferred stock as both dividends and distribution upon dissolution, liquidation or winding up the company.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_Series20082SeniorPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_Series20082SeniorPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_Series20082SeniorPreferredStockMember" xlink:to="lab_fnm_Series20082SeniorPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_9b9c1f61-8a63-4582-bdd9-8a9355369e0e_terseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperationsTaxRateReconciliationAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativesOffsettingFairValueAmountsPolicy_0d87a1d8-4645-4cb0-8901-f4f692031dec_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativesOffsettingFairValueAmountsPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivatives, Offsetting</link:label>
    <link:label id="lab_us-gaap_DerivativesOffsettingFairValueAmountsPolicy_label_en-US" xlink:label="lab_us-gaap_DerivativesOffsettingFairValueAmountsPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivatives, Offsetting Fair Value Amounts, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativesOffsettingFairValueAmountsPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativesOffsettingFairValueAmountsPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativesOffsettingFairValueAmountsPolicy" xlink:to="lab_us-gaap_DerivativesOffsettingFairValueAmountsPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StockholdersEquity_f23a4ccc-7948-4804-b930-fafe8c9a7f10_totalLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquity" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total stockholders&#8217; equity</link:label>
    <link:label id="lab_us-gaap_StockholdersEquity_label_en-US" xlink:label="lab_us-gaap_StockholdersEquity" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity, Attributable to Parent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquity" xlink:to="lab_us-gaap_StockholdersEquity" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueByMeasurementFrequencyAxis_df78fd59-ddf7-4612-a36d-c663ab41ed95_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Measurement Frequency [Axis]</link:label>
    <link:label id="lab_us-gaap_FairValueByMeasurementFrequencyAxis_label_en-US" xlink:label="lab_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Measurement Frequency [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByMeasurementFrequencyAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:to="lab_us-gaap_FairValueByMeasurementFrequencyAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_c01f3acc-819a-40ab-a0eb-1041cfc4d6f4_terseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other comprehensive income, net of tax effect:</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Net of Tax [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTaxPeriodIncreaseDecreaseAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_InsiderTradingPoliciesProcLineItems_label_en-US" xlink:label="lab_ecd_InsiderTradingPoliciesProcLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Insider Trading Policies and Procedures [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_InsiderTradingPoliciesProcLineItems" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_InsiderTradingPoliciesProcLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_InsiderTradingPoliciesProcLineItems" xlink:to="lab_ecd_InsiderTradingPoliciesProcLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_stpr_NY_6ed28bf9-90b2-43f9-afbe-a5975a16fab7_verboseLabel_en-US" xlink:label="lab_stpr_NY" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">New York</link:label>
    <link:label id="lab_stpr_NY_label_en-US" xlink:label="lab_stpr_NY" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">NEW YORK</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_NY" xlink:href="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd#stpr_NY"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_stpr_NY" xlink:to="lab_stpr_NY" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_b38ca6cf-5b98-4f83-8b2b-a5c9c7c396f5_terseLabel_en-US" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial assets:</link:label>
    <link:label id="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract_label_en-US" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Instruments, Financial Assets, Balance Sheet Groupings [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:to="lab_us-gaap_FinancialInstrumentsFinancialAssetsBalanceSheetGroupingsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues_e451d18e-b50f-44fc-acb4-5f1e888324f0_terseLabel_en-US" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock issued (in shares)</link:label>
    <link:label id="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues_label_en-US" xlink:label="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Issued During Period, Shares, New Issues</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:to="lab_us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementsRecurringMember_b6f013a7-96d1-42f8-9171-7671d0e3a080_verboseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsRecurringMember" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Recurring</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementsRecurringMember_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsRecurringMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Recurring [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsRecurringMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsRecurringMember" xlink:to="lab_us-gaap_FairValueMeasurementsRecurringMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract_7deacc2d-d456-4fd7-af1c-bc7b0b80b6ea_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss, Writeoff, by Origination Year [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLossWriteoffByOriginationYearAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther_8b751c30-c1fa-4da4-8ec9-99e36edefaad_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single family loans redesignated from HFI to HFS, lower of cost or fair value adjustment at time of redesignation</link:label>
    <link:label id="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther_label_en-US" xlink:label="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Transfer to Held-for-Sale, Allowance for Credit Loss, Adjustment, Other</link:label>
    <link:label id="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Transfer to Held-for-Sale, Allowance for Credit Loss, Adjustment, Other</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther" xlink:to="lab_fnm_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossAdjustmentOther" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskCreditRisk_35b0d64d-6543-47ef-a8ff-fda4b68784f3_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskCreditRisk" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risk Characteristics of our Guaranty Book of Business</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskCreditRisk_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskCreditRisk" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk, Credit Risk, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskCreditRisk" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskCreditRisk"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskCreditRisk" xlink:to="lab_us-gaap_ConcentrationRiskCreditRisk" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_86815f4f-0c1a-4a2c-acd9-a75c6156c992_terseLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">LIABILITIES AND EQUITY</link:label>
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract_label_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities and Equity [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:to="lab_us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_CoverAbstract_09a2333e-c56d-41b9-913c-6d4108f93ac8_terseLabel_en-US" xlink:label="lab_dei_CoverAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cover [Abstract]</link:label>
    <link:label id="lab_dei_CoverAbstract_label_en-US" xlink:label="lab_dei_CoverAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cover [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CoverAbstract" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CoverAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CoverAbstract" xlink:to="lab_dei_CoverAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember_47d80caf-d88b-46a6-bd94-50ac580a531e_terseLabel_en-US" xlink:label="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Portion at Fair Value Measurement [Member]</link:label>
    <link:label id="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember_label_en-US" xlink:label="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Portion at Fair Value Measurement [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:to="lab_us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TransferToOtherRealEstate_b58d9419-d768-4030-bd6d-fe7d8a27c6df_terseLabel_en-US" xlink:label="lab_us-gaap_TransferToOtherRealEstate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Transfers from mortgage loans to other assets</link:label>
    <link:label id="lab_us-gaap_TransferToOtherRealEstate_label_en-US" xlink:label="lab_us-gaap_TransferToOtherRealEstate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Real Estate Owned, Transfer to Real Estate Owned</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransferToOtherRealEstate" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransferToOtherRealEstate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransferToOtherRealEstate" xlink:to="lab_us-gaap_TransferToOtherRealEstate" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_MaximumMember_506bd7cc-0780-44d5-bd93-aa1bb01820fe_terseLabel_en-US" xlink:label="lab_srt_MaximumMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum</link:label>
    <link:label id="lab_srt_MaximumMember_label_en-US" xlink:label="lab_srt_MaximumMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Maximum [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MaximumMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MaximumMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MaximumMember" xlink:to="lab_srt_MaximumMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock_6f770849-6deb-4aa6-b4ee-effaf294faf2_terseLabel_en-US" xlink:label="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurements Using Significant Unobservable Input (Level 3)</link:label>
    <link:label id="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock_label_en-US" xlink:label="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Assets and Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation [Table Text Block]</link:label>
    <link:label id="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock_documentation_en-US" xlink:label="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tabular disclosure of the fair value measurement of assets and liabilities using significant unobservable inputs (Level 3), a reconciliation of the beginning and ending balances, separately presenting changes during the period attributable to the following: (1) total gains or losses for the period (realized and unrealized), segregating those gains or losses included in earnings (or changes in net assets) and gains or losses recognized in other comprehensive income (loss), and a description of where those gains or losses included in earnings (or changes in net assets) are reported in the statement of income (or activities); (2) purchases, sales, issues, and settlements (each type disclosed separately); and (3) transfers in and transfers out of Level 3 (for example, transfers due to changes in the observability of significant inputs), by class of asset and liability.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:to="lab_fnm_FairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonPeoNeoAvgTotalCompAmt_terseLabel_en-US" xlink:label="lab_ecd_NonPeoNeoAvgTotalCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-PEO NEO Average Total Compensation Amount</link:label>
    <link:label id="lab_ecd_NonPeoNeoAvgTotalCompAmt_label_en-US" xlink:label="lab_ecd_NonPeoNeoAvgTotalCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-PEO NEO Average Total Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonPeoNeoAvgTotalCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonPeoNeoAvgTotalCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonPeoNeoAvgTotalCompAmt" xlink:to="lab_ecd_NonPeoNeoAvgTotalCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_374380fa-c37a-472c-9500-298a4d25612d_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total gains (losses) realized &amp; unrealized</link:label>
    <link:label id="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_label_en-US" xlink:label="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Liability, Recurring Basis, Still Held, Unrealized Gain (Loss)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:to="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentLineItems_3c4d8e86-b2b8-458d-a779-9629b9d20b45_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-Term Debt [Line Items]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentLineItems_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentLineItems" xlink:to="lab_us-gaap_DebtInstrumentLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskDisclosureTextBlock_8f9a0555-a6ea-46ee-9787-024a96cd2cbd_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentrations of Credit Risk</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:to="lab_us-gaap_ConcentrationRiskDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock_9736f725-a3c1-4e95-83de-dee9db832c2a_terseLabel_en-US" xlink:label="lab_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Guarantees</link:label>
    <link:label id="lab_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Off-Balance-Sheet Credit Exposure, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock" xlink:to="lab_us-gaap_OffBalanceSheetCreditExposurePolicyPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AdjToNonPeoNeoCompFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AdjToNonPeoNeoCompFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustment to Non-PEO NEO Compensation Footnote</link:label>
    <link:label id="lab_ecd_AdjToNonPeoNeoCompFnTextBlock_label_en-US" xlink:label="lab_ecd_AdjToNonPeoNeoCompFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustment to Non-PEO NEO Compensation Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AdjToNonPeoNeoCompFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AdjToNonPeoNeoCompFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AdjToNonPeoNeoCompFnTextBlock" xlink:to="lab_ecd_AdjToNonPeoNeoCompFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_7c383527-2a8a-490a-88a5-fe4a7bbdbd8e_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Credit Quality Indicator [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Credit Quality Indicator [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt_terseLabel_en-US" xlink:label="lab_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forgone Recovery due to Disqualification of Tax Benefits, Amount</link:label>
    <link:label id="lab_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt_label_en-US" xlink:label="lab_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forgone Recovery due to Disqualification of Tax Benefits, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt" xlink:to="lab_ecd_ForgoneRecoveryDueToDisqualificationOfTaxBenefitsAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_4eb760e8-2481-454c-be4b-a0c0d33b5d27_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Three fiscal years, writeoff</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff" xlink:to="lab_us-gaap_FinancingReceivableYearFourOriginatedThreeYearsBeforeCurrentFiscalYearWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonRule10b51ArrTrmntdFlag_terseLabel_en-US" xlink:label="lab_ecd_NonRule10b51ArrTrmntdFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-Rule 10b5-1 Arrangement Terminated</link:label>
    <link:label id="lab_ecd_NonRule10b51ArrTrmntdFlag_label_en-US" xlink:label="lab_ecd_NonRule10b51ArrTrmntdFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-Rule 10b5-1 Arrangement Terminated [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonRule10b51ArrTrmntdFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonRule10b51ArrTrmntdFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonRule10b51ArrTrmntdFlag" xlink:to="lab_ecd_NonRule10b51ArrTrmntdFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_01fd0117-8bc2-4a1a-a15e-e9c72614464b_totalLabel_en-US" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Income before federal income taxes</link:label>
    <link:label id="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_efcb1ebf-c141-43e9-946b-937fd4df6947_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income before U.S. federal income taxes</link:label>
    <link:label id="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest_label_en-US" xlink:label="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income (Loss) from Continuing Operations before Income Taxes, Noncontrolling Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:to="lab_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesExtraordinaryItemsNoncontrollingInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityShellCompany_5ad97115-7b9f-465a-98b4-76afff45b2f6_terseLabel_en-US" xlink:label="lab_dei_EntityShellCompany" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Shell Company</link:label>
    <link:label id="lab_dei_EntityShellCompany_label_en-US" xlink:label="lab_dei_EntityShellCompany" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Shell Company</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityShellCompany" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityShellCompany"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityShellCompany" xlink:to="lab_dei_EntityShellCompany" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalToAverageAssets_fdecfc1b-0a27-4bf1-a314-957b08942579_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement Ratio (including Buffers)</link:label>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalToAverageAssets_label_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Leverage Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapitalToAverageAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:to="lab_us-gaap_TierOneLeverageCapitalToAverageAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentTable_7b4837b8-380e-493e-ab42-b61538511fd8_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Long-term Debt Instruments [Table]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentTable_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Long-Term Debt Instruments [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentTable" xlink:to="lab_us-gaap_DebtInstrumentTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment_7ecdcdbf-9eff-4696-a49b-ed145f03395f_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single family loans redesignated from HFS to HFI, amortized cost</link:label>
    <link:label id="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment_label_en-US" xlink:label="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable Reclassification To Be Held For Investment</link:label>
    <link:label id="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable Reclassification To Be Held For Investment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableReclassificationToBeHeldForInvestment" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableReclassificationToBeHeldForInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableReclassificationToBeHeldForInvestment" xlink:to="lab_fnm_FinancingReceivableReclassificationToBeHeldForInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromIssuanceOfDebt_ca9a1db5-7897-4ee4-8f93-b3d05f793384_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfDebt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from the issuance of debt</link:label>
    <link:label id="lab_us-gaap_ProceedsFromIssuanceOfDebt_label_en-US" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfDebt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Issuance of Debt</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfDebt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromIssuanceOfDebt" xlink:to="lab_us-gaap_ProceedsFromIssuanceOfDebt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_5b1ede01-7dc7-417d-9188-7596d4fc1e90_terseLabel_en-US" xlink:label="lab_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged liability, discontinued fair value, remaining adjustments</link:label>
    <link:label id="lab_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_label_en-US" xlink:label="lab_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Liability, Discontinued Fair Value Hedge, Cumulative Increase (Decrease)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:to="lab_us-gaap_HedgedLiabilityDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementOfStockholdersEquityAbstract_99b701eb-5295-4083-99dd-b2b0552302e7_terseLabel_en-US" xlink:label="lab_us-gaap_StatementOfStockholdersEquityAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement of Stockholders' Equity [Abstract]</link:label>
    <link:label id="lab_us-gaap_StatementOfStockholdersEquityAbstract_label_en-US" xlink:label="lab_us-gaap_StatementOfStockholdersEquityAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Stockholders' Equity [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfStockholdersEquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfStockholdersEquityAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfStockholdersEquityAbstract" xlink:to="lab_us-gaap_StatementOfStockholdersEquityAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OperatingSegmentsMember_c01b3d50-aeb5-4d71-a9d1-fa231db1de8b_terseLabel_en-US" xlink:label="lab_us-gaap_OperatingSegmentsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Operating Segments</link:label>
    <link:label id="lab_us-gaap_OperatingSegmentsMember_label_en-US" xlink:label="lab_us-gaap_OperatingSegmentsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Operating Segments [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OperatingSegmentsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OperatingSegmentsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OperatingSegmentsMember" xlink:to="lab_us-gaap_OperatingSegmentsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock_e2eefd87-4242-4baa-8670-8ebf50461347_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Non-Cash Activities</link:label>
    <link:label id="lab_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Cash Flow, Supplemental Disclosures [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfCashFlowSupplementalDisclosuresTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardTmgMnpiCnsdrdFlag_terseLabel_en-US" xlink:label="lab_ecd_AwardTmgMnpiCnsdrdFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Timing MNPI Considered</link:label>
    <link:label id="lab_ecd_AwardTmgMnpiCnsdrdFlag_label_en-US" xlink:label="lab_ecd_AwardTmgMnpiCnsdrdFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Timing MNPI Considered [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardTmgMnpiCnsdrdFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardTmgMnpiCnsdrdFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardTmgMnpiCnsdrdFlag" xlink:to="lab_ecd_AwardTmgMnpiCnsdrdFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestExpenseOperating_c98b815f-2a76-42e6-bdba-fce532f74687_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_InterestExpenseOperating" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total interest expense</link:label>
    <link:label id="lab_us-gaap_InterestExpenseOperating_label_en-US" xlink:label="lab_us-gaap_InterestExpenseOperating" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Expense, Operating</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseOperating" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseOperating"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseOperating" xlink:to="lab_us-gaap_InterestExpenseOperating" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PayFixedSwapMember_c43d5624-1497-40b3-bbc2-65dca40e10e1_terseLabel_en-US" xlink:label="lab_fnm_PayFixedSwapMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pay-fixed</link:label>
    <link:label id="lab_fnm_PayFixedSwapMember_label_en-US" xlink:label="lab_fnm_PayFixedSwapMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pay-fixed Swap [Member]</link:label>
    <link:label id="lab_fnm_PayFixedSwapMember_documentation_en-US" xlink:label="lab_fnm_PayFixedSwapMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents an agreement under which we pay a predetermined fixed rate of interest based upon a set notional principal amount and receive a variable interest payment based upon a stated index, with the index resetting at regular intervals over a specified period of time. These contracts generally increase in value as interest rates rise and decrease in value interest rates fall.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PayFixedSwapMember" xlink:href="fnm-20251231.xsd#fnm_PayFixedSwapMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PayFixedSwapMember" xlink:to="lab_fnm_PayFixedSwapMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember_d07cb24c-4a3a-49f9-8270-35f236c025dd_terseLabel_en-US" xlink:label="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Primarily Discounted Cash Flow, Single Vendor, and Consensus</link:label>
    <link:label id="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember_label_en-US" xlink:label="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Primarily Discounted Cash Flow, Single Vendor, and Consensus [Member]</link:label>
    <link:label id="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember_documentation_en-US" xlink:label="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Primarily Discounted Cash Flow, Single Vendor, and Consensus</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember" xlink:href="fnm-20251231.xsd#fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember" xlink:to="lab_fnm_PrimarilyDiscountedCashFlowSingleVendorAndConsensusMember" xlink:type="arc" order="1"/>
    <link:label id="lab_stpr_TX_3b98e346-c9cf-4e99-8fc2-402390c704ad_terseLabel_en-US" xlink:label="lab_stpr_TX" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Texas</link:label>
    <link:label id="lab_stpr_TX_label_en-US" xlink:label="lab_stpr_TX" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">TEXAS</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_TX" xlink:href="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd#stpr_TX"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_stpr_TX" xlink:to="lab_stpr_TX" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesPPreferredStockMember_d9e12501-c5bb-44d9-9be2-ac08d8c3081e_terseLabel_en-US" xlink:label="lab_fnm_SeriesPPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series P</link:label>
    <link:label id="lab_fnm_SeriesPPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesPPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series P Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesPPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesPPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series P Preferred Stock classified within stockholders' equity has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesPPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesPPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesPPreferredStockMember" xlink:to="lab_fnm_SeriesPPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FixedRateResidentialMortgage15YearMember_56170db2-a4e8-4b41-8fb1-5d0c9f2e54c1_terseLabel_en-US" xlink:label="lab_fnm_FixedRateResidentialMortgage15YearMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">15-year or less, amortizing fixed-rate</link:label>
    <link:label id="lab_fnm_FixedRateResidentialMortgage15YearMember_084d6ed6-7864-4c24-8d8b-524c797009a4_verboseLabel_en-US" xlink:label="lab_fnm_FixedRateResidentialMortgage15YearMember" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">15-year or less, amortizing fixed-rate (less than)</link:label>
    <link:label id="lab_fnm_FixedRateResidentialMortgage15YearMember_label_en-US" xlink:label="lab_fnm_FixedRateResidentialMortgage15YearMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fixed Rate Residential Mortgage 15 Year [Member]</link:label>
    <link:label id="lab_fnm_FixedRateResidentialMortgage15YearMember_documentation_en-US" xlink:label="lab_fnm_FixedRateResidentialMortgage15YearMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Loan to purchase or refinance residential real estate such as a home, in which the real estate itself serves as collateral for the loan and in which the interest rate and the amount of each payment remain constant throughout the life of the loan (15 year)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FixedRateResidentialMortgage15YearMember" xlink:href="fnm-20251231.xsd#fnm_FixedRateResidentialMortgage15YearMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FixedRateResidentialMortgage15YearMember" xlink:to="lab_fnm_FixedRateResidentialMortgage15YearMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentFiscalPeriodFocus_520313b5-3a01-49b6-8ec6-e065442c3614_terseLabel_en-US" xlink:label="lab_dei_DocumentFiscalPeriodFocus" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Fiscal Period Focus</link:label>
    <link:label id="lab_dei_DocumentFiscalPeriodFocus_label_en-US" xlink:label="lab_dei_DocumentFiscalPeriodFocus" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Fiscal Period Focus</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalPeriodFocus" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalPeriodFocus"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalPeriodFocus" xlink:to="lab_dei_DocumentFiscalPeriodFocus" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorPreferredStockShareAuthorized_ea7b283b-cbf3-4597-935d-95ecf0da6c6d_terseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockShareAuthorized" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock authorized (in shares)</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockShareAuthorized_label_en-US" xlink:label="lab_fnm_SeniorPreferredStockShareAuthorized" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock, Share Authorized</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockShareAuthorized_documentation_en-US" xlink:label="lab_fnm_SeniorPreferredStockShareAuthorized" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock, Share Authorized</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorPreferredStockShareAuthorized" xlink:href="fnm-20251231.xsd#fnm_SeniorPreferredStockShareAuthorized"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorPreferredStockShareAuthorized" xlink:to="lab_fnm_SeniorPreferredStockShareAuthorized" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock_68ce9a60-9d9f-438e-babb-2dab29d47cde_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Option</link:label>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock_label_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Option, Disclosures [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:to="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestIncomeDebtSecuritiesOperating_2782eecf-c86a-4db7-b7e8-188c7f98fd56_terseLabel_en-US" xlink:label="lab_us-gaap_InterestIncomeDebtSecuritiesOperating" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments in securities and other</link:label>
    <link:label id="lab_us-gaap_InterestIncomeDebtSecuritiesOperating_label_en-US" xlink:label="lab_us-gaap_InterestIncomeDebtSecuritiesOperating" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Income, Debt Securities, Operating</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeDebtSecuritiesOperating" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeDebtSecuritiesOperating"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeDebtSecuritiesOperating" xlink:to="lab_us-gaap_InterestIncomeDebtSecuritiesOperating" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardTmgMethodTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AwardTmgMethodTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Timing Method</link:label>
    <link:label id="lab_ecd_AwardTmgMethodTextBlock_label_en-US" xlink:label="lab_ecd_AwardTmgMethodTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Timing Method [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardTmgMethodTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardTmgMethodTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardTmgMethodTextBlock" xlink:to="lab_ecd_AwardTmgMethodTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_LitigationCaseTypeDomain_f29adbaf-0085-4fa7-acce-74af0aa03da1_terseLabel_en-US" xlink:label="lab_srt_LitigationCaseTypeDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Litigation Case [Domain]</link:label>
    <link:label id="lab_srt_LitigationCaseTypeDomain_label_en-US" xlink:label="lab_srt_LitigationCaseTypeDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Case [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseTypeDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseTypeDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_LitigationCaseTypeDomain" xlink:to="lab_srt_LitigationCaseTypeDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AwardTypeAxis_terseLabel_en-US" xlink:label="lab_us-gaap_AwardTypeAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Type</link:label>
    <link:label id="lab_us-gaap_AwardTypeAxis_label_en-US" xlink:label="lab_us-gaap_AwardTypeAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Type [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AwardTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AwardTypeAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AwardTypeAxis" xlink:to="lab_us-gaap_AwardTypeAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ParentCompanyMember_ea1097de-a4ea-4d9a-85d2-88715b999f88_terseLabel_en-US" xlink:label="lab_srt_ParentCompanyMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fannie Mae</link:label>
    <link:label id="lab_srt_ParentCompanyMember_label_en-US" xlink:label="lab_srt_ParentCompanyMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Parent Company [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ParentCompanyMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ParentCompanyMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ParentCompanyMember" xlink:to="lab_srt_ParentCompanyMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CallableMember_4ef60671-23e0-4a84-acb0-83ab88e8e1d5_terseLabel_en-US" xlink:label="lab_fnm_CallableMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Callable</link:label>
    <link:label id="lab_fnm_CallableMember_label_en-US" xlink:label="lab_fnm_CallableMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Callable [Member]</link:label>
    <link:label id="lab_fnm_CallableMember_documentation_en-US" xlink:label="lab_fnm_CallableMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">A debt security whose issuer has the right to redeem the security at a specified price on or after a specified date, prior to its stated final maturity.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CallableMember" xlink:href="fnm-20251231.xsd#fnm_CallableMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CallableMember" xlink:to="lab_fnm_CallableMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage_0a5c3037-0608-4f10-bc6a-e3492e7f93f1_terseLabel_en-US" xlink:label="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">30 days delinquent (percentage of conventional loans)</link:label>
    <link:label id="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage_label_en-US" xlink:label="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Loans 30 to 59 Days Past Due, Percentage</link:label>
    <link:label id="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage_documentation_en-US" xlink:label="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of loans that are 30 to 59 days past due. Calculated based on the number of loans in the delinquency bucket indicated, divided by the total number of loans in the respective category.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NumberOfLoans30To59DaysPastDuePercentage" xlink:href="fnm-20251231.xsd#fnm_NumberOfLoans30To59DaysPastDuePercentage"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NumberOfLoans30To59DaysPastDuePercentage" xlink:to="lab_fnm_NumberOfLoans30To59DaysPastDuePercentage" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableSignificantSales_a2c774ce-2d64-4984-b68b-39c03ebe9c99_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableSignificantSales" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single-family loans sold, unpaid principal balance</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableSignificantSales_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableSignificantSales" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Sale and Reclassification to Held-for-Sale</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableSignificantSales" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableSignificantSales"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableSignificantSales" xlink:to="lab_us-gaap_FinancingReceivableSignificantSales" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_4d0b43f0-fd06-4bab-ba93-09cd0f5c2f82_terseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Valuation allowance</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestExpenseLongTermDebt_62f7521d-7f4a-43e4-a1fa-14769437d26d_negatedLabel_en-US" xlink:label="lab_us-gaap_InterestExpenseLongTermDebt" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Long-term debt</link:label>
    <link:label id="lab_us-gaap_InterestExpenseLongTermDebt_a659f081-c91b-4ffd-a846-11c96fc4f24b_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_InterestExpenseLongTermDebt" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Interest Expense: Long-Term Debt</link:label>
    <link:label id="lab_us-gaap_InterestExpenseLongTermDebt_label_en-US" xlink:label="lab_us-gaap_InterestExpenseLongTermDebt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Expense, Long-Term Debt</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseLongTermDebt" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseLongTermDebt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseLongTermDebt" xlink:to="lab_us-gaap_InterestExpenseLongTermDebt" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CreditEnhancementMember_019b10e9-33b9-774c-afd6-d32cbc2df440_terseLabel_en-US" xlink:label="lab_fnm_CreditEnhancementMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Credit enhancement derivatives</link:label>
    <link:label id="lab_fnm_CreditEnhancementMember_label_en-US" xlink:label="lab_fnm_CreditEnhancementMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Credit Enhancement [Member]</link:label>
    <link:label id="lab_fnm_CreditEnhancementMember_documentation_en-US" xlink:label="lab_fnm_CreditEnhancementMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Credit Enhancement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CreditEnhancementMember" xlink:href="fnm-20251231.xsd#fnm_CreditEnhancementMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CreditEnhancementMember" xlink:to="lab_fnm_CreditEnhancementMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityAddressCityOrTown_de7793fa-09b8-4f21-b1ce-9b340d4de090_terseLabel_en-US" xlink:label="lab_dei_EntityAddressCityOrTown" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Address, City or Town</link:label>
    <link:label id="lab_dei_EntityAddressCityOrTown_label_en-US" xlink:label="lab_dei_EntityAddressCityOrTown" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Address, City or Town</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressCityOrTown" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressCityOrTown"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressCityOrTown" xlink:to="lab_dei_EntityAddressCityOrTown" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain_ef13c4e8-e3d4-420f-baf8-82ff8a607bbb_terseLabel_en-US" xlink:label="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Qualitative and Quantitative Information, Transferor's Continuing Involvement in Transferred Financial Assets, Transfer or Transferee [Domain]</link:label>
    <link:label id="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain_label_en-US" xlink:label="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Qualitative and Quantitative Information, Transferor's Continuing Involvement in Transferred Financial Assets, Transfer or Transferee [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain" xlink:to="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementInTransferredFinancialAssetsTransferOrTransfereeDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance_84043710-19de-4911-9726-1846444e7869_terseLabel_en-US" xlink:label="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Seriously delinquent (percentage of book of business)</link:label>
    <link:label id="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance_label_en-US" xlink:label="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans Seriously Delinquent, Percentage of Unpaid Principal Balance</link:label>
    <link:label id="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance_documentation_en-US" xlink:label="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage unpaid principal balance comprised of single-family loans greater than or equal to 90 days past due or multifamily loans greater than or equal to 60 days past due. Calculated based on the aggregate unpaid principal balance for the category indicated, divided by the respective book of business.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance" xlink:href="fnm-20251231.xsd#fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance" xlink:to="lab_fnm_LoansSeriouslyDelinquentPercentageOfUnpaidPrincipalBalance" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss_bda15744-4f3f-4311-af4b-da645946809a_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net trading gains (losses) recognized in the period related to securities still held at period end</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Trading, Unrealized Gain (Loss)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesTradingUnrealizedGainLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss" xlink:to="lab_us-gaap_DebtSecuritiesTradingUnrealizedGainLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFixedMediumTermNotesMember_4f7c895b-e8af-4a9a-bc75-45a636e32912_terseLabel_en-US" xlink:label="lab_fnm_SeniorFixedMediumTermNotesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Medium-term notes</link:label>
    <link:label id="lab_fnm_SeniorFixedMediumTermNotesMember_label_en-US" xlink:label="lab_fnm_SeniorFixedMediumTermNotesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Fixed Medium-term Notes [Member]</link:label>
    <link:label id="lab_fnm_SeniorFixedMediumTermNotesMember_documentation_en-US" xlink:label="lab_fnm_SeniorFixedMediumTermNotesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior fixed medium-term notes represent debt instruments with original contractual maturities ranging from one to ten years, excluding zero-coupon debt. Senior fixed rate debt takes priority over other debt instruments sold by the company. In the event the company goes bankrupt, senior fixed rate debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFixedMediumTermNotesMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFixedMediumTermNotesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFixedMediumTermNotesMember" xlink:to="lab_fnm_SeniorFixedMediumTermNotesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_b7807acc-5004-4419-ab24-2b3ab11d43d6_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Class of Financing Receivable [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_821c7efa-a7fd-4d0b-9a1a-b889bc136232_verboseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Class of Financing Receivable [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Financing Receivable [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonPeoNeoAvgCompActuallyPaidAmt_terseLabel_en-US" xlink:label="lab_ecd_NonPeoNeoAvgCompActuallyPaidAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-PEO NEO Average Compensation Actually Paid Amount</link:label>
    <link:label id="lab_ecd_NonPeoNeoAvgCompActuallyPaidAmt_label_en-US" xlink:label="lab_ecd_NonPeoNeoAvgCompActuallyPaidAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-PEO NEO Average Compensation Actually Paid Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonPeoNeoAvgCompActuallyPaidAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonPeoNeoAvgCompActuallyPaidAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonPeoNeoAvgCompActuallyPaidAmt" xlink:to="lab_ecd_NonPeoNeoAvgCompActuallyPaidAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeStatementLocationDomain_b39993e6-cc93-4539-9457-83242553d293_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement of Income Location, Balance [Domain]</link:label>
    <link:label id="lab_us-gaap_IncomeStatementLocationDomain_label_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Income Location, Balance [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationDomain" xlink:to="lab_us-gaap_IncomeStatementLocationDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SingleClassMBSREMICMegasMember_bfa8c527-415a-4d09-8a48-5f7b1cb08ca9_terseLabel_en-US" xlink:label="lab_fnm_SingleClassMBSREMICMegasMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single Class MBS, REMIC &amp; Megas</link:label>
    <link:label id="lab_fnm_SingleClassMBSREMICMegasMember_label_en-US" xlink:label="lab_fnm_SingleClassMBSREMICMegasMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Single Class MBS, REMIC &amp; Megas [Member]</link:label>
    <link:label id="lab_fnm_SingleClassMBSREMICMegasMember_documentation_en-US" xlink:label="lab_fnm_SingleClassMBSREMICMegasMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Fannie Mae Single-class Mortgage-Backed Securities (MBS) are MBS in which the investors receive principal and interest payments in proportion to their percentage ownership of the MBS issuance. Fannie Mae Megas are large pools of Fannie Mae MBS backed by smaller pools of Fannie Mae MBS or by other Fannie Mae-backed Megas. Real Estate Mortgage Investment Conduit (REMIC) refers to a type of mortgage-related security in which interest and principal payments from mortgages or mortgage-related securities are structured into separately traded securities. Stripped Mortgage-Backed Securities (SMBS) are created by "stripping" or separating the principal and interest payments from the underlying pool of mortgages into two classes of securities, with each receiving a different proportion of the principal and interest payments.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SingleClassMBSREMICMegasMember" xlink:href="fnm-20251231.xsd#fnm_SingleClassMBSREMICMegasMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SingleClassMBSREMICMegasMember" xlink:to="lab_fnm_SingleClassMBSREMICMegasMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_CompActuallyPaidVsOtherMeasureTextBlock_terseLabel_en-US" xlink:label="lab_ecd_CompActuallyPaidVsOtherMeasureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Other Measure</link:label>
    <link:label id="lab_ecd_CompActuallyPaidVsOtherMeasureTextBlock_label_en-US" xlink:label="lab_ecd_CompActuallyPaidVsOtherMeasureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Other Measure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_CompActuallyPaidVsOtherMeasureTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_CompActuallyPaidVsOtherMeasureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_CompActuallyPaidVsOtherMeasureTextBlock" xlink:to="lab_ecd_CompActuallyPaidVsOtherMeasureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestExpenseShortTermBorrowings_e2c1818c-eb01-45c6-abf3-c391c408fe5f_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_InterestExpenseShortTermBorrowings" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Short-term debt</link:label>
    <link:label id="lab_us-gaap_InterestExpenseShortTermBorrowings_label_en-US" xlink:label="lab_us-gaap_InterestExpenseShortTermBorrowings" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Expense, Short-Term Borrowings</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseShortTermBorrowings" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseShortTermBorrowings"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseShortTermBorrowings" xlink:to="lab_us-gaap_InterestExpenseShortTermBorrowings" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityEmergingGrowthCompany_f6fa2333-0d89-4168-93ac-a2fc4084fbf3_terseLabel_en-US" xlink:label="lab_dei_EntityEmergingGrowthCompany" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Emerging Growth Company</link:label>
    <link:label id="lab_dei_EntityEmergingGrowthCompany_label_en-US" xlink:label="lab_dei_EntityEmergingGrowthCompany" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Emerging Growth Company</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityEmergingGrowthCompany" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityEmergingGrowthCompany"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityEmergingGrowthCompany" xlink:to="lab_dei_EntityEmergingGrowthCompany" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_c74313b0-afe6-48a8-89f9-c05bd0b7b45e_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">2028</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Maturity, Year Three</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract_21f941ac-2912-4a53-b542-0035ab1cc7c7_terseLabel_en-US" xlink:label="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidations and Transfers of Financial Assets [Abstract]</link:label>
    <link:label id="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract_label_en-US" xlink:label="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidations and Transfers of Financial Assets [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract" xlink:href="fnm-20251231.xsd#fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract" xlink:to="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapitalRatio_a37d228d-01e2-4377-814e-ff02f8d20844_terseLabel_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapitalRatio" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement Ratio (including Buffers)</link:label>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapitalRatio_label_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapitalRatio" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier 1 Risk-Based Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonEquityTierOneCapitalRatio" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonEquityTierOneCapitalRatio"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonEquityTierOneCapitalRatio" xlink:to="lab_us-gaap_CommonEquityTierOneCapitalRatio" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_019be6c7-fb03-7500-8d89-43de04493de0_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other adjustments, amount</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Reconciling Items, Amount [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:to="lab_us-gaap_IncomeTaxReconciliationOtherReconcilingItemsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember_terseLabel_en-US" xlink:label="lab_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year</link:label>
    <link:label id="lab_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember_label_en-US" xlink:label="lab_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Change in Fair Value as of Vesting Date of Prior Year Equity Awards Vested in Covered Year [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember" xlink:to="lab_ecd_ChngInFrValAsOfVstngDtOfPrrYrEqtyAwrdsVstdInCvrdYrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_9b9cd79c-27ba-4445-b75e-383705c5d903_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt instruments</link:label>
    <link:label id="lab_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts_label_en-US" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Liabilities, Deferred Expense, Debt Issuance Costs</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts" xlink:to="lab_us-gaap_DeferredTaxLiabilitiesDeferredExpenseDeferredFinancingCosts" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeGainLossOnDerivativeNet_8fdde574-26df-450e-8157-5322b748a756_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeGainLossOnDerivativeNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total risk management derivatives fair value gains (losses), net</link:label>
    <link:label id="lab_us-gaap_DerivativeGainLossOnDerivativeNet_label_en-US" xlink:label="lab_us-gaap_DerivativeGainLossOnDerivativeNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative, Gain (Loss) on Derivative, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeGainLossOnDerivativeNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeGainLossOnDerivativeNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeGainLossOnDerivativeNet" xlink:to="lab_us-gaap_DerivativeGainLossOnDerivativeNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_8a80e0c6-db91-4c0a-bc1d-00aff7a60244_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Purchases</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Purchases</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NoninterestIncome_e0a52e3e-5ece-47f5-9d53-533de306f7d4_totalLabel_en-US" xlink:label="lab_us-gaap_NoninterestIncome" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Non-interest income</link:label>
    <link:label id="lab_us-gaap_NoninterestIncome_label_en-US" xlink:label="lab_us-gaap_NoninterestIncome" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Noninterest Income</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncome"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestIncome" xlink:to="lab_us-gaap_NoninterestIncome" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonStockSharesOutstanding_c0f3e70b-3ff7-46a9-990c-240abd4cf459_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock, shares outstanding (in shares)</link:label>
    <link:label id="lab_us-gaap_CommonStockSharesOutstanding_label_en-US" xlink:label="lab_us-gaap_CommonStockSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Shares, Outstanding</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesOutstanding"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesOutstanding" xlink:to="lab_us-gaap_CommonStockSharesOutstanding" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LoansInMortgagePortfolioLineItems_7775eabc-8e22-45b7-a1b2-dcdaadd317f8_terseLabel_en-US" xlink:label="lab_fnm_LoansInMortgagePortfolioLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans in Mortgage Portfolio [Line Items]</link:label>
    <link:label id="lab_fnm_LoansInMortgagePortfolioLineItems_label_en-US" xlink:label="lab_fnm_LoansInMortgagePortfolioLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans In Mortgage Portfolio [Line Items]</link:label>
    <link:label id="lab_fnm_LoansInMortgagePortfolioLineItems_documentation_en-US" xlink:label="lab_fnm_LoansInMortgagePortfolioLineItems" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Line items represent financial concepts included in a table. These concepts are used to disclose reportable information associated with domain members defined in one or many axes to the table.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LoansInMortgagePortfolioLineItems" xlink:href="fnm-20251231.xsd#fnm_LoansInMortgagePortfolioLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LoansInMortgagePortfolioLineItems" xlink:to="lab_fnm_LoansInMortgagePortfolioLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet_fae45b08-d15d-4129-8c76-2bcd2a3e2fbd_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net change in securities purchased under agreements to resell</link:label>
    <link:label id="lab_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet_label_en-US" xlink:label="lab_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from (Payments for) Federal Funds Sold and Securities Purchased under Agreements to Resell, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet" xlink:to="lab_us-gaap_ProceedsFromPaymentsForFederalFundsSoldAndSecuritiesPurchasedUnderAgreementsToResellNet" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesQPreferredStockMember_4b96b989-c255-4523-92fd-c5808f400271_terseLabel_en-US" xlink:label="lab_fnm_SeriesQPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series Q</link:label>
    <link:label id="lab_fnm_SeriesQPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesQPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series Q Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesQPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesQPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series Q Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesQPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesQPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesQPreferredStockMember" xlink:to="lab_fnm_SeriesQPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NoninterestExpenseAbstract_75fac01b-3780-47a5-9c74-c910c2aa0b85_terseLabel_en-US" xlink:label="lab_us-gaap_NoninterestExpenseAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-interest expense:</link:label>
    <link:label id="lab_us-gaap_NoninterestExpenseAbstract_label_en-US" xlink:label="lab_us-gaap_NoninterestExpenseAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Noninterest Expense [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpenseAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpenseAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestExpenseAbstract" xlink:to="lab_us-gaap_NoninterestExpenseAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract_05a46caa-fa48-4a97-8f70-62abc177a206_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjusted total capital</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Capital [Abstract]</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Capital</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalCapitalAbstract" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalCapitalAbstract" xlink:to="lab_fnm_BankingRegulationAdjustedTotalCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_078bafb2-18a9-4f83-94ba-7bd3b653da73_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Class of Financing Receivable [Domain]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_708052fb-9656-4bf4-9ad5-ebc4b9ea6aaa_verboseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Class of Financing Receivable [Domain]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Financing Receivable [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageLoansMember_b70f6d18-8fea-4c5d-b35c-c4f21d390710_terseLabel_en-US" xlink:label="lab_fnm_MortgageLoansMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans</link:label>
    <link:label id="lab_fnm_MortgageLoansMember_label_en-US" xlink:label="lab_fnm_MortgageLoansMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage loans [Member]</link:label>
    <link:label id="lab_fnm_MortgageLoansMember_documentation_en-US" xlink:label="lab_fnm_MortgageLoansMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Mortgage loans</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageLoansMember" xlink:href="fnm-20251231.xsd#fnm_MortgageLoansMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageLoansMember" xlink:to="lab_fnm_MortgageLoansMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember_terseLabel_en-US" xlink:label="lab_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year</link:label>
    <link:label id="lab_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember_label_en-US" xlink:label="lab_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Dividends or Other Earnings Paid on Equity Awards not Otherwise Reflected in Total Compensation for Covered Year [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember" xlink:to="lab_ecd_DvddsOrOthrErngsPdOnEqtyAwrdsNtOthrwsRflctdInTtlCompForCvrdYrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteeObligationsCurrentCarryingValue_cab5e9b9-7dfb-454d-a518-d95c659058ed_verboseLabel_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Guarantor obligation</link:label>
    <link:label id="lab_us-gaap_GuaranteeObligationsCurrentCarryingValue_label_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantor Obligations, Current Carrying Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:to="lab_us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff_c0a0d153-aa60-4320-974a-486032360f87_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current fiscal year, writeoff</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year One, Originated, Current Fiscal Year, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff" xlink:to="lab_us-gaap_FinancingReceivableYearOneOriginatedCurrentFiscalYearWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_c7d3f477-63db-4913-950b-9b9682fc987c_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Abstract]</link:label>
    <link:label id="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract_label_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:to="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage_d1aaa8bb-b2fa-4b7f-adee-167db7a93920_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Effective interest rate</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Interest Rate, Effective Percentage</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentInterestRateEffectivePercentage"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:to="lab_us-gaap_DebtInstrumentInterestRateEffectivePercentage" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PledgedStatusDomain_c6dfff4f-7ca1-4962-a62f-d3e9cfaeb557_terseLabel_en-US" xlink:label="lab_us-gaap_PledgedStatusDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pledged Status [Domain]</link:label>
    <link:label id="lab_us-gaap_PledgedStatusDomain_label_en-US" xlink:label="lab_us-gaap_PledgedStatusDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pledged Status [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgedStatusDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgedStatusDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PledgedStatusDomain" xlink:to="lab_us-gaap_PledgedStatusDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityAddressPostalZipCode_038b2202-40de-4855-acf0-b18e8416059b_terseLabel_en-US" xlink:label="lab_dei_EntityAddressPostalZipCode" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Address, Postal Zip Code</link:label>
    <link:label id="lab_dei_EntityAddressPostalZipCode_label_en-US" xlink:label="lab_dei_EntityAddressPostalZipCode" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Address, Postal Zip Code</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressPostalZipCode" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressPostalZipCode"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressPostalZipCode" xlink:to="lab_dei_EntityAddressPostalZipCode" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_RestatementDeterminationDate_terseLabel_en-US" xlink:label="lab_ecd_RestatementDeterminationDate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restatement Determination Date</link:label>
    <link:label id="lab_ecd_RestatementDeterminationDate_label_en-US" xlink:label="lab_ecd_RestatementDeterminationDate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Restatement Determination Date</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_RestatementDeterminationDate" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_RestatementDeterminationDate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_RestatementDeterminationDate" xlink:to="lab_ecd_RestatementDeterminationDate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_a3ea9930-6e4a-4536-9cba-f58d31243a0f_terseLabel_en-US" xlink:label="lab_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Incremental common shares attributable to dilutive effect of conversion of preferred stock (in shares)</link:label>
    <link:label id="lab_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock_label_en-US" xlink:label="lab_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Incremental Common Shares Attributable to Dilutive Effect of Conversion of Preferred Stock</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:to="lab_us-gaap_IncrementalCommonSharesAttributableToConversionOfPreferredStock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefit_78749343-5b5f-4814-bc7c-ba44c970e574_negatedLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Provision for federal income taxes</link:label>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefit_d5ba9d93-9b74-4af4-a90a-5f581399771c_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Provision for federal income taxes</link:label>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefit_019b139a-11a3-781d-a0db-f0d844d005c9_totalLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Provision for U.S. federal income taxes and effective tax rate</link:label>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefit_label_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Expense (Benefit)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefit"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefit" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember_61c22df8-75cf-4a90-bf1a-909fd63cf62a_terseLabel_en-US" xlink:label="lab_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Trading Securities</link:label>
    <link:label id="lab_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember_label_en-US" xlink:label="lab_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Assets, Excluding Debt and Equity Securities [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember" xlink:to="lab_us-gaap_TradingAssetsExcludingDebtAndEquitySecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherAssets_1257d958-6e61-4273-9256-91beb28d02ee_terseLabel_en-US" xlink:label="lab_us-gaap_OtherAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other assets</link:label>
    <link:label id="lab_us-gaap_OtherAssets_label_en-US" xlink:label="lab_us-gaap_OtherAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherAssets" xlink:to="lab_us-gaap_OtherAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_3aeb5d64-6e09-4b04-8c14-790245ce274c_periodStartLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning Balance</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_c97f5705-93d7-4509-b771-efdba120c171_periodEndLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Ending Balance</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentInformationLineItems_e45e946a-4ebf-475e-b27d-bf8e131f9cf2_terseLabel_en-US" xlink:label="lab_dei_DocumentInformationLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Information [Line Items]</link:label>
    <link:label id="lab_dei_DocumentInformationLineItems_label_en-US" xlink:label="lab_dei_DocumentInformationLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Information [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationLineItems" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentInformationLineItems" xlink:to="lab_dei_DocumentInformationLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockSharesIssued_9a8b6184-3dea-4572-91dc-55b152165fb2_verboseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockSharesIssued" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, shares issued (in shares)</link:label>
    <link:label id="lab_us-gaap_PreferredStockSharesIssued_label_en-US" xlink:label="lab_us-gaap_PreferredStockSharesIssued" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Shares Issued</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesIssued" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesIssued"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesIssued" xlink:to="lab_us-gaap_PreferredStockSharesIssued" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PnsnAdjsSvcCstMember_terseLabel_en-US" xlink:label="lab_ecd_PnsnAdjsSvcCstMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pension Adjustments Service Cost</link:label>
    <link:label id="lab_ecd_PnsnAdjsSvcCstMember_label_en-US" xlink:label="lab_ecd_PnsnAdjsSvcCstMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pension Adjustments Service Cost [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PnsnAdjsSvcCstMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PnsnAdjsSvcCstMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PnsnAdjsSvcCstMember" xlink:to="lab_ecd_PnsnAdjsSvcCstMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DesignatedAsHedgingInstrumentMember_c42878d3-dbdd-49cd-8777-d9f3d2fd757b_terseLabel_en-US" xlink:label="lab_us-gaap_DesignatedAsHedgingInstrumentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risk management derivatives designated as hedging instruments:</link:label>
    <link:label id="lab_us-gaap_DesignatedAsHedgingInstrumentMember_label_en-US" xlink:label="lab_us-gaap_DesignatedAsHedgingInstrumentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Designated as Hedging Instrument [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DesignatedAsHedgingInstrumentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DesignatedAsHedgingInstrumentMember" xlink:to="lab_us-gaap_DesignatedAsHedgingInstrumentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConvertibleStockConversionPrice_98278fe3-7882-4254-a2bd-b8415388c690_terseLabel_en-US" xlink:label="lab_fnm_ConvertibleStockConversionPrice" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Conversion price per share (in dollars per share)</link:label>
    <link:label id="lab_fnm_ConvertibleStockConversionPrice_label_en-US" xlink:label="lab_fnm_ConvertibleStockConversionPrice" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Convertible Stock, Conversion Price</link:label>
    <link:label id="lab_fnm_ConvertibleStockConversionPrice_documentation_en-US" xlink:label="lab_fnm_ConvertibleStockConversionPrice" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">The price per share of the conversion of the convertible series 2004-1 preferred stock to Fannie Mae common stock.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConvertibleStockConversionPrice" xlink:href="fnm-20251231.xsd#fnm_ConvertibleStockConversionPrice"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConvertibleStockConversionPrice" xlink:to="lab_fnm_ConvertibleStockConversionPrice" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_a5801cc8-8244-4efa-be4e-291ec740a3f8_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
    <link:label id="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis_label_en-US" xlink:label="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:to="lab_us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PrimarilyConsensusMember_5f05b589-1b4a-4788-a730-c27fc135d913_terseLabel_en-US" xlink:label="lab_fnm_PrimarilyConsensusMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single Vendor</link:label>
    <link:label id="lab_fnm_PrimarilyConsensusMember_label_en-US" xlink:label="lab_fnm_PrimarilyConsensusMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Primarily Consensus [Member]</link:label>
    <link:label id="lab_fnm_PrimarilyConsensusMember_documentation_en-US" xlink:label="lab_fnm_PrimarilyConsensusMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Primarily Consensus</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PrimarilyConsensusMember" xlink:href="fnm-20251231.xsd#fnm_PrimarilyConsensusMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PrimarilyConsensusMember" xlink:to="lab_fnm_PrimarilyConsensusMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RiskWeightedAssets_4d88bfa8-6d80-4c80-8a10-f7c6f78bf20e_terseLabel_en-US" xlink:label="lab_us-gaap_RiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risk-weighted assets</link:label>
    <link:label id="lab_us-gaap_RiskWeightedAssets_label_en-US" xlink:label="lab_us-gaap_RiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Risk-Weighted Assets, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RiskWeightedAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RiskWeightedAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RiskWeightedAssets" xlink:to="lab_us-gaap_RiskWeightedAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OffsettingAbstract_3c297967-d0e5-43e0-a4fe-edbfb6489428_terseLabel_en-US" xlink:label="lab_us-gaap_OffsettingAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Offsetting [Abstract]</link:label>
    <link:label id="lab_us-gaap_OffsettingAbstract_label_en-US" xlink:label="lab_us-gaap_OffsettingAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Offsetting [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OffsettingAbstract" xlink:to="lab_us-gaap_OffsettingAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_SingleFamilyMember_a2389d2f-6314-4815-8289-c0b6f52293f5_terseLabel_en-US" xlink:label="lab_srt_SingleFamilyMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single-family</link:label>
    <link:label id="lab_srt_SingleFamilyMember_label_en-US" xlink:label="lab_srt_SingleFamilyMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Single Family [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SingleFamilyMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SingleFamilyMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_SingleFamilyMember" xlink:to="lab_srt_SingleFamilyMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock_terseLabel_en-US" xlink:label="lab_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Company Selected Measure</link:label>
    <link:label id="lab_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock_label_en-US" xlink:label="lab_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Company Selected Measure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock" xlink:to="lab_ecd_CompActuallyPaidVsCoSelectedMeasureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalAbstract_0005005c-2efc-4f1c-ad34-bdc59d8f5220_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tier 1 capital</link:label>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalAbstract_label_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Risk-Based Capital [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapitalAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneRiskBasedCapitalAbstract" xlink:to="lab_us-gaap_TierOneRiskBasedCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TenYearMaturityUSTreasuryRateMember_e8bf4ba9-1a85-4ed5-9a69-01d55b0d51c5_terseLabel_en-US" xlink:label="lab_fnm_TenYearMaturityUSTreasuryRateMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Ten-year Constant Maturity U.S. Treasury Rate</link:label>
    <link:label id="lab_fnm_TenYearMaturityUSTreasuryRateMember_label_en-US" xlink:label="lab_fnm_TenYearMaturityUSTreasuryRateMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Ten-year Maturity U.S. Treasury Rate [Member]</link:label>
    <link:label id="lab_fnm_TenYearMaturityUSTreasuryRateMember_documentation_en-US" xlink:label="lab_fnm_TenYearMaturityUSTreasuryRateMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">An index based on the average yield of a range of Treasury securities, adjusted to the equivalent of a 10-year maturity.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TenYearMaturityUSTreasuryRateMember" xlink:href="fnm-20251231.xsd#fnm_TenYearMaturityUSTreasuryRateMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TenYearMaturityUSTreasuryRateMember" xlink:to="lab_fnm_TenYearMaturityUSTreasuryRateMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock_019b0e6e-37b5-7d22-b038-fcf509134222_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Summary of Prior Period Adjustments</link:label>
    <link:label id="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Error Corrections and Prior Period Adjustments [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:to="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AllTradingArrangementsMember_terseLabel_en-US" xlink:label="lab_ecd_AllTradingArrangementsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">All Trading Arrangements</link:label>
    <link:label id="lab_ecd_AllTradingArrangementsMember_label_en-US" xlink:label="lab_ecd_AllTradingArrangementsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">All Trading Arrangements [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllTradingArrangementsMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AllTradingArrangementsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AllTradingArrangementsMember" xlink:to="lab_ecd_AllTradingArrangementsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_EqtyAwrdsAdjFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_EqtyAwrdsAdjFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Awards Adjustments, Footnote</link:label>
    <link:label id="lab_ecd_EqtyAwrdsAdjFnTextBlock_label_en-US" xlink:label="lab_ecd_EqtyAwrdsAdjFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Awards Adjustments, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_EqtyAwrdsAdjFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_EqtyAwrdsAdjFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_EqtyAwrdsAdjFnTextBlock" xlink:to="lab_ecd_EqtyAwrdsAdjFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TotalShareholderRtnVsPeerGroupTextBlock_terseLabel_en-US" xlink:label="lab_ecd_TotalShareholderRtnVsPeerGroupTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Shareholder Return Vs Peer Group</link:label>
    <link:label id="lab_ecd_TotalShareholderRtnVsPeerGroupTextBlock_label_en-US" xlink:label="lab_ecd_TotalShareholderRtnVsPeerGroupTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Total Shareholder Return Vs Peer Group [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TotalShareholderRtnVsPeerGroupTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TotalShareholderRtnVsPeerGroupTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TotalShareholderRtnVsPeerGroupTextBlock" xlink:to="lab_ecd_TotalShareholderRtnVsPeerGroupTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesIPreferredStockMember_1b7521ec-ddeb-4e0f-a7f4-2b4c53b2a97b_terseLabel_en-US" xlink:label="lab_fnm_SeriesIPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series I</link:label>
    <link:label id="lab_fnm_SeriesIPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesIPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series I Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesIPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesIPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series I Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesIPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesIPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesIPreferredStockMember" xlink:to="lab_fnm_SeriesIPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesPolicyTextBlock_0cdcb24e-3bf4-4650-b2b3-096d17d22d36_terseLabel_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies</link:label>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingenciesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesPolicyTextBlock" xlink:to="lab_us-gaap_CommitmentsAndContingenciesPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments_019b1392-d68e-78fd-ba82-1df0a0d15b69_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Adjustments, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationOtherAdjustments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:to="lab_us-gaap_IncomeTaxReconciliationOtherAdjustments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxLiabilitiesAbstract_36de8dd4-ab5d-4c6e-a6f8-b9beabd20ba5_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred tax liabilities:</link:label>
    <link:label id="lab_us-gaap_DeferredTaxLiabilitiesAbstract_label_en-US" xlink:label="lab_us-gaap_DeferredTaxLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Liabilities, Gross [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxLiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxLiabilitiesAbstract" xlink:to="lab_us-gaap_DeferredTaxLiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NoninterestIncomeOtherOperatingIncome_2bd9160e-20ca-4864-8b13-32125437a6ae_terseLabel_en-US" xlink:label="lab_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fee and other income</link:label>
    <link:label id="lab_us-gaap_NoninterestIncomeOtherOperatingIncome_label_en-US" xlink:label="lab_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Noninterest Income, Other Operating Income</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOtherOperatingIncome"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:to="lab_us-gaap_NoninterestIncomeOtherOperatingIncome" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual_8d4f46f6-eda1-4257-bb6a-0479667bfbb9_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement Ratio (including Buffers)</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital Ratio, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual" xlink:to="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_c88029d7-ea27-4971-9c1f-0fbe5fbfe8d1_terseLabel_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</link:label>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies Disclosure [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual_de180600-a043-4c90-a053-8504ebc174c4_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit) Ratio</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual_label_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Core Leverage Capital Ratio, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Core Leverage Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual" xlink:to="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalRatioActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_fd68910a-5351-4a95-9d27-44931e041024_totalLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net cash provided by (used in) operating activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Provided by (Used in) Operating Activity, Including Discontinued Operation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentTerm_b59cd4b4-9b7b-412a-ab08-18beb9a3d45f_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentTerm" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Contractual maturity term</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentTerm_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentTerm" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Term</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentTerm" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentTerm"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentTerm" xlink:to="lab_us-gaap_DebtInstrumentTerm" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_f79cdb60-c5f1-4766-8164-459214a036c4_verboseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Total available-for-sale securities</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_474a43a1-62a9-43e6-a8ca-bfae4c17687b_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available-for-sale securities</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-Sale, Excluding Accrued Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleExcludingAccruedInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LoansInMortgagePortfolioTable_593cac4e-46ab-4c0d-a100-11937658fb78_terseLabel_en-US" xlink:label="lab_fnm_LoansInMortgagePortfolioTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans in Mortgage Portfolio [Table]</link:label>
    <link:label id="lab_fnm_LoansInMortgagePortfolioTable_label_en-US" xlink:label="lab_fnm_LoansInMortgagePortfolioTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans In Mortgage Portfolio [Table]</link:label>
    <link:label id="lab_fnm_LoansInMortgagePortfolioTable_documentation_en-US" xlink:label="lab_fnm_LoansInMortgagePortfolioTable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Schedule detailing Single-family and Multifamily mortgage loans, including loans held for investment and loans held for sale of Fannie Mae and Consolidated Trusts, as of the end of the period. In addition, we report the related allowance for loan losses for loans held for investment as of the end of the period.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LoansInMortgagePortfolioTable" xlink:href="fnm-20251231.xsd#fnm_LoansInMortgagePortfolioTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LoansInMortgagePortfolioTable" xlink:to="lab_fnm_LoansInMortgagePortfolioTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_bc329823-9876-48e4-ad5a-f6946482dbdd_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Sales</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Sales</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockParOrStatedValuePerShare_ef0be9ae-5db4-4b46-b760-eeb80b7b0058_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockParOrStatedValuePerShare" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, stated value per share (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_PreferredStockParOrStatedValuePerShare_label_en-US" xlink:label="lab_us-gaap_PreferredStockParOrStatedValuePerShare" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Par or Stated Value Per Share</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockParOrStatedValuePerShare"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockParOrStatedValuePerShare" xlink:to="lab_us-gaap_PreferredStockParOrStatedValuePerShare" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestIncomeExpenseNet_df38a44a-2fd9-4b73-a920-95aaf6442687_totalLabel_en-US" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net interest income</link:label>
    <link:label id="lab_us-gaap_InterestIncomeExpenseNet_7b5492e2-dfc0-4f2a-ac9e-515fd1c21de0_verboseLabel_en-US" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Net contractual interest expense on interest-rate swaps</link:label>
    <link:label id="lab_us-gaap_InterestIncomeExpenseNet_70c58b07-66f5-40e7-a78c-d0a2af358bf9_terseLabel_en-US" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net interest income</link:label>
    <link:label id="lab_us-gaap_InterestIncomeExpenseNet_label_en-US" xlink:label="lab_us-gaap_InterestIncomeExpenseNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Income (Expense), Operating</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeExpenseNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeExpenseNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeExpenseNet" xlink:to="lab_us-gaap_InterestIncomeExpenseNet" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_EquityValuationAssumptionDifferenceFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_EquityValuationAssumptionDifferenceFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Valuation Assumption Difference, Footnote</link:label>
    <link:label id="lab_ecd_EquityValuationAssumptionDifferenceFnTextBlock_label_en-US" xlink:label="lab_ecd_EquityValuationAssumptionDifferenceFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Valuation Assumption Difference, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_EquityValuationAssumptionDifferenceFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_EquityValuationAssumptionDifferenceFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_EquityValuationAssumptionDifferenceFnTextBlock" xlink:to="lab_ecd_EquityValuationAssumptionDifferenceFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PeoTotalCompAmt_terseLabel_en-US" xlink:label="lab_ecd_PeoTotalCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">PEO Total Compensation Amount</link:label>
    <link:label id="lab_ecd_PeoTotalCompAmt_label_en-US" xlink:label="lab_ecd_PeoTotalCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">PEO Total Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PeoTotalCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PeoTotalCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PeoTotalCompAmt" xlink:to="lab_ecd_PeoTotalCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapital_34686e90-067c-4820-b66c-edf39d30567c_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapital" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement (including buffers)</link:label>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapital_label_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapital" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Risk-Based Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapital" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapital"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneRiskBasedCapital" xlink:to="lab_us-gaap_TierOneRiskBasedCapital" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongtermDebtTypeAxis_276647a2-e598-4d80-9b98-1cff1f070844_terseLabel_en-US" xlink:label="lab_us-gaap_LongtermDebtTypeAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-term Debt, Type [Axis]</link:label>
    <link:label id="lab_us-gaap_LongtermDebtTypeAxis_label_en-US" xlink:label="lab_us-gaap_LongtermDebtTypeAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Type [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtTypeAxis" xlink:to="lab_us-gaap_LongtermDebtTypeAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeLiability_f12fdf93-7bd7-44e2-824a-2820d11c20ab_negatedLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, gross amount</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeLiability_label_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Subject to Master Netting Arrangement, before Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:to="lab_us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TrialModificationAndRepaymentPlansMember_16db929f-359c-444a-9bff-99595ba01575_terseLabel_en-US" xlink:label="lab_fnm_TrialModificationAndRepaymentPlansMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Trial Modification and Repayment Plans</link:label>
    <link:label id="lab_fnm_TrialModificationAndRepaymentPlansMember_label_en-US" xlink:label="lab_fnm_TrialModificationAndRepaymentPlansMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trial Modification and Repayment Plans [Member]</link:label>
    <link:label id="lab_fnm_TrialModificationAndRepaymentPlansMember_documentation_en-US" xlink:label="lab_fnm_TrialModificationAndRepaymentPlansMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Trial Modification and Repayment Plans</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TrialModificationAndRepaymentPlansMember" xlink:href="fnm-20251231.xsd#fnm_TrialModificationAndRepaymentPlansMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TrialModificationAndRepaymentPlansMember" xlink:to="lab_fnm_TrialModificationAndRepaymentPlansMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FHFADebtLimit_915d982b-780d-49da-8ca6-7a63c47af33a_terseLabel_en-US" xlink:label="lab_fnm_FHFADebtLimit" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">FHFA debt limit</link:label>
    <link:label id="lab_fnm_FHFADebtLimit_label_en-US" xlink:label="lab_fnm_FHFADebtLimit" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">FHFA Debt Limit</link:label>
    <link:label id="lab_fnm_FHFADebtLimit_documentation_en-US" xlink:label="lab_fnm_FHFADebtLimit" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">FHFA Debt Limit</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FHFADebtLimit" xlink:href="fnm-20251231.xsd#fnm_FHFADebtLimit"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FHFADebtLimit" xlink:to="lab_fnm_FHFADebtLimit" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault_53ebdfd8-6a60-47a0-bb9d-234bec1ff60a_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restructured loans, subsequent default</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault_label_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Amortized Cost, Subsequent Default</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Amortized Cost, Subsequent Default</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault" xlink:to="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCostSubsequentDefault" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementEquityComponentsAxis_cd8c425f-13ca-49bb-ae18-59efb108a447_terseLabel_en-US" xlink:label="lab_us-gaap_StatementEquityComponentsAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Components [Axis]</link:label>
    <link:label id="lab_us-gaap_StatementEquityComponentsAxis_label_en-US" xlink:label="lab_us-gaap_StatementEquityComponentsAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Components [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementEquityComponentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementEquityComponentsAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementEquityComponentsAxis" xlink:to="lab_us-gaap_StatementEquityComponentsAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonRule10b51ArrAdoptedFlag_terseLabel_en-US" xlink:label="lab_ecd_NonRule10b51ArrAdoptedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-Rule 10b5-1 Arrangement Adopted</link:label>
    <link:label id="lab_ecd_NonRule10b51ArrAdoptedFlag_label_en-US" xlink:label="lab_ecd_NonRule10b51ArrAdoptedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-Rule 10b5-1 Arrangement Adopted [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonRule10b51ArrAdoptedFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonRule10b51ArrAdoptedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonRule10b51ArrAdoptedFlag" xlink:to="lab_ecd_NonRule10b51ArrAdoptedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction_021ad3ad-b014-4912-b05c-5a808e89e663_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities, under master netting arrangements, amounts not offset in our consolidated balance sheets, financial statements</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction" xlink:to="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedNotOffsetPolicyElectionDeduction" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_c274f242-fb09-4a8b-8a6d-f72d8d12d55c_terseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Reclassification adjustment for gains (losses) included in net loss, tax</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Reclassification Adjustment from AOCI for Sale of Securities, Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossReclassificationAdjustmentFromAOCIForSaleOfSecuritiesTax" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NumberOfReportableSegments_d23853cb-558a-4547-a49c-592d7723d82e_terseLabel_en-US" xlink:label="lab_us-gaap_NumberOfReportableSegments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Number of reportable segments</link:label>
    <link:label id="lab_us-gaap_NumberOfReportableSegments_label_en-US" xlink:label="lab_us-gaap_NumberOfReportableSegments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Reportable Segments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NumberOfReportableSegments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NumberOfReportableSegments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NumberOfReportableSegments" xlink:to="lab_us-gaap_NumberOfReportableSegments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_8c2cb9fe-e430-46f7-beaf-0256c7809870_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net unamortized discount, fair value adjustments and other cost basis adjustments</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Unamortized Discount (Premium), Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:to="lab_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityAddressStateOrProvince_1b036291-8894-482e-85ca-6d9ebd00df32_terseLabel_en-US" xlink:label="lab_dei_EntityAddressStateOrProvince" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Address, State or Province</link:label>
    <link:label id="lab_dei_EntityAddressStateOrProvince_label_en-US" xlink:label="lab_dei_EntityAddressStateOrProvince" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Address, State or Province</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressStateOrProvince" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressStateOrProvince"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressStateOrProvince" xlink:to="lab_dei_EntityAddressStateOrProvince" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SubstandardMember_4da279f6-3e6e-4d46-a7e0-6bff66b0f9a9_terseLabel_en-US" xlink:label="lab_us-gaap_SubstandardMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Substandard</link:label>
    <link:label id="lab_us-gaap_SubstandardMember_label_en-US" xlink:label="lab_us-gaap_SubstandardMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Substandard [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SubstandardMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SubstandardMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SubstandardMember" xlink:to="lab_us-gaap_SubstandardMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestAndDividendIncomeOperating_0b5b5339-74b0-4e60-a548-e2103b921b47_totalLabel_en-US" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperating" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total interest income</link:label>
    <link:label id="lab_us-gaap_InterestAndDividendIncomeOperating_label_en-US" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperating" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest and Dividend Income, Operating</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperating"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperating" xlink:to="lab_us-gaap_InterestAndDividendIncomeOperating" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SpecialMentionMember_403d8c1d-e782-42e3-88db-c3f7b7a5f121_terseLabel_en-US" xlink:label="lab_us-gaap_SpecialMentionMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Special Mention</link:label>
    <link:label id="lab_us-gaap_SpecialMentionMember_label_en-US" xlink:label="lab_us-gaap_SpecialMentionMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Special Mention [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SpecialMentionMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SpecialMentionMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SpecialMentionMember" xlink:to="lab_us-gaap_SpecialMentionMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain_3f25b2d7-4535-49a0-8ffc-80060d211378_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Asset, Period Past Due [Domain]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain_label_en-US" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, Aging [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:to="lab_us-gaap_FinancingReceivablesPeriodPastDueDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AppraisalsMember_429ac25c-4bb1-4560-b7c6-6a92cb03b6ad_terseLabel_en-US" xlink:label="lab_fnm_AppraisalsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Appraisal</link:label>
    <link:label id="lab_fnm_AppraisalsMember_label_en-US" xlink:label="lab_fnm_AppraisalsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Appraisals [Member]</link:label>
    <link:label id="lab_fnm_AppraisalsMember_documentation_en-US" xlink:label="lab_fnm_AppraisalsMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">An appraisal is a valuation techniques to estimate the fair value of a specific acquired property, other asset or collateral underlying a loan by a certified or licensed appraiser, in accordance with the Uniform Standards of Professional Appraisal Practice.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AppraisalsMember" xlink:href="fnm-20251231.xsd#fnm_AppraisalsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AppraisalsMember" xlink:to="lab_fnm_AppraisalsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock_e6413cf9-6b5f-4041-9bda-fab4c5453b1b_terseLabel_en-US" xlink:label="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidations and Transfers of Financial Assets</link:label>
    <link:label id="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock_label_en-US" xlink:label="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidations And Transfers Of Financial Assets [Text Block]</link:label>
    <link:label id="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock_documentation_en-US" xlink:label="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">The entire disclosure for consolidation of the reporting entity. Provides users with an understanding of (1) the significant judgments and assumptions made by an enterprise in determining whether it must consolidate a VIE and/or disclose information about its involvement with a VIE, (2) the nature of restrictions on a consolidated VIE's assets reported by an enterprise in its statement of financial position, including the carrying amounts of such assets, (3) the nature of, and changes in, the risks associated with an enterprise's involvement with the VIE, and (4) how an enterprise's involvement with the VIE affects the enterprise's financial position, financial performance, and cash flows. The entire disclosure for a transferor's continuing involvement in financial assets that it has transferred in a securitization or asset-backed financing arrangement, the nature of any restrictions on assets reported by an entity in its statement of financial position that relate to a transferred financial asset (including the carrying amounts of such assets), how servicing assets and servicing liabilities are reported, and (for securitization or asset-backed financing arrangements accounted for as sales) when a transferor has continuing involvement with the transferred financial assets and transfers of financial assets accounted for as secured borrowings, how the transfer of financial assets affects an entity's financial position, financial performance, and cash flows.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock" xlink:href="fnm-20251231.xsd#fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock" xlink:to="lab_fnm_ConsolidationsAndTransfersOfFinancialAssetsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LoansReceivableFairValueDisclosure_09c0a5bd-40c0-4f08-accb-ce3e9463058a_terseLabel_en-US" xlink:label="lab_us-gaap_LoansReceivableFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total loans held for investment, fair value</link:label>
    <link:label id="lab_us-gaap_LoansReceivableFairValueDisclosure_73bd09ca-eeab-411f-b29a-fcd43ef2d9b5_verboseLabel_en-US" xlink:label="lab_us-gaap_LoansReceivableFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Total multifamily mortgage loans held for investment, at amortized cost</link:label>
    <link:label id="lab_us-gaap_LoansReceivableFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_LoansReceivableFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans Receivable, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansReceivableFairValueDisclosure" xlink:to="lab_us-gaap_LoansReceivableFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFloatingOtherDebtMember_473d5c84-4726-48e9-a2c1-068478a6a111_terseLabel_en-US" xlink:label="lab_fnm_SeniorFloatingOtherDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_fnm_SeniorFloatingOtherDebtMember_label_en-US" xlink:label="lab_fnm_SeniorFloatingOtherDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Floating Other Debt [Member]</link:label>
    <link:label id="lab_fnm_SeniorFloatingOtherDebtMember_documentation_en-US" xlink:label="lab_fnm_SeniorFloatingOtherDebtMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior floating other with interest rates that are subject to adjustment represents debt instruments with original contractual maturities greater than one year that is not included in other senior floating rate debt categories. Includes a portion of structured debt instruments that is reported at fair value. Senior floating debt takes priority over other debt instruments sold by the company. In the event the company goes bankrupt, senior floating debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFloatingOtherDebtMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFloatingOtherDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFloatingOtherDebtMember" xlink:to="lab_fnm_SeniorFloatingOtherDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AffordableHousingProgramObligationPortion_6548c272-07a8-4461-95d2-6192fd366d44_terseLabel_en-US" xlink:label="lab_fnm_AffordableHousingProgramObligationPortion" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Affordable Housing Program obligation</link:label>
    <link:label id="lab_fnm_AffordableHousingProgramObligationPortion_label_en-US" xlink:label="lab_fnm_AffordableHousingProgramObligationPortion" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Affordable Housing Program Obligation, Portion</link:label>
    <link:label id="lab_fnm_AffordableHousingProgramObligationPortion_documentation_en-US" xlink:label="lab_fnm_AffordableHousingProgramObligationPortion" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Affordable Housing Program Obligation, Portion</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AffordableHousingProgramObligationPortion" xlink:href="fnm-20251231.xsd#fnm_AffordableHousingProgramObligationPortion"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AffordableHousingProgramObligationPortion" xlink:to="lab_fnm_AffordableHousingProgramObligationPortion" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_IndividualAxis_terseLabel_en-US" xlink:label="lab_ecd_IndividualAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Individual:</link:label>
    <link:label id="lab_ecd_IndividualAxis_label_en-US" xlink:label="lab_ecd_IndividualAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Individual [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_IndividualAxis" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_IndividualAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_IndividualAxis" xlink:to="lab_ecd_IndividualAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentAnnualReport_9d9fca29-cb4c-4276-83e1-7816c2804178_terseLabel_en-US" xlink:label="lab_dei_DocumentAnnualReport" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Annual Report</link:label>
    <link:label id="lab_dei_DocumentAnnualReport_label_en-US" xlink:label="lab_dei_DocumentAnnualReport" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Annual Report</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentAnnualReport" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentAnnualReport"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentAnnualReport" xlink:to="lab_dei_DocumentAnnualReport" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_a8dae9bb-21e5-4e95-8a9d-31b92f4e7181_verboseLabel_en-US" xlink:label="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Maximum Exposure to Loss</link:label>
    <link:label id="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_label_en-US" xlink:label="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Interest Entity, Reporting Entity Involvement, Maximum Loss Exposure, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:to="lab_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProfessionalAndContractServicesExpense_d7dba64e-21a4-4f74-b6dd-c0333ff98d53_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_ProfessionalAndContractServicesExpense" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Professional services, technology, and occupancy</link:label>
    <link:label id="lab_us-gaap_ProfessionalAndContractServicesExpense_label_en-US" xlink:label="lab_us-gaap_ProfessionalAndContractServicesExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Professional and Contract Services Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfessionalAndContractServicesExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfessionalAndContractServicesExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProfessionalAndContractServicesExpense" xlink:to="lab_us-gaap_ProfessionalAndContractServicesExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock_terseLabel_en-US" xlink:label="lab_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forgone Recovery, Explanation of Impracticability</link:label>
    <link:label id="lab_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock_label_en-US" xlink:label="lab_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forgone Recovery, Explanation of Impracticability [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock" xlink:to="lab_ecd_ForgoneRecoveryExplanationOfImpracticabilityTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy_530dbe55-bf7f-415d-a3f1-150eb7579cf8_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Requirement</link:label>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy_label_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Risk-Based Capital, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:to="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_c6ff514e-21e4-40ec-81f9-203234f75c7d_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Three fiscal years before</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Four, Originated, Three Years before Current Fiscal Year</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear" xlink:to="lab_us-gaap_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYear" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityInteractiveDataCurrent_28346133-0b53-45b4-a6a5-2c5251be547e_terseLabel_en-US" xlink:label="lab_dei_EntityInteractiveDataCurrent" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Interactive Data Current</link:label>
    <link:label id="lab_dei_EntityInteractiveDataCurrent_label_en-US" xlink:label="lab_dei_EntityInteractiveDataCurrent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Interactive Data Current</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityInteractiveDataCurrent" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityInteractiveDataCurrent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityInteractiveDataCurrent" xlink:to="lab_dei_EntityInteractiveDataCurrent" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_b71c432d-0b6a-48f4-81f9-de007a76a547_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Two fiscal years, writeoff</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff" xlink:to="lab_us-gaap_FinancingReceivableYearThreeOriginatedTwoYearsBeforeCurrentFiscalYearWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract_1e0dde9f-67e5-42c0-96a5-20a80228a135_terseLabel_en-US" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest income:</link:label>
    <link:label id="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract_label_en-US" xlink:label="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest and Dividend Income, Operating [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndDividendIncomeOperatingAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:to="lab_us-gaap_InterestAndDividendIncomeOperatingAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities_fc918def-7f14-4a12-816c-51e26bf2fa47_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell or similar arrangements, under master netting arrangements, amounts not offset in our consolidated balance sheets, collateral</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Security Purchased under Agreement to Resell, Subject to Master Netting Arrangement, Collateral, Obligation to Return Security Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellCollateralObligationToReturnSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NoninterestExpense_292469ac-9de8-40c8-b4ee-dbdb6a9904f9_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_NoninterestExpense" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total non-interest expense</link:label>
    <link:label id="lab_us-gaap_NoninterestExpense_dcb8576c-330d-4da1-bb35-421e5299f26e_totalLabel_en-US" xlink:label="lab_us-gaap_NoninterestExpense" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total non-interest expense</link:label>
    <link:label id="lab_us-gaap_NoninterestExpense_label_en-US" xlink:label="lab_us-gaap_NoninterestExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Noninterest Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestExpense" xlink:to="lab_us-gaap_NoninterestExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_537e63bd-9e66-418d-8c71-ab3483b8f3e0_verboseLabel_en-US" xlink:label="lab_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell</link:label>
    <link:label id="lab_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Federal Funds Sold and Securities Borrowed or Purchased under Agreements to Resell, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure" xlink:to="lab_us-gaap_FederalFundsSoldAndSecuritiesBorrowedOrPurchasedUnderAgreementsToResellFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MarketableSecurities_5bad0f73-5fec-4ac3-b854-fa406137ac77_terseLabel_en-US" xlink:label="lab_us-gaap_MarketableSecurities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments in securities, at fair value</link:label>
    <link:label id="lab_us-gaap_MarketableSecurities_label_en-US" xlink:label="lab_us-gaap_MarketableSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Marketable Securities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MarketableSecurities" xlink:to="lab_us-gaap_MarketableSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PaymentDeferralMember_c6b2c6ac-9922-41aa-ae11-15879b34bf8c_terseLabel_en-US" xlink:label="lab_us-gaap_PaymentDeferralMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Payment Deferral</link:label>
    <link:label id="lab_us-gaap_PaymentDeferralMember_label_en-US" xlink:label="lab_us-gaap_PaymentDeferralMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payment Deferral [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentDeferralMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentDeferralMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentDeferralMember" xlink:to="lab_us-gaap_PaymentDeferralMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock_47575e62-2781-45b3-9312-7cd1052d4b56_terseLabel_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Transfers of Financial Assets</link:label>
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Transfers and Servicing of Financial Assets, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock" xlink:to="lab_us-gaap_TransfersAndServicingOfFinancialAssetsPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AllowanceForCreditLossesTextBlock_dfd4ae9d-a23a-47ae-b808-da5a181a019b_terseLabel_en-US" xlink:label="lab_us-gaap_AllowanceForCreditLossesTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for Credit Losses</link:label>
    <link:label id="lab_us-gaap_AllowanceForCreditLossesTextBlock_label_en-US" xlink:label="lab_us-gaap_AllowanceForCreditLossesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Allowance for Credit Losses [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForCreditLossesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForCreditLossesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForCreditLossesTextBlock" xlink:to="lab_us-gaap_AllowanceForCreditLossesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_09fe731e-5351-4643-8030-90919162a84e_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current fiscal year</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year One, Originated, Current Fiscal Year</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear" xlink:to="lab_us-gaap_FinancingReceivableOriginatedInCurrentFiscalYear" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SeriesDPreferredStockMember_9e60212b-3e54-4d80-82ed-60beb897b66e_terseLabel_en-US" xlink:label="lab_us-gaap_SeriesDPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series D</link:label>
    <link:label id="lab_us-gaap_SeriesDPreferredStockMember_label_en-US" xlink:label="lab_us-gaap_SeriesDPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series D Preferred Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesDPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesDPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SeriesDPreferredStockMember" xlink:to="lab_us-gaap_SeriesDPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityCentralIndexKey_0318f54e-e36b-4587-bf46-6894cfd66f21_terseLabel_en-US" xlink:label="lab_dei_EntityCentralIndexKey" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Central Index Key</link:label>
    <link:label id="lab_dei_EntityCentralIndexKey_label_en-US" xlink:label="lab_dei_EntityCentralIndexKey" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Central Index Key</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCentralIndexKey" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCentralIndexKey"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCentralIndexKey" xlink:to="lab_dei_EntityCentralIndexKey" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SouthwestUnitedStatesMember_d72900a0-a961-436f-9173-7bac8366e22f_terseLabel_en-US" xlink:label="lab_fnm_SouthwestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Southwest</link:label>
    <link:label id="lab_fnm_SouthwestUnitedStatesMember_label_en-US" xlink:label="lab_fnm_SouthwestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Southwest United States [Member]</link:label>
    <link:label id="lab_fnm_SouthwestUnitedStatesMember_documentation_en-US" xlink:label="lab_fnm_SouthwestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Southwest includes AZ, AR, CO, KS, LA, MO, NM, OK, TX, UT</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SouthwestUnitedStatesMember" xlink:href="fnm-20251231.xsd#fnm_SouthwestUnitedStatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SouthwestUnitedStatesMember" xlink:to="lab_fnm_SouthwestUnitedStatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PeoName_terseLabel_en-US" xlink:label="lab_ecd_PeoName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">PEO Name</link:label>
    <link:label id="lab_ecd_PeoName_label_en-US" xlink:label="lab_ecd_PeoName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">PEO Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PeoName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PeoName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PeoName" xlink:to="lab_ecd_PeoName" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock_31ed4fb2-ea53-4bb1-9143-233df9d2d99d_verboseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Long-Term Debt by Year of Maturity</link:label>
    <link:label id="lab_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Maturities of Long-Term Debt [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfMaturitiesOfLongTermDebtTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_019b0e66-bfa7-7af7-aead-56e5610be897_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Error Correction [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Error Correction [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable" xlink:to="lab_us-gaap_ScheduleOfErrorCorrectionsAndPriorPeriodAdjustmentRestatementTable" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember_terseLabel_en-US" xlink:label="lab_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year</link:label>
    <link:label id="lab_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember_label_en-US" xlink:label="lab_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Prior Year End Fair Value of Equity Awards Granted in Any Prior Year that Fail to Meet Applicable Vesting Conditions During Covered Year [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember" xlink:to="lab_ecd_FrValAsOfPrrYrEndOfEqtyAwrdsGrntdInPrrYrsFldVstngCondsDrngCvrdYrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_1d23618f-2e79-40fd-b4b3-03844d5e700e_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Instruments [Line Items]</link:label>
    <link:label id="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_label_en-US" xlink:label="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Balance Sheet Grouping, Financial Statement Captions [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:to="lab_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AllowanceForMortgageInsuranceReceivable_c3c7af3f-d766-4ba8-83aa-0eea00601835_terseLabel_en-US" xlink:label="lab_fnm_AllowanceForMortgageInsuranceReceivable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for mortgage insurance receivable</link:label>
    <link:label id="lab_fnm_AllowanceForMortgageInsuranceReceivable_label_en-US" xlink:label="lab_fnm_AllowanceForMortgageInsuranceReceivable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Allowance for Mortgage Insurance Receivable</link:label>
    <link:label id="lab_fnm_AllowanceForMortgageInsuranceReceivable_documentation_en-US" xlink:label="lab_fnm_AllowanceForMortgageInsuranceReceivable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">The amount of the valuation allowance recorded as of the balance sheet date pertaining to the specified mortgage insurance receivable for which an assessment was made that a portion of such mortgage insurance receivable will not be collected.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AllowanceForMortgageInsuranceReceivable" xlink:href="fnm-20251231.xsd#fnm_AllowanceForMortgageInsuranceReceivable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AllowanceForMortgageInsuranceReceivable" xlink:to="lab_fnm_AllowanceForMortgageInsuranceReceivable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CurrencySwapMember_f1922b11-1447-4fa4-a26d-8c8751e6cb49_terseLabel_en-US" xlink:label="lab_us-gaap_CurrencySwapMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Foreign currency</link:label>
    <link:label id="lab_us-gaap_CurrencySwapMember_label_en-US" xlink:label="lab_us-gaap_CurrencySwapMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Currency Swap [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CurrencySwapMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CurrencySwapMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CurrencySwapMember" xlink:to="lab_us-gaap_CurrencySwapMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock_9924ffc6-fb61-4ec3-85ef-f9a6ec924cce_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Credit Quality Indicators</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable Credit Quality Indicators [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock" xlink:to="lab_us-gaap_FinancingReceivableCreditQualityIndicatorsTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue_8d0339e1-1f58-42f3-b17e-9b1f6b4d9923_terseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock, liquidation preference</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue_label_en-US" xlink:label="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock, Liquidation Preference, Value</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue_documentation_en-US" xlink:label="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock, Liquidation Preference, Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorPreferredStockLiquidationPreferenceValue" xlink:href="fnm-20251231.xsd#fnm_SeniorPreferredStockLiquidationPreferenceValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorPreferredStockLiquidationPreferenceValue" xlink:to="lab_fnm_SeniorPreferredStockLiquidationPreferenceValue" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_OutstandingAggtErrCompAmt_terseLabel_en-US" xlink:label="lab_ecd_OutstandingAggtErrCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Outstanding Aggregate Erroneous Compensation Amount</link:label>
    <link:label id="lab_ecd_OutstandingAggtErrCompAmt_label_en-US" xlink:label="lab_ecd_OutstandingAggtErrCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Outstanding Aggregate Erroneous Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_OutstandingAggtErrCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_OutstandingAggtErrCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_OutstandingAggtErrCompAmt" xlink:to="lab_ecd_OutstandingAggtErrCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_29aa713a-c8e9-426b-97ef-3d10177bb1a2_negatedPeriodStartLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:role="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning Balance</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_b80fa289-c9d5-4cef-a68e-652fcdad197d_negatedPeriodEndLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:role="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:type="resource" xml:lang="en-US">Ending Balance</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy_785ecd5b-3ace-4175-ba5d-05793c786f98_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Requirement</link:label>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy_label_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Leverage Capital, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:to="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_78844d6e-22b4-409d-a097-5831c5785d5e_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Results [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:to="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce_e120094d-331d-4717-8827-6e1f06efafb9_terseLabel_en-US" xlink:label="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pool mortgage insurance coverage risk in force</link:label>
    <link:label id="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce_label_en-US" xlink:label="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pool Mortgage Insurance Coverage Risk in Force</link:label>
    <link:label id="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce_documentation_en-US" xlink:label="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents our maximum potential loss recovery under the applicable pool mortgage insurance policies.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PoolMortgageInsuranceCoverageRiskInForce" xlink:href="fnm-20251231.xsd#fnm_PoolMortgageInsuranceCoverageRiskInForce"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PoolMortgageInsuranceCoverageRiskInForce" xlink:to="lab_fnm_PoolMortgageInsuranceCoverageRiskInForce" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgageBackedSecuritiesOtherMember_91cefd85-636e-4f87-b552-5c1f5b93d94b_terseLabel_en-US" xlink:label="lab_us-gaap_MortgageBackedSecuritiesOtherMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_us-gaap_MortgageBackedSecuritiesOtherMember_label_en-US" xlink:label="lab_us-gaap_MortgageBackedSecuritiesOtherMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage-Backed Securities, Other [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageBackedSecuritiesOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageBackedSecuritiesOtherMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageBackedSecuritiesOtherMember" xlink:to="lab_us-gaap_MortgageBackedSecuritiesOtherMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_011555fa-d138-44f8-ad7b-c27b80e8ef23_terseLabel_en-US" xlink:label="lab_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock warrant exercise price (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1_label_en-US" xlink:label="lab_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Warrant or Right, Exercise Price of Warrants or Rights</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:to="lab_us-gaap_ClassOfWarrantOrRightExercisePriceOfWarrantsOrRights1" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardExrcPrice_terseLabel_en-US" xlink:label="lab_ecd_AwardExrcPrice" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Exercise Price</link:label>
    <link:label id="lab_ecd_AwardExrcPrice_label_en-US" xlink:label="lab_ecd_AwardExrcPrice" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Exercise Price</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardExrcPrice" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardExrcPrice"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardExrcPrice" xlink:to="lab_ecd_AwardExrcPrice" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityFilerCategory_ca492b45-f045-41b6-85f5-5fd5030f9fbc_terseLabel_en-US" xlink:label="lab_dei_EntityFilerCategory" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Filer Category</link:label>
    <link:label id="lab_dei_EntityFilerCategory_label_en-US" xlink:label="lab_dei_EntityFilerCategory" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Filer Category</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityFilerCategory" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityFilerCategory"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityFilerCategory" xlink:to="lab_dei_EntityFilerCategory" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets_ea15fb9f-a700-4ca0-ad82-ce8339af31d0_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Ratio Requirement</link:label>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets_label_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Risk-Based Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:to="lab_us-gaap_TierOneRiskBasedCapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ClassOfStockDomain_f3012434-2811-46a3-97db-8cbf68a94af8_terseLabel_en-US" xlink:label="lab_us-gaap_ClassOfStockDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Class of Stock [Domain]</link:label>
    <link:label id="lab_us-gaap_ClassOfStockDomain_label_en-US" xlink:label="lab_us-gaap_ClassOfStockDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Stock [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClassOfStockDomain" xlink:to="lab_us-gaap_ClassOfStockDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_0e6650ab-d694-47e7-8c9a-8ca02b9b5650_terseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">U.S. federal statutory corporate tax rate</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, at Federal Statutory Income Tax Rate, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationAtFederalStatutoryIncomeTaxRate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsEquityMethodInvestments_f101f28e-18dd-42c7-9e88-5dca380390f5_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsEquityMethodInvestments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Partnership and other equity investments</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsEquityMethodInvestments_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsEquityMethodInvestments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Equity Method Investments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsEquityMethodInvestments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsEquityMethodInvestments" xlink:to="lab_us-gaap_DeferredTaxAssetsEquityMethodInvestments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_8db7c822-2a3c-4c72-b719-cb3d66efc736_terseLabel_en-US" xlink:label="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged asset, total basis adjustments</link:label>
    <link:label id="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease_label_en-US" xlink:label="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Asset, Fair Value Hedge, Cumulative Increase (Decrease)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:to="lab_us-gaap_HedgedAssetFairValueHedgeCumulativeIncreaseDecrease" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTable_eb752575-bca6-4d4c-a373-c191a627a886_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Option, Disclosures [Table]</link:label>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTable_label_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Option, Disclosures [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresTable" xlink:to="lab_us-gaap_FairValueOptionQuantitativeDisclosuresTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RealEstateAcquiredThroughForeclosure_2090e988-9bd5-4492-a97a-33cdef8e8e03_terseLabel_en-US" xlink:label="lab_us-gaap_RealEstateAcquiredThroughForeclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Acquired property, net</link:label>
    <link:label id="lab_us-gaap_RealEstateAcquiredThroughForeclosure_label_en-US" xlink:label="lab_us-gaap_RealEstateAcquiredThroughForeclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Real Estate Acquired Through Foreclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealEstateAcquiredThroughForeclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RealEstateAcquiredThroughForeclosure" xlink:to="lab_us-gaap_RealEstateAcquiredThroughForeclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NotesReceivableGross_fb825cb9-624e-4d2f-b092-5d35e46d1d19_totalLabel_en-US" xlink:label="lab_us-gaap_NotesReceivableGross" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total mortgage loans</link:label>
    <link:label id="lab_us-gaap_NotesReceivableGross_label_en-US" xlink:label="lab_us-gaap_NotesReceivableGross" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, before Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NotesReceivableGross" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NotesReceivableGross"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NotesReceivableGross" xlink:to="lab_us-gaap_NotesReceivableGross" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual_fc220628-cf60-4a2c-a0d4-3fca21ac2e29_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit) Ratio</link:label>
    <link:label id="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier One Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier One Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember_terseLabel_en-US" xlink:label="lab_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year</link:label>
    <link:label id="lab_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember_label_en-US" xlink:label="lab_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Vesting Date Fair Value of Equity Awards Granted and Vested in Covered Year [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember" xlink:to="lab_ecd_VstngDtFrValOfEqtyAwrdsGrntdAndVstdInCvrdYrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityAddressAddressLine1_d29a672a-bb7b-4f80-915c-9d1fec43b213_terseLabel_en-US" xlink:label="lab_dei_EntityAddressAddressLine1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Address, Address Line One</link:label>
    <link:label id="lab_dei_EntityAddressAddressLine1_label_en-US" xlink:label="lab_dei_EntityAddressAddressLine1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Address, Address Line One</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityAddressAddressLine1" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityAddressAddressLine1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityAddressAddressLine1" xlink:to="lab_dei_EntityAddressAddressLine1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy_f66bf5a0-a7b4-4f0d-92d6-51398d6c6d65_terseLabel_en-US" xlink:label="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans Held for Sale</link:label>
    <link:label id="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy_label_en-US" xlink:label="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Held-for-Sale [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy" xlink:to="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForSalePolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember_a8152c3b-9e8a-4b3e-9395-7c8704405d27_terseLabel_en-US" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accumulated Other Comprehensive Income</link:label>
    <link:label id="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember_label_en-US" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">AOCI Attributable to Parent [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InternalCreditAssessmentAxis_c7fd2c53-7f74-4ae6-92d2-7cabd2b3d3c3_terseLabel_en-US" xlink:label="lab_us-gaap_InternalCreditAssessmentAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Internal Credit Assessment [Axis]</link:label>
    <link:label id="lab_us-gaap_InternalCreditAssessmentAxis_label_en-US" xlink:label="lab_us-gaap_InternalCreditAssessmentAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Internal Credit Assessment [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis" xlink:to="lab_us-gaap_InternalCreditAssessmentAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InterestAccrualsOnHedgingInstruments_667881a3-525b-4a10-b450-b2e526c0d826_terseLabel_en-US" xlink:label="lab_fnm_InterestAccrualsOnHedgingInstruments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest accruals on derivative hedging instruments</link:label>
    <link:label id="lab_fnm_InterestAccrualsOnHedgingInstruments_label_en-US" xlink:label="lab_fnm_InterestAccrualsOnHedgingInstruments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Accruals On Hedging Instruments</link:label>
    <link:label id="lab_fnm_InterestAccrualsOnHedgingInstruments_documentation_en-US" xlink:label="lab_fnm_InterestAccrualsOnHedgingInstruments" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Interest Accruals On Hedging Instruments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InterestAccrualsOnHedgingInstruments" xlink:href="fnm-20251231.xsd#fnm_InterestAccrualsOnHedgingInstruments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InterestAccrualsOnHedgingInstruments" xlink:to="lab_fnm_InterestAccrualsOnHedgingInstruments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InternalCreditAssessmentDomain_acf1e838-7d82-4c9c-8cad-d4497dc1dca9_terseLabel_en-US" xlink:label="lab_us-gaap_InternalCreditAssessmentDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Internal Credit Assessment [Domain]</link:label>
    <link:label id="lab_us-gaap_InternalCreditAssessmentDomain_label_en-US" xlink:label="lab_us-gaap_InternalCreditAssessmentDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Internal Credit Assessment [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InternalCreditAssessmentDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain" xlink:to="lab_us-gaap_InternalCreditAssessmentDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_a274b0d5-0697-4ae8-9a69-687744a1b26d_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Instruments</link:label>
    <link:label id="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Instruments and Hedging Activities Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:to="lab_us-gaap_DerivativeInstrumentsAndHedgingActivitiesDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfStockByClassTextBlock_afd36b69-4771-43a1-a3be-1ffcc557acd3_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfStockByClassTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Preferred Stock</link:label>
    <link:label id="lab_us-gaap_ScheduleOfStockByClassTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfStockByClassTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Stock by Class [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfStockByClassTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfStockByClassTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfStockByClassTextBlock" xlink:to="lab_us-gaap_ScheduleOfStockByClassTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardGrantDateFairValue_terseLabel_en-US" xlink:label="lab_ecd_AwardGrantDateFairValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value as of Grant Date</link:label>
    <link:label id="lab_ecd_AwardGrantDateFairValue_label_en-US" xlink:label="lab_ecd_AwardGrantDateFairValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Grant Date Fair Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardGrantDateFairValue" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardGrantDateFairValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardGrantDateFairValue" xlink:to="lab_ecd_AwardGrantDateFairValue" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TableFootnoteAbstract_f97f697e-564f-4f48-96c9-cd40879f3abb_terseLabel_en-US" xlink:label="lab_fnm_TableFootnoteAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Table Footnote</link:label>
    <link:label id="lab_fnm_TableFootnoteAbstract_label_en-US" xlink:label="lab_fnm_TableFootnoteAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Table Footnote [Abstract]</link:label>
    <link:label id="lab_fnm_TableFootnoteAbstract_documentation_en-US" xlink:label="lab_fnm_TableFootnoteAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a tabular schedule for the footnotes to a table.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TableFootnoteAbstract" xlink:href="fnm-20251231.xsd#fnm_TableFootnoteAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TableFootnoteAbstract" xlink:to="lab_fnm_TableFootnoteAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory_10206b3d-ea17-46c6-841b-91bee44c16d3_terseLabel_en-US" xlink:label="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans seriously delinquent, percentage by unpaid principal balance</link:label>
    <link:label id="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory_label_en-US" xlink:label="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans Seriously Delinquent, Unpaid Principal Balance, Percentage by Category</link:label>
    <link:label id="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory_documentation_en-US" xlink:label="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of loans that were seriously delinquent greater than 60 days. The percentage is calculated based on the unpaid principal balance of loans that were seriously delinquent divided by the aggregate unpaid principal balance of loans for each category included in our guaranty book of business.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory" xlink:href="fnm-20251231.xsd#fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory" xlink:to="lab_fnm_LoansSeriouslyDelinquentUnpaidPrincipalBalancePercentageByCategory" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfDebtInstrumentsTextBlock_b9b1fa14-4b92-49a9-86f4-28cbcc0add87_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfDebtInstrumentsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-Term Debt</link:label>
    <link:label id="lab_us-gaap_ScheduleOfDebtInstrumentsTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfDebtInstrumentsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Long-Term Debt Instruments [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDebtInstrumentsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDebtInstrumentsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDebtInstrumentsTextBlock" xlink:to="lab_us-gaap_ScheduleOfDebtInstrumentsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LaborAndRelatedExpense_505922d4-2e29-4541-aea2-d5985cabff77_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_LaborAndRelatedExpense" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Salaries and employee benefits</link:label>
    <link:label id="lab_us-gaap_LaborAndRelatedExpense_label_en-US" xlink:label="lab_us-gaap_LaborAndRelatedExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Labor and Related Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LaborAndRelatedExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LaborAndRelatedExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LaborAndRelatedExpense" xlink:to="lab_us-gaap_LaborAndRelatedExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets_5257d151-a4ac-45a6-ae0e-3b9b61926eeb_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Ratio Requirement</link:label>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets_label_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Leverage Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:to="lab_us-gaap_TierOneLeverageCapitalRequiredForCapitalAdequacyToAverageAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_7092d141-2844-4bef-875e-d1ee11e30cf7_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total assets, gross amount offset</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Subject to Master Netting Arrangement, Liability Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability" xlink:to="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedLiability" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RelatedPartyTransactionLineItems_d8a8370f-12ac-47d4-b524-e6c719452335_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Parties [Line Items]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionLineItems_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems" xlink:to="lab_us-gaap_RelatedPartyTransactionLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember_17961909-4726-4132-85a8-e36f7e509c74_terseLabel_en-US" xlink:label="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Top five non-depository servicers</link:label>
    <link:label id="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember_label_en-US" xlink:label="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Group of Largest Mortgage Servicers including Affiliates [Member]</link:label>
    <link:label id="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember_documentation_en-US" xlink:label="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the number of our largest mortgage servicers, including their affiliates.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember" xlink:href="fnm-20251231.xsd#fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember" xlink:to="lab_fnm_GroupOfLargestMortgageServicersIncludingAffiliatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets_1f9977d2-11f6-42a1-8b88-ec79cf9c56c6_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement Ratio (including Buffers)</link:label>
    <link:label id="lab_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets_label_en-US" xlink:label="lab_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Risk-Based Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:to="lab_us-gaap_TierOneRiskBasedCapitalToRiskWeightedAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InternalModelMember_3a4bd5de-1aa7-4f84-9cdc-83a2e3ac3414_terseLabel_en-US" xlink:label="lab_fnm_InternalModelMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Internal Model</link:label>
    <link:label id="lab_fnm_InternalModelMember_label_en-US" xlink:label="lab_fnm_InternalModelMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Internal Model [Member]</link:label>
    <link:label id="lab_fnm_InternalModelMember_documentation_en-US" xlink:label="lab_fnm_InternalModelMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Internal Model is a valuation technique to estimate the fair value of loans, acquired property and other assets using the value of the underlying collateral. The inputs into this internal model include property level data such as prior sales prices, tax assessment values, property characteristics, and historical foreclosure sales data. Derivatives use an internal model that is based on market data adjusted for market movement.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InternalModelMember" xlink:href="fnm-20251231.xsd#fnm_InternalModelMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InternalModelMember" xlink:to="lab_fnm_InternalModelMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredIncomeTaxesAndTaxCredits_0219ae73-e7b6-4db0-a4c1-708a43cb3ba2_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred income tax expense (benefit)</link:label>
    <link:label id="lab_us-gaap_DeferredIncomeTaxesAndTaxCredits_label_en-US" xlink:label="lab_us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Income Taxes and Tax Credits</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxesAndTaxCredits"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:to="lab_us-gaap_DeferredIncomeTaxesAndTaxCredits" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock_4e3b2ef6-bb54-4886-ab48-f3e03316b2fe_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurement Inputs and Valuation Techniques</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Measurement Inputs and Valuation Techniques [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock" xlink:to="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtFairValue_f03bdaf9-f7da-487f-a66b-1fd0608d72f7_verboseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtFairValue" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Long-term debt</link:label>
    <link:label id="lab_us-gaap_LongTermDebtFairValue_173e6311-9958-4327-bbd4-f6b51336bc70_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtFairValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt:</link:label>
    <link:label id="lab_us-gaap_LongTermDebtFairValue_label_en-US" xlink:label="lab_us-gaap_LongTermDebtFairValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Fair Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtFairValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtFairValue" xlink:to="lab_us-gaap_LongTermDebtFairValue" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ChangedPeerGroupFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_ChangedPeerGroupFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Changed Peer Group, Footnote</link:label>
    <link:label id="lab_ecd_ChangedPeerGroupFnTextBlock_label_en-US" xlink:label="lab_ecd_ChangedPeerGroupFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Changed Peer Group, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ChangedPeerGroupFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ChangedPeerGroupFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ChangedPeerGroupFnTextBlock" xlink:to="lab_ecd_ChangedPeerGroupFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RepurchaseAgreementCounterpartyNameDomain_3ce001a8-2ef8-4264-94bd-4ea3a7cee2b6_terseLabel_en-US" xlink:label="lab_srt_RepurchaseAgreementCounterpartyNameDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Counterparty Name [Domain]</link:label>
    <link:label id="lab_srt_RepurchaseAgreementCounterpartyNameDomain_label_en-US" xlink:label="lab_srt_RepurchaseAgreementCounterpartyNameDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Counterparty Name [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RepurchaseAgreementCounterpartyNameDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RepurchaseAgreementCounterpartyNameDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RepurchaseAgreementCounterpartyNameDomain" xlink:to="lab_srt_RepurchaseAgreementCounterpartyNameDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock_e35000e8-7d3c-4ca3-9811-6a17fedad48a_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivablesNonAccrualStatusTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteesTextBlock_3bf22a0c-7ca7-428d-87d6-9895022fa96b_terseLabel_en-US" xlink:label="lab_us-gaap_GuaranteesTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Guarantees</link:label>
    <link:label id="lab_us-gaap_GuaranteesTextBlock_label_en-US" xlink:label="lab_us-gaap_GuaranteesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantees [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteesTextBlock" xlink:to="lab_us-gaap_GuaranteesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RegulatoryCapitalRequirementsAbstract_9d905f4e-1df5-4988-9222-c9c461d34be4_terseLabel_en-US" xlink:label="lab_srt_RegulatoryCapitalRequirementsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Broker-Dealer, Net Capital Requirement, SEC Regulation [Abstract]</link:label>
    <link:label id="lab_srt_RegulatoryCapitalRequirementsAbstract_label_en-US" xlink:label="lab_srt_RegulatoryCapitalRequirementsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Broker-Dealer, Net Capital Requirement, SEC Regulation [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RegulatoryCapitalRequirementsAbstract" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RegulatoryCapitalRequirementsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RegulatoryCapitalRequirementsAbstract" xlink:to="lab_srt_RegulatoryCapitalRequirementsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction_318a93f5-610f-4e39-9263-6a859af3ba0b_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell, under master netting arrangement, amounts not offset in our consolidated balance sheets, financial instruments</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Security Purchased under Agreement to Resell, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotOffsetPolicyElectionDeduction" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AdjToPeoCompFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AdjToPeoCompFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustment To PEO Compensation, Footnote</link:label>
    <link:label id="lab_ecd_AdjToPeoCompFnTextBlock_label_en-US" xlink:label="lab_ecd_AdjToPeoCompFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustment To PEO Compensation, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AdjToPeoCompFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AdjToPeoCompFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AdjToPeoCompFnTextBlock" xlink:to="lab_ecd_AdjToPeoCompFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ArchCapitalGroupLtd.Member_6069aa0e-845a-4722-8f12-78be2b55aa10_terseLabel_en-US" xlink:label="lab_fnm_ArchCapitalGroupLtd.Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Arch Capital Group Ltd.</link:label>
    <link:label id="lab_fnm_ArchCapitalGroupLtd.Member_label_en-US" xlink:label="lab_fnm_ArchCapitalGroupLtd.Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Arch Capital Group Ltd. [Member]</link:label>
    <link:label id="lab_fnm_ArchCapitalGroupLtd.Member_documentation_en-US" xlink:label="lab_fnm_ArchCapitalGroupLtd.Member" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents one of our largest mortgage insurer counterparties, Arch Capital Group Ltd.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ArchCapitalGroupLtd.Member" xlink:href="fnm-20251231.xsd#fnm_ArchCapitalGroupLtd.Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ArchCapitalGroupLtd.Member" xlink:to="lab_fnm_ArchCapitalGroupLtd.Member" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrIndTitle_terseLabel_en-US" xlink:label="lab_ecd_TrdArrIndTitle" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Title</link:label>
    <link:label id="lab_ecd_TrdArrIndTitle_label_en-US" xlink:label="lab_ecd_TrdArrIndTitle" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement, Individual Title</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrIndTitle" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrIndTitle"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrIndTitle" xlink:to="lab_ecd_TrdArrIndTitle" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PeerGroupTotalShareholderRtnAmt_terseLabel_en-US" xlink:label="lab_ecd_PeerGroupTotalShareholderRtnAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Peer Group Total Shareholder Return Amount</link:label>
    <link:label id="lab_ecd_PeerGroupTotalShareholderRtnAmt_label_en-US" xlink:label="lab_ecd_PeerGroupTotalShareholderRtnAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Peer Group Total Shareholder Return Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PeerGroupTotalShareholderRtnAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PeerGroupTotalShareholderRtnAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PeerGroupTotalShareholderRtnAmt" xlink:to="lab_ecd_PeerGroupTotalShareholderRtnAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod_9b22c03a-0754-484e-a5a0-2ae8a774f1fa_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restructured loans, paid off, repurchased or sold during period</link:label>
    <link:label id="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod_label_en-US" xlink:label="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Modified in Period, Loans Paid Off, Repurchased Or Sold During Period</link:label>
    <link:label id="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Modified in Period, Loans Paid Off, Repurchased Or Sold During Period</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod" xlink:to="lab_fnm_FinancingReceivableModifiedInPeriodLoansPaidOffRepurchasedOrSoldDuringPeriod" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFloatingDebtMember_1c199a5c-fba5-4ae4-af62-a11676f691c2_terseLabel_en-US" xlink:label="lab_fnm_SeniorFloatingDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior floating</link:label>
    <link:label id="lab_fnm_SeniorFloatingDebtMember_label_en-US" xlink:label="lab_fnm_SeniorFloatingDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Floating Debt [Member]</link:label>
    <link:label id="lab_fnm_SeniorFloatingDebtMember_documentation_en-US" xlink:label="lab_fnm_SeniorFloatingDebtMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior debt instruments with interest rates that are subject to periodic adjustment based on an index or formula with original contractual maturities greater than one year. Senior floating rate debt takes priority over other debt instruments sold by the company. In the event the company goes bankrupt, senior floating rate debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFloatingDebtMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFloatingDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFloatingDebtMember" xlink:to="lab_fnm_SeniorFloatingDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonPeoNeoMember_terseLabel_en-US" xlink:label="lab_ecd_NonPeoNeoMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-PEO NEO</link:label>
    <link:label id="lab_ecd_NonPeoNeoMember_label_en-US" xlink:label="lab_ecd_NonPeoNeoMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-PEO NEO [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonPeoNeoMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonPeoNeoMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonPeoNeoMember" xlink:to="lab_ecd_NonPeoNeoMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal_13258491-f730-4c14-ae26-9df59cfa0a53_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related allowance</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Transfer to Held-for-Sale, Allowance for Credit Loss, Expense Reversal</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal" xlink:to="lab_us-gaap_FinancingReceivableTransferToHeldForSaleAllowanceForCreditLossExpenseReversal" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockDividendRatePercentage_b91b306d-80fd-435e-b219-df462fd2a19a_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockDividendRatePercentage" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, annual dividend rate</link:label>
    <link:label id="lab_us-gaap_PreferredStockDividendRatePercentage_label_en-US" xlink:label="lab_us-gaap_PreferredStockDividendRatePercentage" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Dividend Rate, Percentage</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendRatePercentage"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockDividendRatePercentage" xlink:to="lab_us-gaap_PreferredStockDividendRatePercentage" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GainLossOnOilAndGasHedgingActivity_3f8af4c3-3ca4-45b5-ba26-8182c48c157c_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_GainLossOnOilAndGasHedgingActivity" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Net impact of hedged mortgage assets and debt</link:label>
    <link:label id="lab_us-gaap_GainLossOnOilAndGasHedgingActivity_label_en-US" xlink:label="lab_us-gaap_GainLossOnOilAndGasHedgingActivity" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Gain (Loss) on Hedging Activity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnOilAndGasHedgingActivity" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnOilAndGasHedgingActivity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnOilAndGasHedgingActivity" xlink:to="lab_us-gaap_GainLossOnOilAndGasHedgingActivity" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_terseLabel_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">All Award Types</link:label>
    <link:label id="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_label_en-US" xlink:label="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Type [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:to="lab_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RevenuesNetOfInterestExpense_cc465136-d948-4991-868a-880e63486e3f_totalLabel_en-US" xlink:label="lab_us-gaap_RevenuesNetOfInterestExpense" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net revenues</link:label>
    <link:label id="lab_us-gaap_RevenuesNetOfInterestExpense_label_en-US" xlink:label="lab_us-gaap_RevenuesNetOfInterestExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revenues, Net of Interest Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RevenuesNetOfInterestExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RevenuesNetOfInterestExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RevenuesNetOfInterestExpense" xlink:to="lab_us-gaap_RevenuesNetOfInterestExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesSPreferredStockMember_62fed59a-f36b-4dba-adad-1acba49b9492_terseLabel_en-US" xlink:label="lab_fnm_SeriesSPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series S</link:label>
    <link:label id="lab_fnm_SeriesSPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesSPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series S Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesSPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesSPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">7.75% fixed to floating rate non-cumulative Preferred Series S Stock.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesSPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesSPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesSPreferredStockMember" xlink:to="lab_fnm_SeriesSPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PaymentsForAdvancesToLenders_3699bbd1-4f83-4519-805d-66c9760e82e7_negatedLabel_en-US" xlink:label="lab_fnm_PaymentsForAdvancesToLenders" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Advances to lenders</link:label>
    <link:label id="lab_fnm_PaymentsForAdvancesToLenders_label_en-US" xlink:label="lab_fnm_PaymentsForAdvancesToLenders" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments For Advances To Lenders</link:label>
    <link:label id="lab_fnm_PaymentsForAdvancesToLenders_documentation_en-US" xlink:label="lab_fnm_PaymentsForAdvancesToLenders" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Advances to lenders represent payments of cash in exchange for the receipt of mortgage loans from lenders in a transfer that is accounted for as a secured lending arrangement.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PaymentsForAdvancesToLenders" xlink:href="fnm-20251231.xsd#fnm_PaymentsForAdvancesToLenders"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PaymentsForAdvancesToLenders" xlink:to="lab_fnm_PaymentsForAdvancesToLenders" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_EqtyAwrdsAdjsMember_terseLabel_en-US" xlink:label="lab_ecd_EqtyAwrdsAdjsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Awards Adjustments</link:label>
    <link:label id="lab_ecd_EqtyAwrdsAdjsMember_label_en-US" xlink:label="lab_ecd_EqtyAwrdsAdjsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Awards Adjustments [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_EqtyAwrdsAdjsMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_EqtyAwrdsAdjsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_EqtyAwrdsAdjsMember" xlink:to="lab_ecd_EqtyAwrdsAdjsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PnsnBnftsAdjFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_PnsnBnftsAdjFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pension Benefits Adjustments, Footnote</link:label>
    <link:label id="lab_ecd_PnsnBnftsAdjFnTextBlock_label_en-US" xlink:label="lab_ecd_PnsnBnftsAdjFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pension Benefits Adjustments, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PnsnBnftsAdjFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PnsnBnftsAdjFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PnsnBnftsAdjFnTextBlock" xlink:to="lab_ecd_PnsnBnftsAdjFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_OutstandingRecoveryCompAmt_terseLabel_en-US" xlink:label="lab_ecd_OutstandingRecoveryCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Compensation Amount</link:label>
    <link:label id="lab_ecd_OutstandingRecoveryCompAmt_label_en-US" xlink:label="lab_ecd_OutstandingRecoveryCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Outstanding Recovery Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_OutstandingRecoveryCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_OutstandingRecoveryCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_OutstandingRecoveryCompAmt" xlink:to="lab_ecd_OutstandingRecoveryCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConsensusWithoutInputsMember_06140015-0ba9-4a7e-9b77-d2dbdaf57343_terseLabel_en-US" xlink:label="lab_fnm_ConsensusWithoutInputsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consensus</link:label>
    <link:label id="lab_fnm_ConsensusWithoutInputsMember_label_en-US" xlink:label="lab_fnm_ConsensusWithoutInputsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consensus Without Inputs [Member]</link:label>
    <link:label id="lab_fnm_ConsensusWithoutInputsMember_documentation_en-US" xlink:label="lab_fnm_ConsensusWithoutInputsMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Valuation methodology used to estimate the fair value of certain securities, loans and debt. This methodology uses multiple vendor prices (active market participants) to estimate fair value. These fair values are not validated at the security level therefore inputs have not been disclosed.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConsensusWithoutInputsMember" xlink:href="fnm-20251231.xsd#fnm_ConsensusWithoutInputsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConsensusWithoutInputsMember" xlink:to="lab_fnm_ConsensusWithoutInputsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_RecoveryOfErrCompDisclosureLineItems_label_en-US" xlink:label="lab_ecd_RecoveryOfErrCompDisclosureLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Recovery of Erroneously Awarded Compensation Disclosure [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_RecoveryOfErrCompDisclosureLineItems" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_RecoveryOfErrCompDisclosureLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_RecoveryOfErrCompDisclosureLineItems" xlink:to="lab_ecd_RecoveryOfErrCompDisclosureLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember_3189b1b0-7124-4215-ac15-b605e0df68fc_terseLabel_en-US" xlink:label="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Estimate of fair value</link:label>
    <link:label id="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember_label_en-US" xlink:label="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Estimate of Fair Value Measurement [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:to="lab_us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock_542d9150-aa88-4f07-9f17-6c2c15457e6f_terseLabel_en-US" xlink:label="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitments to Purchase and Sell Mortgage Loans and Securities</link:label>
    <link:label id="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock_label_en-US" xlink:label="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments to Purchase and Sell Mortgage Loans and Securities [Policy Text Block]</link:label>
    <link:label id="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock_documentation_en-US" xlink:label="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Disclosure of accounting policy for commitments to purchase and sell mortgage- backed securities and to purchase single-family and multifamily mortgage loans.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock" xlink:href="fnm-20251231.xsd#fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock" xlink:to="lab_fnm_CommitmentsToPurchaseAndSellMortgageLoansAndSecuritiesPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_MnpiDiscTimedForCompValFlag_terseLabel_en-US" xlink:label="lab_ecd_MnpiDiscTimedForCompValFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">MNPI Disclosure Timed for Compensation Value</link:label>
    <link:label id="lab_ecd_MnpiDiscTimedForCompValFlag_label_en-US" xlink:label="lab_ecd_MnpiDiscTimedForCompValFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">MNPI Disclosure Timed for Compensation Value [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_MnpiDiscTimedForCompValFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_MnpiDiscTimedForCompValFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_MnpiDiscTimedForCompValFlag" xlink:to="lab_ecd_MnpiDiscTimedForCompValFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_30ab3b00-e777-4959-8f27-12718b1e3f0b_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Derivative assets, net amount presented in our consolidated balance sheets</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_1f0fbfc1-5be6-47d9-bcce-4f0b27d059ed_verboseLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Net derivatives</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Subject to Master Netting Arrangement, before Offset of Collateral</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral" xlink:to="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountNotOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_9b761438-e1de-43c9-8c92-a6666132e6ef_verboseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Inputs, Quantitative Information [Line Items]</link:label>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_4fbfd79c-2006-4873-8b18-3a4d005c5982_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Inputs, Quantitative Information [Line Items]</link:label>
    <link:label id="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems_label_en-US" xlink:label="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Option, Quantitative Disclosures [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionQuantitativeDisclosuresLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:to="lab_us-gaap_FairValueOptionQuantitativeDisclosuresLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum_e7905905-e696-4592-9224-35a36728a832_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Requirement</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital, Capital Adequacy, Minimum</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum" xlink:to="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalCapitalAdequacyMinimum" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableSignificantPurchases_c354aafe-59e4-431d-9e4a-910b7dd54c31_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableSignificantPurchases" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Purchase of HFI loans:</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableSignificantPurchases_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableSignificantPurchases" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Purchase</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableSignificantPurchases" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableSignificantPurchases"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableSignificantPurchases" xlink:to="lab_us-gaap_FinancingReceivableSignificantPurchases" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction_7525d701-0b69-4b90-9cf8-1c142ccb25e5_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted-Average Interest Rate Reduction</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction_label_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Weighted-Average Interest Rate Reduction</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Weighted-Average Interest Rate Reduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction" xlink:to="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageInterestRateReduction" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_b5a72136-b099-4c29-a61e-8cee8167b6d4_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Past Due [Line Items]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Past Due [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_9018562e-dd2c-4197-8153-d42f1a480e9c_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, under master netting arrangements, amounts not offset in our consolidated balance sheets, financial instruments</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction" xlink:to="lab_us-gaap_DerivativeLiabilityNotOffsetPolicyElectionDeduction" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CashAndRestrictedCashFairValueDisclosure_7b891a64-0d07-4ac8-90ce-a70ff98af921_verboseLabel_en-US" xlink:label="lab_fnm_CashAndRestrictedCashFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Cash, including restricted cash</link:label>
    <link:label id="lab_fnm_CashAndRestrictedCashFairValueDisclosure_label_en-US" xlink:label="lab_fnm_CashAndRestrictedCashFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash and Restricted Cash, Fair Value Disclosure</link:label>
    <link:label id="lab_fnm_CashAndRestrictedCashFairValueDisclosure_documentation_en-US" xlink:label="lab_fnm_CashAndRestrictedCashFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">This element represents the portion of the balance sheet assertion valued at fair value by the entity whether such amount is presented as a separate caption or as a parenthetical disclosure. Additionally, this element may be used in connection with the fair value disclosures required in the footnote disclosures to the financial statements. The element may be used in both the balance sheet and disclosure in the same submission. This item includes currency on hand as well as demand deposits with banks or financial institutions. It also includes other kinds of accounts that have the general characteristics of demand deposits in that the Company may deposit additional funds at any time and also effectively may withdraw funds at any time without prior notice or penalty. Cash equivalents, excluding items classified as marketable securities, include short-term, highly liquid investments that are both readily convertible to known amounts of cash, and so near their maturity that they present minimal risk of changes in value because of changes in interest rates. Generally, only investments with original maturities of three months or less qualify under that definition. Original maturity means original maturity to the entity holding the investment. For example, both a three-month US Treasury bill and a three-year Treasury note purchased three months from maturity qualify as cash equivalents. However, a Treasury note purchased three years ago does not become a cash equivalent when its remaining maturity is three months. The carrying amounts of cash and cash equivalent items which are restricted as to withdrawal or usage. Restrictions may include legally restricted deposits held as compensating balances against borrowing arrangements, contracts entered into with others, or entity statements of intention with regard to particular deposits; however, time deposits and short-term certificates of deposit are not generally included in legally restricted deposits. Excludes compensating balance arrangements that are not agreements which legally restrict the use of cash amounts shown on the balance sheet. This element is for unclassified presentations; for classified presentations there is a separate and distinct element.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CashAndRestrictedCashFairValueDisclosure" xlink:href="fnm-20251231.xsd#fnm_CashAndRestrictedCashFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CashAndRestrictedCashFairValueDisclosure" xlink:to="lab_fnm_CashAndRestrictedCashFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_019be6c8-ab7c-794c-ba09-586e710f2cf2_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tax credits, amount</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Amount [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract" xlink:to="lab_us-gaap_IncomeTaxReconciliationTaxCreditsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_cc458243-1600-4d25-96ef-a0bd08075ac9_terseLabel_en-US" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accumulated other comprehensive income</link:label>
    <link:label id="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_label_en-US" xlink:label="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accumulated Other Comprehensive Income (Loss), Net of Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:to="lab_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_d2f56f62-8bbe-4bca-a3b6-e73110a4f622_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">2026</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Maturity, Year One</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInNextTwelveMonths" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_8476e932-a9c0-436f-98ab-b7ad693ec4bf_terseLabel_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Instruments [Domain]</link:label>
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_c775f846-224d-4905-86a4-c699a58ce633_verboseLabel_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Option, Eligible Item or Group [Domain]</link:label>
    <link:label id="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain_label_en-US" xlink:label="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Instruments [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:to="lab_us-gaap_TransfersAndServicingOfFinancialInstrumentsTypesOfFinancialInstrumentsDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_76480820-d935-4a5e-adaa-d66c60e5923e_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Purchases</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Purchases</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_fa7b4be9-616a-4bba-a259-714c9a7ea9c2_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">2030</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Maturity, Year Five</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalCapitalActual_8ad9c6c4-4ef3-47ef-8b73-9c1d5a59af31_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalCapitalActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement (including buffers)</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalCapitalActual_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalCapitalActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Capital, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalCapitalActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalCapitalActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalCapitalActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalCapitalActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalCapitalActual" xlink:to="lab_fnm_BankingRegulationAdjustedTotalCapitalActual" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AggtPnsnAdjsSvcCstMember_terseLabel_en-US" xlink:label="lab_ecd_AggtPnsnAdjsSvcCstMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate Pension Adjustments Service Cost</link:label>
    <link:label id="lab_ecd_AggtPnsnAdjsSvcCstMember_label_en-US" xlink:label="lab_ecd_AggtPnsnAdjsSvcCstMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Pension Adjustments Service Cost [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AggtPnsnAdjsSvcCstMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AggtPnsnAdjsSvcCstMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AggtPnsnAdjsSvcCstMember" xlink:to="lab_ecd_AggtPnsnAdjsSvcCstMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries_019b1100-cdd9-72ff-8518-dbf389fadfb9_negatedTerseLabel_en-US" xlink:label="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Other expenses, net</link:label>
    <link:label id="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries_label_en-US" xlink:label="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Noninterest Expense, Excluding Change In Expected Credit Enhancement Recoveries</link:label>
    <link:label id="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries_documentation_en-US" xlink:label="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Other Noninterest Expense, Excluding Change In Expected Credit Enhancement Recoveries</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries" xlink:href="fnm-20251231.xsd#fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries" xlink:to="lab_fnm_OtherNoninterestExpenseExcludingChangeInExpectedCreditEnhancementRecoveries" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_e1bb9eba-eb81-4b73-805a-b7d2e89bb588_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from repayments</link:label>
    <link:label id="lab_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_label_en-US" xlink:label="lab_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Principal Repayment, Loan and Lease, Held-for-Investment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:to="lab_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_019be6ca-9372-7c56-9345-db7f8904bc14_terseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other adjustments, percent</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Reconciling Items, Percent [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherReconcilingItemsPercentAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_MinimumMember_ed90de66-f7e2-4d3d-8a07-041fce15dbf7_terseLabel_en-US" xlink:label="lab_srt_MinimumMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum</link:label>
    <link:label id="lab_srt_MinimumMember_label_en-US" xlink:label="lab_srt_MinimumMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Minimum [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MinimumMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MinimumMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MinimumMember" xlink:to="lab_srt_MinimumMember" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_PartnershipInterestMember_af0bc2b4-5255-45b9-a8ba-d34d1941862e_terseLabel_en-US" xlink:label="lab_srt_PartnershipInterestMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Partnership interest</link:label>
    <link:label id="lab_srt_PartnershipInterestMember_label_en-US" xlink:label="lab_srt_PartnershipInterestMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Partnership Interest [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_PartnershipInterestMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_PartnershipInterestMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_PartnershipInterestMember" xlink:to="lab_srt_PartnershipInterestMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems_86c5ff35-08c1-4eb5-b311-54af48cb5d86_terseLabel_en-US" xlink:label="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounts, Notes, Loans and Financing Receivable [Line Items]</link:label>
    <link:label id="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems_label_en-US" xlink:label="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts, Notes, Loans and Financing Receivable [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:to="lab_us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_CoSelectedMeasureName_terseLabel_en-US" xlink:label="lab_ecd_CoSelectedMeasureName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Company Selected Measure Name</link:label>
    <link:label id="lab_ecd_CoSelectedMeasureName_label_en-US" xlink:label="lab_ecd_CoSelectedMeasureName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Company Selected Measure Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_CoSelectedMeasureName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_CoSelectedMeasureName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_CoSelectedMeasureName" xlink:to="lab_ecd_CoSelectedMeasureName" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueDisclosureItemAmountsDomain_6813c8c4-9b53-4d4f-9088-a73ca2c07f65_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueDisclosureItemAmountsDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurement [Domain]</link:label>
    <link:label id="lab_us-gaap_FairValueDisclosureItemAmountsDomain_label_en-US" xlink:label="lab_us-gaap_FairValueDisclosureItemAmountsDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Measurement [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosureItemAmountsDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain" xlink:to="lab_us-gaap_FairValueDisclosureItemAmountsDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CapitalRequiredForCapitalAdequacy_0fdeed92-c98d-4845-93e5-6da471e82248_terseLabel_en-US" xlink:label="lab_us-gaap_CapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Requirement</link:label>
    <link:label id="lab_us-gaap_CapitalRequiredForCapitalAdequacy_label_en-US" xlink:label="lab_us-gaap_CapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalRequiredForCapitalAdequacy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalRequiredForCapitalAdequacy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalRequiredForCapitalAdequacy" xlink:to="lab_us-gaap_CapitalRequiredForCapitalAdequacy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtDisclosureTextBlock_974e0778-91dd-4cc3-bba6-c1995d982ede_terseLabel_en-US" xlink:label="lab_us-gaap_DebtDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-Term and Long-Term Debt</link:label>
    <link:label id="lab_us-gaap_DebtDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_DebtDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureTextBlock" xlink:to="lab_us-gaap_DebtDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrSecuritiesAggAvailAmt_terseLabel_en-US" xlink:label="lab_ecd_TrdArrSecuritiesAggAvailAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate Available</link:label>
    <link:label id="lab_ecd_TrdArrSecuritiesAggAvailAmt_label_en-US" xlink:label="lab_ecd_TrdArrSecuritiesAggAvailAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement, Securities Aggregate Available Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrSecuritiesAggAvailAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrSecuritiesAggAvailAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrSecuritiesAggAvailAmt" xlink:to="lab_ecd_TrdArrSecuritiesAggAvailAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StockAppreciationRightsSARSMember_terseLabel_en-US" xlink:label="lab_us-gaap_StockAppreciationRightsSARSMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock Appreciation Rights (SARs)</link:label>
    <link:label id="lab_us-gaap_StockAppreciationRightsSARSMember_label_en-US" xlink:label="lab_us-gaap_StockAppreciationRightsSARSMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Appreciation Rights (SARs) [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockAppreciationRightsSARSMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockAppreciationRightsSARSMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockAppreciationRightsSARSMember" xlink:to="lab_us-gaap_StockAppreciationRightsSARSMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_a69b2fdb-f7e9-4c29-b70b-a092de144c69_totalLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net income attributable to common stockholders, diluted</link:label>
    <link:label id="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_label_en-US" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Income (Loss) Available to Common Stockholders, Diluted</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:to="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_24489dd7-e8e9-42fe-9d1d-358442da91e6_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans 90 Days or More Delinquent and Accruing Interest</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, 90 Days or More Past Due, Still Accruing</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestment90DaysPastDueAndStillAccruing" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_c106119b-ca09-4a5b-932a-9854b0706ce3_terseLabel_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies</link:label>
    <link:label id="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingenciesDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:to="lab_us-gaap_CommitmentsAndContingenciesDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_4c9d907a-2030-4cd4-bd9f-5a1d6377e585_terseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Diluted (in shares)</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:to="lab_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ShortTermDebtWeightedAverageInterestRate_db0401de-8faf-4ad6-b8de-c2f995ae1af3_terseLabel_en-US" xlink:label="lab_us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-term debt of Fannie Mae, weighted-average interest rate</link:label>
    <link:label id="lab_us-gaap_ShortTermDebtWeightedAverageInterestRate_label_en-US" xlink:label="lab_us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-Term Debt, Weighted Average Interest Rate, at Point in Time</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtWeightedAverageInterestRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:to="lab_us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock_ca17e7be-0cf1-4b52-a0e1-7c21c967d7b3_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Reporting</link:label>
    <link:label id="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingPolicyPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:to="lab_us-gaap_SegmentReportingPolicyPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_2df16383-18ad-4d98-8c72-85b5e98f0551_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities, under master netting arrangements, amounts not offset in our consolidated balance sheets, collateral</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Security Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities" xlink:to="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedCollateralRightToReclaimSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonGaapMeasureDescriptionTextBlock_terseLabel_en-US" xlink:label="lab_ecd_NonGaapMeasureDescriptionTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-GAAP Measure Description</link:label>
    <link:label id="lab_ecd_NonGaapMeasureDescriptionTextBlock_label_en-US" xlink:label="lab_ecd_NonGaapMeasureDescriptionTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-GAAP Measure Description [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonGaapMeasureDescriptionTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonGaapMeasureDescriptionTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonGaapMeasureDescriptionTextBlock" xlink:to="lab_ecd_NonGaapMeasureDescriptionTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable_daceef00-605b-4448-b372-24fce400e7a4_terseLabel_en-US" xlink:label="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Reconciliation of Assets from Segment to Consolidated [Table]</link:label>
    <link:label id="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable_label_en-US" xlink:label="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Reconciliation of Assets from Segment to Consolidated [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable" xlink:to="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeTable_2601da96-84a3-456b-9a7b-73ac1a8b0073_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative [Table]</link:label>
    <link:label id="lab_us-gaap_DerivativeTable_label_en-US" xlink:label="lab_us-gaap_DerivativeTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeTable" xlink:to="lab_us-gaap_DerivativeTable" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntitySmallBusiness_f9238d26-e6b0-4bbb-9add-5d26b89b91e3_terseLabel_en-US" xlink:label="lab_dei_EntitySmallBusiness" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Small Business</link:label>
    <link:label id="lab_dei_EntitySmallBusiness_label_en-US" xlink:label="lab_dei_EntitySmallBusiness" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Small Business</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntitySmallBusiness" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntitySmallBusiness"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntitySmallBusiness" xlink:to="lab_dei_EntitySmallBusiness" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxDisclosureAbstract_824f1315-3288-44d7-b6a7-f25fe035bebf_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income Tax Disclosure [Abstract]</link:label>
    <link:label id="lab_us-gaap_IncomeTaxDisclosureAbstract_label_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Disclosure [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureAbstract" xlink:to="lab_us-gaap_IncomeTaxDisclosureAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockSharesOutstanding_963ec09b-530c-4840-89a3-6f302a95b443_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, shares outstanding (in shares)</link:label>
    <link:label id="lab_us-gaap_PreferredStockSharesOutstanding_label_en-US" xlink:label="lab_us-gaap_PreferredStockSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Shares Outstanding</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesOutstanding"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesOutstanding" xlink:to="lab_us-gaap_PreferredStockSharesOutstanding" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentTransitionReport_35313f0d-bd0a-40d3-85c8-33d311899f19_terseLabel_en-US" xlink:label="lab_dei_DocumentTransitionReport" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Transition Report</link:label>
    <link:label id="lab_dei_DocumentTransitionReport_label_en-US" xlink:label="lab_dei_DocumentTransitionReport" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Transition Report</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentTransitionReport" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentTransitionReport"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentTransitionReport" xlink:to="lab_dei_DocumentTransitionReport" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFixedOtherDebtMember_1f2b9219-8523-4c5e-9f21-99ac2b09b516_terseLabel_en-US" xlink:label="lab_fnm_SeniorFixedOtherDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_fnm_SeniorFixedOtherDebtMember_label_en-US" xlink:label="lab_fnm_SeniorFixedOtherDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Fixed Other Debt [Member]</link:label>
    <link:label id="lab_fnm_SeniorFixedOtherDebtMember_documentation_en-US" xlink:label="lab_fnm_SeniorFixedOtherDebtMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior fixed other represent debt instruments with original contractual maturities greater than one year that are not included in other senior fixed rate debt categories. Includes a portion of structured debt instruments that is reported at fair value. Senior fixed rate debt takes priority over other debt instruments sold by the company. In the event the company goes bankrupt, senior fixed rate debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFixedOtherDebtMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFixedOtherDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFixedOtherDebtMember" xlink:to="lab_fnm_SeniorFixedOtherDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock_fb24eec7-2a99-4cf7-b475-a236dbd9533b_terseLabel_en-US" xlink:label="lab_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedules of Concentration of Risk, by Risk Factor</link:label>
    <link:label id="lab_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock_label_en-US" xlink:label="lab_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedules of Concentration of Risk, by Risk Factor [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock" xlink:to="lab_us-gaap_SchedulesOfConcentrationOfRiskByRiskFactorTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMember_d677531a-2bb1-4b45-870a-6433ef4ca60e_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-term Debt</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMember_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMember" xlink:to="lab_us-gaap_LongTermDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardUndrlygSecuritiesAmt_terseLabel_en-US" xlink:label="lab_ecd_AwardUndrlygSecuritiesAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Underlying Securities</link:label>
    <link:label id="lab_ecd_AwardUndrlygSecuritiesAmt_label_en-US" xlink:label="lab_ecd_AwardUndrlygSecuritiesAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Underlying Securities Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardUndrlygSecuritiesAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardUndrlygSecuritiesAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardUndrlygSecuritiesAmt" xlink:to="lab_ecd_AwardUndrlygSecuritiesAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EquityComponentDomain_3010f3bb-9ff4-4756-9582-d282851e6b96_terseLabel_en-US" xlink:label="lab_us-gaap_EquityComponentDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Component [Domain]</link:label>
    <link:label id="lab_us-gaap_EquityComponentDomain_label_en-US" xlink:label="lab_us-gaap_EquityComponentDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Component [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityComponentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityComponentDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityComponentDomain" xlink:to="lab_us-gaap_EquityComponentDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentPeriodEndDate_c7e9c66a-7433-4b91-838e-9d2791802b4e_terseLabel_en-US" xlink:label="lab_dei_DocumentPeriodEndDate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Period End Date</link:label>
    <link:label id="lab_dei_DocumentPeriodEndDate_label_en-US" xlink:label="lab_dei_DocumentPeriodEndDate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Period End Date</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentPeriodEndDate" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentPeriodEndDate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentPeriodEndDate" xlink:to="lab_dei_DocumentPeriodEndDate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxDisclosureTextBlock_c3e522b3-efd1-4cc1-83f3-d9d5a34e3108_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income Taxes</link:label>
    <link:label id="lab_us-gaap_IncomeTaxDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_IncomeTaxDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxDisclosureTextBlock" xlink:to="lab_us-gaap_IncomeTaxDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardsCloseToMnpiDiscTableTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AwardsCloseToMnpiDiscTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Awards Close in Time to MNPI Disclosures, Table</link:label>
    <link:label id="lab_ecd_AwardsCloseToMnpiDiscTableTextBlock_label_en-US" xlink:label="lab_ecd_AwardsCloseToMnpiDiscTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Awards Close in Time to MNPI Disclosures [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardsCloseToMnpiDiscTableTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardsCloseToMnpiDiscTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardsCloseToMnpiDiscTableTextBlock" xlink:to="lab_ecd_AwardsCloseToMnpiDiscTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_2251041c-e9cd-4a2e-8f34-b70ba45c2211_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities, gross amount offset</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, Asset Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset" xlink:to="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAsset" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_fcd02030-4edb-4859-a92b-e6dcd74c8340_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative liability</link:label>
    <link:label id="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue_label_en-US" xlink:label="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative, Net Liability Position, Aggregate Fair Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeNetLiabilityPositionAggregateFairValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:to="lab_us-gaap_DerivativeNetLiabilityPositionAggregateFairValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount_1da85db5-f02d-4133-80cc-38953c09a2b4_terseLabel_en-US" xlink:label="lab_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Closed portfolio, designated UPB</link:label>
    <link:label id="lab_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount_label_en-US" xlink:label="lab_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Asset, Fair Value Hedge, Portfolio Layer Method, Hedged Layer, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount" xlink:to="lab_us-gaap_HedgedAssetFairValueHedgeLastOfLayerAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesOPreferredStockMember_324655e8-d74e-4db4-a014-27c420ad2054_terseLabel_en-US" xlink:label="lab_fnm_SeriesOPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series O</link:label>
    <link:label id="lab_fnm_SeriesOPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesOPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series O Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesOPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesOPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series O Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a redemption price of $50 to $52.50 depending on the year of redemption.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesOPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesOPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesOPreferredStockMember" xlink:to="lab_fnm_SeriesOPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_7b4167fd-540d-4bf8-9d7b-4f00697837d3_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Derivative assets, net amount</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Including Not Subject to Master Netting Arrangement, after Offset and Deduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral" xlink:to="lab_us-gaap_DerivativeFairValueOfDerivativeAssetAmountOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_aa9bfb4c-9b5c-46c0-870f-784631bde23e_periodStartLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning balance</link:label>
    <link:label id="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_3fc3ec5d-8c18-48d5-9e7f-69cd6b3f527e_periodEndLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Ending balance</link:label>
    <link:label id="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_label_en-US" xlink:label="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity, Including Portion Attributable to Noncontrolling Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:to="lab_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RisksAndUncertaintiesAbstract_38010a39-e3e6-4a0d-8849-7028a1c7db44_terseLabel_en-US" xlink:label="lab_us-gaap_RisksAndUncertaintiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risks and Uncertainties [Abstract]</link:label>
    <link:label id="lab_us-gaap_RisksAndUncertaintiesAbstract_label_en-US" xlink:label="lab_us-gaap_RisksAndUncertaintiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Risks and Uncertainties [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RisksAndUncertaintiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RisksAndUncertaintiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RisksAndUncertaintiesAbstract" xlink:to="lab_us-gaap_RisksAndUncertaintiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_232b65c8-9761-44f0-b03c-4be51aee5175_totalLabel_en-US" xlink:label="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total mortgage loans</link:label>
    <link:label id="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet_label_en-US" xlink:label="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Loans on Real Estate, Commercial and Consumer, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:to="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNet" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentType_ed2ac3fb-4184-475c-890d-ebdee4ddc11d_terseLabel_en-US" xlink:label="lab_dei_DocumentType" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Type</link:label>
    <link:label id="lab_dei_DocumentType_label_en-US" xlink:label="lab_dei_DocumentType" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Type</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentType" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentType"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentType" xlink:to="lab_dei_DocumentType" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueInputsLevel3Member_cc47c61a-2409-4c52-9b56-fbece4b25e25_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Significant Unobservable Inputs (Level 3)</link:label>
    <link:label id="lab_us-gaap_FairValueInputsLevel3Member_label_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel3Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Inputs, Level 3 [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel3Member" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel3Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel3Member" xlink:to="lab_us-gaap_FairValueInputsLevel3Member" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock_08d76c47-5093-471a-afa8-79e5f6268c53_terseLabel_en-US" xlink:label="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Assets by Segment</link:label>
    <link:label id="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock_label_en-US" xlink:label="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Reconciliation of Assets from Segment to Consolidated [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock" xlink:to="lab_us-gaap_ReconciliationOfAssetsFromSegmentToConsolidatedTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_OutstandingRecoveryIndName_terseLabel_en-US" xlink:label="lab_ecd_OutstandingRecoveryIndName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Name</link:label>
    <link:label id="lab_ecd_OutstandingRecoveryIndName_label_en-US" xlink:label="lab_ecd_OutstandingRecoveryIndName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Outstanding Recovery, Individual Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_OutstandingRecoveryIndName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_OutstandingRecoveryIndName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_OutstandingRecoveryIndName" xlink:to="lab_ecd_OutstandingRecoveryIndName" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LossContingenciesTable_02a72a9a-3008-4875-803f-27ffce8811fc_terseLabel_en-US" xlink:label="lab_us-gaap_LossContingenciesTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loss Contingencies [Table]</link:label>
    <link:label id="lab_us-gaap_LossContingenciesTable_label_en-US" xlink:label="lab_us-gaap_LossContingenciesTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loss Contingencies [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingenciesTable" xlink:to="lab_us-gaap_LossContingenciesTable" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ProductOrServiceAxis_e628a43d-b27f-4e68-9370-d14fe75d076c_terseLabel_en-US" xlink:label="lab_srt_ProductOrServiceAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Product and Service [Axis]</link:label>
    <link:label id="lab_srt_ProductOrServiceAxis_label_en-US" xlink:label="lab_srt_ProductOrServiceAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Product and Service [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductOrServiceAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductOrServiceAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ProductOrServiceAxis" xlink:to="lab_srt_ProductOrServiceAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ServiceProvidersAxis_7a9ddf8e-7e16-42e9-ae21-be0f774e9949_terseLabel_en-US" xlink:label="lab_fnm_ServiceProvidersAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Service Providers [Axis]</link:label>
    <link:label id="lab_fnm_ServiceProvidersAxis_label_en-US" xlink:label="lab_fnm_ServiceProvidersAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Service Providers [Axis]</link:label>
    <link:label id="lab_fnm_ServiceProvidersAxis_documentation_en-US" xlink:label="lab_fnm_ServiceProvidersAxis" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents service providers by type.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ServiceProvidersAxis" xlink:href="fnm-20251231.xsd#fnm_ServiceProvidersAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ServiceProvidersAxis" xlink:to="lab_fnm_ServiceProvidersAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationLeverageCapitalAbstract_0748b3f7-0f61-42fe-b6f2-0f5ef06098c5_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Leverage capital:</link:label>
    <link:label id="lab_fnm_BankingRegulationLeverageCapitalAbstract_label_en-US" xlink:label="lab_fnm_BankingRegulationLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Leverage Capital [Abstract]</link:label>
    <link:label id="lab_fnm_BankingRegulationLeverageCapitalAbstract_documentation_en-US" xlink:label="lab_fnm_BankingRegulationLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Leverage Capital</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationLeverageCapitalAbstract" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationLeverageCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationLeverageCapitalAbstract" xlink:to="lab_fnm_BankingRegulationLeverageCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LitigationStatusDomain_4dc329c4-f5eb-42f6-b7f9-a9334a0de836_terseLabel_en-US" xlink:label="lab_us-gaap_LitigationStatusDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Litigation Status [Domain]</link:label>
    <link:label id="lab_us-gaap_LitigationStatusDomain_label_en-US" xlink:label="lab_us-gaap_LitigationStatusDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Status [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationStatusDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LitigationStatusDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LitigationStatusDomain" xlink:to="lab_us-gaap_LitigationStatusDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest_61d0db3a-edfd-4998-8b32-a593714ee60a_terseLabel_en-US" xlink:label="lab_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Retained interests: principal and interest received</link:label>
    <link:label id="lab_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest_label_en-US" xlink:label="lab_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Flows Between Transferor and Transferee, Beneficial Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest" xlink:to="lab_us-gaap_CashFlowsBetweenTransferorAndTransfereeBeneficialInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RangeAxis_646b68ec-1e26-4cef-be24-fffdc0408f97_terseLabel_en-US" xlink:label="lab_srt_RangeAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statistical Measurement [Axis]</link:label>
    <link:label id="lab_srt_RangeAxis_label_en-US" xlink:label="lab_srt_RangeAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statistical Measurement [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeAxis" xlink:to="lab_srt_RangeAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LitigationSettlementInterest_e99b1e3c-67e6-4220-8afc-c229f4dc1d52_terseLabel_en-US" xlink:label="lab_us-gaap_LitigationSettlementInterest" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Litigation interest</link:label>
    <link:label id="lab_us-gaap_LitigationSettlementInterest_label_en-US" xlink:label="lab_us-gaap_LitigationSettlementInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Settlement Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LitigationSettlementInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LitigationSettlementInterest" xlink:to="lab_us-gaap_LitigationSettlementInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AggtErrCompAmt_terseLabel_en-US" xlink:label="lab_ecd_AggtErrCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate Erroneous Compensation Amount</link:label>
    <link:label id="lab_ecd_AggtErrCompAmt_label_en-US" xlink:label="lab_ecd_AggtErrCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Erroneous Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AggtErrCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AggtErrCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AggtErrCompAmt" xlink:to="lab_ecd_AggtErrCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement_2d96038a-99bf-4498-ad7c-97178d0ee492_terseLabel_en-US" xlink:label="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total available funding from treasury pursuant to the senior preferred stock agreement</link:label>
    <link:label id="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement_label_en-US" xlink:label="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Total Available Funding From Treasury Pursuant To The Senior Preferred Stock Agreement</link:label>
    <link:label id="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement_documentation_en-US" xlink:label="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents total available funding from U.S. Treasury pursuant to the senior preferred stock agreement after 2012 if we do not have a positive net worth as of December&#160;31, 2012. In the event we have a positive net worth as of December&#160;31, 2012, then the amount of funding available after 2012 under the amended senior preferred stock purchase agreement will depend on the size of that positive net worth relative to the cumulative draws for net worth deficiencies attributable to periods during 2010, 2011, and 2012, as follows: 1) If our positive net worth as of December&#160;31, 2012 is less than the cumulative draws for net worth deficiencies attributable to periods during 2010, 2011, and 2012, then the amount of available funding will be $124.8 billion less our positive net worth as of December 31, 2012. 2) If our positive net worth as of December&#160;31, 2012 is greater than the cumulative draws for net worth deficiencies attributable to periods during 2010, 2011, and 2012, then the amount of available funding will be $124.8 billion less the cumulative draws attributable to periods during 2010, 2011, and 2012.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement" xlink:href="fnm-20251231.xsd#fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement" xlink:to="lab_fnm_TotalAvailableFundingFromTreasuryPursuantToTheSeniorPreferredStockAgreement" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PeerGroupIssuersFnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_PeerGroupIssuersFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Peer Group Issuers, Footnote</link:label>
    <link:label id="lab_ecd_PeerGroupIssuersFnTextBlock_label_en-US" xlink:label="lab_ecd_PeerGroupIssuersFnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Peer Group Issuers, Footnote [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PeerGroupIssuersFnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PeerGroupIssuersFnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PeerGroupIssuersFnTextBlock" xlink:to="lab_ecd_PeerGroupIssuersFnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual_5791347e-091d-40c7-b747-c52bad77973a_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit)</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_4ab29aa1-a0b1-48d6-9b0a-46ca0d805556_totalLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net income attributable to common stockholders, basic</link:label>
    <link:label id="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_label_en-US" xlink:label="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Income (Loss) Available to Common Stockholders, Basic</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:to="lab_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CreditEnhancementExpense_49f4cfe2-66f0-494d-8f1e-2eefd6dcdc6a_negatedTerseLabel_en-US" xlink:label="lab_fnm_CreditEnhancementExpense" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Credit enhancement expense</link:label>
    <link:label id="lab_fnm_CreditEnhancementExpense_label_en-US" xlink:label="lab_fnm_CreditEnhancementExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Credit Enhancement Expense</link:label>
    <link:label id="lab_fnm_CreditEnhancementExpense_documentation_en-US" xlink:label="lab_fnm_CreditEnhancementExpense" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Credit Enhancement Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CreditEnhancementExpense" xlink:href="fnm-20251231.xsd#fnm_CreditEnhancementExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CreditEnhancementExpense" xlink:to="lab_fnm_CreditEnhancementExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LegislativeAssessmentExpense_ceb5955a-b614-41ba-8850-d2b6f1b59162_negatedTerseLabel_en-US" xlink:label="lab_fnm_LegislativeAssessmentExpense" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Legislative assessments</link:label>
    <link:label id="lab_fnm_LegislativeAssessmentExpense_b76d296e-8049-487d-a9c0-404cf4a7a257_terseLabel_en-US" xlink:label="lab_fnm_LegislativeAssessmentExpense" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Legislative assessments</link:label>
    <link:label id="lab_fnm_LegislativeAssessmentExpense_label_en-US" xlink:label="lab_fnm_LegislativeAssessmentExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Legislative Assessment Expense</link:label>
    <link:label id="lab_fnm_LegislativeAssessmentExpense_documentation_en-US" xlink:label="lab_fnm_LegislativeAssessmentExpense" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Legislative Assessment Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LegislativeAssessmentExpense" xlink:href="fnm-20251231.xsd#fnm_LegislativeAssessmentExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LegislativeAssessmentExpense" xlink:to="lab_fnm_LegislativeAssessmentExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteeObligationsNatureDomain_c8c280f1-e4b0-42cf-b9d6-46e65ff0f157_terseLabel_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsNatureDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Guarantor Obligations, Nature [Domain]</link:label>
    <link:label id="lab_us-gaap_GuaranteeObligationsNatureDomain_label_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsNatureDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantor Obligations, Nature [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsNatureDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain" xlink:to="lab_us-gaap_GuaranteeObligationsNatureDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock_50974267-5032-465f-9846-17f3e180eef8_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Derivative Fair Value Gain (Loss), Net</link:label>
    <link:label id="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Instruments, Gain (Loss) [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:to="lab_us-gaap_ScheduleOfDerivativeInstrumentsGainLossInStatementOfFinancialPerformanceTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives_ca86cd40-6ed0-4892-896b-111ef332af04_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivatives, Hedging</link:label>
    <link:label id="lab_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives_label_en-US" xlink:label="lab_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivatives, Methods of Accounting, Hedging Derivatives [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives" xlink:to="lab_us-gaap_DerivativesMethodsOfAccountingHedgingDerivatives" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MultifamilySegmentMember_f94921dc-40d8-4a05-a17d-c03a129ce508_terseLabel_en-US" xlink:label="lab_fnm_MultifamilySegmentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Multifamily</link:label>
    <link:label id="lab_fnm_MultifamilySegmentMember_label_en-US" xlink:label="lab_fnm_MultifamilySegmentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Multifamily Segment [Member]</link:label>
    <link:label id="lab_fnm_MultifamilySegmentMember_documentation_en-US" xlink:label="lab_fnm_MultifamilySegmentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Multifamily Segment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MultifamilySegmentMember" xlink:href="fnm-20251231.xsd#fnm_MultifamilySegmentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MultifamilySegmentMember" xlink:to="lab_fnm_MultifamilySegmentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueInputsLevel1Member_2c0d3c82-9348-45ed-8772-00d9d5861fb8_verboseLabel_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Quoted Prices in Active Markets for Identical Assets (Level 1)</link:label>
    <link:label id="lab_us-gaap_FairValueInputsLevel1Member_label_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel1Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Inputs, Level 1 [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel1Member" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel1Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel1Member" xlink:to="lab_us-gaap_FairValueInputsLevel1Member" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SharesOutstanding_0983fd2e-0dc3-4864-9e79-3d8f317fa762_periodStartLabel_en-US" xlink:label="lab_us-gaap_SharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning balance (shares)</link:label>
    <link:label id="lab_us-gaap_SharesOutstanding_1f269482-2dde-448e-82a0-1e62347211cf_periodEndLabel_en-US" xlink:label="lab_us-gaap_SharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Ending balance (shares)</link:label>
    <link:label id="lab_us-gaap_SharesOutstanding_2825ea95-672e-4afb-9cb7-b10ac4e1a0b2_terseLabel_en-US" xlink:label="lab_us-gaap_SharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock outstanding (in shares)</link:label>
    <link:label id="lab_us-gaap_SharesOutstanding_label_en-US" xlink:label="lab_us-gaap_SharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Shares, Outstanding</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesOutstanding" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesOutstanding"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharesOutstanding" xlink:to="lab_us-gaap_SharesOutstanding" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract_8a747388-6566-45c9-9e6f-2e51ed28b194_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Core capital (statutory)</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract_label_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital [Abstract]</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCoreLeverageCapitalAbstract" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCoreLeverageCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCoreLeverageCapitalAbstract" xlink:to="lab_fnm_BankingRegulationCoreLeverageCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_90ce56d1-5bdb-4d75-9617-ea5b268de65e_terseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell or similar arrangements, net amount presented in our consolidated balance sheets</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Securities Purchased under Agreements to Resell, Not Subject to Master Netting Arrangement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellNotSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InsuranceServiceProviderConcentrationRiskMember_c25007b5-2e81-4336-a9a7-222bf81fff21_terseLabel_en-US" xlink:label="lab_fnm_InsuranceServiceProviderConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Insurance Service Provider Concentration Risk</link:label>
    <link:label id="lab_fnm_InsuranceServiceProviderConcentrationRiskMember_label_en-US" xlink:label="lab_fnm_InsuranceServiceProviderConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Insurance Service Provider Concentration Risk [Member]</link:label>
    <link:label id="lab_fnm_InsuranceServiceProviderConcentrationRiskMember_documentation_en-US" xlink:label="lab_fnm_InsuranceServiceProviderConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Reflects the concentration risk of mortgage insurance coverage by mortgage insurers as a percentage.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InsuranceServiceProviderConcentrationRiskMember" xlink:href="fnm-20251231.xsd#fnm_InsuranceServiceProviderConcentrationRiskMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InsuranceServiceProviderConcentrationRiskMember" xlink:to="lab_fnm_InsuranceServiceProviderConcentrationRiskMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockRedemptionPricePerShare_d07e6c62-ad5b-4c3d-b4e0-cbfb15a3ecb7_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockRedemptionPricePerShare" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, redemption price (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_PreferredStockRedemptionPricePerShare_label_en-US" xlink:label="lab_us-gaap_PreferredStockRedemptionPricePerShare" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Redemption Price Per Share</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockRedemptionPricePerShare" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockRedemptionPricePerShare"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockRedemptionPricePerShare" xlink:to="lab_us-gaap_PreferredStockRedemptionPricePerShare" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_40ae9e3d-ca41-45f0-87dc-ceea8d1cb662_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:to="lab_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EarningsPerShareDiluted_7ca65190-b49a-4638-86c6-335a69413fa2_verboseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Diluted (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareDiluted_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareDiluted" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share, Diluted</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareDiluted" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareDiluted"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareDiluted" xlink:to="lab_us-gaap_EarningsPerShareDiluted" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_MultifamilyMember_2805e64f-a4bc-44bf-a1bf-794234ce8e01_terseLabel_en-US" xlink:label="lab_srt_MultifamilyMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Multifamily</link:label>
    <link:label id="lab_srt_MultifamilyMember_8989c029-491b-4dba-83d7-8c69eb857074_verboseLabel_en-US" xlink:label="lab_srt_MultifamilyMember" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Multifamily (less than)</link:label>
    <link:label id="lab_srt_MultifamilyMember_label_en-US" xlink:label="lab_srt_MultifamilyMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Multifamily [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MultifamilyMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MultifamilyMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MultifamilyMember" xlink:to="lab_srt_MultifamilyMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ZeroCouponDebtMember_79916642-5d72-48ea-affa-e226978f55e3_terseLabel_en-US" xlink:label="lab_fnm_ZeroCouponDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Zero-coupon debt</link:label>
    <link:label id="lab_fnm_ZeroCouponDebtMember_label_en-US" xlink:label="lab_fnm_ZeroCouponDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Zero-Coupon Debt [Member]</link:label>
    <link:label id="lab_fnm_ZeroCouponDebtMember_documentation_en-US" xlink:label="lab_fnm_ZeroCouponDebtMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a debt security that doesn't pay interest (a coupon)but is traded/sold at a deep discount, rendering profit at maturity when the bond is redeemed for its full face value.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ZeroCouponDebtMember" xlink:href="fnm-20251231.xsd#fnm_ZeroCouponDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ZeroCouponDebtMember" xlink:to="lab_fnm_ZeroCouponDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LoansReceivableHeldForSaleAmount_ed234cd9-241e-4912-a923-7be04d1a5e51_terseLabel_en-US" xlink:label="lab_us-gaap_LoansReceivableHeldForSaleAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans held for sale, at lower of cost or fair value</link:label>
    <link:label id="lab_us-gaap_LoansReceivableHeldForSaleAmount_label_en-US" xlink:label="lab_us-gaap_LoansReceivableHeldForSaleAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Held-for-Sale</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableHeldForSaleAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableHeldForSaleAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansReceivableHeldForSaleAmount" xlink:to="lab_us-gaap_LoansReceivableHeldForSaleAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TreasuryStockCommonShares_067a4934-56cd-4d6c-aae7-c36201bc8e43_terseLabel_en-US" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Treasury stock at cost (in shares)</link:label>
    <link:label id="lab_us-gaap_TreasuryStockCommonShares_label_en-US" xlink:label="lab_us-gaap_TreasuryStockCommonShares" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Treasury Stock, Common, Shares</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonShares" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonShares"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockCommonShares" xlink:to="lab_us-gaap_TreasuryStockCommonShares" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ConsolidationItemsDomain_3c22e435-21a0-41f3-9572-2522ab537f7c_terseLabel_en-US" xlink:label="lab_srt_ConsolidationItemsDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidation Items [Domain]</link:label>
    <link:label id="lab_srt_ConsolidationItemsDomain_label_en-US" xlink:label="lab_srt_ConsolidationItemsDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidation Items [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidationItemsDomain" xlink:to="lab_srt_ConsolidationItemsDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable_6545ad7e-bf9b-44eb-a5da-bb62fd098d7c_terseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted average number of shares, contingently issuable (in shares)</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares, Contingently Issuable</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesContingentlyIssuable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_600b29f7-9cc7-4802-a818-c23ddde2f3d4_terseLabel_en-US" xlink:label="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments, Debt and Equity Securities [Abstract]</link:label>
    <link:label id="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract_label_en-US" xlink:label="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Investments, Debt and Equity Securities [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:to="lab_us-gaap_InvestmentsDebtAndEquitySecuritiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PaymentsToAcquireLoansHeldForInvestment_0eed76c9-cfd2-4b36-975a-3a9ba1cd43e2_negatedLabel_en-US" xlink:label="lab_us-gaap_PaymentsToAcquireLoansHeldForInvestment" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Purchases</link:label>
    <link:label id="lab_us-gaap_PaymentsToAcquireLoansHeldForInvestment_label_en-US" xlink:label="lab_us-gaap_PaymentsToAcquireLoansHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payment for Acquisition, Loan, Held-for-Investment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment" xlink:to="lab_us-gaap_PaymentsToAcquireLoansHeldForInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_AuditorLocation_02f4362d-4812-40dc-8aab-a8436a84ebdd_terseLabel_en-US" xlink:label="lab_dei_AuditorLocation" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Auditor Location</link:label>
    <link:label id="lab_dei_AuditorLocation_label_en-US" xlink:label="lab_dei_AuditorLocation" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Auditor Location</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorLocation" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorLocation"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AuditorLocation" xlink:to="lab_dei_AuditorLocation" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_RadianGuarantyIncMember_76be0006-b534-47b6-8246-aa68310f065b_terseLabel_en-US" xlink:label="lab_fnm_RadianGuarantyIncMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Radian Guaranty, Inc.</link:label>
    <link:label id="lab_fnm_RadianGuarantyIncMember_label_en-US" xlink:label="lab_fnm_RadianGuarantyIncMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Radian Guaranty, Inc [Member]</link:label>
    <link:label id="lab_fnm_RadianGuarantyIncMember_documentation_en-US" xlink:label="lab_fnm_RadianGuarantyIncMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents one of our largest mortgage insurer counterparties, Radian Guaranty, Inc.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_RadianGuarantyIncMember" xlink:href="fnm-20251231.xsd#fnm_RadianGuarantyIncMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_RadianGuarantyIncMember" xlink:to="lab_fnm_RadianGuarantyIncMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_6e28ffa0-b8cd-4ecd-8ade-1bfdfd6cdf90_verboseLabel_en-US" xlink:label="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Unconsolidated VIEs</link:label>
    <link:label id="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_label_en-US" xlink:label="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Interest Entity, Not Primary Beneficiary [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:to="lab_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_GuarantyBookOfBusinessMember_48f3b8e5-467b-456b-a3d9-49eb11392e44_terseLabel_en-US" xlink:label="lab_fnm_GuarantyBookOfBusinessMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Guaranty Book of Business</link:label>
    <link:label id="lab_fnm_GuarantyBookOfBusinessMember_label_en-US" xlink:label="lab_fnm_GuarantyBookOfBusinessMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guaranty Book of Business [Member]</link:label>
    <link:label id="lab_fnm_GuarantyBookOfBusinessMember_documentation_en-US" xlink:label="lab_fnm_GuarantyBookOfBusinessMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the sum of the unpaid principal balance of: (1) mortgage loans held in our mortgage portfolio; (2) Fannie Mae MBS held in our mortgage portfolio; (3) Fannie Mae MBS held by third parties; and (4) other credit enhancements that we provide on mortgage assets. It excludes non-Fannie Mae mortgage-related securities held in our investment portfolio for which we do not provide a guaranty.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_GuarantyBookOfBusinessMember" xlink:href="fnm-20251231.xsd#fnm_GuarantyBookOfBusinessMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_GuarantyBookOfBusinessMember" xlink:to="lab_fnm_GuarantyBookOfBusinessMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis_8b8f0616-6d6c-4cb8-91b6-98dfdc4624cf_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable Portfolio Segment [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis_label_en-US" xlink:label="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable Portfolio Segment [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablePortfolioSegmentAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:to="lab_us-gaap_FinancingReceivablePortfolioSegmentAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TwoYearMaturityUSTreasuryRateMember_ec8d595e-28da-4121-8362-ec4ef20dfaa9_terseLabel_en-US" xlink:label="lab_fnm_TwoYearMaturityUSTreasuryRateMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Two-year Constant Maturity U.S. Treasury Rate</link:label>
    <link:label id="lab_fnm_TwoYearMaturityUSTreasuryRateMember_label_en-US" xlink:label="lab_fnm_TwoYearMaturityUSTreasuryRateMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Two-year Maturity U.S. Treasury Rate [Member]</link:label>
    <link:label id="lab_fnm_TwoYearMaturityUSTreasuryRateMember_documentation_en-US" xlink:label="lab_fnm_TwoYearMaturityUSTreasuryRateMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">An index based on the average yield of a range of Treasury securities, adjusted to the equivalent of a two-year maturity.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TwoYearMaturityUSTreasuryRateMember" xlink:href="fnm-20251231.xsd#fnm_TwoYearMaturityUSTreasuryRateMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TwoYearMaturityUSTreasuryRateMember" xlink:to="lab_fnm_TwoYearMaturityUSTreasuryRateMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock_de5192ce-e556-4c30-9b73-7998b2381b6b_terseLabel_en-US" xlink:label="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Risk in Force Mortgage Insurance Coverage</link:label>
    <link:label id="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock_label_en-US" xlink:label="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule Of Risk In Force Mortgage Insurance Coverage [Table Text Block]</link:label>
    <link:label id="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock_documentation_en-US" xlink:label="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tabular disclosure of risk in force mortgage insurance coverage.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock" xlink:to="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxesPaidNet_f227bcf3-1ba2-45f1-ac7c-65f8d64292cb_verboseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxesPaidNet" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Federal income taxes, net of refunds</link:label>
    <link:label id="lab_us-gaap_IncomeTaxesPaidNet_label_en-US" xlink:label="lab_us-gaap_IncomeTaxesPaidNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Taxes Paid, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxesPaidNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxesPaidNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxesPaidNet" xlink:to="lab_us-gaap_IncomeTaxesPaidNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction_2193fd62-bb2a-4a3f-99fa-ca05cf482d39_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total assets, under the master netting arrangements, not offset in our consolidated balance sheets, financial instruments</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction" xlink:to="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedNotOffsetPolicyElectionDeduction" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OverTheCounterMember_b13a064f-f76e-489f-9712-3cd83342546a_terseLabel_en-US" xlink:label="lab_us-gaap_OverTheCounterMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">OTC risk management derivatives</link:label>
    <link:label id="lab_us-gaap_OverTheCounterMember_label_en-US" xlink:label="lab_us-gaap_OverTheCounterMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Over-the-Counter [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OverTheCounterMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OverTheCounterMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OverTheCounterMember" xlink:to="lab_us-gaap_OverTheCounterMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember_7b631fda-a64e-4346-afbf-1a5678d0633c_terseLabel_en-US" xlink:label="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage commitments to purchase whole loans</link:label>
    <link:label id="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember_label_en-US" xlink:label="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Commitments to Purchase Whole Loans [Member]</link:label>
    <link:label id="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember_documentation_en-US" xlink:label="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represent forward contract/commitments to purchase single-family mortgage whole loans.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageCommitmentsToPurchaseWholeLoansMember" xlink:href="fnm-20251231.xsd#fnm_MortgageCommitmentsToPurchaseWholeLoansMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageCommitmentsToPurchaseWholeLoansMember" xlink:to="lab_fnm_MortgageCommitmentsToPurchaseWholeLoansMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentCarryingAmount_a49f01c2-b159-48ff-9d02-0b830372fb5f_verboseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentCarryingAmount" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Outstanding debt</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentCarryingAmount_9b39292b-c5bd-44ba-88d9-19a31983bd89_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentCarryingAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt, unpaid principal balance</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentCarryingAmount_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentCarryingAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Gross</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentCarryingAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentCarryingAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentCarryingAmount" xlink:to="lab_us-gaap_DebtInstrumentCarryingAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityWellKnownSeasonedIssuer_4abfa9bd-3705-4be3-ad0d-8c3de6395eb3_terseLabel_en-US" xlink:label="lab_dei_EntityWellKnownSeasonedIssuer" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Well-known Seasoned Issuer</link:label>
    <link:label id="lab_dei_EntityWellKnownSeasonedIssuer_label_en-US" xlink:label="lab_dei_EntityWellKnownSeasonedIssuer" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Well-known Seasoned Issuer</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityWellKnownSeasonedIssuer"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityWellKnownSeasonedIssuer" xlink:to="lab_dei_EntityWellKnownSeasonedIssuer" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageInsuranceCoverageRiskInForce_991af5e2-c85c-4980-a2e1-0790ebef9d7d_totalLabel_en-US" xlink:label="lab_fnm_MortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Mortgage insurance coverage risk in force</link:label>
    <link:label id="lab_fnm_MortgageInsuranceCoverageRiskInForce_label_en-US" xlink:label="lab_fnm_MortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Insurance Coverage Risk In Force</link:label>
    <link:label id="lab_fnm_MortgageInsuranceCoverageRiskInForce_documentation_en-US" xlink:label="lab_fnm_MortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Mortgage Insurance Coverage 'risk in force' represents our maximum potential loss recovery under the applicable mortgage insurance policies.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageInsuranceCoverageRiskInForce" xlink:href="fnm-20251231.xsd#fnm_MortgageInsuranceCoverageRiskInForce"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageInsuranceCoverageRiskInForce" xlink:to="lab_fnm_MortgageInsuranceCoverageRiskInForce" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_44bad462-fefc-44a1-82b1-28f3e6caf435_terseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Changes in net unrealized losses on available-for-sale securities, net of taxes</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, after Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage_0cbe7d72-8ecc-43f5-a7c3-8a803003b384_terseLabel_en-US" xlink:label="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">60 days delinquent (percentage of conventional loans)</link:label>
    <link:label id="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage_label_en-US" xlink:label="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Loans 60 to 89 Days Past Due, Percentage</link:label>
    <link:label id="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage_documentation_en-US" xlink:label="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of loans that are 60 to 89 days past due. Calculated based on the number of loans in the delinquency bucket indicated, divided by the total number of loans in the respective category.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NumberOfLoans60To89DaysPastDuePercentage" xlink:href="fnm-20251231.xsd#fnm_NumberOfLoans60To89DaysPastDuePercentage"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NumberOfLoans60To89DaysPastDuePercentage" xlink:to="lab_fnm_NumberOfLoans60To89DaysPastDuePercentage" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FiveMajorLendersMember_b3b2924f-fdfc-4998-90ec-25382de0e6ba_terseLabel_en-US" xlink:label="lab_fnm_FiveMajorLendersMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Five Major Lenders</link:label>
    <link:label id="lab_fnm_FiveMajorLendersMember_label_en-US" xlink:label="lab_fnm_FiveMajorLendersMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Five Major Lenders [Member]</link:label>
    <link:label id="lab_fnm_FiveMajorLendersMember_documentation_en-US" xlink:label="lab_fnm_FiveMajorLendersMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Five Major Lenders</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FiveMajorLendersMember" xlink:href="fnm-20251231.xsd#fnm_FiveMajorLendersMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FiveMajorLendersMember" xlink:to="lab_fnm_FiveMajorLendersMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock_9b7a26e8-34fa-45b7-a9f3-62e7cd56e891_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Regulatory Capital Classification Measures</link:label>
    <link:label id="lab_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Compliance with Regulatory Capital Requirements under Banking Regulations [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:to="lab_us-gaap_ScheduleOfComplianceWithRegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_IncreaseDecreaseInServicerAdvances_d5a60787-88e7-4b68-9375-d1702c0f53e9_terseLabel_en-US" xlink:label="lab_fnm_IncreaseDecreaseInServicerAdvances" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net change in servicer advances</link:label>
    <link:label id="lab_fnm_IncreaseDecreaseInServicerAdvances_label_en-US" xlink:label="lab_fnm_IncreaseDecreaseInServicerAdvances" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (decrease) in servicer advances</link:label>
    <link:label id="lab_fnm_IncreaseDecreaseInServicerAdvances_documentation_en-US" xlink:label="lab_fnm_IncreaseDecreaseInServicerAdvances" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Increase (decrease) in servicer advances</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_IncreaseDecreaseInServicerAdvances" xlink:href="fnm-20251231.xsd#fnm_IncreaseDecreaseInServicerAdvances"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_IncreaseDecreaseInServicerAdvances" xlink:to="lab_fnm_IncreaseDecreaseInServicerAdvances" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_ca241a69-cb27-4318-baf0-c8b11525f258_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total loans held for investment</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Accrued Interest, before Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:to="lab_us-gaap_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable_795781b5-494d-40f6-8ab3-fb567caddb8d_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restructured loans, percent of total financing receivable (* less than)</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable_label_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Percent of Total Financing Receivable</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Modified In Period, To Total Financing Receivables, Percentage</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable" xlink:to="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsPercentOfTotalFinancingReceivable" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrExpirationDate_terseLabel_en-US" xlink:label="lab_ecd_TrdArrExpirationDate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Expiration Date</link:label>
    <link:label id="lab_ecd_TrdArrExpirationDate_label_en-US" xlink:label="lab_ecd_TrdArrExpirationDate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement Expiration Date</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrExpirationDate" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrExpirationDate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrExpirationDate" xlink:to="lab_ecd_TrdArrExpirationDate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_9d7c35ef-53a3-4434-8b0f-a029904bd6b2_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities, net amount</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Including Not Subject to Master Netting Arrangement, after Offset and Deduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral" xlink:to="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedAmountOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_4f0c60eb-4068-4119-8454-5a24ed0c3475_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">One fiscal year, writeoff</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff" xlink:to="lab_us-gaap_FinancingReceivableYearTwoOriginatedFiscalYearBeforeCurrentFiscalYearWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DealerMarkAndDiscountedCashFlowMember_9bf951b5-8ace-4e2e-92c2-bdb40b285edd_terseLabel_en-US" xlink:label="lab_fnm_DealerMarkAndDiscountedCashFlowMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Dealer Mark and Discounted Cash Flow</link:label>
    <link:label id="lab_fnm_DealerMarkAndDiscountedCashFlowMember_label_en-US" xlink:label="lab_fnm_DealerMarkAndDiscountedCashFlowMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Dealer Mark and Discounted Cash Flow [Member]</link:label>
    <link:label id="lab_fnm_DealerMarkAndDiscountedCashFlowMember_documentation_en-US" xlink:label="lab_fnm_DealerMarkAndDiscountedCashFlowMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Dealer Mark and Discounted Cash Flow</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DealerMarkAndDiscountedCashFlowMember" xlink:href="fnm-20251231.xsd#fnm_DealerMarkAndDiscountedCashFlowMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DealerMarkAndDiscountedCashFlowMember" xlink:to="lab_fnm_DealerMarkAndDiscountedCashFlowMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GeographicConcentrationRiskMember_4f71d58a-2277-480a-a0ec-ee095f61928d_terseLabel_en-US" xlink:label="lab_us-gaap_GeographicConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Geographic Concentration Risk</link:label>
    <link:label id="lab_us-gaap_GeographicConcentrationRiskMember_label_en-US" xlink:label="lab_us-gaap_GeographicConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Geographic Concentration Risk [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeographicConcentrationRiskMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeographicConcentrationRiskMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GeographicConcentrationRiskMember" xlink:to="lab_us-gaap_GeographicConcentrationRiskMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_CompActuallyPaidVsNetIncomeTextBlock_terseLabel_en-US" xlink:label="lab_ecd_CompActuallyPaidVsNetIncomeTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Net Income</link:label>
    <link:label id="lab_ecd_CompActuallyPaidVsNetIncomeTextBlock_label_en-US" xlink:label="lab_ecd_CompActuallyPaidVsNetIncomeTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Net Income [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_CompActuallyPaidVsNetIncomeTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_CompActuallyPaidVsNetIncomeTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_CompActuallyPaidVsNetIncomeTextBlock" xlink:to="lab_ecd_CompActuallyPaidVsNetIncomeTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember_89dc1d48-fd92-4e21-9c1e-c4814ed0ebbb_terseLabel_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Less than or equal to 80%</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember_label_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Estimated Mark To Market Loan To Value Ratio Less Than or Equal to 80 Percent [Member]</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember_documentation_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the recorded investment in loans with an estimated mark-to-market loan-to-value ratio less than or equal to 80%.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember" xlink:href="fnm-20251231.xsd#fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember" xlink:to="lab_fnm_EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual_f938e4fc-74bf-4cd6-8dac-619c01bedd38_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit)</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual_label_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Tier One Leverage Capital, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Tier One Leverage Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual" xlink:to="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalActual" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityCurrentReportingStatus_3a1ed2df-7574-4111-8ee8-badb73cc3114_terseLabel_en-US" xlink:label="lab_dei_EntityCurrentReportingStatus" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Current Reporting Status</link:label>
    <link:label id="lab_dei_EntityCurrentReportingStatus_label_en-US" xlink:label="lab_dei_EntityCurrentReportingStatus" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Current Reporting Status</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCurrentReportingStatus" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCurrentReportingStatus"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCurrentReportingStatus" xlink:to="lab_dei_EntityCurrentReportingStatus" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ReceivablesAbstract_8a76b49f-3c21-4917-b6e2-b9b0329c874d_terseLabel_en-US" xlink:label="lab_us-gaap_ReceivablesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Receivables [Abstract]</link:label>
    <link:label id="lab_us-gaap_ReceivablesAbstract_label_en-US" xlink:label="lab_us-gaap_ReceivablesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Receivables [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ReceivablesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ReceivablesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ReceivablesAbstract" xlink:to="lab_us-gaap_ReceivablesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLineItems_0dba585a-567e-4a37-ab33-0d51ae049f23_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative [Line Items]</link:label>
    <link:label id="lab_us-gaap_DerivativeLineItems_label_en-US" xlink:label="lab_us-gaap_DerivativeLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLineItems" xlink:to="lab_us-gaap_DerivativeLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardsCloseToMnpiDiscTable_terseLabel_en-US" xlink:label="lab_ecd_AwardsCloseToMnpiDiscTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Awards Close in Time to MNPI Disclosures</link:label>
    <link:label id="lab_ecd_AwardsCloseToMnpiDiscTable_label_en-US" xlink:label="lab_ecd_AwardsCloseToMnpiDiscTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Awards Close in Time to MNPI Disclosures [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardsCloseToMnpiDiscTable" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardsCloseToMnpiDiscTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardsCloseToMnpiDiscTable" xlink:to="lab_ecd_AwardsCloseToMnpiDiscTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock_c5c6a072-2d30-4dd3-ae5a-04316ad5e296_terseLabel_en-US" xlink:label="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Risk Characteristics Guaranty Book of Business</link:label>
    <link:label id="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock_label_en-US" xlink:label="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule Of Risk Characteristics Guaranty Book Of Business [Table Text Block]</link:label>
    <link:label id="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock_documentation_en-US" xlink:label="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tabular disclosure of certain higher risk characteristics of our single-family conventional and total multifamily guarantee book of business.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock" xlink:to="lab_fnm_ScheduleOfRiskCharacteristicsGuarantyBookOfBusinessTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ConsolidatedEntitiesDomain_ff19c7ed-80ae-4073-9810-630d87ab691e_terseLabel_en-US" xlink:label="lab_srt_ConsolidatedEntitiesDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidated Entities [Domain]</link:label>
    <link:label id="lab_srt_ConsolidatedEntitiesDomain_label_en-US" xlink:label="lab_srt_ConsolidatedEntitiesDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidated Entities [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidatedEntitiesDomain" xlink:to="lab_srt_ConsolidatedEntitiesDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_019b1391-4b9b-7bcb-aa59-6140c138b156_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">U.S. federal statutory corporate tax rate</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation at Federal Statutory Income Tax Rate, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:to="lab_us-gaap_IncomeTaxReconciliationIncomeTaxExpenseBenefitAtFederalStatutoryIncomeTaxRate" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1_7788eeca-175d-4cb6-9ba9-5e4fc2531785_terseLabel_en-US" xlink:label="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans received by consolidated trusts to satisfy advances to lenders</link:label>
    <link:label id="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1_label_en-US" xlink:label="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Transfers From Advances to Lenders to Loans Held for Investment of Consolidated Trusts1</link:label>
    <link:label id="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1_documentation_en-US" xlink:label="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents net transfers of MBS securities created as a result of the Early Lender sale program to loans held for investment of consolidated trusts.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1" xlink:href="fnm-20251231.xsd#fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1" xlink:to="lab_fnm_NetTransfersFromAdvancestoLenderstoLoansHeldforInvestmentofConsolidatedTrusts1" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AdvanceToLender_38fe3ea2-5b74-4950-920f-b37964343683_terseLabel_en-US" xlink:label="lab_fnm_AdvanceToLender" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Advances to lenders</link:label>
    <link:label id="lab_fnm_AdvanceToLender_label_en-US" xlink:label="lab_fnm_AdvanceToLender" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Advance to Lender</link:label>
    <link:label id="lab_fnm_AdvanceToLender_documentation_en-US" xlink:label="lab_fnm_AdvanceToLender" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Advance to Lender</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AdvanceToLender" xlink:href="fnm-20251231.xsd#fnm_AdvanceToLender"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AdvanceToLender" xlink:to="lab_fnm_AdvanceToLender" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_0065ca95-af03-447e-a1f3-fa466ef5fd7f_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, gross</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Gross Liability Including Not Subject to Master Netting Arrangement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_DerivativeLiabilityFairValueGrossLiabilityIncludingNotSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TransactionDomain_19a599df-2fb7-4a4c-833b-222d63e5b0cc_terseLabel_en-US" xlink:label="lab_us-gaap_TransactionDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Transaction [Domain]</link:label>
    <link:label id="lab_us-gaap_TransactionDomain_label_en-US" xlink:label="lab_us-gaap_TransactionDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Transaction [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransactionDomain" xlink:to="lab_us-gaap_TransactionDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_756d8583-11d1-4846-b75c-518509397dda_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities, net amount presented in our consolidated balance sheets</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, after Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_DerivativeLiabilitySecuritySoldUnderAgreementToRepurchaseSecurityLoanedAfterOffsetSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancialInstrumentAxis_4da367bb-00bf-4591-b03c-cfb534c8a90c_terseLabel_en-US" xlink:label="lab_us-gaap_FinancialInstrumentAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Instrument [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancialInstrumentAxis_f3dec300-c072-4f4e-b2b8-63073bd5e042_verboseLabel_en-US" xlink:label="lab_us-gaap_FinancialInstrumentAxis" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Eligible Item or Group for Fair Value Option [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancialInstrumentAxis_label_en-US" xlink:label="lab_us-gaap_FinancialInstrumentAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Instrument [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentAxis" xlink:to="lab_us-gaap_FinancialInstrumentAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsGrossAbstract_fd9b977e-94fa-46ed-ac89-1a27322f6282_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsGrossAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred tax assets:</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsGrossAbstract_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsGrossAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Gross [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGrossAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGrossAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsGrossAbstract" xlink:to="lab_us-gaap_DeferredTaxAssetsGrossAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementOfFinancialPositionAbstract_08b74d4e-64c7-4ce1-a3cf-d7e7e68a5c02_terseLabel_en-US" xlink:label="lab_us-gaap_StatementOfFinancialPositionAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement of Financial Position [Abstract]</link:label>
    <link:label id="lab_us-gaap_StatementOfFinancialPositionAbstract_label_en-US" xlink:label="lab_us-gaap_StatementOfFinancialPositionAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Financial Position [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfFinancialPositionAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfFinancialPositionAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfFinancialPositionAbstract" xlink:to="lab_us-gaap_StatementOfFinancialPositionAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ExecutiveCategoryAxis_terseLabel_en-US" xlink:label="lab_ecd_ExecutiveCategoryAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Executive Category:</link:label>
    <link:label id="lab_ecd_ExecutiveCategoryAxis_label_en-US" xlink:label="lab_ecd_ExecutiveCategoryAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Executive Category [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ExecutiveCategoryAxis" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ExecutiveCategoryAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ExecutiveCategoryAxis" xlink:to="lab_ecd_ExecutiveCategoryAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinanceLoansAndLeasesReceivablePolicy_c2614d2d-6f12-4df7-a9a7-48c68359cf9f_terseLabel_en-US" xlink:label="lab_us-gaap_FinanceLoansAndLeasesReceivablePolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Nonaccrual Loans and Allowance for Loan Losses</link:label>
    <link:label id="lab_us-gaap_FinanceLoansAndLeasesReceivablePolicy_label_en-US" xlink:label="lab_us-gaap_FinanceLoansAndLeasesReceivablePolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLoansAndLeasesReceivablePolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLoansAndLeasesReceivablePolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLoansAndLeasesReceivablePolicy" xlink:to="lab_us-gaap_FinanceLoansAndLeasesReceivablePolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RepaymentsOfDebt_4c58df91-f9be-4615-ba95-51d03b7ab38f_negatedLabel_en-US" xlink:label="lab_us-gaap_RepaymentsOfDebt" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Payments to redeem debt</link:label>
    <link:label id="lab_us-gaap_RepaymentsOfDebt_label_en-US" xlink:label="lab_us-gaap_RepaymentsOfDebt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repayments of Debt</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepaymentsOfDebt" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepaymentsOfDebt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepaymentsOfDebt" xlink:to="lab_us-gaap_RepaymentsOfDebt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract_8fc9681b-9127-4fad-8d81-20b07bf5b552_terseLabel_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Comprehensive income:</link:label>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract_label_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment_019b139d-202e-75a2-84b1-18be5b3002c7_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">LIHTC investments</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Investment, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationTaxCreditsInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment" xlink:to="lab_us-gaap_IncomeTaxReconciliationTaxCreditsInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_CurrentFiscalYearEndDate_a369fb07-cd82-4ac8-9c0c-42e606c5b46a_terseLabel_en-US" xlink:label="lab_dei_CurrentFiscalYearEndDate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current Fiscal Year End Date</link:label>
    <link:label id="lab_dei_CurrentFiscalYearEndDate_label_en-US" xlink:label="lab_dei_CurrentFiscalYearEndDate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Current Fiscal Year End Date</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CurrentFiscalYearEndDate" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CurrentFiscalYearEndDate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CurrentFiscalYearEndDate" xlink:to="lab_dei_CurrentFiscalYearEndDate" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PaymentDeferralAndExtendedMaturityMember_b1706acf-6b6b-437d-a892-0814d182518c_terseLabel_en-US" xlink:label="lab_fnm_PaymentDeferralAndExtendedMaturityMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Payment Delay and Term Extension</link:label>
    <link:label id="lab_fnm_PaymentDeferralAndExtendedMaturityMember_label_en-US" xlink:label="lab_fnm_PaymentDeferralAndExtendedMaturityMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payment Deferral and Extended Maturity [Member]</link:label>
    <link:label id="lab_fnm_PaymentDeferralAndExtendedMaturityMember_documentation_en-US" xlink:label="lab_fnm_PaymentDeferralAndExtendedMaturityMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Payment Deferral and Extended Maturity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PaymentDeferralAndExtendedMaturityMember" xlink:href="fnm-20251231.xsd#fnm_PaymentDeferralAndExtendedMaturityMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PaymentDeferralAndExtendedMaturityMember" xlink:to="lab_fnm_PaymentDeferralAndExtendedMaturityMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock_3c2f3587-da6c-434c-b299-694ac659ac30_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans in Mortgage Portfolio</link:label>
    <link:label id="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Accounts, Notes, Loans and Financing Receivable [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:to="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfGuaranteeObligationsTextBlock_36a7a693-93c6-4c28-81b5-49c8b732abc0_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfGuaranteeObligationsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Guarantor Obligations</link:label>
    <link:label id="lab_us-gaap_ScheduleOfGuaranteeObligationsTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfGuaranteeObligationsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Guarantor Obligations [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfGuaranteeObligationsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTextBlock" xlink:to="lab_us-gaap_ScheduleOfGuaranteeObligationsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilities_f38b628d-a73d-42b8-b53a-12ff2b53aa79_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilities" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Derivatives liabilities at fair value</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilities_202c4d23-07c3-4209-8280-1790b2c2f9e9_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities at fair value</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilities_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilities" xlink:to="lab_us-gaap_DerivativeLiabilities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_0f53817b-dc43-4a45-b0bf-bba340915555_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Four fiscal years before</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear" xlink:to="lab_us-gaap_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYear" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherNoninterestExpense_95ddcad2-0149-4a70-b324-923cacff2680_terseLabel_en-US" xlink:label="lab_us-gaap_OtherNoninterestExpense" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other income (expense), net</link:label>
    <link:label id="lab_us-gaap_OtherNoninterestExpense_019be717-1517-780f-a566-4c4f04876f81_verboseLabel_en-US" xlink:label="lab_us-gaap_OtherNoninterestExpense" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Other expense, net</link:label>
    <link:label id="lab_us-gaap_OtherNoninterestExpense_label_en-US" xlink:label="lab_us-gaap_OtherNoninterestExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Noninterest Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherNoninterestExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherNoninterestExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherNoninterestExpense" xlink:to="lab_us-gaap_OtherNoninterestExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_WalkerDunlopLLCMember_fbdb81fb-db05-425f-8b14-4b9ecf9afd72_terseLabel_en-US" xlink:label="lab_fnm_WalkerDunlopLLCMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Walker &amp; Dunlop, LLC</link:label>
    <link:label id="lab_fnm_WalkerDunlopLLCMember_label_en-US" xlink:label="lab_fnm_WalkerDunlopLLCMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Walker &amp; Dunlop, LLC [Member]</link:label>
    <link:label id="lab_fnm_WalkerDunlopLLCMember_documentation_en-US" xlink:label="lab_fnm_WalkerDunlopLLCMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents one of our largest mortgage servicer counterparties, Walker &amp; Dunlop, LLC</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_WalkerDunlopLLCMember" xlink:href="fnm-20251231.xsd#fnm_WalkerDunlopLLCMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_WalkerDunlopLLCMember" xlink:to="lab_fnm_WalkerDunlopLLCMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember_terseLabel_en-US" xlink:label="lab_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity Awards Adjustments, Excluding Value Reported in Compensation Table</link:label>
    <link:label id="lab_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember_label_en-US" xlink:label="lab_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity Awards Adjustments, Excluding Value Reported in the Compensation Table [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember" xlink:to="lab_ecd_EqtyAwrdsAdjsExclgValRprtdInSummryCompstnTblMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LoanRestructuringModificationAxis_7b6649b3-f53c-4a6a-b683-219c360b1efb_terseLabel_en-US" xlink:label="lab_us-gaap_LoanRestructuringModificationAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loan Restructuring Modification [Axis]</link:label>
    <link:label id="lab_us-gaap_LoanRestructuringModificationAxis_label_en-US" xlink:label="lab_us-gaap_LoanRestructuringModificationAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loan Restructuring Modification [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoanRestructuringModificationAxis" xlink:to="lab_us-gaap_LoanRestructuringModificationAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PassMember_f2560e7c-5ec3-46f2-8c5b-44e94eb9c21b_terseLabel_en-US" xlink:label="lab_us-gaap_PassMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pass</link:label>
    <link:label id="lab_us-gaap_PassMember_label_en-US" xlink:label="lab_us-gaap_PassMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pass [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PassMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PassMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PassMember" xlink:to="lab_us-gaap_PassMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestRateContractMember_9103149c-9333-45bc-8277-1a45b192bea7_terseLabel_en-US" xlink:label="lab_us-gaap_InterestRateContractMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risk management derivatives</link:label>
    <link:label id="lab_us-gaap_InterestRateContractMember_label_en-US" xlink:label="lab_us-gaap_InterestRateContractMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Rate Contract [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestRateContractMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestRateContractMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestRateContractMember" xlink:to="lab_us-gaap_InterestRateContractMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued_3d4e7905-1306-4448-935a-01f0e9f3e163_terseLabel_en-US" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of the warrant at issuance</link:label>
    <link:label id="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued_label_en-US" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustments to Additional Paid in Capital, Warrant Issued</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued" xlink:to="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalWarrantIssued" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement_79e145bf-410f-48c2-a0e2-1a460665cc02_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative asset, not subject to master netting arrangement</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Not Subject to Master Netting Arrangement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_DerivativeAssetNotSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember_9d46825d-7389-443e-ad86-e07201a318e6_terseLabel_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Greater than 100%</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember_label_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Estimated Mark To Market Loan To Value Ratio Greater Than 100 Percent, Loans Recorded Investment [Member]</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember_documentation_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Estimated Mark To Market Loan To Value Ratio Greater Than 100 Percent, Loans Recorded Investment [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember" xlink:href="fnm-20251231.xsd#fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember" xlink:to="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_14b9cd80-227e-487f-b76b-bd1beadaef00_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Recurring Changes in Fair Value</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Fair Value, Assets and Liabilities Measured on Recurring Basis [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfFairValueAssetsAndLiabilitiesMeasuredOnRecurringBasisTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockRedemptionTerms_180bf907-1a63-46f3-b04b-fb073335f044_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockRedemptionTerms" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, redemption terms</link:label>
    <link:label id="lab_us-gaap_PreferredStockRedemptionTerms_label_en-US" xlink:label="lab_us-gaap_PreferredStockRedemptionTerms" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Redemption Terms</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockRedemptionTerms" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockRedemptionTerms"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockRedemptionTerms" xlink:to="lab_us-gaap_PreferredStockRedemptionTerms" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_24577e3a-65d4-4478-8324-ac7d8ae862eb_terseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted-average common shares outstanding:</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Diluted [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_d1c3c32a-970f-48be-91c1-7af0d0a4ed5e_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]</link:label>
    <link:label id="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_label_en-US" xlink:label="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Liabilities Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:to="lab_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueByBalanceSheetGroupingTable_6e8e38b9-16fc-48f8-a7e7-2aca48e35200_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value of Financial Instruments [Table]</link:label>
    <link:label id="lab_us-gaap_FairValueByBalanceSheetGroupingTable_label_en-US" xlink:label="lab_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, by Balance Sheet Grouping [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByBalanceSheetGroupingTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:to="lab_us-gaap_FairValueByBalanceSheetGroupingTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_72425bec-b556-4a55-b71d-95381567d6a8_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">2027</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Maturity, Year Two</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock_ff6dc8f2-04b4-4261-a545-1881bf057160_terseLabel_en-US" xlink:label="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aging Analysis</link:label>
    <link:label id="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock_label_en-US" xlink:label="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Past Due [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PastDueFinancingReceivablesTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:to="lab_us-gaap_PastDueFinancingReceivablesTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember_1117eb15-958f-4c6f-b3c3-a8bc2b5a04aa_terseLabel_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Greater than 100% (less than)</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember_label_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Estimated Mark to Market Loan to Value Ratio Greater Than One Hundred Percent [Member]</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember_documentation_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of loans with an estimated mark-to-market loan-to-value ratio greater than 100%.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember" xlink:href="fnm-20251231.xsd#fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember" xlink:to="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsInvestments_fc7bb590-b1d9-405c-8a42-cd47b9c6e9e0_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsInvestments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest-only securities</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsInvestments_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsInvestments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Investments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsInvestments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsInvestments" xlink:to="lab_us-gaap_DeferredTaxAssetsInvestments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_4aa7b376-75c0-4075-b58a-2287c2c8fcc3_totalLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net cash provided by (used in) financing activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Provided by (Used in) Financing Activity, Including Discontinued Operation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_MeasureAxis_terseLabel_en-US" xlink:label="lab_ecd_MeasureAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Measure:</link:label>
    <link:label id="lab_ecd_MeasureAxis_label_en-US" xlink:label="lab_ecd_MeasureAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Measure [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_MeasureAxis" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_MeasureAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_MeasureAxis" xlink:to="lab_ecd_MeasureAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ValuationTechniqueAxis_ff144425-0950-4294-9dd6-a57739aa2f99_terseLabel_en-US" xlink:label="lab_us-gaap_ValuationTechniqueAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Valuation Approach and Technique [Axis]</link:label>
    <link:label id="lab_us-gaap_ValuationTechniqueAxis_label_en-US" xlink:label="lab_us-gaap_ValuationTechniqueAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Valuation Approach and Technique [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationTechniqueAxis" xlink:to="lab_us-gaap_ValuationTechniqueAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalAbstract_d7144cb1-a199-4a49-9ccc-b3ffb1762ccf_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tier 1 capital</link:label>
    <link:label id="lab_us-gaap_TierOneLeverageCapitalAbstract_label_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Leverage Capital [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapitalAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneLeverageCapitalAbstract" xlink:to="lab_us-gaap_TierOneLeverageCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageCommitmentDerivativesMember_b04bdaa6-1e54-44cd-93c6-d847774cb24f_terseLabel_en-US" xlink:label="lab_fnm_MortgageCommitmentDerivativesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage commitment derivatives</link:label>
    <link:label id="lab_fnm_MortgageCommitmentDerivativesMember_label_en-US" xlink:label="lab_fnm_MortgageCommitmentDerivativesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Commitment Derivatives [Member]</link:label>
    <link:label id="lab_fnm_MortgageCommitmentDerivativesMember_documentation_en-US" xlink:label="lab_fnm_MortgageCommitmentDerivativesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a forward-based arrangement to purchase or sell mortgages-related securities and to purchase single-family mortgages in the secondary market.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageCommitmentDerivativesMember" xlink:href="fnm-20251231.xsd#fnm_MortgageCommitmentDerivativesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageCommitmentDerivativesMember" xlink:to="lab_fnm_MortgageCommitmentDerivativesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PvpTableTextBlock_terseLabel_en-US" xlink:label="lab_ecd_PvpTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pay vs Performance Disclosure, Table</link:label>
    <link:label id="lab_ecd_PvpTableTextBlock_label_en-US" xlink:label="lab_ecd_PvpTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pay vs Performance [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PvpTableTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PvpTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PvpTableTextBlock" xlink:to="lab_ecd_PvpTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CapitalAbstract_3974da1a-25ab-4a2a-85c8-a5f7e6b91974_terseLabel_en-US" xlink:label="lab_us-gaap_CapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total capital (statutory)</link:label>
    <link:label id="lab_us-gaap_CapitalAbstract_label_en-US" xlink:label="lab_us-gaap_CapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Capital [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalAbstract" xlink:to="lab_us-gaap_CapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt_terseLabel_en-US" xlink:label="lab_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forgone Recovery due to Violation of Home Country Law, Amount</link:label>
    <link:label id="lab_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt_label_en-US" xlink:label="lab_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forgone Recovery due to Violation of Home Country Law, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt" xlink:to="lab_ecd_ForgoneRecoveryDueToViolationOfHomeCountryLawAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityTaxIdentificationNumber_5b20f257-0a8d-4d51-a009-d7ed0e4f3a6b_terseLabel_en-US" xlink:label="lab_dei_EntityTaxIdentificationNumber" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Tax Identification Number</link:label>
    <link:label id="lab_dei_EntityTaxIdentificationNumber_label_en-US" xlink:label="lab_dei_EntityTaxIdentificationNumber" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Tax Identification Number</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityTaxIdentificationNumber" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityTaxIdentificationNumber"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityTaxIdentificationNumber" xlink:to="lab_dei_EntityTaxIdentificationNumber" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AdvancesFairValueDisclosure_6c3bb67b-bec0-49ed-b478-b4f4b66d912a_terseLabel_en-US" xlink:label="lab_us-gaap_AdvancesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Advances to lenders</link:label>
    <link:label id="lab_us-gaap_AdvancesFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_AdvancesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Advances, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdvancesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdvancesFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdvancesFairValueDisclosure" xlink:to="lab_us-gaap_AdvancesFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction_c60818aa-e48e-4cac-ae98-cb8493f36ce5_terseLabel_en-US" xlink:label="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock covenant maximum fair market value of assets and properties per transaction</link:label>
    <link:label id="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction_label_en-US" xlink:label="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock Covenant Maximum Fair Market Value of assets and properties per transaction</link:label>
    <link:label id="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction_documentation_en-US" xlink:label="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Preferred Stock Covenant Maximum Fair Market Value of assets and properties per transaction or series of transactions in which Fannie Mae may sell without written consent of Treasury.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction" xlink:href="fnm-20251231.xsd#fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction" xlink:to="lab_fnm_PreferredStockCovenantMaximumFairMarketValueofassetsandpropertiespertransaction" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts_2ae3d39f-f97b-4f93-b257-bea2ca6d7935_terseLabel_en-US" xlink:label="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Retained interest: fair value</link:label>
    <link:label id="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts_label_en-US" xlink:label="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Securities Retained Unconsolidated Portfolio Securitization Trusts</link:label>
    <link:label id="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts_documentation_en-US" xlink:label="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the fair value of securities retained in unconsolidated portfolio securitization trusts as of the period end.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:href="fnm-20251231.xsd#fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:to="lab_fnm_FairValueSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock_10ffef94-6bfc-454e-a4fa-8e7862bd46ca_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Unconsolidated Variable Interest Entities</link:label>
    <link:label id="lab_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Variable Interest Entities [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock" xlink:to="lab_us-gaap_ScheduleOfVariableInterestEntitiesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AuditInformationAbstract_label_en-US" xlink:label="lab_fnm_AuditInformationAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Audit Information [Abstract]</link:label>
    <link:label id="lab_fnm_AuditInformationAbstract_documentation_en-US" xlink:label="lab_fnm_AuditInformationAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Audit Information [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AuditInformationAbstract" xlink:href="fnm-20251231.xsd#fnm_AuditInformationAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AuditInformationAbstract" xlink:to="lab_fnm_AuditInformationAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeMember_49a51598-0ed0-4bf5-be32-8b913ec49b27_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net Derivatives</link:label>
    <link:label id="lab_us-gaap_DerivativeMember_label_en-US" xlink:label="lab_us-gaap_DerivativeMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeMember" xlink:to="lab_us-gaap_DerivativeMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts_edd6e096-58c6-4336-80a6-2fd29b8bd70f_terseLabel_en-US" xlink:label="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net transfers from mortgage loans of Fannie Mae to mortgage loans of consolidated trusts</link:label>
    <link:label id="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts_label_en-US" xlink:label="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Transfers From Loans Held For Investment Of Parent Company To Loans Held For Investment Of Consolidated Trusts</link:label>
    <link:label id="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts_documentation_en-US" xlink:label="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents net transfers to (from) mortgage loans held for investment of consolidated trusts from (to) mortgage loans held for investment of Fannie Mae.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts" xlink:href="fnm-20251231.xsd#fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts" xlink:to="lab_fnm_TransfersFromLoansHeldForInvestmentOfParentCompanyToLoansHeldForInvestmentOfConsolidatedTrusts" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonStockSharesIssued_f5f6c334-3e4b-46ec-ab60-da2a7289b811_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockSharesIssued" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock, shares issued (in shares)</link:label>
    <link:label id="lab_us-gaap_CommonStockSharesIssued_label_en-US" xlink:label="lab_us-gaap_CommonStockSharesIssued" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Shares, Issued</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockSharesIssued" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockSharesIssued"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockSharesIssued" xlink:to="lab_us-gaap_CommonStockSharesIssued" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_818fe3bd-395a-483b-93c9-a4646a840659_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">2029</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Maturity, Year Four</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable_f5139acc-fbb4-4359-aaba-5c6241c3035c_terseLabel_en-US" xlink:label="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Assumptions for Fair Value as of Balance Sheet Date of Assets or Liabilities that relate to Transferor's Continuing Involvement [Table]</link:label>
    <link:label id="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable_label_en-US" xlink:label="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Qualitative and Quantitative Information, Transferor's Continuing Involvement [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable" xlink:to="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_a13c95b7-c1e1-4c9e-84f0-c9918d79bc0a_terseLabel_en-US" xlink:label="lab_us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for Loan Losses [Roll Forward]</link:label>
    <link:label id="lab_us-gaap_AllowanceForLoanAndLeaseLossesRollForward_label_en-US" xlink:label="lab_us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Allowance for Loan and Lease Losses [Roll Forward]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRollForward"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:to="lab_us-gaap_AllowanceForLoanAndLeaseLossesRollForward" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember_f15125c2-609d-46a4-b430-8564c6a1945f_terseLabel_en-US" xlink:label="lab_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Agency</link:label>
    <link:label id="lab_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember_label_en-US" xlink:label="lab_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage-Backed Security, Issued by US Government-Sponsored Enterprise [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:to="lab_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityPublicFloat_c00b6e2c-474d-4354-ab9b-0e0e87b7f81b_terseLabel_en-US" xlink:label="lab_dei_EntityPublicFloat" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Public Float</link:label>
    <link:label id="lab_dei_EntityPublicFloat_label_en-US" xlink:label="lab_dei_EntityPublicFloat" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Public Float</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityPublicFloat" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityPublicFloat"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityPublicFloat" xlink:to="lab_dei_EntityPublicFloat" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TradingArrAxis_terseLabel_en-US" xlink:label="lab_ecd_TradingArrAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Trading Arrangement:</link:label>
    <link:label id="lab_ecd_TradingArrAxis_label_en-US" xlink:label="lab_ecd_TradingArrAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TradingArrAxis" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TradingArrAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TradingArrAxis" xlink:to="lab_ecd_TradingArrAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TotalShareholderRtnAmt_terseLabel_en-US" xlink:label="lab_ecd_TotalShareholderRtnAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Shareholder Return Amount</link:label>
    <link:label id="lab_ecd_TotalShareholderRtnAmt_label_en-US" xlink:label="lab_ecd_TotalShareholderRtnAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Total Shareholder Return Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TotalShareholderRtnAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TotalShareholderRtnAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TotalShareholderRtnAmt" xlink:to="lab_ecd_TotalShareholderRtnAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent_019be6c3-0e93-7a75-856e-6424e918693f_terseLabel_en-US" xlink:label="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proportional amortization, net of other tax benefits, on LIHTC investments</link:label>
    <link:label id="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent_label_en-US" xlink:label="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Proportional Amortization on Investments, Net of Other Tax Benefits, Percent</link:label>
    <link:label id="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent_documentation_en-US" xlink:label="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Proportional Amortization on Investments, Net of Other Tax Benefits, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent" xlink:href="fnm-20251231.xsd#fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent" xlink:to="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsPercent" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LossContingenciesLineItems_f0eab82c-f39a-48f1-a62e-3f952222057d_terseLabel_en-US" xlink:label="lab_us-gaap_LossContingenciesLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loss Contingencies [Line Items]</link:label>
    <link:label id="lab_us-gaap_LossContingenciesLineItems_label_en-US" xlink:label="lab_us-gaap_LossContingenciesLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loss Contingencies [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LossContingenciesLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LossContingenciesLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LossContingenciesLineItems" xlink:to="lab_us-gaap_LossContingenciesLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_8f1adf01-43fd-4478-9994-a81bedf4cc70_terseLabel_en-US" xlink:label="lab_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Real Estate, Type of Property [Axis]</link:label>
    <link:label id="lab_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis_label_en-US" xlink:label="lab_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Real Estate, Type of Property [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis" xlink:to="lab_srt_MortgageLoansOnRealEstateDescriptionTypeOfPropertyAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RepurchaseAndResaleAgreementsPolicy_fffdc19c-fd18-4fc9-af34-a3b24e52d847_terseLabel_en-US" xlink:label="lab_us-gaap_RepurchaseAndResaleAgreementsPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Securities Purchased Under Agreements to Resell</link:label>
    <link:label id="lab_us-gaap_RepurchaseAndResaleAgreementsPolicy_label_en-US" xlink:label="lab_us-gaap_RepurchaseAndResaleAgreementsPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repurchase and Resale Agreements Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepurchaseAndResaleAgreementsPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepurchaseAndResaleAgreementsPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepurchaseAndResaleAgreementsPolicy" xlink:to="lab_us-gaap_RepurchaseAndResaleAgreementsPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SeriesEPreferredStockMember_df58d95a-7137-48e8-bc7d-8de261af5b31_terseLabel_en-US" xlink:label="lab_us-gaap_SeriesEPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series E</link:label>
    <link:label id="lab_us-gaap_SeriesEPreferredStockMember_label_en-US" xlink:label="lab_us-gaap_SeriesEPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series E Preferred Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesEPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesEPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SeriesEPreferredStockMember" xlink:to="lab_us-gaap_SeriesEPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NettingArrangementsTextBlock_3c71138f-c0c3-425e-878c-47ac82d702ba_terseLabel_en-US" xlink:label="lab_fnm_NettingArrangementsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Netting Arrangements</link:label>
    <link:label id="lab_fnm_NettingArrangementsTextBlock_label_en-US" xlink:label="lab_fnm_NettingArrangementsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Netting Arrangements [Text Block]</link:label>
    <link:label id="lab_fnm_NettingArrangementsTextBlock_documentation_en-US" xlink:label="lab_fnm_NettingArrangementsTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">The entire disclosure for balance sheet offsetting/netting arrangements.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NettingArrangementsTextBlock" xlink:href="fnm-20251231.xsd#fnm_NettingArrangementsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NettingArrangementsTextBlock" xlink:to="lab_fnm_NettingArrangementsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_e1248d5f-25f1-4168-b1b3-8215a7e1a13b_terseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell (includes $18,425 and $14,899, respectively, related to consolidated trusts)</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_84a1ac2b-8030-48db-8d84-e432e73f26b1_verboseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Securities Purchased under Agreements to Resell</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResell"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TotalRiskManagementDerivativesPortfolioMember_0737e1b7-e94e-45a5-8893-54fcee65f55e_terseLabel_en-US" xlink:label="lab_fnm_TotalRiskManagementDerivativesPortfolioMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total risk management derivatives portfolio</link:label>
    <link:label id="lab_fnm_TotalRiskManagementDerivativesPortfolioMember_label_en-US" xlink:label="lab_fnm_TotalRiskManagementDerivativesPortfolioMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Total risk management derivatives portfolio [Member]</link:label>
    <link:label id="lab_fnm_TotalRiskManagementDerivativesPortfolioMember_documentation_en-US" xlink:label="lab_fnm_TotalRiskManagementDerivativesPortfolioMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Total risk management derivatives portfolio</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TotalRiskManagementDerivativesPortfolioMember" xlink:href="fnm-20251231.xsd#fnm_TotalRiskManagementDerivativesPortfolioMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TotalRiskManagementDerivativesPortfolioMember" xlink:to="lab_fnm_TotalRiskManagementDerivativesPortfolioMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual_e5c4f33b-a5aa-40e4-aa4a-38d4a3e98331_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit)</link:label>
    <link:label id="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier One Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier One Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual_a232ebb8-39ac-410f-b83e-39f06237fcd1_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit) Ratio</link:label>
    <link:label id="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgageBackedSecuritiesMember_3bf7216b-2f5d-4875-a7ad-1767100fc7cc_terseLabel_en-US" xlink:label="lab_us-gaap_MortgageBackedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage-related securities</link:label>
    <link:label id="lab_us-gaap_MortgageBackedSecuritiesMember_label_en-US" xlink:label="lab_us-gaap_MortgageBackedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Collateralized Mortgage-Backed Securities [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageBackedSecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageBackedSecuritiesMember" xlink:to="lab_us-gaap_MortgageBackedSecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivablesTextBlock_aabe756b-6e7d-4d5c-a305-9a24acf91cf7_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivablesTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage Loans</link:label>
    <link:label id="lab_us-gaap_FinancingReceivablesTextBlock_label_en-US" xlink:label="lab_us-gaap_FinancingReceivablesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivables [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesTextBlock" xlink:to="lab_us-gaap_FinancingReceivablesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual_f41550cc-a5e7-4e07-ae2b-9bbe90fea3b1_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit) Ratio</link:label>
    <link:label id="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier One Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier One Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationCommonEquityTierOneRiskBasedCapitalRatioExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFixedDebtMember_7991f66a-72d7-48a8-97f5-1c4049b7f6aa_terseLabel_en-US" xlink:label="lab_fnm_SeniorFixedDebtMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior Fixed</link:label>
    <link:label id="lab_fnm_SeniorFixedDebtMember_label_en-US" xlink:label="lab_fnm_SeniorFixedDebtMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Fixed Debt [Member]</link:label>
    <link:label id="lab_fnm_SeniorFixedDebtMember_documentation_en-US" xlink:label="lab_fnm_SeniorFixedDebtMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior fixed rate debt instruments with an original contractual maturity of greater than one year. Senior fixed rate debt takes priority over other debt securities sold by the company. In the event the company goes bankrupt, senior fixed rate debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFixedDebtMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFixedDebtMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFixedDebtMember" xlink:to="lab_fnm_SeniorFixedDebtMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtSecuritiesTradingGainLoss_af684e3f-d72e-4cfb-96fe-fa9d883b77bf_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesTradingGainLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net trading gains (losses)</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesTradingGainLoss_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesTradingGainLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Trading, Gain (Loss)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesTradingGainLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesTradingGainLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesTradingGainLoss" xlink:to="lab_us-gaap_DebtSecuritiesTradingGainLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_68315946-31df-415a-aeaf-778c83e68456_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value by Asset Class [Domain]</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Asset Class [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementLineItems_eb565470-671b-472b-8fe2-40fa63810d6d_terseLabel_en-US" xlink:label="lab_us-gaap_StatementLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement [Line Items]</link:label>
    <link:label id="lab_us-gaap_StatementLineItems_label_en-US" xlink:label="lab_us-gaap_StatementLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementLineItems" xlink:to="lab_us-gaap_StatementLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember_54eb59b0-7451-4e6d-9f9d-ec384ad09ed4_terseLabel_en-US" xlink:label="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Payment Delay, Term Extension, Interest Rate Reduction and Other</link:label>
    <link:label id="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember_a5afc10a-5c2c-491f-8b12-fda692ce4fca_verboseLabel_en-US" xlink:label="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Payment Delay, Term Extension, Interest Rate Reduction, and Other</link:label>
    <link:label id="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember_label_en-US" xlink:label="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payment Deferral, Extended Maturity, and Contractual Interest Rate Reduction [Member]</link:label>
    <link:label id="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember_documentation_en-US" xlink:label="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Payment Deferral, Extended Maturity, and Contractual Interest Rate Reduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:href="fnm-20251231.xsd#fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:to="lab_fnm_PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedAssetFairValueHedge_534dbb4e-bdab-4736-9115-b7e6eb966003_terseLabel_en-US" xlink:label="lab_us-gaap_HedgedAssetFairValueHedge" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged asset, carrying amount</link:label>
    <link:label id="lab_us-gaap_HedgedAssetFairValueHedge_label_en-US" xlink:label="lab_us-gaap_HedgedAssetFairValueHedge" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Asset, Fair Value Hedge</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetFairValueHedge" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetFairValueHedge"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetFairValueHedge" xlink:to="lab_us-gaap_HedgedAssetFairValueHedge" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_Rule10b51ArrAdoptedFlag_terseLabel_en-US" xlink:label="lab_ecd_Rule10b51ArrAdoptedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Rule 10b5-1 Arrangement Adopted</link:label>
    <link:label id="lab_ecd_Rule10b51ArrAdoptedFlag_label_en-US" xlink:label="lab_ecd_Rule10b51ArrAdoptedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Rule 10b5-1 Arrangement Adopted [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_Rule10b51ArrAdoptedFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_Rule10b51ArrAdoptedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_Rule10b51ArrAdoptedFlag" xlink:to="lab_ecd_Rule10b51ArrAdoptedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PreferredStockCovenantMaximumMortgageAssets_1aef066a-cbd0-4996-8361-7ffd23037a79_terseLabel_en-US" xlink:label="lab_fnm_PreferredStockCovenantMaximumMortgageAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, covenant, maximum mortgage assets</link:label>
    <link:label id="lab_fnm_PreferredStockCovenantMaximumMortgageAssets_label_en-US" xlink:label="lab_fnm_PreferredStockCovenantMaximumMortgageAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Covenant, Maximum Mortgage Assets</link:label>
    <link:label id="lab_fnm_PreferredStockCovenantMaximumMortgageAssets_documentation_en-US" xlink:label="lab_fnm_PreferredStockCovenantMaximumMortgageAssets" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">The maximum mortgage assets amount, as of the end of the current period, allowed per the covenant in the Senior Preferred Stock Agreement.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PreferredStockCovenantMaximumMortgageAssets" xlink:href="fnm-20251231.xsd#fnm_PreferredStockCovenantMaximumMortgageAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PreferredStockCovenantMaximumMortgageAssets" xlink:to="lab_fnm_PreferredStockCovenantMaximumMortgageAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonStockMember_0254d8a1-c388-4afc-a2d3-5cd54df77b45_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common Stock</link:label>
    <link:label id="lab_us-gaap_CommonStockMember_label_en-US" xlink:label="lab_us-gaap_CommonStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockMember" xlink:to="lab_us-gaap_CommonStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_d9e350e2-4eff-4451-91ea-1d40a3af4312_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Issues</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Issuances</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityIssues" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock_fd338c72-279a-4b9e-9b0e-401d9c56bcb2_terseLabel_en-US" xlink:label="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Summary Of Stock Purchase Agreement</link:label>
    <link:label id="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock_label_en-US" xlink:label="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Summary Of Stock Purchase Agreement [Table Text Block]</link:label>
    <link:label id="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock_documentation_en-US" xlink:label="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Summary Of Stock Purchase Agreement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SummaryOfStockPurchaseAgreementTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_SummaryOfStockPurchaseAgreementTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SummaryOfStockPurchaseAgreementTableTextBlock" xlink:to="lab_fnm_SummaryOfStockPurchaseAgreementTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember_74a13d04-b53a-4c46-8ab8-4180c09e6349_terseLabel_en-US" xlink:label="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest Rate Risk On Held-for-Investment Mortgage Loan</link:label>
    <link:label id="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember_label_en-US" xlink:label="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Rate Risk On Held-for-Investment Mortgage Loan [Member]</link:label>
    <link:label id="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember_documentation_en-US" xlink:label="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Interest rate risk on held for investment mortgage loan</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember" xlink:href="fnm-20251231.xsd#fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember" xlink:to="lab_fnm_InterestRateRiskOnHeldForInvestmentMortgageLoanMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability_b7bff9de-b9e6-4602-ba11-680c3edca39b_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell or similar arrangements, gross amount offset</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Security Purchased under Agreement to Resell, Subject to Master Netting Arrangement, Liability Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellLiability" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems_1f2732d4-f9d7-4e61-b4ae-475902a78b80_terseLabel_en-US" xlink:label="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Guarantees and Maximum Recovery [Line Items]</link:label>
    <link:label id="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems_label_en-US" xlink:label="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Guarantees and Maximum Recovery [Line Items]</link:label>
    <link:label id="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems_documentation_en-US" xlink:label="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">[Line Items] for Financial Guarantees and Maximum Recovery [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancialGuaranteesandMaximumRecoveryLineItems" xlink:href="fnm-20251231.xsd#fnm_FinancialGuaranteesandMaximumRecoveryLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancialGuaranteesandMaximumRecoveryLineItems" xlink:to="lab_fnm_FinancialGuaranteesandMaximumRecoveryLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TreasuryCapitalManagementFundMember_ac5d7d4d-1fe5-435d-9c09-cafeeff0c5ef_terseLabel_en-US" xlink:label="lab_fnm_TreasuryCapitalManagementFundMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Treasury&#8217;s Capital Magnet Fund</link:label>
    <link:label id="lab_fnm_TreasuryCapitalManagementFundMember_label_en-US" xlink:label="lab_fnm_TreasuryCapitalManagementFundMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Treasury Capital Management Fund [Member]</link:label>
    <link:label id="lab_fnm_TreasuryCapitalManagementFundMember_documentation_en-US" xlink:label="lab_fnm_TreasuryCapitalManagementFundMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Treasury Capital Management Fund</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TreasuryCapitalManagementFundMember" xlink:href="fnm-20251231.xsd#fnm_TreasuryCapitalManagementFundMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TreasuryCapitalManagementFundMember" xlink:to="lab_fnm_TreasuryCapitalManagementFundMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SignificantAccountingPoliciesTextBlock_ccd59322-9d93-4dc8-a5a3-487da5283c10_terseLabel_en-US" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Summary of Significant Accounting Policies</link:label>
    <link:label id="lab_us-gaap_SignificantAccountingPoliciesTextBlock_label_en-US" xlink:label="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Significant Accounting Policies [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SignificantAccountingPoliciesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:to="lab_us-gaap_SignificantAccountingPoliciesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RangeMember_2e8d6497-4d1d-453b-ac53-e719a16f550b_terseLabel_en-US" xlink:label="lab_srt_RangeMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statistical Measurement [Domain]</link:label>
    <link:label id="lab_srt_RangeMember_label_en-US" xlink:label="lab_srt_RangeMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statistical Measurement [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RangeMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RangeMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RangeMember" xlink:to="lab_srt_RangeMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_2f47f86f-ffd7-4954-ad1b-80cd9945cccc_terseLabel_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amortized cost</link:label>
    <link:label id="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss_label_en-US" xlink:label="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Available-for-Sale, Amortized Cost, Excluding Accrued Interest, before Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:to="lab_us-gaap_DebtSecuritiesAvailableForSaleAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_UnderlyingAssetClassAxis_139278f7-d5d5-417e-9ca4-682300da0ed6_terseLabel_en-US" xlink:label="lab_us-gaap_UnderlyingAssetClassAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Underlying Asset Class [Axis]</link:label>
    <link:label id="lab_us-gaap_UnderlyingAssetClassAxis_label_en-US" xlink:label="lab_us-gaap_UnderlyingAssetClassAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Underlying Asset Class [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnderlyingAssetClassAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnderlyingAssetClassAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnderlyingAssetClassAxis" xlink:to="lab_us-gaap_UnderlyingAssetClassAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ShorttermDebtFairValue_65995e74-cde3-4c95-97d6-6741a8e01c81_terseLabel_en-US" xlink:label="lab_us-gaap_ShorttermDebtFairValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-term debt:</link:label>
    <link:label id="lab_us-gaap_ShorttermDebtFairValue_label_en-US" xlink:label="lab_us-gaap_ShorttermDebtFairValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-Term Debt, Fair Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShorttermDebtFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShorttermDebtFairValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShorttermDebtFairValue" xlink:to="lab_us-gaap_ShorttermDebtFairValue" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SoutheastUnitedStatesMember_7cade6b9-c831-4320-9476-caf95ea8c6f9_terseLabel_en-US" xlink:label="lab_fnm_SoutheastUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Southeast</link:label>
    <link:label id="lab_fnm_SoutheastUnitedStatesMember_label_en-US" xlink:label="lab_fnm_SoutheastUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Southeast United States [Member]</link:label>
    <link:label id="lab_fnm_SoutheastUnitedStatesMember_documentation_en-US" xlink:label="lab_fnm_SoutheastUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Southeast includes AL, DC, FL, GA, KY, MD, NC, MS, SC, TN, VA, WV</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SoutheastUnitedStatesMember" xlink:href="fnm-20251231.xsd#fnm_SoutheastUnitedStatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SoutheastUnitedStatesMember" xlink:to="lab_fnm_SoutheastUnitedStatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualInterestIncome_874c22a9-e29c-4418-89b5-328bd0a8b444_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualInterestIncome" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest income recognized, nonaccrual loans</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualInterestIncome_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualInterestIncome" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual, Interest Income</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualInterestIncome" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableNonaccrualInterestIncome"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualInterestIncome" xlink:to="lab_us-gaap_FinancingReceivableNonaccrualInterestIncome" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RelatedPartyTransactionAxis_55a6b2d6-2663-45ae-8af8-9edf0c17b0f6_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Axis]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionAxis_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis" xlink:to="lab_us-gaap_RelatedPartyTransactionAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongtermDebtWeightedAverageInterestRate_2c319367-9512-4667-929c-45a89035d7fd_terseLabel_en-US" xlink:label="lab_us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-term debt, weighted-average interest rate</link:label>
    <link:label id="lab_us-gaap_LongtermDebtWeightedAverageInterestRate_label_en-US" xlink:label="lab_us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Weighted Average Interest Rate, at Point in Time</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:to="lab_us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_JudicialRulingMember_fc2e0976-12ce-4581-acbf-bb131d5a7260_terseLabel_en-US" xlink:label="lab_us-gaap_JudicialRulingMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Judicial Ruling</link:label>
    <link:label id="lab_us-gaap_JudicialRulingMember_label_en-US" xlink:label="lab_us-gaap_JudicialRulingMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Judicial Ruling [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_JudicialRulingMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_JudicialRulingMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_JudicialRulingMember" xlink:to="lab_us-gaap_JudicialRulingMember" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_f38e3368-c8e5-4063-82d4-e1aeeca7e9cf_terseLabel_en-US" xlink:label="lab_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Real Estate [Domain]</link:label>
    <link:label id="lab_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain_label_en-US" xlink:label="lab_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Real Estate [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MortgageLoansOnRealEstateNamePropertyTypeDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain" xlink:to="lab_srt_MortgageLoansOnRealEstateNamePropertyTypeDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueByAssetClassAxis_5d7387e2-7f98-482a-82d4-275748eaeaf1_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueByAssetClassAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Asset Class [Axis]</link:label>
    <link:label id="lab_us-gaap_FairValueByAssetClassAxis_label_en-US" xlink:label="lab_us-gaap_FairValueByAssetClassAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Asset Class [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueByAssetClassAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueByAssetClassAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueByAssetClassAxis" xlink:to="lab_us-gaap_FairValueByAssetClassAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ValuationTechniqueDomain_bfce74b9-b7bb-4ac5-9b66-0e992283bae7_terseLabel_en-US" xlink:label="lab_us-gaap_ValuationTechniqueDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Valuation Approach and Technique [Domain]</link:label>
    <link:label id="lab_us-gaap_ValuationTechniqueDomain_label_en-US" xlink:label="lab_us-gaap_ValuationTechniqueDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Valuation Approach and Technique [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ValuationTechniqueDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ValuationTechniqueDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ValuationTechniqueDomain" xlink:to="lab_us-gaap_ValuationTechniqueDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration_019c05a0-b019-7971-9652-828f2a1f5720_terseLabel_en-US" xlink:label="lab_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tax Jurisdiction of Domicile [Extensible Enumeration]</link:label>
    <link:label id="lab_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration_label_en-US" xlink:label="lab_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Tax Jurisdiction of Domicile [Extensible Enumeration]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration" xlink:to="lab_us-gaap_TaxJurisdictionOfDomicileExtensibleEnumeration" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtPolicyTextBlock_d99165f8-149a-48fb-be9d-313451b90909_terseLabel_en-US" xlink:label="lab_us-gaap_DebtPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt</link:label>
    <link:label id="lab_us-gaap_DebtPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_DebtPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtPolicyTextBlock" xlink:to="lab_us-gaap_DebtPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_c78e79d2-89f3-4d85-98d5-49e28a954ca0_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">One fiscal year before</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Two, Originated, Fiscal Year before Current Fiscal Year</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear" xlink:to="lab_us-gaap_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYear" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OriginalLoanToValueRatio8001To90Member_8334ea33-77d7-4771-9438-230850662120_terseLabel_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatio8001To90Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">80.01% to 90%</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatio8001To90Member_label_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatio8001To90Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Original Loan to Value Ratio, 80.01% to 90% [Member]</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatio8001To90Member_documentation_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatio8001To90Member" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Original Loan to Value Ratio, 80.01% to 90%</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OriginalLoanToValueRatio8001To90Member" xlink:href="fnm-20251231.xsd#fnm_OriginalLoanToValueRatio8001To90Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OriginalLoanToValueRatio8001To90Member" xlink:to="lab_fnm_OriginalLoanToValueRatio8001To90Member" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ValuationLossGain_a3e486a2-29ef-4ae6-b983-e265ba3748f5_negatedTerseLabel_en-US" xlink:label="lab_fnm_ValuationLossGain" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Valuation (gains) losses</link:label>
    <link:label id="lab_fnm_ValuationLossGain_label_en-US" xlink:label="lab_fnm_ValuationLossGain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Valuation Loss (Gain)</link:label>
    <link:label id="lab_fnm_ValuationLossGain_documentation_en-US" xlink:label="lab_fnm_ValuationLossGain" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Includes the following non-cash items that flow through Investment gains (losses): (1) lower cost or market adjustment on whole loans; (2) the impact of securities and loan derecognition under a sale; (3) realized gains (losses) on securitizations; and (4) the impact of consolidation, deconsolidation and other-than-temporary impairment of available-for-sale securities. Additionally, this line includes fair value losses (gains) on trading securities, debt and derivatives.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ValuationLossGain" xlink:href="fnm-20251231.xsd#fnm_ValuationLossGain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ValuationLossGain" xlink:to="lab_fnm_ValuationLossGain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock_00a9a3ff-829e-4352-9389-afda716ffbf8_terseLabel_en-US" xlink:label="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Risk in Force Mortgage Insurance Coverage, by Counterparty</link:label>
    <link:label id="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock_label_en-US" xlink:label="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule Of Risk In Force Mortgage Insurance Coverage, By Counterparty [Table Text Block]</link:label>
    <link:label id="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock_documentation_en-US" xlink:label="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tabular disclosure of risk in force mortgage mortgage insurance coverage by counterparty.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock" xlink:to="lab_fnm_ScheduleOfRiskInForceMortgageInsuranceCoverageByCounterpartyTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PledgedStatusAxis_d1530478-4af7-4d86-8569-9255f245cea5_terseLabel_en-US" xlink:label="lab_us-gaap_PledgedStatusAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pledged Status [Axis]</link:label>
    <link:label id="lab_us-gaap_PledgedStatusAxis_label_en-US" xlink:label="lab_us-gaap_PledgedStatusAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pledged Status [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PledgedStatusAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PledgedStatusAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PledgedStatusAxis" xlink:to="lab_us-gaap_PledgedStatusAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TradingArrByIndTable_terseLabel_en-US" xlink:label="lab_ecd_TradingArrByIndTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Trading Arrangements, by Individual</link:label>
    <link:label id="lab_ecd_TradingArrByIndTable_label_en-US" xlink:label="lab_ecd_TradingArrByIndTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangements, by Individual [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TradingArrByIndTable" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TradingArrByIndTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TradingArrByIndTable" xlink:to="lab_ecd_TradingArrByIndTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EarningsPerShareBasic_a5707347-9207-46d8-aac0-2c27d550770a_terseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareBasic" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Basic (in dollars per share)</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareBasic_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareBasic" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share, Basic</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareBasic" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareBasic"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareBasic" xlink:to="lab_us-gaap_EarningsPerShareBasic" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EssentGuarantyIncMember_0d688adc-986e-435b-8a3e-96c71b7f0c00_terseLabel_en-US" xlink:label="lab_fnm_EssentGuarantyIncMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Essent Guaranty, Inc.</link:label>
    <link:label id="lab_fnm_EssentGuarantyIncMember_label_en-US" xlink:label="lab_fnm_EssentGuarantyIncMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Essent Guaranty, Inc [Member]</link:label>
    <link:label id="lab_fnm_EssentGuarantyIncMember_documentation_en-US" xlink:label="lab_fnm_EssentGuarantyIncMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents one of our largest mortgage insurer counterparties, Essent Guaranty, Inc.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EssentGuarantyIncMember" xlink:href="fnm-20251231.xsd#fnm_EssentGuarantyIncMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EssentGuarantyIncMember" xlink:to="lab_fnm_EssentGuarantyIncMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LiabilitiesFairValueDisclosureAbstract_743e32a1-1eb7-42b7-8a22-dfe82a909892_verboseLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Liabilities:</link:label>
    <link:label id="lab_us-gaap_LiabilitiesFairValueDisclosureAbstract_label_en-US" xlink:label="lab_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities, Fair Value Disclosure [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosureAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:to="lab_us-gaap_LiabilitiesFairValueDisclosureAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AdditionalCollateralAggregateFairValue_d4349c89-4e22-46e0-9cb9-7202375d2c36_terseLabel_en-US" xlink:label="lab_us-gaap_AdditionalCollateralAggregateFairValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum additional collateral</link:label>
    <link:label id="lab_us-gaap_AdditionalCollateralAggregateFairValue_label_en-US" xlink:label="lab_us-gaap_AdditionalCollateralAggregateFairValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Additional Collateral, Aggregate Fair Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdditionalCollateralAggregateFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdditionalCollateralAggregateFairValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdditionalCollateralAggregateFairValue" xlink:to="lab_us-gaap_AdditionalCollateralAggregateFairValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualTable_d062775c-1a35-461f-a6fe-aa074aa4538f_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual [Table]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualTable_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableNonaccrualTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualTable" xlink:to="lab_us-gaap_FinancingReceivableNonaccrualTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsGross_cfef9c96-084f-4147-b961-6b4b6eeb0204_totalLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsGross" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total deferred tax assets</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsGross_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsGross" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Gross</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsGross" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsGross"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsGross" xlink:to="lab_us-gaap_DeferredTaxAssetsGross" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross_c5a6e9aa-f17d-400e-a096-01fcd9ce76c3_terseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell, or similar arrangements, gross amount</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Security Purchased under Agreement to Resell, Subject to Master Netting Arrangement, before Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellGross" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTax_fb21402c-2721-46b8-bb62-ec77581ef687_terseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other comprehensive income (loss)</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTax_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Net of Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_1232d967-1731-4c79-9769-0062c3bd90d0_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Segment Reporting</link:label>
    <link:label id="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Segment Reporting Information, by Segment [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:to="lab_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ShortTermBorrowings_21e2bdcd-e5bd-46da-89c7-52d43fbfbff5_terseLabel_en-US" xlink:label="lab_us-gaap_ShortTermBorrowings" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-term debt of Fannie Mae, outstanding</link:label>
    <link:label id="lab_us-gaap_ShortTermBorrowings_label_en-US" xlink:label="lab_us-gaap_ShortTermBorrowings" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-Term Debt</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermBorrowings" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermBorrowings"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermBorrowings" xlink:to="lab_us-gaap_ShortTermBorrowings" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_618e471b-762b-4058-a58f-97cece4fe6c8_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Net change in accrued interest receivable</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Accrued Interest Receivable, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:to="lab_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentRedemptionPeriodAxis_51c643a3-db6f-49e2-a6c4-b6be45ecb4d2_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Instrument, Redemption, Period [Axis]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentRedemptionPeriodAxis_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Redemption, Period [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:to="lab_us-gaap_DebtInstrumentRedemptionPeriodAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_26381f48-9317-4e02-8bf6-5f2d39b501c0_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total gains (losses) realized &amp; unrealized</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Asset, Recurring Basis, Still Held, Unrealized Gain (Loss)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisChangeInUnrealizedGainLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance_260a0d5d-f58f-4e79-973b-4f84d23b6b51_terseLabel_en-US" xlink:label="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unpaid principal balance of mortgage loans</link:label>
    <link:label id="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance_label_en-US" xlink:label="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Loans on Real Estate, Unpaid Principal Balance</link:label>
    <link:label id="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance_documentation_en-US" xlink:label="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents principal amount outstanding of mortgage loans.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance" xlink:href="fnm-20251231.xsd#fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance" xlink:to="lab_fnm_MortgageLoansOnRealEstateUnpaidPrincipalBalance" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_USTreasuryAndFreddieMacMember_442d258c-a5af-4ca5-9cf5-7b420167c1c9_terseLabel_en-US" xlink:label="lab_fnm_USTreasuryAndFreddieMacMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Treasury &amp; Freddie Mac</link:label>
    <link:label id="lab_fnm_USTreasuryAndFreddieMacMember_label_en-US" xlink:label="lab_fnm_USTreasuryAndFreddieMacMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">US Treasury and Freddie Mac [Member]</link:label>
    <link:label id="lab_fnm_USTreasuryAndFreddieMacMember_documentation_en-US" xlink:label="lab_fnm_USTreasuryAndFreddieMacMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">US Treasury and Freddie Mac</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_USTreasuryAndFreddieMacMember" xlink:href="fnm-20251231.xsd#fnm_USTreasuryAndFreddieMacMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_USTreasuryAndFreddieMacMember" xlink:to="lab_fnm_USTreasuryAndFreddieMacMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_238cac22-975b-4151-bc33-0c6986e802e5_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Write-offs</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff" xlink:to="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_e5190e0f-8553-48a0-8758-4f1125b75797_terseLabel_en-US" xlink:label="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Agency</link:label>
    <link:label id="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_label_en-US" xlink:label="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">US Government Corporations and Agencies Securities [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:to="lab_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations_85468cd8-a6cb-4954-9852-c69ec1d961f7_terseLabel_en-US" xlink:label="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Portfolio securitizations: unpaid principal balance</link:label>
    <link:label id="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations_label_en-US" xlink:label="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unpaid Principal Balance of Portfolio Securitizations</link:label>
    <link:label id="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations_documentation_en-US" xlink:label="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">We are considered to be the transferor when we transfer assets from our portfolio in a portfolio securitization transaction and the following represents the unpaid principal balance of portfolio securitizations which occurred during the period.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations" xlink:href="fnm-20251231.xsd#fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations" xlink:to="lab_fnm_UnpaidPrincipalBalanceOfPortfolioSecuritizations" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardTmgMnpiDiscTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AwardTmgMnpiDiscTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Timing MNPI Disclosure</link:label>
    <link:label id="lab_ecd_AwardTmgMnpiDiscTextBlock_label_en-US" xlink:label="lab_ecd_AwardTmgMnpiDiscTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Timing MNPI Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardTmgMnpiDiscTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardTmgMnpiDiscTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardTmgMnpiDiscTextBlock" xlink:to="lab_ecd_AwardTmgMnpiDiscTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_03006efd-ae08-4ba5-ac4a-a1b85fc09d40_totalLabel_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell or similar arrangements, net amount</link:label>
    <link:label id="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Security Purchased under Agreement to Resell, Including Not Subject to Master Netting Arrangement, after Offset and Deduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral" xlink:to="lab_us-gaap_SecuritiesPurchasedUnderAgreementsToResellAmountOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_aafddb39-d72e-455c-b0b8-e5e1e4fe95bd_terseLabel_en-US" xlink:label="lab_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidated Trusts</link:label>
    <link:label id="lab_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_label_en-US" xlink:label="lab_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Interest Entity, Primary Beneficiary [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:to="lab_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LitigationSettlementAmountAwardedFromOtherParty_5c565311-6c23-48c9-bfd2-ed06305c494a_terseLabel_en-US" xlink:label="lab_us-gaap_LitigationSettlementAmountAwardedFromOtherParty" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Awarded damages</link:label>
    <link:label id="lab_us-gaap_LitigationSettlementAmountAwardedFromOtherParty_label_en-US" xlink:label="lab_us-gaap_LitigationSettlementAmountAwardedFromOtherParty" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Settlement, Amount Awarded from Other Party</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationSettlementAmountAwardedFromOtherParty" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LitigationSettlementAmountAwardedFromOtherParty"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LitigationSettlementAmountAwardedFromOtherParty" xlink:to="lab_us-gaap_LitigationSettlementAmountAwardedFromOtherParty" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TradingSecurities_1a495757-3b78-4c36-99c3-c5888493c096_terseLabel_en-US" xlink:label="lab_us-gaap_TradingSecurities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Trading securities</link:label>
    <link:label id="lab_us-gaap_TradingSecurities_label_en-US" xlink:label="lab_us-gaap_TradingSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Trading, and Equity Securities, FV-NI</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TradingSecurities" xlink:to="lab_us-gaap_TradingSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_1bff6129-15a0-4ecb-bff9-9cca4da52fb5_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for loan losses and total recorded investment in HFI loans [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts and Financing Receivables [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:to="lab_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments_019c1057-b542-7a8f-8418-39aeaeecb3ab_terseLabel_en-US" xlink:label="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Contributions for equity investments</link:label>
    <link:label id="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments_label_en-US" xlink:label="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments to Acquire Equity Method Investments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsToAcquireEquityMethodInvestments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:to="lab_us-gaap_PaymentsToAcquireEquityMethodInvestments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeInstrumentsGainLossLineItems_0d4d2d62-ef49-4dc1-9450-0a4382d4273f_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Instruments, Gain (Loss) [Line Items]</link:label>
    <link:label id="lab_us-gaap_DerivativeInstrumentsGainLossLineItems_label_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Instruments, Gain (Loss) [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:to="lab_us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AssetManagerEstimateMember_38fc4327-85d6-4e8a-91af-c8e32f4f2214_terseLabel_en-US" xlink:label="lab_fnm_AssetManagerEstimateMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Asset Manager Estimate</link:label>
    <link:label id="lab_fnm_AssetManagerEstimateMember_label_en-US" xlink:label="lab_fnm_AssetManagerEstimateMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Asset Manager Estimate [Member]</link:label>
    <link:label id="lab_fnm_AssetManagerEstimateMember_documentation_en-US" xlink:label="lab_fnm_AssetManagerEstimateMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Valuation technique uses the net operating income and tax assessments of the specific acquired property, other asset, or collateral underlying the loan as well as MSA-specific market capitalization rates and average per unit sales values to estimate property fair value.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AssetManagerEstimateMember" xlink:href="fnm-20251231.xsd#fnm_AssetManagerEstimateMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AssetManagerEstimateMember" xlink:to="lab_fnm_AssetManagerEstimateMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SegmentReportingAssetReconcilingItemLineItems_7967431b-327b-4d79-bb92-27188310a0f8_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Reporting, Asset Reconciling Item [Line Items]</link:label>
    <link:label id="lab_us-gaap_SegmentReportingAssetReconcilingItemLineItems_label_en-US" xlink:label="lab_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting, Asset Reconciling Item [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingAssetReconcilingItemLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:to="lab_us-gaap_SegmentReportingAssetReconcilingItemLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgingDesignationDomain_9e4a8f1c-5c35-4c23-8a2a-39bc55c8d906_terseLabel_en-US" xlink:label="lab_us-gaap_HedgingDesignationDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedging Designation [Domain]</link:label>
    <link:label id="lab_us-gaap_HedgingDesignationDomain_label_en-US" xlink:label="lab_us-gaap_HedgingDesignationDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedging Designation [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgingDesignationDomain" xlink:to="lab_us-gaap_HedgingDesignationDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_2ffdfc46-07cc-4069-824e-ee929bc10ce9_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accrued interest receivable (includes $11,129 and $10,666, respectively, related to consolidated trusts)</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_74487d41-6393-4788-bddf-e25e89c09da2_verboseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Accrued interest receivable related to consolidated trusts</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Accrued Interest, after Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:to="lab_us-gaap_FinancingReceivableAccruedInterestAfterAllowanceForCreditLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OffsettingTable_d3e16f35-53f3-49e5-a1f1-76ca19c0fd4a_terseLabel_en-US" xlink:label="lab_fnm_OffsettingTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Offsetting [Table]</link:label>
    <link:label id="lab_fnm_OffsettingTable_label_en-US" xlink:label="lab_fnm_OffsettingTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Offsetting [Table]</link:label>
    <link:label id="lab_fnm_OffsettingTable_documentation_en-US" xlink:label="lab_fnm_OffsettingTable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Disclosure of information about derivative, financial assets and liabilities that are subject to offsetting, including enforceable master netting arrangements.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OffsettingTable" xlink:href="fnm-20251231.xsd#fnm_OffsettingTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OffsettingTable" xlink:to="lab_fnm_OffsettingTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquity_c3ad382a-7d49-4568-8a09-b38ef227ebb0_totalLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities and equity</link:label>
    <link:label id="lab_us-gaap_LiabilitiesAndStockholdersEquity_label_en-US" xlink:label="lab_us-gaap_LiabilitiesAndStockholdersEquity" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities and Equity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAndStockholdersEquity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquity" xlink:to="lab_us-gaap_LiabilitiesAndStockholdersEquity" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual_20972e5c-5e81-413d-9def-e8d584cb9505_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement Ratio (including Buffers)</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual_label_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital Ratio, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCoreLeverageCapitalRatioActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCoreLeverageCapitalRatioActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCoreLeverageCapitalRatioActual" xlink:to="lab_fnm_BankingRegulationCoreLeverageCapitalRatioActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_ea85d893-a38f-4cad-9cc3-0d576505f207_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Axis]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskByBenchmarkAxis_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByBenchmarkAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:to="lab_us-gaap_ConcentrationRiskByBenchmarkAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_0f40fc3c-85e2-4501-8fbe-127e795704c0_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Instruments, Gain (Loss) by Hedging Relationship, by Income Statement Location, by Derivative Instrument Risk [Table]</link:label>
    <link:label id="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_label_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Instruments, Gain (Loss) [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:to="lab_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NortheastUnitedStatesMember_e5ed14b7-ff36-41db-a1ca-30a0e166f825_terseLabel_en-US" xlink:label="lab_fnm_NortheastUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Northeast</link:label>
    <link:label id="lab_fnm_NortheastUnitedStatesMember_label_en-US" xlink:label="lab_fnm_NortheastUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Northeast United States [Member]</link:label>
    <link:label id="lab_fnm_NortheastUnitedStatesMember_documentation_en-US" xlink:label="lab_fnm_NortheastUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Northeast includes CT, DE, ME, MA, NH, NJ, NY, PA, PR, RI, VT, VI</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NortheastUnitedStatesMember" xlink:href="fnm-20251231.xsd#fnm_NortheastUnitedStatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NortheastUnitedStatesMember" xlink:to="lab_fnm_NortheastUnitedStatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsOther_e9363351-8d3d-4d20-98c5-e0afd78ec829_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsOther" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other, net</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsOther_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsOther" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Other</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsOther" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsOther"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsOther" xlink:to="lab_us-gaap_DeferredTaxAssetsOther" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans_1d2122fa-82af-455a-88ed-36a2d427653e_terseLabel_en-US" xlink:label="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage and mortgage-related assets</link:label>
    <link:label id="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans_label_en-US" xlink:label="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage And Mortgage Related Assets Including Acquired Credit Impaired Loans</link:label>
    <link:label id="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans_documentation_en-US" xlink:label="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Amount before allocation of valuation allowances of deferred tax asset attributable to deductible temporary differences derived from fair value adjustments, cost basis adjustments and impairments of loans and securities.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans" xlink:href="fnm-20251231.xsd#fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans" xlink:to="lab_fnm_MortgageAndMortgageRelatedAssetsIncludingAcquiredCreditImpairedLoans" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeCollateralObligationToReturnSecurities_be54ccc9-65de-4784-8892-45c1768e3ae9_negatedLabel_en-US" xlink:label="lab_us-gaap_DerivativeCollateralObligationToReturnSecurities" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Derivative assets, under master netting arrangements, amounts not offset in our consolidated balance sheets, collateral</link:label>
    <link:label id="lab_us-gaap_DerivativeCollateralObligationToReturnSecurities_label_en-US" xlink:label="lab_us-gaap_DerivativeCollateralObligationToReturnSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Subject to Master Netting Arrangement, Collateral, Obligation to Return Security Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralObligationToReturnSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeCollateralObligationToReturnSecurities" xlink:to="lab_us-gaap_DerivativeCollateralObligationToReturnSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteesAbstract_90a1f4c4-afc1-470c-97f6-51072ab3662d_terseLabel_en-US" xlink:label="lab_us-gaap_GuaranteesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Guarantees [Abstract]</link:label>
    <link:label id="lab_us-gaap_GuaranteesAbstract_label_en-US" xlink:label="lab_us-gaap_GuaranteesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantees [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteesAbstract" xlink:to="lab_us-gaap_GuaranteesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AccountingPoliciesAbstract_9d9c834e-dc78-453b-a0f8-36c3da86733a_terseLabel_en-US" xlink:label="lab_us-gaap_AccountingPoliciesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounting Policies [Abstract]</link:label>
    <link:label id="lab_us-gaap_AccountingPoliciesAbstract_label_en-US" xlink:label="lab_us-gaap_AccountingPoliciesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounting Policies [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountingPoliciesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountingPoliciesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountingPoliciesAbstract" xlink:to="lab_us-gaap_AccountingPoliciesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OffsettingTableTextBlock_0804a132-a5eb-49e6-89ca-9a4ebe906367_terseLabel_en-US" xlink:label="lab_fnm_OffsettingTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Offsetting</link:label>
    <link:label id="lab_fnm_OffsettingTableTextBlock_label_en-US" xlink:label="lab_fnm_OffsettingTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Offsetting [Table Text Block]</link:label>
    <link:label id="lab_fnm_OffsettingTableTextBlock_documentation_en-US" xlink:label="lab_fnm_OffsettingTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Tabular disclosure of derivative, other financial assets and liabilities that are subject to offsetting, including master netting arrangements.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OffsettingTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_OffsettingTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OffsettingTableTextBlock" xlink:to="lab_fnm_OffsettingTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorPreferredStockMember_fa92d83d-4cef-47df-baae-e4c492580198_terseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeniorPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeniorPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock is senior in liquidation preference to Fannie Mae common stock and all other series of preferred stock.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeniorPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorPreferredStockMember" xlink:to="lab_fnm_SeniorPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskTypeDomain_7df4515a-4679-4f78-a210-db150dea2752_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskTypeDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk Type [Domain]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskTypeDomain_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskTypeDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Type [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTypeDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskTypeDomain" xlink:to="lab_us-gaap_ConcentrationRiskTypeDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities_4ec01fa6-acf5-4ee5-9ebd-843efe445957_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total assets, under master netting arrangements, not offset in our consolidated balance sheets, collateral</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Subject to Master Netting Arrangement, Collateral, Obligation to Return Security Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities" xlink:to="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedCollateralObligationToReturnSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TreasuryStockCommonMember_8758858a-75f2-4f83-9cc2-80007ac8ee31_terseLabel_en-US" xlink:label="lab_us-gaap_TreasuryStockCommonMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Treasury Stock</link:label>
    <link:label id="lab_us-gaap_TreasuryStockCommonMember_label_en-US" xlink:label="lab_us-gaap_TreasuryStockCommonMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Treasury Stock, Common [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockCommonMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockCommonMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockCommonMember" xlink:to="lab_us-gaap_TreasuryStockCommonMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesLPreferredStockMember_1dcdc27c-e3a5-4d29-97e8-dea3b5617396_terseLabel_en-US" xlink:label="lab_fnm_SeriesLPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series L</link:label>
    <link:label id="lab_fnm_SeriesLPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesLPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series L Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesLPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesLPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series L Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesLPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesLPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesLPreferredStockMember" xlink:to="lab_fnm_SeriesLPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PayVsPerformanceDisclosureLineItems_label_en-US" xlink:label="lab_ecd_PayVsPerformanceDisclosureLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pay vs Performance Disclosure [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PayVsPerformanceDisclosureLineItems" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PayVsPerformanceDisclosureLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PayVsPerformanceDisclosureLineItems" xlink:to="lab_ecd_PayVsPerformanceDisclosureLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember_2ed61d0a-92c2-484d-bd31-35cc0724bed9_terseLabel_en-US" xlink:label="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forward contracts to purchase mortgage-related securities</link:label>
    <link:label id="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember_label_en-US" xlink:label="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forward Contracts to Purchase Mortgage-related Securities [Member]</link:label>
    <link:label id="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember_documentation_en-US" xlink:label="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents forward contract/commitment to purchase mortgage-related securities.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember" xlink:href="fnm-20251231.xsd#fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember" xlink:to="lab_fnm_ForwardContractsToPurchaseMortgageRelatedSecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_974e345c-de79-4556-9f6f-00d5c5f65582_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Seriously Delinquent</link:label>
    <link:label id="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember_label_en-US" xlink:label="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, Equal to or Greater than 90 Days Past Due [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:to="lab_us-gaap_FinancingReceivablesEqualToGreaterThan90DaysPastDueMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LiabilitiesAbstract_364b9592-63ac-4e58-ad6b-9915ed7e485b_terseLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Liabilities:</link:label>
    <link:label id="lab_us-gaap_LiabilitiesAbstract_label_en-US" xlink:label="lab_us-gaap_LiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesAbstract" xlink:to="lab_us-gaap_LiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NonmortgagerelatedsecuritiesMember_ee22df3e-63bc-45a8-8385-514b51ea977e_terseLabel_en-US" xlink:label="lab_fnm_NonmortgagerelatedsecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-mortgage-related securities</link:label>
    <link:label id="lab_fnm_NonmortgagerelatedsecuritiesMember_label_en-US" xlink:label="lab_fnm_NonmortgagerelatedsecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-mortgage-related securities [Member]</link:label>
    <link:label id="lab_fnm_NonmortgagerelatedsecuritiesMember_documentation_en-US" xlink:label="lab_fnm_NonmortgagerelatedsecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents non-mortgage-related securities in our trading securities, which includes our U.S. Treasury securities and other securities that currently contains domestic corporate debt securities.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NonmortgagerelatedsecuritiesMember" xlink:href="fnm-20251231.xsd#fnm_NonmortgagerelatedsecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NonmortgagerelatedsecuritiesMember" xlink:to="lab_fnm_NonmortgagerelatedsecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_MortgageLoansOnRealEstateAbstract_9154df8f-0756-47ef-a2ba-2e5f698ba0f0_terseLabel_en-US" xlink:label="lab_srt_MortgageLoansOnRealEstateAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Abstract]</link:label>
    <link:label id="lab_srt_MortgageLoansOnRealEstateAbstract_label_en-US" xlink:label="lab_srt_MortgageLoansOnRealEstateAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">SEC Schedule, 12-29, Real Estate Companies, Investment in Mortgage Loans on Real Estate [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_MortgageLoansOnRealEstateAbstract" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_MortgageLoansOnRealEstateAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_MortgageLoansOnRealEstateAbstract" xlink:to="lab_srt_MortgageLoansOnRealEstateAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancialLiabilitiesFairValueDisclosure_019c0301-f654-714e-b89d-57916d45d969_totalLabel_en-US" xlink:label="lab_us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total financial liabilities</link:label>
    <link:label id="lab_us-gaap_FinancialLiabilitiesFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Liabilities Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialLiabilitiesFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:to="lab_us-gaap_FinancialLiabilitiesFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OtherNoninterestIncomeExpense_019c47cd-0ba9-777d-9846-3338895ed10c_terseLabel_en-US" xlink:label="lab_fnm_OtherNoninterestIncomeExpense" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other income (expense), net</link:label>
    <link:label id="lab_fnm_OtherNoninterestIncomeExpense_label_en-US" xlink:label="lab_fnm_OtherNoninterestIncomeExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Noninterest Income (Expense)</link:label>
    <link:label id="lab_fnm_OtherNoninterestIncomeExpense_documentation_en-US" xlink:label="lab_fnm_OtherNoninterestIncomeExpense" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Other Noninterest Income (Expense)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestIncomeExpense" xlink:href="fnm-20251231.xsd#fnm_OtherNoninterestIncomeExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OtherNoninterestIncomeExpense" xlink:to="lab_fnm_OtherNoninterestIncomeExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_f45488c3-0e28-434a-94f8-f48ad1e7212a_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Assets Measured on Recurring Basis, Unobservable Input Reconciliation, Calculation [Roll Forward]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:to="lab_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentRedemptionPeriodDomain_7a09140b-2e04-4b13-af96-8f31bce253cc_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Instrument, Redemption, Period [Domain]</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentRedemptionPeriodDomain_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Redemption, Period [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentRedemptionPeriodDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:to="lab_us-gaap_DebtInstrumentRedemptionPeriodDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_68c47f7c-f2bf-4728-8a43-f4a1cfa7dc7a_terseLabel_en-US" xlink:label="lab_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net impact of hedged mortgage assets and debt</link:label>
    <link:label id="lab_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_label_en-US" xlink:label="lab_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Change in Unrealized Gain (Loss) on Hedged Item in Fair Value Hedge</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1" xlink:to="lab_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock_852b84e1-0332-41cf-baad-9cb13cb36a05_terseLabel_en-US" xlink:label="lab_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Regulatory Capital Requirements</link:label>
    <link:label id="lab_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock_label_en-US" xlink:label="lab_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Regulatory Capital Requirements under Banking Regulations [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:to="lab_us-gaap_RegulatoryCapitalRequirementsUnderBankingRegulationsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriousDelinquencyDayspastdue1_5f1e49d9-fed1-4452-950f-1e0061d32404_terseLabel_en-US" xlink:label="lab_fnm_SeriousDelinquencyDayspastdue1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Serious delinquency: days past due</link:label>
    <link:label id="lab_fnm_SeriousDelinquencyDayspastdue1_label_en-US" xlink:label="lab_fnm_SeriousDelinquencyDayspastdue1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Serious Delinquency Days past due 1</link:label>
    <link:label id="lab_fnm_SeriousDelinquencyDayspastdue1_documentation_en-US" xlink:label="lab_fnm_SeriousDelinquencyDayspastdue1" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the number of days past due required for a loan to be considered seriously delinquent.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriousDelinquencyDayspastdue1" xlink:href="fnm-20251231.xsd#fnm_SeriousDelinquencyDayspastdue1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriousDelinquencyDayspastdue1" xlink:to="lab_fnm_SeriousDelinquencyDayspastdue1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable_2f82955a-81bd-4c75-b9bd-f058f7f49063_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Variable Interest Entity [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Interest Entity [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:to="lab_us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementOfCashFlowsAbstract_bf2c7801-bbbb-4618-bba6-92ced1986960_terseLabel_en-US" xlink:label="lab_us-gaap_StatementOfCashFlowsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Condensed Consolidated Statements of Cash Flows</link:label>
    <link:label id="lab_us-gaap_StatementOfCashFlowsAbstract_label_en-US" xlink:label="lab_us-gaap_StatementOfCashFlowsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Cash Flows [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementOfCashFlowsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementOfCashFlowsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementOfCashFlowsAbstract" xlink:to="lab_us-gaap_StatementOfCashFlowsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_CoSelectedMeasureAmt_terseLabel_en-US" xlink:label="lab_ecd_CoSelectedMeasureAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Company Selected Measure Amount</link:label>
    <link:label id="lab_ecd_CoSelectedMeasureAmt_label_en-US" xlink:label="lab_ecd_CoSelectedMeasureAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Company Selected Measure Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_CoSelectedMeasureAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_CoSelectedMeasureAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_CoSelectedMeasureAmt" xlink:to="lab_ecd_CoSelectedMeasureAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_Cash_019b0e66-bfa7-73f3-b7ad-b95f242155b3_terseLabel_en-US" xlink:label="lab_us-gaap_Cash" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash</link:label>
    <link:label id="lab_us-gaap_Cash_label_en-US" xlink:label="lab_us-gaap_Cash" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Cash" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Cash"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Cash" xlink:to="lab_us-gaap_Cash" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTax_defb1e95-184d-42c8-b61f-ab35c609fbb0_totalLabel_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total comprehensive income</link:label>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTax_label_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Attributable to Parent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTax" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_MeasureName_terseLabel_en-US" xlink:label="lab_ecd_MeasureName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Name</link:label>
    <link:label id="lab_ecd_MeasureName_label_en-US" xlink:label="lab_ecd_MeasureName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Measure Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_MeasureName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_MeasureName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_MeasureName" xlink:to="lab_ecd_MeasureName" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_5fffbbc5-5caf-43f9-b46e-12c537ccf8f1_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Issuances</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Issuances</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetIssues" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualStatusLineItems_4a7290f6-b30d-4a6f-81bd-262c493f3bd7_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualStatusLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual [Line Items]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualStatusLineItems_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualStatusLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualStatusLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableNonaccrualStatusLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualStatusLineItems" xlink:to="lab_us-gaap_FinancingReceivableNonaccrualStatusLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ClassOfStockLineItems_03b06774-3fd1-4db0-bb13-aa43e581eb01_terseLabel_en-US" xlink:label="lab_us-gaap_ClassOfStockLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Class of Stock [Line Items]</link:label>
    <link:label id="lab_us-gaap_ClassOfStockLineItems_label_en-US" xlink:label="lab_us-gaap_ClassOfStockLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Stock [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClassOfStockLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClassOfStockLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClassOfStockLineItems" xlink:to="lab_us-gaap_ClassOfStockLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ReceiveFixedSwaptionMember_ee1d6198-94b1-4fe4-b009-47e6b508a717_terseLabel_en-US" xlink:label="lab_fnm_ReceiveFixedSwaptionMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Receive-fixed swaption</link:label>
    <link:label id="lab_fnm_ReceiveFixedSwaptionMember_label_en-US" xlink:label="lab_fnm_ReceiveFixedSwaptionMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Receive-fixed Swaption [Member]</link:label>
    <link:label id="lab_fnm_ReceiveFixedSwaptionMember_documentation_en-US" xlink:label="lab_fnm_ReceiveFixedSwaptionMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents an option on interest rate received-fixed swaps in the form of contracts granting an option to one party and creating a corresponding commitment from the counterparty to enter into specified interest rate receive-fixed swaps in the future. Swaptions are traded in the over-the-counter market and not through an exchange.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ReceiveFixedSwaptionMember" xlink:href="fnm-20251231.xsd#fnm_ReceiveFixedSwaptionMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ReceiveFixedSwaptionMember" xlink:to="lab_fnm_ReceiveFixedSwaptionMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FutureMember_77e0a429-beb3-41c8-83fb-7b7604975f68_terseLabel_en-US" xlink:label="lab_us-gaap_FutureMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Futures</link:label>
    <link:label id="lab_us-gaap_FutureMember_label_en-US" xlink:label="lab_us-gaap_FutureMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Future [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FutureMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FutureMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FutureMember" xlink:to="lab_us-gaap_FutureMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost_c565d36b-7d05-4865-9af5-1006ed96fb05_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restructured loans, amortized cost</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost_label_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Amortized Cost</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Amortized Cost</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost" xlink:to="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAmortizedCost" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NonconsolidatedFannieMaesecuritiesMember_7efacd80-9dbc-4ad1-a44e-5b0b86c43240_terseLabel_en-US" xlink:label="lab_fnm_NonconsolidatedFannieMaesecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unconsolidated Fannie Mae MBS</link:label>
    <link:label id="lab_fnm_NonconsolidatedFannieMaesecuritiesMember_label_en-US" xlink:label="lab_fnm_NonconsolidatedFannieMaesecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-consolidated FannieMae securities [Member]</link:label>
    <link:label id="lab_fnm_NonconsolidatedFannieMaesecuritiesMember_documentation_en-US" xlink:label="lab_fnm_NonconsolidatedFannieMaesecuritiesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Maximum potential exposure of guarantees comprised of UPB of underlying mortgage loans that are both recognized and not recognized in our balance sheets. Population primarily consist of MBS, PLS and WL REMICS.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NonconsolidatedFannieMaesecuritiesMember" xlink:href="fnm-20251231.xsd#fnm_NonconsolidatedFannieMaesecuritiesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NonconsolidatedFannieMaesecuritiesMember" xlink:to="lab_fnm_NonconsolidatedFannieMaesecuritiesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RestatementAdjustmentMember_019b0e66-bfa7-7680-9a2a-6a3c92f82b65_terseLabel_en-US" xlink:label="lab_srt_RestatementAdjustmentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustment for Change in Accounting Principle</link:label>
    <link:label id="lab_srt_RestatementAdjustmentMember_label_en-US" xlink:label="lab_srt_RestatementAdjustmentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revision of Prior Period, Adjustment [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementAdjustmentMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementAdjustmentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementAdjustmentMember" xlink:to="lab_srt_RestatementAdjustmentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebt_e664e999-9a1c-43aa-a806-1d238970f6a3_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-term debt, outstanding</link:label>
    <link:label id="lab_us-gaap_LongTermDebt_9a50c90f-d692-4da0-820b-d486c25099a9_totalLabel_en-US" xlink:label="lab_us-gaap_LongTermDebt" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total long-term debt</link:label>
    <link:label id="lab_us-gaap_LongTermDebt_label_en-US" xlink:label="lab_us-gaap_LongTermDebt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebt" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebt" xlink:to="lab_us-gaap_LongTermDebt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_Assets_f538fbe3-f89d-4541-afba-e435547309fe_totalLabel_en-US" xlink:label="lab_us-gaap_Assets" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total assets</link:label>
    <link:label id="lab_us-gaap_Assets_019b0ec1-eb5d-7386-9d82-6e8dde794b5b_verboseLabel_en-US" xlink:label="lab_us-gaap_Assets" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Total Assets</link:label>
    <link:label id="lab_us-gaap_Assets_ed534619-c6fd-4e17-829c-becd4d0e23c8_terseLabel_en-US" xlink:label="lab_us-gaap_Assets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total assets</link:label>
    <link:label id="lab_us-gaap_Assets_label_en-US" xlink:label="lab_us-gaap_Assets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Assets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Assets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Assets" xlink:to="lab_us-gaap_Assets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_UsGovernmentAgencyInsuredLoansMember_1adae2b9-37f1-4199-8f9e-eec87dbb30e9_terseLabel_en-US" xlink:label="lab_us-gaap_UsGovernmentAgencyInsuredLoansMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Government</link:label>
    <link:label id="lab_us-gaap_UsGovernmentAgencyInsuredLoansMember_label_en-US" xlink:label="lab_us-gaap_UsGovernmentAgencyInsuredLoansMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">US Government Agency Insured Loans [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UsGovernmentAgencyInsuredLoansMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UsGovernmentAgencyInsuredLoansMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UsGovernmentAgencyInsuredLoansMember" xlink:to="lab_us-gaap_UsGovernmentAgencyInsuredLoansMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_3729a637-4d87-4632-8884-b2d40a087f2a_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for loan losses and basis in acquired property, net</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Asset, Tax Deferred Expense, Reserve and Accrual, Financing Receivable, Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:to="lab_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentLineItems_53c4b1cd-4fd2-4ba8-bd27-f2d33bc3ded2_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Credit Quality Indicator [Line Items]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentLineItems_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Credit Quality Indicator [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_SegmentGeographicalDomain_93776377-9507-43e9-b671-7938e3d48a16_terseLabel_en-US" xlink:label="lab_srt_SegmentGeographicalDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Geographical [Domain]</link:label>
    <link:label id="lab_srt_SegmentGeographicalDomain_label_en-US" xlink:label="lab_srt_SegmentGeographicalDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Geographical [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_SegmentGeographicalDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_SegmentGeographicalDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_SegmentGeographicalDomain" xlink:to="lab_srt_SegmentGeographicalDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxPolicyTextBlock_8a0ee653-a1df-489b-b11f-800a69b3da51_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Income Taxes</link:label>
    <link:label id="lab_us-gaap_IncomeTaxPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_IncomeTaxPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxPolicyTextBlock" xlink:to="lab_us-gaap_IncomeTaxPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_WestUnitedStatesMember_e3881520-18b7-4058-b52a-a625fd2e7cae_terseLabel_en-US" xlink:label="lab_fnm_WestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">West</link:label>
    <link:label id="lab_fnm_WestUnitedStatesMember_label_en-US" xlink:label="lab_fnm_WestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">West United States [Member]</link:label>
    <link:label id="lab_fnm_WestUnitedStatesMember_documentation_en-US" xlink:label="lab_fnm_WestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">West includes AK, CA, GU, HI, ID, MT, NV, OR, WA and WY.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_WestUnitedStatesMember" xlink:href="fnm-20251231.xsd#fnm_WestUnitedStatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_WestUnitedStatesMember" xlink:to="lab_fnm_WestUnitedStatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OtherMortgageLoanMember_c164b532-bdd7-45ec-94a3-fb9dbb10ec34_terseLabel_en-US" xlink:label="lab_fnm_OtherMortgageLoanMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_fnm_OtherMortgageLoanMember_label_en-US" xlink:label="lab_fnm_OtherMortgageLoanMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Mortgage Loan [Member]</link:label>
    <link:label id="lab_fnm_OtherMortgageLoanMember_documentation_en-US" xlink:label="lab_fnm_OtherMortgageLoanMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Includes mortgage loans with higher-risk characteristics, such as interest-only loans and negative-amortizing loans that are neither government nor Alt-A.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherMortgageLoanMember" xlink:href="fnm-20251231.xsd#fnm_OtherMortgageLoanMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OtherMortgageLoanMember" xlink:to="lab_fnm_OtherMortgageLoanMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtSecurities_df8ce454-f98b-4181-8c16-94c1fa746c8f_totalLabel_en-US" xlink:label="lab_us-gaap_DebtSecurities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total investments in securities</link:label>
    <link:label id="lab_us-gaap_DebtSecurities_label_en-US" xlink:label="lab_us-gaap_DebtSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtSecurities" xlink:to="lab_us-gaap_DebtSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_da6f6f0f-61f8-4040-a52d-04d9e4277d12_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash flows provided by (used in) operating activities:</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Provided by (Used in) Operating Activity, Including Discontinued Operation [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_d47c0b5d-bcc4-44a3-903c-c7cc08ea40b5_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Research and development</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Research, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsResearch" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskByTypeAxis_cd302318-cf24-42cc-91e2-ad35b41b5f16_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskByTypeAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk Type [Axis]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskByTypeAxis_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskByTypeAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Type [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskByTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskByTypeAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskByTypeAxis" xlink:to="lab_us-gaap_ConcentrationRiskByTypeAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_ead8ee23-6aef-4290-8d02-e35f83ea7c3a_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from sales</link:label>
    <link:label id="lab_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment_label_en-US" xlink:label="lab_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Sale, Loan and Lease, Held-for-Investment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment" xlink:to="lab_us-gaap_ProceedsFromSaleOfLoansAndLeasesHeldForInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate_40af2e0d-7fe9-4ef4-92bf-7d40df854b35_terseLabel_en-US" xlink:label="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock dividend rate, basis spread on variable rate</link:label>
    <link:label id="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate_label_en-US" xlink:label="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Dividend Rate, Basis Spread on Variable Rate</link:label>
    <link:label id="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate_documentation_en-US" xlink:label="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">The percentage points added to the reference rate to compute the variable dividend rate on the annual dividend rate.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate" xlink:href="fnm-20251231.xsd#fnm_PreferredStockDividendRateBasisSpreadOnVariableRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate" xlink:to="lab_fnm_PreferredStockDividendRateBasisSpreadOnVariableRate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AssetsFairValueDisclosureAbstract_736f0029-067a-4beb-b52b-ce13c55db9e8_terseLabel_en-US" xlink:label="lab_us-gaap_AssetsFairValueDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Assets:</link:label>
    <link:label id="lab_us-gaap_AssetsFairValueDisclosureAbstract_label_en-US" xlink:label="lab_us-gaap_AssetsFairValueDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets, Fair Value Disclosure [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosureAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsFairValueDisclosureAbstract" xlink:to="lab_us-gaap_AssetsFairValueDisclosureAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect_f09c9a90-510e-4e2e-bd14-d3231a34e66f_terseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other, tax</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income (Loss), Pension and Other Postretirement Benefit Plans, Plan Amendments, Tax Effect</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect" xlink:to="lab_us-gaap_OtherComprehensiveIncomeLossPensionAndOtherPostretirementBenefitPlansPlanAmendmentsTaxEffect" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_VariableInterestEntityLineItems_a7f05e46-aa2a-4032-940c-f6f5a0a43e55_verboseLabel_en-US" xlink:label="lab_us-gaap_VariableInterestEntityLineItems" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Variable Interest Entities [Line Items]</link:label>
    <link:label id="lab_us-gaap_VariableInterestEntityLineItems_label_en-US" xlink:label="lab_us-gaap_VariableInterestEntityLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Interest Entity [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableInterestEntityLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableInterestEntityLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableInterestEntityLineItems" xlink:to="lab_us-gaap_VariableInterestEntityLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_1e3ab8cb-93db-4990-b550-239425b1df67_negatedLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Derivative assets, under master netting arrangements, amounts not offset in our consolidated balance sheets, financial instruments</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Subject to Master Netting Arrangement, Deduction of Financial Instrument Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction" xlink:to="lab_us-gaap_DerivativeAssetNotOffsetPolicyElectionDeduction" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets_fb105ac1-772e-4471-b02d-ae60d2d2e5e0_terseLabel_en-US" xlink:label="lab_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Ratio Requirement</link:label>
    <link:label id="lab_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets_label_en-US" xlink:label="lab_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:to="lab_us-gaap_CapitalRequiredForCapitalAdequacyToRiskWeightedAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConsolidationVariableInterestEntityPolicy_019c2c12-e828-79cd-8620-ff0091549c64_terseLabel_en-US" xlink:label="lab_us-gaap_ConsolidationVariableInterestEntityPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Variable Interest Entity</link:label>
    <link:label id="lab_us-gaap_ConsolidationVariableInterestEntityPolicy_label_en-US" xlink:label="lab_us-gaap_ConsolidationVariableInterestEntityPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidation, Variable Interest Entity, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConsolidationVariableInterestEntityPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConsolidationVariableInterestEntityPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConsolidationVariableInterestEntityPolicy" xlink:to="lab_us-gaap_ConsolidationVariableInterestEntityPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityCommonStockSharesOutstanding_45defb46-6231-46b9-8460-c5f7b4cbb9c6_terseLabel_en-US" xlink:label="lab_dei_EntityCommonStockSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Common Stock, Shares Outstanding</link:label>
    <link:label id="lab_dei_EntityCommonStockSharesOutstanding_label_en-US" xlink:label="lab_dei_EntityCommonStockSharesOutstanding" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Common Stock, Shares Outstanding</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityCommonStockSharesOutstanding" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityCommonStockSharesOutstanding"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityCommonStockSharesOutstanding" xlink:to="lab_dei_EntityCommonStockSharesOutstanding" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueInputsLevel2Member_5c16a977-fb4a-44e5-988f-59212f458145_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Significant Other Observable Inputs (Level 2)</link:label>
    <link:label id="lab_us-gaap_FairValueInputsLevel2Member_label_en-US" xlink:label="lab_us-gaap_FairValueInputsLevel2Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Inputs, Level 2 [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueInputsLevel2Member" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueInputsLevel2Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueInputsLevel2Member" xlink:to="lab_us-gaap_FairValueInputsLevel2Member" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentFinStmtErrorCorrectionFlag_ecaf069c-4486-4096-93e2-b64d3356146b_terseLabel_en-US" xlink:label="lab_dei_DocumentFinStmtErrorCorrectionFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Financial Statement Error Correction [Flag]</link:label>
    <link:label id="lab_dei_DocumentFinStmtErrorCorrectionFlag_label_en-US" xlink:label="lab_dei_DocumentFinStmtErrorCorrectionFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Financial Statement Error Correction [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFinStmtErrorCorrectionFlag" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFinStmtErrorCorrectionFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFinStmtErrorCorrectionFlag" xlink:to="lab_dei_DocumentFinStmtErrorCorrectionFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock_terseLabel_en-US" xlink:label="lab_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Insider Trading Policies and Procedures Not Adopted</link:label>
    <link:label id="lab_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock_label_en-US" xlink:label="lab_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Insider Trading Policies and Procedures Not Adopted [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock" xlink:to="lab_ecd_InsiderTrdPoliciesProcNotAdoptedTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageGuarantyInsuranceCorp.Member_7ed28141-9cc4-46dc-aedf-3cd98e3f8034_terseLabel_en-US" xlink:label="lab_fnm_MortgageGuarantyInsuranceCorp.Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage Guaranty Insurance Corp.</link:label>
    <link:label id="lab_fnm_MortgageGuarantyInsuranceCorp.Member_label_en-US" xlink:label="lab_fnm_MortgageGuarantyInsuranceCorp.Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Guaranty Insurance Corp. [Member]</link:label>
    <link:label id="lab_fnm_MortgageGuarantyInsuranceCorp.Member_documentation_en-US" xlink:label="lab_fnm_MortgageGuarantyInsuranceCorp.Member" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents one of our largest mortgage insurer counterparties, Mortgage Guaranty Insurance Corp.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageGuarantyInsuranceCorp.Member" xlink:href="fnm-20251231.xsd#fnm_MortgageGuarantyInsuranceCorp.Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageGuarantyInsuranceCorp.Member" xlink:to="lab_fnm_MortgageGuarantyInsuranceCorp.Member" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ForbearancePlanMember_0cd5bf76-4b16-4742-8af8-809730b5c5fb_terseLabel_en-US" xlink:label="lab_fnm_ForbearancePlanMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forbearance Plan</link:label>
    <link:label id="lab_fnm_ForbearancePlanMember_label_en-US" xlink:label="lab_fnm_ForbearancePlanMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forbearance Plan [Member]</link:label>
    <link:label id="lab_fnm_ForbearancePlanMember_documentation_en-US" xlink:label="lab_fnm_ForbearancePlanMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Short-term Loss Mitigation Options</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ForbearancePlanMember" xlink:href="fnm-20251231.xsd#fnm_ForbearancePlanMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ForbearancePlanMember" xlink:to="lab_fnm_ForbearancePlanMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RelatedPartyMember_0300ceef-7856-48a7-b910-a4037b5c6415_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party</link:label>
    <link:label id="lab_us-gaap_RelatedPartyMember_label_en-US" xlink:label="lab_us-gaap_RelatedPartyMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyMember" xlink:to="lab_us-gaap_RelatedPartyMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RepurchaseAgreementsCollateralPolicy_dedcf0b2-fe94-419b-a0d1-baeb7f9a0f6b_terseLabel_en-US" xlink:label="lab_us-gaap_RepurchaseAgreementsCollateralPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Collateral</link:label>
    <link:label id="lab_us-gaap_RepurchaseAgreementsCollateralPolicy_label_en-US" xlink:label="lab_us-gaap_RepurchaseAgreementsCollateralPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Repurchase Agreements, Collateral, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RepurchaseAgreementsCollateralPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RepurchaseAgreementsCollateralPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RepurchaseAgreementsCollateralPolicy" xlink:to="lab_us-gaap_RepurchaseAgreementsCollateralPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AssetPledgedAsCollateralMember_16a0b1bd-5b64-43a6-9e81-5784f5b5918e_terseLabel_en-US" xlink:label="lab_us-gaap_AssetPledgedAsCollateralMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pledged as collateral</link:label>
    <link:label id="lab_us-gaap_AssetPledgedAsCollateralMember_label_en-US" xlink:label="lab_us-gaap_AssetPledgedAsCollateralMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Asset Pledged as Collateral [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetPledgedAsCollateralMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetPledgedAsCollateralMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetPledgedAsCollateralMember" xlink:to="lab_us-gaap_AssetPledgedAsCollateralMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock_918dc94e-885c-4f98-b877-7749643353e0_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Components of Income Tax Expense (Benefit)</link:label>
    <link:label id="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Components of Income Tax Expense (Benefit) [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfComponentsOfIncomeTaxExpenseBenefitTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentInformationTable_b2d9bf4f-42fa-456f-b019-e24480e47b96_terseLabel_en-US" xlink:label="lab_dei_DocumentInformationTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Information [Table]</link:label>
    <link:label id="lab_dei_DocumentInformationTable_label_en-US" xlink:label="lab_dei_DocumentInformationTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Information [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentInformationTable" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentInformationTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentInformationTable" xlink:to="lab_dei_DocumentInformationTable" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PeoMember_terseLabel_en-US" xlink:label="lab_ecd_PeoMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">PEO</link:label>
    <link:label id="lab_ecd_PeoMember_label_en-US" xlink:label="lab_ecd_PeoMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">PEO [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PeoMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PeoMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PeoMember" xlink:to="lab_ecd_PeoMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TierOneLeverageCapital_370b1c8e-5b1c-4871-82bb-345e6352c6e3_terseLabel_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapital" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement (including buffers)</link:label>
    <link:label id="lab_us-gaap_TierOneLeverageCapital_label_en-US" xlink:label="lab_us-gaap_TierOneLeverageCapital" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier 1 Leverage Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TierOneLeverageCapital" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TierOneLeverageCapital"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TierOneLeverageCapital" xlink:to="lab_us-gaap_TierOneLeverageCapital" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TradingSecuritiesDebt_b46b4aca-5445-476f-a3d9-d46bc83f5f20_terseLabel_en-US" xlink:label="lab_us-gaap_TradingSecuritiesDebt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investment in securities, trading, at fair value</link:label>
    <link:label id="lab_us-gaap_TradingSecuritiesDebt_4c3ffc1b-d1c0-4f38-99f2-162a3cd9646d_verboseLabel_en-US" xlink:label="lab_us-gaap_TradingSecuritiesDebt" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Total trading securities</link:label>
    <link:label id="lab_us-gaap_TradingSecuritiesDebt_label_en-US" xlink:label="lab_us-gaap_TradingSecuritiesDebt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Trading</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesDebt" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecuritiesDebt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TradingSecuritiesDebt" xlink:to="lab_us-gaap_TradingSecuritiesDebt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_effb1559-7e90-436d-872f-374196bbad86_terseLabel_en-US" xlink:label="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged asset, discontinued fair value, remaining adjustments</link:label>
    <link:label id="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease_label_en-US" xlink:label="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Asset, Discontinued Fair Value Hedge, Cumulative Increase (Decrease)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:to="lab_us-gaap_HedgedAssetDiscontinuedFairValueHedgeCumulativeIncreaseDecrease" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable_b11e93fd-4428-499a-9b30-a2962d06c081_terseLabel_en-US" xlink:label="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Guarantees and Maximum Recovery [Table]</link:label>
    <link:label id="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable_label_en-US" xlink:label="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Guarantees and Maximum Recovery [Table]</link:label>
    <link:label id="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable_documentation_en-US" xlink:label="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financial Guarantees and Maximum Recovery [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancialGuaranteesandMaximumRecoveryTable" xlink:href="fnm-20251231.xsd#fnm_FinancialGuaranteesandMaximumRecoveryTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancialGuaranteesandMaximumRecoveryTable" xlink:to="lab_fnm_FinancialGuaranteesandMaximumRecoveryTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapital_cb01e323-2fcb-41bd-b6c2-acb65ca0df18_terseLabel_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapital" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement (including buffers)</link:label>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapital_label_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapital" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier 1 Risk-Based Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonEquityTierOneCapital" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonEquityTierOneCapital"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonEquityTierOneCapital" xlink:to="lab_us-gaap_CommonEquityTierOneCapital" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapitalAbstract_7f57512b-7e42-4c0d-a113-3d5e5e28f90e_terseLabel_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common equity tier 1 capital</link:label>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapitalAbstract_label_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier 1 Risk-Based Capital [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonEquityTierOneCapitalAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonEquityTierOneCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonEquityTierOneCapitalAbstract" xlink:to="lab_us-gaap_CommonEquityTierOneCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_019b1392-5681-75a3-96a7-2c756ee6a74c_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Valuation allowance</link:label>
    <link:label id="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_label_en-US" xlink:label="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Change in Deferred Tax Assets Valuation Allowance, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:to="lab_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConversionStockConversionRate_97563dbb-15e6-4fc0-b8b8-19c4c2f7d4f7_terseLabel_en-US" xlink:label="lab_fnm_ConversionStockConversionRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Conversion rate</link:label>
    <link:label id="lab_fnm_ConversionStockConversionRate_label_en-US" xlink:label="lab_fnm_ConversionStockConversionRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Conversion Stock, Conversion Rate</link:label>
    <link:label id="lab_fnm_ConversionStockConversionRate_documentation_en-US" xlink:label="lab_fnm_ConversionStockConversionRate" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Rate of conversion to common stock associated with each share of series 2004-1 preferred stock.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConversionStockConversionRate" xlink:href="fnm-20251231.xsd#fnm_ConversionStockConversionRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConversionStockConversionRate" xlink:to="lab_fnm_ConversionStockConversionRate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RetainedEarningsMember_002bdca0-d785-4543-83f2-6b96a484edbd_terseLabel_en-US" xlink:label="lab_us-gaap_RetainedEarningsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accumulated Deficit</link:label>
    <link:label id="lab_us-gaap_RetainedEarningsMember_label_en-US" xlink:label="lab_us-gaap_RetainedEarningsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Retained Earnings [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsMember" xlink:to="lab_us-gaap_RetainedEarningsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans_d82ea689-3e01-4e60-ac96-59fdbac4133a_terseLabel_en-US" xlink:label="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Percentage of book of business</link:label>
    <link:label id="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans_label_en-US" xlink:label="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Percentage of Unpaid Principal Balance of Loans</link:label>
    <link:label id="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans_documentation_en-US" xlink:label="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of unpaid principal balance of loans, by category.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans" xlink:href="fnm-20251231.xsd#fnm_PercentageOfUnpaidPrincipalBalanceOfLoans"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans" xlink:to="lab_fnm_PercentageOfUnpaidPrincipalBalanceOfLoans" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_7c5f4b99-7d5d-4b65-9ef4-e17d960e63fc_periodStartLabel_en-US" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/periodStartLabel" xlink:type="resource" xml:lang="en-US">Cash and restricted cash at beginning of period</link:label>
    <link:label id="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_d653c410-90dd-4286-b818-40ff183bc378_periodEndLabel_en-US" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/periodEndLabel" xlink:type="resource" xml:lang="en-US">Cash and restricted cash at end of period</link:label>
    <link:label id="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents_label_en-US" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Continuing Operation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:to="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalents" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeStatementAbstract_label_en-US" xlink:label="lab_us-gaap_IncomeStatementAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Statement [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementAbstract" xlink:to="lab_us-gaap_IncomeStatementAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssets_32a2f5cc-58b7-44c7-936d-aa122f98c7e0_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssets" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Derivative assets</link:label>
    <link:label id="lab_us-gaap_DerivativeAssets_63dbdbeb-9d38-4d20-b890-810c7d3d4abb_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative assets at fair value</link:label>
    <link:label id="lab_us-gaap_DerivativeAssets_label_en-US" xlink:label="lab_us-gaap_DerivativeAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssets" xlink:to="lab_us-gaap_DerivativeAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestExpenseMember_6221f7fe-d964-458a-9a52-3281cb9ade46_terseLabel_en-US" xlink:label="lab_us-gaap_InterestExpenseMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest Expense</link:label>
    <link:label id="lab_us-gaap_InterestExpenseMember_label_en-US" xlink:label="lab_us-gaap_InterestExpenseMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Expense [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseMember" xlink:to="lab_us-gaap_InterestExpenseMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementsNonrecurringMember_56737f2c-b7ef-43ed-a036-0dd828e43c53_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsNonrecurringMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Nonrecurring</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementsNonrecurringMember_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsNonrecurringMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Nonrecurring [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsNonrecurringMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsNonrecurringMember" xlink:to="lab_us-gaap_FairValueMeasurementsNonrecurringMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual_7d07c659-b12f-490c-9763-82ec91ab4771_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit) Ratio</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual_label_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Tier One Leverage Capital Ratio, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Tier One Leverage Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual" xlink:to="lab_fnm_BankingRegulationExcessDeficitTierOneLeverageCapitalRatioActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncreaseDecreaseInInterestPayableNet_cacacbe3-eed7-4905-8e31-64d59c6ef428_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net change in accrued interest payable</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInInterestPayableNet_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Interest Payable, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInInterestPayableNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:to="lab_us-gaap_IncreaseDecreaseInInterestPayableNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy_80f78940-a2c5-4ec8-9165-8e5d76d8c667_terseLabel_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Requirement</link:label>
    <link:label id="lab_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy_label_en-US" xlink:label="lab_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Common Equity Tier 1 Risk-Based Capital, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy" xlink:to="lab_us-gaap_CommonEquityTierOneCapitalRequiredForCapitalAdequacy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NoninterestIncomeOther_90956c59-8962-4e1c-8fea-201573d6ec4e_terseLabel_en-US" xlink:label="lab_us-gaap_NoninterestIncomeOther" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fee and other income</link:label>
    <link:label id="lab_us-gaap_NoninterestIncomeOther_label_en-US" xlink:label="lab_us-gaap_NoninterestIncomeOther" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Noninterest Income, Other</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoninterestIncomeOther" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoninterestIncomeOther"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoninterestIncomeOther" xlink:to="lab_us-gaap_NoninterestIncomeOther" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ProductsAndServicesDomain_c084c520-8f61-4ba7-8c79-4bf1404f0e73_terseLabel_en-US" xlink:label="lab_srt_ProductsAndServicesDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Product and Service [Domain]</link:label>
    <link:label id="lab_srt_ProductsAndServicesDomain_label_en-US" xlink:label="lab_srt_ProductsAndServicesDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Product and Service [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ProductsAndServicesDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ProductsAndServicesDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ProductsAndServicesDomain" xlink:to="lab_srt_ProductsAndServicesDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember_a0534560-a46b-4d0b-b532-5e09308c6448_terseLabel_en-US" xlink:label="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Benchmark notes and bonds</link:label>
    <link:label id="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember_label_en-US" xlink:label="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Fixed Benchmark Notes and Bonds [Member]</link:label>
    <link:label id="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember_documentation_en-US" xlink:label="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior fixed benchmark bonds represent noncallable fixed rate debt instruments with original contractual maturities greater than ten years. Senior fixed benchmark notes are regularly issued non-callable fixed rate debt instruments with original maturities from two to ten years. Senior fixed rate debt takes priority over other debt instruments sold by the company. In the event the company goes bankrupt, senior fixed rate debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFixedBenchmarkNotesAndBondsMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFixedBenchmarkNotesAndBondsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFixedBenchmarkNotesAndBondsMember" xlink:to="lab_fnm_SeniorFixedBenchmarkNotesAndBondsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuarantorObligationTerm1_0698137d-1d4f-457b-9bd6-98e7849f2d19_terseLabel_en-US" xlink:label="lab_us-gaap_GuarantorObligationTerm1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Contractual terms of our guarantees</link:label>
    <link:label id="lab_us-gaap_GuarantorObligationTerm1_label_en-US" xlink:label="lab_us-gaap_GuarantorObligationTerm1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantor Obligation, Term</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuarantorObligationTerm1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuarantorObligationTerm1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuarantorObligationTerm1" xlink:to="lab_us-gaap_GuarantorObligationTerm1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProfitLoss_cf219723-15b5-4bdc-9ba2-3db1b8784254_terseLabel_en-US" xlink:label="lab_us-gaap_ProfitLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:label id="lab_us-gaap_ProfitLoss_da999f94-d94e-4c85-bc72-c12d7511c003_totalLabel_en-US" xlink:label="lab_us-gaap_ProfitLoss" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:label id="lab_us-gaap_ProfitLoss_label_en-US" xlink:label="lab_us-gaap_ProfitLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Income (Loss), Including Portion Attributable to Noncontrolling Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProfitLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProfitLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProfitLoss" xlink:to="lab_us-gaap_ProfitLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_RestatementDoesNotRequireRecoveryTextBlock_terseLabel_en-US" xlink:label="lab_ecd_RestatementDoesNotRequireRecoveryTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restatement does not require Recovery</link:label>
    <link:label id="lab_ecd_RestatementDoesNotRequireRecoveryTextBlock_label_en-US" xlink:label="lab_ecd_RestatementDoesNotRequireRecoveryTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Restatement Does Not Require Recovery [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_RestatementDoesNotRequireRecoveryTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_RestatementDoesNotRequireRecoveryTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_RestatementDoesNotRequireRecoveryTextBlock" xlink:to="lab_ecd_RestatementDoesNotRequireRecoveryTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LiabilitiesFairValueDisclosure_1e2cff4c-8715-4a95-ac1e-fe087ae4cccd_totalLabel_en-US" xlink:label="lab_us-gaap_LiabilitiesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total financial liabilities</link:label>
    <link:label id="lab_us-gaap_LiabilitiesFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_LiabilitiesFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LiabilitiesFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LiabilitiesFairValueDisclosure" xlink:to="lab_us-gaap_LiabilitiesFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeNotionalAmount_a9c2b141-a154-4910-b768-4d57bdf93fd5_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeNotionalAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Notional amount</link:label>
    <link:label id="lab_us-gaap_DerivativeNotionalAmount_label_en-US" xlink:label="lab_us-gaap_DerivativeNotionalAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative, Notional Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeNotionalAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeNotionalAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeNotionalAmount" xlink:to="lab_us-gaap_DerivativeNotionalAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract_label_en-US" xlink:label="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Organization, Consolidation and Presentation of Financial Statements [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:to="lab_us-gaap_OrganizationConsolidationAndPresentationOfFinancialStatementsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SeriesHPreferredStockMember_22e15b67-fb5d-4394-b76e-e2d69aaea41f_terseLabel_en-US" xlink:label="lab_us-gaap_SeriesHPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series H</link:label>
    <link:label id="lab_us-gaap_SeriesHPreferredStockMember_label_en-US" xlink:label="lab_us-gaap_SeriesHPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series H Preferred Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesHPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesHPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SeriesHPreferredStockMember" xlink:to="lab_us-gaap_SeriesHPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_Top5DepositoryServicersMember_7067ac5f-0828-4820-a48a-f5c658b31046_terseLabel_en-US" xlink:label="lab_fnm_Top5DepositoryServicersMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Top five depository servicers</link:label>
    <link:label id="lab_fnm_Top5DepositoryServicersMember_label_en-US" xlink:label="lab_fnm_Top5DepositoryServicersMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Top 5 Depository Servicers [Member]</link:label>
    <link:label id="lab_fnm_Top5DepositoryServicersMember_documentation_en-US" xlink:label="lab_fnm_Top5DepositoryServicersMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a servicer who is a depository institution.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_Top5DepositoryServicersMember" xlink:href="fnm-20251231.xsd#fnm_Top5DepositoryServicersMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_Top5DepositoryServicersMember" xlink:to="lab_fnm_Top5DepositoryServicersMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SecuritiesReceivedAsCollateral_7e3a056f-b5b1-4ec6-9323-783863ebd279_terseLabel_en-US" xlink:label="lab_us-gaap_SecuritiesReceivedAsCollateral" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Securities received as collateral</link:label>
    <link:label id="lab_us-gaap_SecuritiesReceivedAsCollateral_label_en-US" xlink:label="lab_us-gaap_SecuritiesReceivedAsCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Securities Received as Collateral</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SecuritiesReceivedAsCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SecuritiesReceivedAsCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SecuritiesReceivedAsCollateral" xlink:to="lab_us-gaap_SecuritiesReceivedAsCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_Security12gTitle_4ccc3266-96b8-4dad-a408-7cd4b830d561_terseLabel_en-US" xlink:label="lab_dei_Security12gTitle" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Title of 12(g) Security</link:label>
    <link:label id="lab_dei_Security12gTitle_label_en-US" xlink:label="lab_dei_Security12gTitle" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Title of 12(g) Security</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_Security12gTitle" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_Security12gTitle"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_Security12gTitle" xlink:to="lab_dei_Security12gTitle" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_CityAreaCode_1f793bc9-cbf6-4cf5-b31f-7296a1a66028_terseLabel_en-US" xlink:label="lab_dei_CityAreaCode" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">City Area Code</link:label>
    <link:label id="lab_dei_CityAreaCode_label_en-US" xlink:label="lab_dei_CityAreaCode" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">City Area Code</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_CityAreaCode" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_CityAreaCode"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_CityAreaCode" xlink:to="lab_dei_CityAreaCode" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock_6d13ee58-b12a-4d68-963b-71b918c26c64_terseLabel_en-US" xlink:label="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for Loan Losses Roll Forward by Segment</link:label>
    <link:label id="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock_label_en-US" xlink:label="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:to="lab_us-gaap_AllowanceForCreditLossesOnFinancingReceivablesTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardTmgHowMnpiCnsdrdTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AwardTmgHowMnpiCnsdrdTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Award Timing, How MNPI Considered</link:label>
    <link:label id="lab_ecd_AwardTmgHowMnpiCnsdrdTextBlock_label_en-US" xlink:label="lab_ecd_AwardTmgHowMnpiCnsdrdTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Timing, How MNPI Considered [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardTmgHowMnpiCnsdrdTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardTmgHowMnpiCnsdrdTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardTmgHowMnpiCnsdrdTextBlock" xlink:to="lab_ecd_AwardTmgHowMnpiCnsdrdTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgagesMember_dd69fea4-0a75-4ea5-8ab0-e231a98fd9f8_terseLabel_en-US" xlink:label="lab_us-gaap_MortgagesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage Loans</link:label>
    <link:label id="lab_us-gaap_MortgagesMember_label_en-US" xlink:label="lab_us-gaap_MortgagesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgages [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgagesMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgagesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgagesMember" xlink:to="lab_us-gaap_MortgagesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_c8d92635-58b6-495d-9bf4-3f65df725eea_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Settlements</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Settlements</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_BasisSwapMember_f8c08a27-e453-42c9-a776-85e6d2fe4ce5_terseLabel_en-US" xlink:label="lab_us-gaap_BasisSwapMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Basis</link:label>
    <link:label id="lab_us-gaap_BasisSwapMember_label_en-US" xlink:label="lab_us-gaap_BasisSwapMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Basis Swap [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BasisSwapMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BasisSwapMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BasisSwapMember" xlink:to="lab_us-gaap_BasisSwapMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_b6250f3c-fdc8-48d1-8e6f-22e5d7cfd91d_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Trading Securities and Other Trading Assets [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Trading, and Equity Securities, FV-NI [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:to="lab_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GeneralAndAdministrativeExpense_cb95af82-0471-418d-ba30-56e26584e536_negatedLabel_en-US" xlink:label="lab_us-gaap_GeneralAndAdministrativeExpense" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Administrative expense</link:label>
    <link:label id="lab_us-gaap_GeneralAndAdministrativeExpense_label_en-US" xlink:label="lab_us-gaap_GeneralAndAdministrativeExpense" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">General and Administrative Expense</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GeneralAndAdministrativeExpense" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GeneralAndAdministrativeExpense"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GeneralAndAdministrativeExpense" xlink:to="lab_us-gaap_GeneralAndAdministrativeExpense" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_b7533106-1b2d-4eb1-83c7-efc31f3dd090_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash flows provided by (used in) investing activities:</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Provided by (Used in) Investing Activity, Including Discontinued Operation [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DepositoryServicerMember_e6d12b99-0bd8-4275-bb29-ea767ce4d6be_terseLabel_en-US" xlink:label="lab_fnm_DepositoryServicerMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Depository Servicer</link:label>
    <link:label id="lab_fnm_DepositoryServicerMember_label_en-US" xlink:label="lab_fnm_DepositoryServicerMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Depository Servicer [Member]</link:label>
    <link:label id="lab_fnm_DepositoryServicerMember_documentation_en-US" xlink:label="lab_fnm_DepositoryServicerMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a servicer who is a depository institution.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DepositoryServicerMember" xlink:href="fnm-20251231.xsd#fnm_DepositoryServicerMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DepositoryServicerMember" xlink:to="lab_fnm_DepositoryServicerMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_f545532f-7c0b-40a9-8b09-79ddc48f3713_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total assets, gross amount</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Subject to Master Netting Arrangement, before Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross" xlink:to="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedGross" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PvpTable_terseLabel_en-US" xlink:label="lab_ecd_PvpTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pay vs Performance Disclosure</link:label>
    <link:label id="lab_ecd_PvpTable_label_en-US" xlink:label="lab_ecd_PvpTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pay vs Performance Disclosure [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PvpTable" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PvpTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PvpTable" xlink:to="lab_ecd_PvpTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_8cb390e9-f078-4623-ab7e-06b6b2c8536b_terseLabel_en-US" xlink:label="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Asset Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_label_en-US" xlink:label="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_documentation_en-US" xlink:label="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Derivative Asset Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:href="fnm-20251231.xsd#fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:to="lab_fnm_DerivativeAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts_aa2c565e-c7a6-40e4-bb9f-5487fded4bc8_verboseLabel_en-US" xlink:label="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Retained interests: unpaid principal balance</link:label>
    <link:label id="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts_label_en-US" xlink:label="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unpaid Principal Balance Securities Retained Unconsolidated Portfolio Securitization Trusts</link:label>
    <link:label id="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts_documentation_en-US" xlink:label="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the unpaid principal balance of securities retained in unconsolidated portfolio securitization trusts as of the period end.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:href="fnm-20251231.xsd#fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:to="lab_fnm_UnpaidPrincipalBalanceSecuritiesRetainedUnconsolidatedPortfolioSecuritizationTrusts" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesTPreferredStockMember_6476c8be-9710-4bd7-ae81-c4c0e7b46247_terseLabel_en-US" xlink:label="lab_fnm_SeriesTPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series T</link:label>
    <link:label id="lab_fnm_SeriesTPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesTPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series T Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesTPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesTPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series T Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesTPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesTPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesTPreferredStockMember" xlink:to="lab_fnm_SeriesTPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares_fbfb38e3-e34a-4ce4-882f-a00118067411_terseLabel_en-US" xlink:label="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Percentage of common shares attributable to warrants</link:label>
    <link:label id="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares_label_en-US" xlink:label="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Percentage Of Common Shares Attributable to Warrants Issued to Treasury as Percentage to Total Diluted Common Shares</link:label>
    <link:label id="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares_documentation_en-US" xlink:label="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a percentage of common shares warrants issued to U.S. Treasury as a percentage of the total number of the company's diluted common shares.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares" xlink:href="fnm-20251231.xsd#fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares" xlink:to="lab_fnm_PercentageOfCommonSharesAttributableToWarrantsIssuedToTreasuryAsPercentageToTotalDilutedCommonShares" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce_0105d64d-1624-41ed-9bca-7fa647482c28_terseLabel_en-US" xlink:label="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Primary mortgage insurance coverage risk in force</link:label>
    <link:label id="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce_label_en-US" xlink:label="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Primary Mortgage Insurance Coverage Risk in Force</link:label>
    <link:label id="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce_documentation_en-US" xlink:label="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents our maximum potential loss recovery under the applicable primary mortgage insurance policies.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PrimaryMortgageInsuranceCoverageRiskInForce" xlink:href="fnm-20251231.xsd#fnm_PrimaryMortgageInsuranceCoverageRiskInForce"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PrimaryMortgageInsuranceCoverageRiskInForce" xlink:to="lab_fnm_PrimaryMortgageInsuranceCoverageRiskInForce" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_f4a2c134-9163-4431-a695-5216e8aea540_terseLabel_en-US" xlink:label="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged Liability Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_label_en-US" xlink:label="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Liability Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_documentation_en-US" xlink:label="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Hedged Liability Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:href="fnm-20251231.xsd#fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:to="lab_fnm_HedgedLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OtherNoninterestGainsLossesNet_019be6f6-bb38-7511-b080-004c9852de83_totalLabel_en-US" xlink:label="lab_fnm_OtherNoninterestGainsLossesNet" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Other gains (losses), net</link:label>
    <link:label id="lab_fnm_OtherNoninterestGainsLossesNet_label_en-US" xlink:label="lab_fnm_OtherNoninterestGainsLossesNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Noninterest Gains (Losses), Net</link:label>
    <link:label id="lab_fnm_OtherNoninterestGainsLossesNet_documentation_en-US" xlink:label="lab_fnm_OtherNoninterestGainsLossesNet" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Other Noninterest Gains (Losses), Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherNoninterestGainsLossesNet" xlink:href="fnm-20251231.xsd#fnm_OtherNoninterestGainsLossesNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OtherNoninterestGainsLossesNet" xlink:to="lab_fnm_OtherNoninterestGainsLossesNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherLiabilities_622ca4e1-20ce-4176-a893-fbcba22e14c9_terseLabel_en-US" xlink:label="lab_us-gaap_OtherLiabilities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other liabilities (includes $1,719 and $1,699, respectively, related to consolidated trusts)</link:label>
    <link:label id="lab_us-gaap_OtherLiabilities_d8aa1ece-0133-4943-9cc4-ed7dc9dcc82c_verboseLabel_en-US" xlink:label="lab_us-gaap_OtherLiabilities" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Other liabilities</link:label>
    <link:label id="lab_us-gaap_OtherLiabilities_label_en-US" xlink:label="lab_us-gaap_OtherLiabilities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Liabilities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherLiabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherLiabilities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherLiabilities" xlink:to="lab_us-gaap_OtherLiabilities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GainLossOnInvestments_15bbb942-d4a1-4a1a-8380-b7ea264b31ba_terseLabel_en-US" xlink:label="lab_us-gaap_GainLossOnInvestments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investment gains (losses), net</link:label>
    <link:label id="lab_us-gaap_GainLossOnInvestments_label_en-US" xlink:label="lab_us-gaap_GainLossOnInvestments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Gain (Loss) on Investments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnInvestments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnInvestments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnInvestments" xlink:to="lab_us-gaap_GainLossOnInvestments" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_AuditorName_2e4831d7-14c9-4c54-9664-bedccfa1d8fb_terseLabel_en-US" xlink:label="lab_dei_AuditorName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Auditor Name</link:label>
    <link:label id="lab_dei_AuditorName_label_en-US" xlink:label="lab_dei_AuditorName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Auditor Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorName" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AuditorName" xlink:to="lab_dei_AuditorName" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesMPreferredStockMember_e69821ba-1a9f-4502-b09b-399deb0c4c79_terseLabel_en-US" xlink:label="lab_fnm_SeriesMPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series M</link:label>
    <link:label id="lab_fnm_SeriesMPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesMPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series M Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesMPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesMPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series M Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesMPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesMPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesMPreferredStockMember" xlink:to="lab_fnm_SeriesMPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskTable_5f9a952e-1601-4007-898f-3fc07dc87098_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk [Table]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskTable_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskTable" xlink:to="lab_us-gaap_ConcentrationRiskTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuarantyAssets_019c4444-e237-7f89-9e25-56604baa4cf2_terseLabel_en-US" xlink:label="lab_us-gaap_GuarantyAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Guaranty assets</link:label>
    <link:label id="lab_us-gaap_GuarantyAssets_label_en-US" xlink:label="lab_us-gaap_GuarantyAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guaranty Assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuarantyAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuarantyAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuarantyAssets" xlink:to="lab_us-gaap_GuarantyAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_OtherPerfMeasureAmt_terseLabel_en-US" xlink:label="lab_ecd_OtherPerfMeasureAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other Performance Measure, Amount</link:label>
    <link:label id="lab_ecd_OtherPerfMeasureAmt_label_en-US" xlink:label="lab_ecd_OtherPerfMeasureAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Performance Measure, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_OtherPerfMeasureAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_OtherPerfMeasureAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_OtherPerfMeasureAmt" xlink:to="lab_ecd_OtherPerfMeasureAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MarketableSecuritiesPolicy_c4937384-3f05-40db-90b4-0659efcad59c_terseLabel_en-US" xlink:label="lab_us-gaap_MarketableSecuritiesPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments in Securities</link:label>
    <link:label id="lab_us-gaap_MarketableSecuritiesPolicy_label_en-US" xlink:label="lab_us-gaap_MarketableSecuritiesPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Marketable Securities, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MarketableSecuritiesPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MarketableSecuritiesPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MarketableSecuritiesPolicy" xlink:to="lab_us-gaap_MarketableSecuritiesPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_76d18eb0-e412-4c13-8b05-94401aebf75b_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurements</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Measurement, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementPolicyPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:to="lab_us-gaap_FairValueMeasurementPolicyPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RelatedPartyDomain_ceb21788-3fe9-4a55-87b3-ec2af5b7eeae_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party [Domain]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyDomain_label_en-US" xlink:label="lab_us-gaap_RelatedPartyDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related and Nonrelated Parties [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyDomain" xlink:to="lab_us-gaap_RelatedPartyDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_7d1f2074-8f73-45fc-b849-eb1aa87777bf_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Amount</link:label>
    <link:label id="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract_label_en-US" xlink:label="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Income Tax Expense (Benefit), Effective Income Tax Rate Reconciliation, Amount [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:to="lab_us-gaap_IncomeTaxExpenseBenefitContinuingOperationsIncomeTaxReconciliationAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CreditConcentrationRiskMember_ad2de919-9f59-4719-9095-b0f17ca3ae1f_terseLabel_en-US" xlink:label="lab_us-gaap_CreditConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Credit Concentration Risk</link:label>
    <link:label id="lab_us-gaap_CreditConcentrationRiskMember_label_en-US" xlink:label="lab_us-gaap_CreditConcentrationRiskMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Credit Concentration Risk [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CreditConcentrationRiskMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CreditConcentrationRiskMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CreditConcentrationRiskMember" xlink:to="lab_us-gaap_CreditConcentrationRiskMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_182ed8e8-1e58-40d3-a729-2966480b61ff_totalLabel_en-US" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net increase (decrease) in cash and restricted cash</link:label>
    <link:label id="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_d1dd3f05-eddb-42f3-a746-411c4ca0bab5_terseLabel_en-US" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net increase (decrease) in cash and restricted cash</link:label>
    <link:label id="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect_label_en-US" xlink:label="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash, Cash Equivalent, Restricted Cash, and Restricted Cash Equivalent, Period Increase (Decrease), Excluding Exchange Rate Effect, Including Discontinued Operation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:to="lab_us-gaap_CashCashEquivalentsRestrictedCashAndRestrictedCashEquivalentsPeriodIncreaseDecreaseExcludingExchangeRateEffect" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LitigationStatusAxis_ac252e3c-7c6a-45e7-9b7f-34d21441b381_terseLabel_en-US" xlink:label="lab_us-gaap_LitigationStatusAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Litigation Status [Axis]</link:label>
    <link:label id="lab_us-gaap_LitigationStatusAxis_label_en-US" xlink:label="lab_us-gaap_LitigationStatusAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Status [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LitigationStatusAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LitigationStatusAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LitigationStatusAxis" xlink:to="lab_us-gaap_LitigationStatusAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeInstrumentRiskAxis_c54f75c3-cef8-4bf2-a4cf-da63568065e2_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentRiskAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Instrument [Axis]</link:label>
    <link:label id="lab_us-gaap_DerivativeInstrumentRiskAxis_label_en-US" xlink:label="lab_us-gaap_DerivativeInstrumentRiskAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Instrument [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeInstrumentRiskAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis" xlink:to="lab_us-gaap_DerivativeInstrumentRiskAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedAssetsActual_74e7bd8e-887d-4af0-bfa0-356f8f7dd6f8_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedAssetsActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjusted total assets</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedAssetsActual_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedAssetsActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Assets, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedAssetsActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedAssetsActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Assets, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedAssetsActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedAssetsActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedAssetsActual" xlink:to="lab_fnm_BankingRegulationAdjustedAssetsActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOfFinancialInstrumentsPolicy_d9badb71-da57-4928-ac2d-7e32cef80dee_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value of Financial Instruments</link:label>
    <link:label id="lab_us-gaap_FairValueOfFinancialInstrumentsPolicy_label_en-US" xlink:label="lab_us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value of Financial Instruments, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOfFinancialInstrumentsPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:to="lab_us-gaap_FairValueOfFinancialInstrumentsPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RestrictedCash_019c4586-f3d1-7bdf-8705-d395794bb489_terseLabel_en-US" xlink:label="lab_us-gaap_RestrictedCash" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restricted cash (includes $22,848 and $16,994, respectively, related to consolidated trusts)</link:label>
    <link:label id="lab_us-gaap_RestrictedCash_019b0e66-bfa7-7330-9b12-0cf629731c99_verboseLabel_en-US" xlink:label="lab_us-gaap_RestrictedCash" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Restricted cash</link:label>
    <link:label id="lab_us-gaap_RestrictedCash_label_en-US" xlink:label="lab_us-gaap_RestrictedCash" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Restricted Cash</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RestrictedCash" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RestrictedCash"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RestrictedCash" xlink:to="lab_us-gaap_RestrictedCash" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_cc62ef63-e4bf-42c0-816b-9970cfd712ad_terseLabel_en-US" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial liabilities:</link:label>
    <link:label id="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract_label_en-US" xlink:label="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Instruments, Financial Liabilities, Balance Sheet Groupings [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:to="lab_us-gaap_FinancialInstrumentsFinancialLiabilitiesBalanceSheetGroupingsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance_2da1e854-53c8-4af3-98e8-6c373361c082_terseLabel_en-US" xlink:label="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Basis points of each dollar of unpaid principal balance</link:label>
    <link:label id="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance_label_en-US" xlink:label="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Basis Points Of Each Dollar Of Unpaid Principal Balance</link:label>
    <link:label id="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance_documentation_en-US" xlink:label="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the number of basis points for each dollar of the unpaid principal balance of its total new business purchases that Fannie Mae must set aside to fund the Housing Trust Fund and Capital Magnet Fund as required by the Federal Housing Finance Regulatory Reform Act of 2008, which was enacted on July 30, 2008.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance" xlink:href="fnm-20251231.xsd#fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance" xlink:to="lab_fnm_BasisPointsOfEachDollarOfUnpaidPrincipalBalance" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NationalMortgageInsuranceCorporationMember_8f06c455-a8f0-47e1-a64c-a04f7e5a1c08_terseLabel_en-US" xlink:label="lab_fnm_NationalMortgageInsuranceCorporationMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">National Mortgage Insurance Corp.</link:label>
    <link:label id="lab_fnm_NationalMortgageInsuranceCorporationMember_label_en-US" xlink:label="lab_fnm_NationalMortgageInsuranceCorporationMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">National Mortgage Insurance Corporation [Member]</link:label>
    <link:label id="lab_fnm_NationalMortgageInsuranceCorporationMember_documentation_en-US" xlink:label="lab_fnm_NationalMortgageInsuranceCorporationMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">National Mortgage Insurance Corporation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NationalMortgageInsuranceCorporationMember" xlink:href="fnm-20251231.xsd#fnm_NationalMortgageInsuranceCorporationMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NationalMortgageInsuranceCorporationMember" xlink:to="lab_fnm_NationalMortgageInsuranceCorporationMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_Mr.CooperAndRocketMortgageLLCMember_019be96c-28f4-71be-8ef6-ab89b072b769_terseLabel_en-US" xlink:label="lab_fnm_Mr.CooperAndRocketMortgageLLCMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mr. Cooper and Rocket Mortgage, LLC</link:label>
    <link:label id="lab_fnm_Mr.CooperAndRocketMortgageLLCMember_label_en-US" xlink:label="lab_fnm_Mr.CooperAndRocketMortgageLLCMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mr. Cooper and Rocket Mortgage, LLC [Member]</link:label>
    <link:label id="lab_fnm_Mr.CooperAndRocketMortgageLLCMember_documentation_en-US" xlink:label="lab_fnm_Mr.CooperAndRocketMortgageLLCMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Mr. Cooper and Rocket Mortgage, LLC</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_Mr.CooperAndRocketMortgageLLCMember" xlink:href="fnm-20251231.xsd#fnm_Mr.CooperAndRocketMortgageLLCMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_Mr.CooperAndRocketMortgageLLCMember" xlink:to="lab_fnm_Mr.CooperAndRocketMortgageLLCMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_dc0efb7b-d799-4912-9989-232bc7e07f96_totalLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net cash provided by (used in) investing activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_f820664f-6b4a-4522-adda-44fe41ea9d58_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net cash provided by (used in) investing activities</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Provided by (Used in) Investing Activity, Including Discontinued Operation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:to="lab_us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember_terseLabel_en-US" xlink:label="lab_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table</link:label>
    <link:label id="lab_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember_label_en-US" xlink:label="lab_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Change in Present Value of Accumulated Benefit for All Pension Plans Reported in Summary Compensation Table [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember" xlink:to="lab_ecd_AggtChngPnsnValInSummryCompstnTblForAplblYrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestPaidNet_248c4a6d-fc06-47e0-af0c-7649c2071c70_terseLabel_en-US" xlink:label="lab_us-gaap_InterestPaidNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest</link:label>
    <link:label id="lab_us-gaap_InterestPaidNet_label_en-US" xlink:label="lab_us-gaap_InterestPaidNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Paid, Excluding Capitalized Interest, Operating Activity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPaidNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPaidNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestPaidNet" xlink:to="lab_us-gaap_InterestPaidNet" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_DocumentFiscalYearFocus_8f6efb70-70f0-43a9-8252-74f71518ef12_terseLabel_en-US" xlink:label="lab_dei_DocumentFiscalYearFocus" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Document Fiscal Year Focus</link:label>
    <link:label id="lab_dei_DocumentFiscalYearFocus_label_en-US" xlink:label="lab_dei_DocumentFiscalYearFocus" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Document Fiscal Year Focus</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_DocumentFiscalYearFocus" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_DocumentFiscalYearFocus"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_DocumentFiscalYearFocus" xlink:to="lab_dei_DocumentFiscalYearFocus" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_8c024e26-9666-4992-80f2-921032323663_terseLabel_en-US" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Basis of Presentation</link:label>
    <link:label id="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Basis of Accounting, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BasisOfAccountingPolicyPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:to="lab_us-gaap_BasisOfAccountingPolicyPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations_cd6c7825-03e5-4226-9f8d-0607e0be0e45_totalLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Provision for U.S. federal income taxes and effective tax rate</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateContinuingOperations"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateContinuingOperations" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember_3184d3e5-ac89-4423-b914-2e5ebb4d297b_terseLabel_en-US" xlink:label="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Carrying value</link:label>
    <link:label id="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember_label_en-US" xlink:label="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Reported Value Measurement [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:to="lab_us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure_019c0522-6f96-78f2-b298-22877cedfe05_terseLabel_en-US" xlink:label="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans held for investment, net of allowance for loan losses</link:label>
    <link:label id="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure_label_en-US" xlink:label="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans Receivable Including Mortgage Commitments, Fair Value Disclosure</link:label>
    <link:label id="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure_documentation_en-US" xlink:label="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Loans Receivable Including Mortgage Commitments, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure" xlink:href="fnm-20251231.xsd#fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure" xlink:to="lab_fnm_LoansReceivableIncludingMortgageCommitmentsFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsValuationAllowance_5ce8596f-ff01-4316-bfea-b67f053bb89a_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Valuation allowance</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsValuationAllowance_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Valuation Allowance</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsValuationAllowance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsValuationAllowance" xlink:to="lab_us-gaap_DeferredTaxAssetsValuationAllowance" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EquityAbstract_4046d9e3-730c-4712-8c3d-17aa218c6059_terseLabel_en-US" xlink:label="lab_us-gaap_EquityAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity:</link:label>
    <link:label id="lab_us-gaap_EquityAbstract_label_en-US" xlink:label="lab_us-gaap_EquityAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EquityAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EquityAbstract" xlink:to="lab_us-gaap_EquityAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet_ea185704-9c81-4b77-97d9-febea2cae831_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net transfers</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Transfers, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityTransfersNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_019b110b-124d-740f-9f51-685fd7e5530b_terseLabel_en-US" xlink:label="lab_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Securities purchased under agreements to resell</link:label>
    <link:label id="lab_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell_label_en-US" xlink:label="lab_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Income, Securities Purchased under Agreements to Resell</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell" xlink:to="lab_us-gaap_InterestIncomeSecuritiesPurchasedUnderAgreementsToResell" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_8c7807dc-8f90-44f8-93d0-dea85ee2ff4e_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amortized cost, nonaccrual loans</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:to="lab_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PurchaseObligation_8ad01bd7-18b5-44e7-9927-a2456ffbac13_terseLabel_en-US" xlink:label="lab_us-gaap_PurchaseObligation" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Unconditional commitments</link:label>
    <link:label id="lab_us-gaap_PurchaseObligation_label_en-US" xlink:label="lab_us-gaap_PurchaseObligation" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Purchase Obligation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PurchaseObligation" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PurchaseObligation"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PurchaseObligation" xlink:to="lab_us-gaap_PurchaseObligation" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OriginalLoanToValueRatio9001To100Member_e9f70768-de04-40e4-b432-b824231dea1e_terseLabel_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatio9001To100Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">90.01% to 100%</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatio9001To100Member_label_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatio9001To100Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Original Loan to Value Ratio, 90.01% to 100% [Member]</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatio9001To100Member_documentation_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatio9001To100Member" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Original Loan to Value Ratio, 90.01% to 100%</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OriginalLoanToValueRatio9001To100Member" xlink:href="fnm-20251231.xsd#fnm_OriginalLoanToValueRatio9001To100Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OriginalLoanToValueRatio9001To100Member" xlink:to="lab_fnm_OriginalLoanToValueRatio9001To100Member" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativesPolicyTextBlock_fb9bd4a1-49b1-4f0c-8b27-025e35308bb2_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Instruments</link:label>
    <link:label id="lab_us-gaap_DerivativesPolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_DerivativesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivatives, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativesPolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativesPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativesPolicyTextBlock" xlink:to="lab_us-gaap_DerivativesPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SegmentReportingDisclosureTextBlock_73214241-ebf6-46d8-9ed8-53dbb99027cf_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Reporting</link:label>
    <link:label id="lab_us-gaap_SegmentReportingDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_SegmentReportingDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingDisclosureTextBlock" xlink:to="lab_us-gaap_SegmentReportingDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_88adbb21-673b-4218-a768-907b43f83ee3_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Assets and Liabilities Measured on Recurring and Nonrecurring Basis [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:to="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NondesignatedMember_dfb49ad4-d816-44ea-b0ef-c7077d1a99a2_terseLabel_en-US" xlink:label="lab_us-gaap_NondesignatedMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risk management derivatives not designated as hedging instruments:</link:label>
    <link:label id="lab_us-gaap_NondesignatedMember_label_en-US" xlink:label="lab_us-gaap_NondesignatedMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Not Designated as Hedging Instrument [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NondesignatedMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NondesignatedMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NondesignatedMember" xlink:to="lab_us-gaap_NondesignatedMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtAndCapitalLeaseObligations_7a8798f4-922a-4462-b5bd-3b1a5043671a_terseLabel_en-US" xlink:label="lab_us-gaap_DebtAndCapitalLeaseObligations" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt</link:label>
    <link:label id="lab_us-gaap_DebtAndCapitalLeaseObligations_label_en-US" xlink:label="lab_us-gaap_DebtAndCapitalLeaseObligations" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt and Lease Obligation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtAndCapitalLeaseObligations"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtAndCapitalLeaseObligations" xlink:to="lab_us-gaap_DebtAndCapitalLeaseObligations" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_0ca78629-34d2-4718-b58a-5b87fad7a276_terseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Stockholders' Equity [Roll Forward]</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Stockholders' Equity [Roll Forward]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:to="lab_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember_4f6ea9e4-1021-429e-8c77-cdcadcb4ce4a_terseLabel_en-US" xlink:label="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">U.S. FinTech &amp; Freddie Mac</link:label>
    <link:label id="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember_label_en-US" xlink:label="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Securitization Solutions and Freddie Mac [Member]</link:label>
    <link:label id="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember_documentation_en-US" xlink:label="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Common Securitization Solutions and Freddie Mac</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CommonSecuritizationSolutionsAndFreddieMacMember" xlink:href="fnm-20251231.xsd#fnm_CommonSecuritizationSolutionsAndFreddieMacMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CommonSecuritizationSolutionsAndFreddieMacMember" xlink:to="lab_fnm_CommonSecuritizationSolutionsAndFreddieMacMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DoubtfulMember_a44b64d8-68c0-4e66-9499-78c24619751f_terseLabel_en-US" xlink:label="lab_us-gaap_DoubtfulMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Doubtful</link:label>
    <link:label id="lab_us-gaap_DoubtfulMember_label_en-US" xlink:label="lab_us-gaap_DoubtfulMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Doubtful [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DoubtfulMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DoubtfulMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DoubtfulMember" xlink:to="lab_us-gaap_DoubtfulMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock_terseLabel_en-US" xlink:label="lab_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Total Shareholder Return</link:label>
    <link:label id="lab_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock_label_en-US" xlink:label="lab_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Compensation Actually Paid vs. Total Shareholder Return [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock" xlink:to="lab_ecd_CompActuallyPaidVsTotalShareholderRtnTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0e4bddc9-e721-4e9c-bc43-bccdf15033b9_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Measurements, Recurring [Table]</link:label>
    <link:label id="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_label_en-US" xlink:label="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Recurring and Nonrecurring [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:to="lab_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AdjustableRateResidentialMortgageMember_f755e321-2a61-4fcb-8558-6383ae538c99_terseLabel_en-US" xlink:label="lab_us-gaap_AdjustableRateResidentialMortgageMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adjustable-rate</link:label>
    <link:label id="lab_us-gaap_AdjustableRateResidentialMortgageMember_label_en-US" xlink:label="lab_us-gaap_AdjustableRateResidentialMortgageMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustable Rate Residential Mortgage [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustableRateResidentialMortgageMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustableRateResidentialMortgageMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustableRateResidentialMortgageMember" xlink:to="lab_us-gaap_AdjustableRateResidentialMortgageMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LoansReceivableMember_5effa310-f0b1-453d-b256-c88feb4a80e3_terseLabel_en-US" xlink:label="lab_us-gaap_LoansReceivableMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans</link:label>
    <link:label id="lab_us-gaap_LoansReceivableMember_label_en-US" xlink:label="lab_us-gaap_LoansReceivableMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans Receivable [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansReceivableMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansReceivableMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansReceivableMember" xlink:to="lab_us-gaap_LoansReceivableMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure_66b2f0c4-f13f-4c9e-b206-f0987c86e867_terseLabel_en-US" xlink:label="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total mortgage loans held for sale, at lower of cost or fair value</link:label>
    <link:label id="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure_fd1d9554-0b09-4e16-951d-9e52d47bf491_verboseLabel_en-US" xlink:label="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans held for sale</link:label>
    <link:label id="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loan, Mortgage, Held-for-Sale, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgagesHeldForSaleFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:to="lab_us-gaap_MortgagesHeldForSaleFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment_473c818b-9993-4227-a6ed-c72d1673ec66_terseLabel_en-US" xlink:label="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans, unpaid principal balance</link:label>
    <link:label id="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment_label_en-US" xlink:label="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Principal Amount Outstanding Of Loans Held For Investment</link:label>
    <link:label id="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment_documentation_en-US" xlink:label="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents principal amount outstanding of loans held for investment.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment" xlink:href="fnm-20251231.xsd#fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment" xlink:to="lab_fnm_PrincipalAmountOutstandingOfLoansHeldForInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember_6a22ee9e-8a96-4707-9ad5-0f401dba1888_terseLabel_en-US" xlink:label="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Assuming&#160;Callable Debt Redeemed at Next Available Call Date</link:label>
    <link:label id="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember_label_en-US" xlink:label="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earlier of Contractual Maturity or Next Call Date [Member]</link:label>
    <link:label id="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember_documentation_en-US" xlink:label="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Long-term debt shown as the earlier of maturity date or next call date.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EarlierOfContractualMaturityOrNextCallDateMember" xlink:href="fnm-20251231.xsd#fnm_EarlierOfContractualMaturityOrNextCallDateMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EarlierOfContractualMaturityOrNextCallDateMember" xlink:to="lab_fnm_EarlierOfContractualMaturityOrNextCallDateMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredIncomeTaxAssetsNet_8449d305-df96-4a4d-a96a-40c6356e5294_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredIncomeTaxAssetsNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Deferred tax assets, net</link:label>
    <link:label id="lab_us-gaap_DeferredIncomeTaxAssetsNet_label_en-US" xlink:label="lab_us-gaap_DeferredIncomeTaxAssetsNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Income Tax Assets, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxAssetsNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxAssetsNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxAssetsNet" xlink:to="lab_us-gaap_DeferredIncomeTaxAssetsNet" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum_00123a8e-25d2-4411-97d4-e7ea57aa446e_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Ratio Requirement</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:to="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioCapitalAdequacyMinimum" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember_a9e61a92-8451-41a8-b8c4-390fea4d87a9_terseLabel_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Greater than 90% and less than or equal to 100%</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember_label_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Estimated Mark To Market Loan To Value Ratio Greater Than 90 Percent and Less Than or Equal to 100 Percent [Member]</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember_documentation_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the recorded investment in loans with an estimated mark-to-market loan-to-value ratio greater than 90% and less than or equal to 100%.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember" xlink:href="fnm-20251231.xsd#fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember" xlink:to="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock_e1ec57e3-7115-440d-b051-3f80efd5e082_terseLabel_en-US" xlink:label="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Conservatorship, Preferred Stock Agreements, And Related Parties</link:label>
    <link:label id="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock_label_en-US" xlink:label="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Conservatorship, Preferred Stock Agreements, And Related Parties [Text Block]</link:label>
    <link:label id="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock_documentation_en-US" xlink:label="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Conservatorship, Preferred Stock Agreements, And Related Parties</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock" xlink:href="fnm-20251231.xsd#fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock" xlink:to="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrDuration_terseLabel_en-US" xlink:label="lab_ecd_TrdArrDuration" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Arrangement Duration</link:label>
    <link:label id="lab_ecd_TrdArrDuration_label_en-US" xlink:label="lab_ecd_TrdArrDuration" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement Duration</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrDuration" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrDuration"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrDuration" xlink:to="lab_ecd_TrdArrDuration" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock_212a7b6d-aa83-412e-9763-59565d10f4f3_terseLabel_en-US" xlink:label="lab_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments In Trading Securities</link:label>
    <link:label id="lab_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock_label_en-US" xlink:label="lab_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Securities, Trading, and Equity Securities, FV-NI [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock" xlink:to="lab_us-gaap_TradingSecuritiesAndCertainTradingAssetsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementBusinessSegmentsAxis_4dec584c-00cb-4d65-9040-d6441d908eed_terseLabel_en-US" xlink:label="lab_us-gaap_StatementBusinessSegmentsAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segments [Axis]</link:label>
    <link:label id="lab_us-gaap_StatementBusinessSegmentsAxis_label_en-US" xlink:label="lab_us-gaap_StatementBusinessSegmentsAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segments [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementBusinessSegmentsAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis" xlink:to="lab_us-gaap_StatementBusinessSegmentsAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeOtherNetOfTax_2d379a77-4c90-4257-b02b-b5042721fb49_verboseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeOtherNetOfTax" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Other, net of taxes</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeOtherNetOfTax_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeOtherNetOfTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Comprehensive Income, Other, Net of Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeOtherNetOfTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeOtherNetOfTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeOtherNetOfTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeOtherNetOfTax" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsDerivativeInstruments_6f32ae20-5779-4019-9644-5697d99f3084_terseLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative instruments</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsDerivativeInstruments_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Derivative Instruments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsDerivativeInstruments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:to="lab_us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorFloatingMediumTermNotesMember_eb1d593a-dc6f-4ccb-8e10-97a0e6ec507e_terseLabel_en-US" xlink:label="lab_fnm_SeniorFloatingMediumTermNotesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Medium-term notes</link:label>
    <link:label id="lab_fnm_SeniorFloatingMediumTermNotesMember_label_en-US" xlink:label="lab_fnm_SeniorFloatingMediumTermNotesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Floating Medium-term Notes [Member]</link:label>
    <link:label id="lab_fnm_SeniorFloatingMediumTermNotesMember_documentation_en-US" xlink:label="lab_fnm_SeniorFloatingMediumTermNotesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior floating medium-term notes with interest rates that are subject to adjustment represent debt instruments with original contractual maturity dates ranging from one to ten years, excluding zero-coupon debt. Senior floating debt takes priority over other debt instruments sold by the company. In the event the company goes bankrupt, senior floating debt holders receive priority for repayment prior to junior or unsecured general creditors.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorFloatingMediumTermNotesMember" xlink:href="fnm-20251231.xsd#fnm_SeniorFloatingMediumTermNotesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorFloatingMediumTermNotesMember" xlink:to="lab_fnm_SeniorFloatingMediumTermNotesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_LocalPhoneNumber_1c9255cc-e56a-424b-9070-850bf9bf89d7_terseLabel_en-US" xlink:label="lab_dei_LocalPhoneNumber" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Local Phone Number</link:label>
    <link:label id="lab_dei_LocalPhoneNumber_label_en-US" xlink:label="lab_dei_LocalPhoneNumber" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Local Phone Number</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_LocalPhoneNumber" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_LocalPhoneNumber"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_LocalPhoneNumber" xlink:to="lab_dei_LocalPhoneNumber" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_Additional402vDisclosureTextBlock_terseLabel_en-US" xlink:label="lab_ecd_Additional402vDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Additional 402(v) Disclosure</link:label>
    <link:label id="lab_ecd_Additional402vDisclosureTextBlock_label_en-US" xlink:label="lab_ecd_Additional402vDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Additional 402(v) Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_Additional402vDisclosureTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_Additional402vDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_Additional402vDisclosureTextBlock" xlink:to="lab_ecd_Additional402vDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableAccruedInterestWriteoff_4cdee7cd-4809-4d3b-9ee3-fc42cf39203a_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accrued interest receivable written off</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableAccruedInterestWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableAccruedInterestWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Accrued Interest, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAccruedInterestWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAccruedInterestWriteoff" xlink:to="lab_us-gaap_FinancingReceivableAccruedInterestWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_8d5837c6-c0b5-407b-afdb-58601536a1dd_negatedLabel_en-US" xlink:label="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Other, net</link:label>
    <link:label id="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities_label_en-US" xlink:label="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payment for (Proceeds from) Other Investing Activity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForProceedsFromOtherInvestingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:to="lab_us-gaap_PaymentsForProceedsFromOtherInvestingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherOperatingActivitiesCashFlowStatement_9f7d58be-56c8-40b7-bb1b-44b079141ed3_terseLabel_en-US" xlink:label="lab_us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other, net</link:label>
    <link:label id="lab_us-gaap_OtherOperatingActivitiesCashFlowStatement_label_en-US" xlink:label="lab_us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity, Other Item</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherOperatingActivitiesCashFlowStatement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:to="lab_us-gaap_OtherOperatingActivitiesCashFlowStatement" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NonDepositoryServicerMember_87186ead-ad18-4f10-bbc6-d24f58d47701_terseLabel_en-US" xlink:label="lab_fnm_NonDepositoryServicerMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-Depository Servicer</link:label>
    <link:label id="lab_fnm_NonDepositoryServicerMember_label_en-US" xlink:label="lab_fnm_NonDepositoryServicerMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-Depository Servicer [Member]</link:label>
    <link:label id="lab_fnm_NonDepositoryServicerMember_documentation_en-US" xlink:label="lab_fnm_NonDepositoryServicerMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a servicer who is a non-depository institution.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NonDepositoryServicerMember" xlink:href="fnm-20251231.xsd#fnm_NonDepositoryServicerMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NonDepositoryServicerMember" xlink:to="lab_fnm_NonDepositoryServicerMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_56b7af42-3db8-4c19-ba84-ab3ded3d3ed5_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Thereafter</link:label>
    <link:label id="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_label_en-US" xlink:label="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Maturity, after Year Five</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:to="lab_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SeriesFPreferredStockMember_88ac589d-ad4d-4d6c-9867-aae33dcd2c54_terseLabel_en-US" xlink:label="lab_us-gaap_SeriesFPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series F</link:label>
    <link:label id="lab_us-gaap_SeriesFPreferredStockMember_label_en-US" xlink:label="lab_us-gaap_SeriesFPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series F Preferred Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesFPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesFPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SeriesFPreferredStockMember" xlink:to="lab_us-gaap_SeriesFPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AssetsAbstract_e45f036d-2926-4fe9-aa62-9db6b3c3434a_terseLabel_en-US" xlink:label="lab_us-gaap_AssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">ASSETS</link:label>
    <link:label id="lab_us-gaap_AssetsAbstract_813c74da-d9e4-4f6b-aff6-973a7a6f87da_verboseLabel_en-US" xlink:label="lab_us-gaap_AssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Assets:</link:label>
    <link:label id="lab_us-gaap_AssetsAbstract_label_en-US" xlink:label="lab_us-gaap_AssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsAbstract" xlink:to="lab_us-gaap_AssetsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherContractMember_ca0d2cfe-9883-4d51-b25d-6a88482b3a09_terseLabel_en-US" xlink:label="lab_us-gaap_OtherContractMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Credit enhancement derivatives</link:label>
    <link:label id="lab_us-gaap_OtherContractMember_fa4d0234-0fef-4911-ae23-90aff527afc2_verboseLabel_en-US" xlink:label="lab_us-gaap_OtherContractMember" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Other derivatives</link:label>
    <link:label id="lab_us-gaap_OtherContractMember_label_en-US" xlink:label="lab_us-gaap_OtherContractMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Contract [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherContractMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherContractMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherContractMember" xlink:to="lab_us-gaap_OtherContractMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_UndrlygSecurityMktPriceChngPct_terseLabel_en-US" xlink:label="lab_ecd_UndrlygSecurityMktPriceChngPct" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Underlying Security Market Price Change</link:label>
    <link:label id="lab_ecd_UndrlygSecurityMktPriceChngPct_label_en-US" xlink:label="lab_ecd_UndrlygSecurityMktPriceChngPct" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Underlying Security Market Price Change, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_UndrlygSecurityMktPriceChngPct" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_UndrlygSecurityMktPriceChngPct"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_UndrlygSecurityMktPriceChngPct" xlink:to="lab_ecd_UndrlygSecurityMktPriceChngPct" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueDisclosuresTextBlock_cc50b802-a5ba-48c3-86e3-10467de0a40d_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value</link:label>
    <link:label id="lab_us-gaap_FairValueDisclosuresTextBlock_label_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Disclosures [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosuresTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresTextBlock" xlink:to="lab_us-gaap_FairValueDisclosuresTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StockholdersEquityAbstract_450b5d1a-ab14-409c-b6fa-cf59935a06de_terseLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fannie Mae stockholders&#8217; equity:</link:label>
    <link:label id="lab_us-gaap_StockholdersEquityAbstract_label_en-US" xlink:label="lab_us-gaap_StockholdersEquityAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity, Attributable to Parent [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityAbstract" xlink:to="lab_us-gaap_StockholdersEquityAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest_019be902-e17c-72e8-9a6a-290591472b17_negatedTerseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest_label_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss, Other, Including Accrued Interest</link:label>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss, Other, Including Accrued Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest" xlink:to="lab_fnm_FinancingReceivableAllowanceForCreditLossOtherIncludingAccruedInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_RelatedPartiesPolicyTextBlock_8f5cdd91-24a0-4db1-8004-26a739de8cb5_terseLabel_en-US" xlink:label="lab_fnm_RelatedPartiesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Parties</link:label>
    <link:label id="lab_fnm_RelatedPartiesPolicyTextBlock_label_en-US" xlink:label="lab_fnm_RelatedPartiesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Parties [Policy Text Block]</link:label>
    <link:label id="lab_fnm_RelatedPartiesPolicyTextBlock_documentation_en-US" xlink:label="lab_fnm_RelatedPartiesPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Related Parties</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_RelatedPartiesPolicyTextBlock" xlink:href="fnm-20251231.xsd#fnm_RelatedPartiesPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_RelatedPartiesPolicyTextBlock" xlink:to="lab_fnm_RelatedPartiesPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus_32262d31-b0c3-45eb-b825-91140050260f_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of nonaccrual loans</link:label>
    <link:label id="lab_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus_label_en-US" xlink:label="lab_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Option, Loans Held as Assets, Aggregate Amount in Nonaccrual Status</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus" xlink:to="lab_us-gaap_FairValueOptionLoansHeldAsAssetsAggregateAmountInNonaccrualStatus" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivables30To59DaysPastDueMember_be68b015-7635-4211-a002-d7bb000bf092_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">30-59 Days Delinquent</link:label>
    <link:label id="lab_us-gaap_FinancingReceivables30To59DaysPastDueMember_label_en-US" xlink:label="lab_us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, 30 to 59 Days Past Due [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivables30To59DaysPastDueMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:to="lab_us-gaap_FinancingReceivables30To59DaysPastDueMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityVoluntaryFilers_7517bd54-4b21-474f-97ec-a2e411e98851_terseLabel_en-US" xlink:label="lab_dei_EntityVoluntaryFilers" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Voluntary Filers</link:label>
    <link:label id="lab_dei_EntityVoluntaryFilers_label_en-US" xlink:label="lab_dei_EntityVoluntaryFilers" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Voluntary Filers</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityVoluntaryFilers" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityVoluntaryFilers"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityVoluntaryFilers" xlink:to="lab_dei_EntityVoluntaryFilers" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract_019b0e66-bfa7-7f66-beb1-7d752beaefb3_terseLabel_en-US" xlink:label="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Condensed Consolidated Balance Sheets</link:label>
    <link:label id="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract_label_en-US" xlink:label="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Balance Sheet Related Disclosures [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_BalanceSheetRelatedDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_BalanceSheetRelatedDisclosuresAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_BalanceSheetRelatedDisclosuresAbstract" xlink:to="lab_us-gaap_BalanceSheetRelatedDisclosuresAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member_c824bc61-1175-4844-b2d7-7385d5d32ac2_terseLabel_en-US" xlink:label="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">TCCA fees</link:label>
    <link:label id="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member_label_en-US" xlink:label="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Single-Family Guaranty Fee, Temporary Payroll Tax Cut Continuation Act of 2011 [Member]</link:label>
    <link:label id="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member_documentation_en-US" xlink:label="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Single-Family Guaranty Fee, Temporary Payroll Tax Cut Continuation Act of 2011</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member" xlink:href="fnm-20251231.xsd#fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member" xlink:to="lab_fnm_SingleFamilyGuarantyFeeTemporaryPayrollTaxCutContinuationActOf2011Member" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement_5c1291d0-d4b0-4f66-9f6d-bb59ecc68b38_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative liability, not subject to master netting arrangement</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Not Subject to Master Netting Arrangement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_DerivativeLiabilityNotSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAsset_86b19a62-6db2-4df6-bac4-ddf1e471dbde_verboseLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Derivative assets, gross amount</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeAsset_label_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Subject to Master Netting Arrangement, before Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:to="lab_us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements_fa020891-5ad9-4397-b237-85c521f68705_negatedTerseLabel_en-US" xlink:label="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Net gains related to the disposition of acquired property and preforeclosure sales, including credit enhancements</link:label>
    <link:label id="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements_label_en-US" xlink:label="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Gains Related To The Disposition of Acquired Property and Preforeclosure Sales, Including Credit Enhancements</link:label>
    <link:label id="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements_documentation_en-US" xlink:label="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents Net Gains Related To The Disposition of Acquired Property and Preforeclosure Sales, Including Credit Enhancements which are reconciling items to operating income which are included in the proceeds from dispositions of acquired property and preforeclosure sales within the investing section.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements" xlink:href="fnm-20251231.xsd#fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements" xlink:to="lab_fnm_NetGainsRelatedToTheDispositionofAcquiredPropertyandPreforeclosureSalesIncludingCreditEnhancements" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DepreciationAmortizationAndAccretionNet_aab66311-ed29-4feb-be68-789469603e11_terseLabel_en-US" xlink:label="lab_us-gaap_DepreciationAmortizationAndAccretionNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amortization of cost basis adjustments</link:label>
    <link:label id="lab_us-gaap_DepreciationAmortizationAndAccretionNet_label_en-US" xlink:label="lab_us-gaap_DepreciationAmortizationAndAccretionNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Depreciation, Amortization and Accretion, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DepreciationAmortizationAndAccretionNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DepreciationAmortizationAndAccretionNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DepreciationAmortizationAndAccretionNet" xlink:to="lab_us-gaap_DepreciationAmortizationAndAccretionNet" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityRegistrantName_30d59c90-f051-42b4-a1d2-2985b68e4b2b_terseLabel_en-US" xlink:label="lab_dei_EntityRegistrantName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Registrant Name</link:label>
    <link:label id="lab_dei_EntityRegistrantName_label_en-US" xlink:label="lab_dei_EntityRegistrantName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Registrant Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityRegistrantName" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityRegistrantName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityRegistrantName" xlink:to="lab_dei_EntityRegistrantName" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_StkPrcOrTsrEstimationMethodTextBlock_terseLabel_en-US" xlink:label="lab_ecd_StkPrcOrTsrEstimationMethodTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Stock Price or TSR Estimation Method</link:label>
    <link:label id="lab_ecd_StkPrcOrTsrEstimationMethodTextBlock_label_en-US" xlink:label="lab_ecd_StkPrcOrTsrEstimationMethodTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Stock Price or TSR Estimation Method [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_StkPrcOrTsrEstimationMethodTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_StkPrcOrTsrEstimationMethodTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_StkPrcOrTsrEstimationMethodTextBlock" xlink:to="lab_ecd_StkPrcOrTsrEstimationMethodTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost_a5ca9e27-c89f-4902-9ec8-45b6880d970d_terseLabel_en-US" xlink:label="lab_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Closed portfolio, amortized cost</link:label>
    <link:label id="lab_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost_label_en-US" xlink:label="lab_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, Closed Portfolio and Beneficial Interest, Portfolio Layer Method, Amortized Cost</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost" xlink:to="lab_us-gaap_ClosedPortfolioAndBeneficialInterestLastOfLayerAmortizedCost" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConservatorshipPolicyPolicyTextBlock_c3b58a4e-aaea-44cd-bed6-c4341072471b_terseLabel_en-US" xlink:label="lab_fnm_ConservatorshipPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Conservatorship</link:label>
    <link:label id="lab_fnm_ConservatorshipPolicyPolicyTextBlock_label_en-US" xlink:label="lab_fnm_ConservatorshipPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Conservatorship, Policy [Policy Text Block]</link:label>
    <link:label id="lab_fnm_ConservatorshipPolicyPolicyTextBlock_documentation_en-US" xlink:label="lab_fnm_ConservatorshipPolicyPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Conservatorship, Policy</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConservatorshipPolicyPolicyTextBlock" xlink:href="fnm-20251231.xsd#fnm_ConservatorshipPolicyPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConservatorshipPolicyPolicyTextBlock" xlink:to="lab_fnm_ConservatorshipPolicyPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AssetsFairValueDisclosure_e94fecec-bf5c-4afc-bb0c-5afdda80e670_totalLabel_en-US" xlink:label="lab_us-gaap_AssetsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total assets at fair value</link:label>
    <link:label id="lab_us-gaap_AssetsFairValueDisclosure_14466fd4-c04f-4384-98c6-3ce77baf2a1a_terseLabel_en-US" xlink:label="lab_us-gaap_AssetsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total nonrecurring assets at fair value</link:label>
    <link:label id="lab_us-gaap_AssetsFairValueDisclosure_label_en-US" xlink:label="lab_us-gaap_AssetsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assets, Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsFairValueDisclosure" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsFairValueDisclosure" xlink:to="lab_us-gaap_AssetsFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses_2e2d0a9b-658a-4f6d-b6ad-636c285112ec_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">(Provision) benefit for credit losses</link:label>
    <link:label id="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses_39a1252c-c8d2-40c0-9710-ffd1b4141aec_terseLabel_en-US" xlink:label="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Provision (benefit) for credit losses</link:label>
    <link:label id="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses_label_en-US" xlink:label="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Provision for Loan, Lease, and Other Losses</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:to="lab_us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OtherTopServicersMember_3bc52699-29f5-468e-bef5-c9580a1c8e01_terseLabel_en-US" xlink:label="lab_fnm_OtherTopServicersMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Top five depository servicers</link:label>
    <link:label id="lab_fnm_OtherTopServicersMember_label_en-US" xlink:label="lab_fnm_OtherTopServicersMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other Top Servicers [Member]</link:label>
    <link:label id="lab_fnm_OtherTopServicersMember_documentation_en-US" xlink:label="lab_fnm_OtherTopServicersMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents remaining top servicers not presented separately in the table.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherTopServicersMember" xlink:href="fnm-20251231.xsd#fnm_OtherTopServicersMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OtherTopServicersMember" xlink:to="lab_fnm_OtherTopServicersMember" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_RestatementDomain_019b0e66-bfa7-7f59-9c79-8191e3c30ecd_terseLabel_en-US" xlink:label="lab_srt_RestatementDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Revision of Prior Period [Domain]</link:label>
    <link:label id="lab_srt_RestatementDomain_label_en-US" xlink:label="lab_srt_RestatementDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Revision of Prior Period [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_RestatementDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_RestatementDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_RestatementDomain" xlink:to="lab_srt_RestatementDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancialAssetPastDueMember_2e3893da-f6ef-4fde-9146-544b5968e529_terseLabel_en-US" xlink:label="lab_us-gaap_FinancialAssetPastDueMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Delinquent</link:label>
    <link:label id="lab_us-gaap_FinancialAssetPastDueMember_label_en-US" xlink:label="lab_us-gaap_FinancialAssetPastDueMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, Past Due [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetPastDueMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetPastDueMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialAssetPastDueMember" xlink:to="lab_us-gaap_FinancialAssetPastDueMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1_902c359b-ae35-4c5e-be8f-e25e2e4d2ae9_terseLabel_en-US" xlink:label="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">DSCR ratio</link:label>
    <link:label id="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1_label_en-US" xlink:label="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Current Debt Service Coverage Ratio, Higher Risk Loans1</link:label>
    <link:label id="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1_documentation_en-US" xlink:label="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">A multifamily loan with the current debt service ratio ('DSCR') below 1.0 is considered one of the higher risk characteristics by our management.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1" xlink:href="fnm-20251231.xsd#fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1" xlink:to="lab_fnm_CurrentDebtServiceCoverageRatioHigherRiskLoans1" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure_583d5228-7914-4135-acb7-d203d416a256_terseLabel_en-US" xlink:label="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Acquired property, net:</link:label>
    <link:label id="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure_label_en-US" xlink:label="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Real Estate Acquired through Foreclosure, Fair Value Disclosure</link:label>
    <link:label id="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure_documentation_en-US" xlink:label="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Carrying amount as of the balance sheet date of real estate owned and foreclosed assets. Foreclosed assets include all assets obtained in full or partial satisfaction of a debt arrangement through foreclosure proceedings.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure" xlink:href="fnm-20251231.xsd#fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure" xlink:to="lab_fnm_RealEstateAcquiredThroughForeclosureFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_04523a58-6028-4e08-99f0-acceaa6ea8bc_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party [Axis]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related and Nonrelated Parties [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:to="lab_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_019c05fd-4572-7757-a8ee-540f9f53c781_negatedPeriodStartLabel_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2009/role/negatedPeriodStartLabel" xlink:type="resource" xml:lang="en-US">Beginning balance</link:label>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_019c05fd-3eec-7030-9046-7887c61eb3f0_negatedPeriodEndLabel_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2009/role/negatedPeriodEndLabel" xlink:type="resource" xml:lang="en-US">Ending balance</link:label>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_019c05fe-fb46-764c-b4dd-007ca037f674_negatedTotalLabel_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total</link:label>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_label_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss and Other, Including Accrued Interest</link:label>
    <link:label id="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss and Other, Including Accrued Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:to="lab_fnm_FinancingReceivableAllowanceForCreditLossAndOtherIncludingAccruedInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_019be6c9-e005-73f9-83d4-1079f9937017_terseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Tax credits, percent</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Percent [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue_4f0db7b1-4107-4b4f-8859-ba56a6bdf077_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of loans that are 90 days past due</link:label>
    <link:label id="lab_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue_label_en-US" xlink:label="lab_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Option, Loans Held as Assets, 90 Days or More Past Due</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue" xlink:to="lab_us-gaap_FairValueOptionLoansHeldAsAssets90DaysOrMorePastDue" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_RestatementDateAxis_terseLabel_en-US" xlink:label="lab_ecd_RestatementDateAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Restatement Determination Date:</link:label>
    <link:label id="lab_ecd_RestatementDateAxis_label_en-US" xlink:label="lab_ecd_RestatementDateAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Restatement Determination Date [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_RestatementDateAxis" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_RestatementDateAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_RestatementDateAxis" xlink:to="lab_ecd_RestatementDateAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AccountsReceivableMember_d91cdc8e-b13d-4590-8f78-e3be4dbbe73d_terseLabel_en-US" xlink:label="lab_us-gaap_AccountsReceivableMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accounts Receivable</link:label>
    <link:label id="lab_us-gaap_AccountsReceivableMember_label_en-US" xlink:label="lab_us-gaap_AccountsReceivableMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accounts Receivable [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AccountsReceivableMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AccountsReceivableMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AccountsReceivableMember" xlink:to="lab_us-gaap_AccountsReceivableMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy_8f8a6223-edbf-4f8b-8627-5347e419b299_terseLabel_en-US" xlink:label="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loans Held for Investment</link:label>
    <link:label id="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy_label_en-US" xlink:label="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Held-for-Investment [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy" xlink:to="lab_us-gaap_FinanceLoanAndLeaseReceivablesHeldForInvestmentPolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock_d68399da-57bb-4069-954a-410cbcb6f945_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Loss Mitigation</link:label>
    <link:label id="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock_label_en-US" xlink:label="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Loss Mitigation [Policy Text Block]</link:label>
    <link:label id="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Loss Mitigation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableLossMitigationPolicyTextBlock" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableLossMitigationPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableLossMitigationPolicyTextBlock" xlink:to="lab_fnm_FinancingReceivableLossMitigationPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_1445207f-1e55-413a-b3f0-a3d7316ac2af_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other, net</link:label>
    <link:label id="lab_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities_label_en-US" xlink:label="lab_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from (Payment for) Other Financing Activity</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromPaymentsForOtherFinancingActivities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:to="lab_us-gaap_ProceedsFromPaymentsForOtherFinancingActivities" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrIndName_terseLabel_en-US" xlink:label="lab_ecd_TrdArrIndName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Name</link:label>
    <link:label id="lab_ecd_TrdArrIndName_label_en-US" xlink:label="lab_ecd_TrdArrIndName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement, Individual Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrIndName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrIndName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrIndName" xlink:to="lab_ecd_TrdArrIndName" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement_61388b40-c122-4485-a5bd-65039af9d5ed_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total assets, net amount presented in the consolidated balance sheets</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Subject to Master Netting Arrangement, after Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_DerivativeAssetSecurityPurchasedUnderAgreementToResellSecurityBorrowedAfterOffsetSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_UnderlyingAssetClassDomain_dc26111d-2513-4617-b80c-9b58603e7589_terseLabel_en-US" xlink:label="lab_us-gaap_UnderlyingAssetClassDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Underlying Asset Class [Domain]</link:label>
    <link:label id="lab_us-gaap_UnderlyingAssetClassDomain_label_en-US" xlink:label="lab_us-gaap_UnderlyingAssetClassDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Underlying Asset Class [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnderlyingAssetClassDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnderlyingAssetClassDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnderlyingAssetClassDomain" xlink:to="lab_us-gaap_UnderlyingAssetClassDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ScenarioPreviouslyReportedMember_019b0e66-bfa7-7306-a427-c4627c3dc417_terseLabel_en-US" xlink:label="lab_srt_ScenarioPreviouslyReportedMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">As Previously Reported</link:label>
    <link:label id="lab_srt_ScenarioPreviouslyReportedMember_label_en-US" xlink:label="lab_srt_ScenarioPreviouslyReportedMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Previously Reported [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioPreviouslyReportedMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScenarioPreviouslyReportedMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScenarioPreviouslyReportedMember" xlink:to="lab_srt_ScenarioPreviouslyReportedMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfShortTermDebtTable_75f9d174-05e0-45e0-98fa-69f97aff7714_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Short-Term Borrowings [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfShortTermDebtTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfShortTermDebtTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-Term Debt [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfShortTermDebtTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfShortTermDebtTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfShortTermDebtTable" xlink:to="lab_us-gaap_ScheduleOfShortTermDebtTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_a77260e8-b15c-4d49-96ee-280a23166b93_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Prior</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Originated, More than Five Years before Current Fiscal Year, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff" xlink:to="lab_us-gaap_FinancingReceivableOriginatedMoreThanFiveYearsBeforeCurrentFiscalYearWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers_eec9216e-c046-4074-bbd8-2a423ef053c9_terseLabel_en-US" xlink:label="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Receivable from claims on insured, defaulted loans excluding government insured loans</link:label>
    <link:label id="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers_label_en-US" xlink:label="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Receivable from Claims on defaulted loans from Mortgage Insurers Sellers and Servicers</link:label>
    <link:label id="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers_documentation_en-US" xlink:label="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Amount due in settlement of a claim for reimbursement from an insurance company (insurers) and sellers/servicers when the Company has suffered a loss covered under the terms of an insurance policy or a seller/servicer contract.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers" xlink:href="fnm-20251231.xsd#fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers" xlink:to="lab_fnm_ReceivableFromClaimsOnDefaultedLoansFromMortgageInsurersSellersAndServicers" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtInstrumentFaceAmount_4f0129c8-9fb6-43b9-83c3-39ae697e26c9_terseLabel_en-US" xlink:label="lab_us-gaap_DebtInstrumentFaceAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Face amount</link:label>
    <link:label id="lab_us-gaap_DebtInstrumentFaceAmount_label_en-US" xlink:label="lab_us-gaap_DebtInstrumentFaceAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Instrument, Face Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtInstrumentFaceAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtInstrumentFaceAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtInstrumentFaceAmount" xlink:to="lab_us-gaap_DebtInstrumentFaceAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract_019be906-e230-7971-91e3-d63b3791923b_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Components of allowance for credit losses</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Accrued Interest, Allowance for Credit Loss [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract" xlink:to="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAllowanceForCreditLossAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockMember_cb07fb44-3ce8-43f7-b637-23aedea22b6a_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred Stock</link:label>
    <link:label id="lab_us-gaap_PreferredStockMember_label_en-US" xlink:label="lab_us-gaap_PreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockMember" xlink:to="lab_us-gaap_PreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardsCloseToMnpiDiscIndName_terseLabel_en-US" xlink:label="lab_ecd_AwardsCloseToMnpiDiscIndName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Name</link:label>
    <link:label id="lab_ecd_AwardsCloseToMnpiDiscIndName_label_en-US" xlink:label="lab_ecd_AwardsCloseToMnpiDiscIndName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Awards Close in Time to MNPI Disclosures, Individual Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardsCloseToMnpiDiscIndName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardsCloseToMnpiDiscIndName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardsCloseToMnpiDiscIndName" xlink:to="lab_ecd_AwardsCloseToMnpiDiscIndName" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm_b995b44b-fa2f-4ca6-b782-97b194cbce36_terseLabel_en-US" xlink:label="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Early lender funding advances, maximum term</link:label>
    <link:label id="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm_label_en-US" xlink:label="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Early Lender Funding Advances, Maximum Term</link:label>
    <link:label id="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm_documentation_en-US" xlink:label="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represent the maximum number of days the lenders have when we provide early funding to lenders for loans that they will subsequently either sell to us or securitize into a Fannie Mae MBS that they will deliver to us.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EarlyLenderFundingAdvancesMaximumTerm" xlink:href="fnm-20251231.xsd#fnm_EarlyLenderFundingAdvancesMaximumTerm"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EarlyLenderFundingAdvancesMaximumTerm" xlink:to="lab_fnm_EarlyLenderFundingAdvancesMaximumTerm" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AdvancesToLendersPolicyTextBlock_e9b0f89d-4ca1-4cad-bb6e-5fe0cc119312_terseLabel_en-US" xlink:label="lab_fnm_AdvancesToLendersPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Advances to Lenders</link:label>
    <link:label id="lab_fnm_AdvancesToLendersPolicyTextBlock_label_en-US" xlink:label="lab_fnm_AdvancesToLendersPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Advances to Lenders [Policy Text Block]</link:label>
    <link:label id="lab_fnm_AdvancesToLendersPolicyTextBlock_documentation_en-US" xlink:label="lab_fnm_AdvancesToLendersPolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Disclosure of accounting policy for cash payments made in exchange for the receipt of mortgage loans from lenders in a transfer that is accounted for as a secured lending arrangement. These transfers primarily occur when we provide early funding to lenders for loans that they will subsequently either sell to us or securitize into a Fannie Mae MBS that they will deliver to us. We individually negotiate early lender funding advances with our lender customers. Early lender funding advances have terms up to 60 days and earn a short-term market rate of interest.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AdvancesToLendersPolicyTextBlock" xlink:href="fnm-20251231.xsd#fnm_AdvancesToLendersPolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AdvancesToLendersPolicyTextBlock" xlink:to="lab_fnm_AdvancesToLendersPolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PaymentsForOperatingActivitiesAbstract_8d44b608-46cf-4dee-bc96-56f29b9297bd_terseLabel_en-US" xlink:label="lab_us-gaap_PaymentsForOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash paid during the period for:</link:label>
    <link:label id="lab_us-gaap_PaymentsForOperatingActivitiesAbstract_label_en-US" xlink:label="lab_us-gaap_PaymentsForOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Payments for Operating Activities [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PaymentsForOperatingActivitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PaymentsForOperatingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PaymentsForOperatingActivitiesAbstract" xlink:to="lab_us-gaap_PaymentsForOperatingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AggtErrCompNotYetDeterminedTextBlock_terseLabel_en-US" xlink:label="lab_ecd_AggtErrCompNotYetDeterminedTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate Erroneous Compensation Not Yet Determined</link:label>
    <link:label id="lab_ecd_AggtErrCompNotYetDeterminedTextBlock_label_en-US" xlink:label="lab_ecd_AggtErrCompNotYetDeterminedTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Erroneous Compensation Not Yet Determined [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AggtErrCompNotYetDeterminedTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AggtErrCompNotYetDeterminedTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AggtErrCompNotYetDeterminedTextBlock" xlink:to="lab_ecd_AggtErrCompNotYetDeterminedTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BrokerPriceOpinionMember_72aed460-46e4-4512-8dd7-9a004f24abad_terseLabel_en-US" xlink:label="lab_fnm_BrokerPriceOpinionMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Broker Price Opinion</link:label>
    <link:label id="lab_fnm_BrokerPriceOpinionMember_label_en-US" xlink:label="lab_fnm_BrokerPriceOpinionMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Broker Price Opinion [Member]</link:label>
    <link:label id="lab_fnm_BrokerPriceOpinionMember_documentation_en-US" xlink:label="lab_fnm_BrokerPriceOpinionMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Broker Price Opinion</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BrokerPriceOpinionMember" xlink:href="fnm-20251231.xsd#fnm_BrokerPriceOpinionMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BrokerPriceOpinionMember" xlink:to="lab_fnm_BrokerPriceOpinionMember" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_IcfrAuditorAttestationFlag_00c63cb3-c9d6-4b87-9607-3fa048fde085_terseLabel_en-US" xlink:label="lab_dei_IcfrAuditorAttestationFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">ICFR Auditor Attestation Flag</link:label>
    <link:label id="lab_dei_IcfrAuditorAttestationFlag_label_en-US" xlink:label="lab_dei_IcfrAuditorAttestationFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">ICFR Auditor Attestation Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_IcfrAuditorAttestationFlag" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_IcfrAuditorAttestationFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_IcfrAuditorAttestationFlag" xlink:to="lab_dei_IcfrAuditorAttestationFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TreasuryStockValue_14fde1b4-c1a0-4aaf-983f-16defc95adee_negatedLabel_en-US" xlink:label="lab_us-gaap_TreasuryStockValue" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Treasury stock, at cost, $150,675,136 shares</link:label>
    <link:label id="lab_us-gaap_TreasuryStockValue_label_en-US" xlink:label="lab_us-gaap_TreasuryStockValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Treasury Stock, Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TreasuryStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TreasuryStockValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TreasuryStockValue" xlink:to="lab_us-gaap_TreasuryStockValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_019b0e02-1559-742f-8e0c-76c2a7825bfe_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Changes in net unrealized losses on available-for-sale securities, tax</link:label>
    <link:label id="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax_label_en-US" xlink:label="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">OCI, Debt Securities, Available-for-Sale, Unrealized Holding Gain (Loss), before Adjustment, Tax</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:to="lab_us-gaap_OtherComprehensiveIncomeUnrealizedHoldingGainLossOnSecuritiesArisingDuringPeriodTax" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems_9ebff252-fcd4-46e7-8bd1-743cc70ab918_terseLabel_en-US" xlink:label="lab_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Transfers of Financial Assets [Line Items]</link:label>
    <link:label id="lab_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems_label_en-US" xlink:label="lab_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Assumption for Fair Value as of Balance Sheet Date of Assets or Liabilities that relate to Transferor's Continuing Involvement [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems" xlink:to="lab_us-gaap_AssumptionForFairValueAsOfBalanceSheetDateOfInterestsContinuedToBeHeldByTransferorServicingAssetsOrLiabilitiesLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_LitigationCaseAxis_fa4b0da0-6c0c-444e-9591-a354f32cc5e0_terseLabel_en-US" xlink:label="lab_srt_LitigationCaseAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Litigation Case [Axis]</link:label>
    <link:label id="lab_srt_LitigationCaseAxis_label_en-US" xlink:label="lab_srt_LitigationCaseAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Case [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_LitigationCaseAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_LitigationCaseAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_LitigationCaseAxis" xlink:to="lab_srt_LitigationCaseAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_AuditorFirmId_4929654e-824e-49d3-b4e0-689349296b94_terseLabel_en-US" xlink:label="lab_dei_AuditorFirmId" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Auditor Firm ID</link:label>
    <link:label id="lab_dei_AuditorFirmId_label_en-US" xlink:label="lab_dei_AuditorFirmId" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Auditor Firm ID</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AuditorFirmId" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AuditorFirmId"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AuditorFirmId" xlink:to="lab_dei_AuditorFirmId" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SegmentDomain_10d582bb-e4fd-43a0-ad14-caf6506f55dd_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment [Domain]</link:label>
    <link:label id="lab_us-gaap_SegmentDomain_b9aa0274-7923-4432-b05c-1f1369bcbf3f_verboseLabel_en-US" xlink:label="lab_us-gaap_SegmentDomain" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Total Results [Domain]</link:label>
    <link:label id="lab_us-gaap_SegmentDomain_label_en-US" xlink:label="lab_us-gaap_SegmentDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segments [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentDomain" xlink:to="lab_us-gaap_SegmentDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncomeStatementLocationAxis_e7717e3b-4b56-4b72-ae50-63aa2d6a9b62_terseLabel_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement of Income Location, Balance [Axis]</link:label>
    <link:label id="lab_us-gaap_IncomeStatementLocationAxis_label_en-US" xlink:label="lab_us-gaap_IncomeStatementLocationAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement of Income Location, Balance [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncomeStatementLocationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncomeStatementLocationAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncomeStatementLocationAxis" xlink:to="lab_us-gaap_IncomeStatementLocationAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_0683af99-96c3-496a-906a-c3964677aa5d_terseLabel_en-US" xlink:label="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Investments in Securities</link:label>
    <link:label id="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Investments in Debt and Marketable Equity Securities (and Certain Trading Assets) Disclosure [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:to="lab_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_ee665106-789a-4ebe-a772-079b93722c00_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value, Measurements, Fair Value Hierarchy [Domain]</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Hierarchy and NAV [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:to="lab_us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract_9a02b6b4-da1e-44aa-8a2f-74b9df007dc1_terseLabel_en-US" xlink:label="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans:</link:label>
    <link:label id="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract_label_en-US" xlink:label="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Loans on Real Estate, Commercial and Consumer, Net, (Investment Based Operations Presentation) [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract" xlink:to="lab_us-gaap_MortgageLoansOnRealEstateCommercialAndConsumerNetInvestmentBasedOperationsPresentationAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FederalHousingFinanceAgencyMember_21a30182-9734-44f0-b381-185d2200213c_terseLabel_en-US" xlink:label="lab_fnm_FederalHousingFinanceAgencyMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">FHFA</link:label>
    <link:label id="lab_fnm_FederalHousingFinanceAgencyMember_label_en-US" xlink:label="lab_fnm_FederalHousingFinanceAgencyMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Federal Housing Finance Agency [Member]</link:label>
    <link:label id="lab_fnm_FederalHousingFinanceAgencyMember_documentation_en-US" xlink:label="lab_fnm_FederalHousingFinanceAgencyMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Conservator to Government sponsored agencies.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FederalHousingFinanceAgencyMember" xlink:href="fnm-20251231.xsd#fnm_FederalHousingFinanceAgencyMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FederalHousingFinanceAgencyMember" xlink:to="lab_fnm_FederalHousingFinanceAgencyMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet_d3d95a85-3e65-4f93-bafb-0932d6ac5565_terseLabel_en-US" xlink:label="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Estimated benefit included in combined loss reserves</link:label>
    <link:label id="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet_label_en-US" xlink:label="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Insurance Loss Reserves, Contractual Mortgage Insurance Benefit, Net</link:label>
    <link:label id="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet_documentation_en-US" xlink:label="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Estimated benefit included in total loss reserves is the contractual mortgage insurance benefits under mortgage insurance policies net of the adjustment for collectability for our mortgage insurer counterparties' inability to fully pay the contractual mortgage insurance claims.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet" xlink:href="fnm-20251231.xsd#fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet" xlink:to="lab_fnm_InsuranceLossReservesContractualMortgageInsuranceBenefitNet" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetsAbstract_b3693051-9d25-4cf1-b8f5-7aa85f3df9e5_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Asset Derivatives</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetsAbstract_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetsAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetsAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetsAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetsAbstract" xlink:to="lab_us-gaap_DerivativeAssetsAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestExpenseAbstract_88e242bb-2925-4eea-ab89-31f17e10030e_terseLabel_en-US" xlink:label="lab_us-gaap_InterestExpenseAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest expense:</link:label>
    <link:label id="lab_us-gaap_InterestExpenseAbstract_label_en-US" xlink:label="lab_us-gaap_InterestExpenseAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Expense, Operating and Nonoperating [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestExpenseAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestExpenseAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestExpenseAbstract" xlink:to="lab_us-gaap_InterestExpenseAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EarningsPerSharePolicyTextBlock_78d3a8c9-43be-4a45-b700-25ad22da7e9f_terseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerSharePolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Earnings per Share</link:label>
    <link:label id="lab_us-gaap_EarningsPerSharePolicyTextBlock_label_en-US" xlink:label="lab_us-gaap_EarningsPerSharePolicyTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerSharePolicyTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerSharePolicyTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerSharePolicyTextBlock" xlink:to="lab_us-gaap_EarningsPerSharePolicyTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset_02bfc2b9-e342-46e6-a43b-18540ceecd85_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Netting adjustment</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset_cd7639cf-9b22-4db7-8a4b-373987b40124_verboseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, gross amount offset</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset_ca11b696-873e-4e09-84cb-7f7c58bbe313_negatedLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, gross amount offset</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset_5e38ff09-2124-4e2f-b89c-dcc43a4df9f8_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Netting Adjustment</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Subject to Master Netting Arrangement, Asset Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilityFairValueGrossAsset"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:to="lab_us-gaap_DerivativeLiabilityFairValueGrossAsset" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockValue_483e61dc-4991-443e-a452-10694111082f_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, $700,000,000 shares are authorized&#8212;$555,374,922 shares issued and outstanding</link:label>
    <link:label id="lab_us-gaap_PreferredStockValue_b7ccc8af-ea98-4e06-8c3a-8e1d474c1520_verboseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock</link:label>
    <link:label id="lab_us-gaap_PreferredStockValue_label_en-US" xlink:label="lab_us-gaap_PreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Value, Issued</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockValue" xlink:to="lab_us-gaap_PreferredStockValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestPayableCurrentAndNoncurrent_4af9e8f0-dbe1-4b18-a656-1954f4adf533_terseLabel_en-US" xlink:label="lab_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accrued interest payable (includes $11,320 and $10,858, respectively, related to consolidated trusts)</link:label>
    <link:label id="lab_us-gaap_InterestPayableCurrentAndNoncurrent_fdd7d7aa-3b97-47c1-9baf-98b92728438d_verboseLabel_en-US" xlink:label="lab_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Accrued interest payable related to consolidated trusts</link:label>
    <link:label id="lab_us-gaap_InterestPayableCurrentAndNoncurrent_label_en-US" xlink:label="lab_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Payable</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestPayableCurrentAndNoncurrent"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:to="lab_us-gaap_InterestPayableCurrentAndNoncurrent" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis_b7cc3829-2c9f-4828-bb9a-23c3a9213d45_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financial Asset, Period Past Due [Axis]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis_label_en-US" xlink:label="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, Aging [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivablesPeriodPastDueAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:to="lab_us-gaap_FinancingReceivablesPeriodPastDueAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AllExecutiveCategoriesMember_terseLabel_en-US" xlink:label="lab_ecd_AllExecutiveCategoriesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">All Executive Categories</link:label>
    <link:label id="lab_ecd_AllExecutiveCategoriesMember_label_en-US" xlink:label="lab_ecd_AllExecutiveCategoriesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">All Executive Categories [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllExecutiveCategoriesMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AllExecutiveCategoriesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AllExecutiveCategoriesMember" xlink:to="lab_ecd_AllExecutiveCategoriesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_e3943f77-9a82-41d9-acec-f56a372d7044_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Deferred Tax Assets and Liabilities</link:label>
    <link:label id="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Deferred Tax Assets and Liabilities [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfDeferredTaxAssetsAndLiabilitiesTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommonStockValue_e560021e-1dfd-4f03-b332-258ce3a26fda_terseLabel_en-US" xlink:label="lab_us-gaap_CommonStockValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Common stock, no par value, no maximum authorization&#8212;$1,308,762,703 shares issued and $1,158,087,567 shares outstanding</link:label>
    <link:label id="lab_us-gaap_CommonStockValue_label_en-US" xlink:label="lab_us-gaap_CommonStockValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Common Stock, Value, Issued</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommonStockValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommonStockValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommonStockValue" xlink:to="lab_us-gaap_CommonStockValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases_31182336-26f6-4382-a9ba-0a48040435c3_terseLabel_en-US" xlink:label="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans</link:label>
    <link:label id="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases_label_en-US" xlink:label="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest and Fee Income, Loans and Leases</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestAndFeeIncomeLoansAndLeases"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:to="lab_us-gaap_InterestAndFeeIncomeLoansAndLeases" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_b357bb5c-a1b2-4e5a-9946-d76d5f7eb8ec_terseLabel_en-US" xlink:label="lab_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivatives designated as hedging instruments</link:label>
    <link:label id="lab_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_label_en-US" xlink:label="lab_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Change in Unrealized Gain (Loss) on Fair Value Hedging Instruments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1" xlink:to="lab_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock_19f7613a-ca38-457e-86b3-b13144588961_terseLabel_en-US" xlink:label="lab_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Summary of Gains (Losses) on Investments</link:label>
    <link:label id="lab_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock_label_en-US" xlink:label="lab_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Realized Gain (Loss) on Investments [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RealizedGainLossOnInvestmentsTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock" xlink:to="lab_us-gaap_RealizedGainLossOnInvestmentsTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CommitmentsAndContingencies_141117c4-4a4c-460b-b374-d18f3ace611d_terseLabel_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingencies" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Commitments and contingencies (Note 17)</link:label>
    <link:label id="lab_us-gaap_CommitmentsAndContingencies_label_en-US" xlink:label="lab_us-gaap_CommitmentsAndContingencies" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Commitments and Contingencies</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CommitmentsAndContingencies" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CommitmentsAndContingencies"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CommitmentsAndContingencies" xlink:to="lab_us-gaap_CommitmentsAndContingencies" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockLiquidationPreferenceValue_0e6e91f4-3dcd-4624-9bf9-99d863aec18b_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockLiquidationPreferenceValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Liquidation preference</link:label>
    <link:label id="lab_us-gaap_PreferredStockLiquidationPreferenceValue_label_en-US" xlink:label="lab_us-gaap_PreferredStockLiquidationPreferenceValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Liquidation Preference, Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockLiquidationPreferenceValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockLiquidationPreferenceValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockLiquidationPreferenceValue" xlink:to="lab_us-gaap_PreferredStockLiquidationPreferenceValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_cee5e3e2-2cb1-404e-b038-70568a8a1066_totalLabel_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total comprehensive income</link:label>
    <link:label id="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest_label_en-US" xlink:label="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Comprehensive Income (Loss), Net of Tax, Including Portion Attributable to Noncontrolling Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:to="lab_us-gaap_ComprehensiveIncomeNetOfTaxIncludingPortionAttributableToNoncontrollingInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ExchangeClearedMember_8b7ce0c8-3e36-4653-8c30-17c0eb217ff5_terseLabel_en-US" xlink:label="lab_us-gaap_ExchangeClearedMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cleared risk management derivatives</link:label>
    <link:label id="lab_us-gaap_ExchangeClearedMember_label_en-US" xlink:label="lab_us-gaap_ExchangeClearedMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Exchange Cleared [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ExchangeClearedMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ExchangeClearedMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ExchangeClearedMember" xlink:to="lab_us-gaap_ExchangeClearedMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableLoanModificationTableTextBlock_1d9ea3cd-badc-47c0-8614-5e58ae86b818_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableLoanModificationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Loan Modification</link:label>
    <link:label id="lab_fnm_FinancingReceivableLoanModificationTableTextBlock_label_en-US" xlink:label="lab_fnm_FinancingReceivableLoanModificationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Loan Modification [Table Text Block]</link:label>
    <link:label id="lab_fnm_FinancingReceivableLoanModificationTableTextBlock_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableLoanModificationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Loan Modification</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableLoanModificationTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableLoanModificationTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableLoanModificationTableTextBlock" xlink:to="lab_fnm_FinancingReceivableLoanModificationTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_InterestIncomeMember_73ed9336-2a9a-4b17-b1e6-96a8763d95c8_terseLabel_en-US" xlink:label="lab_us-gaap_InterestIncomeMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Interest Income</link:label>
    <link:label id="lab_us-gaap_InterestIncomeMember_label_en-US" xlink:label="lab_us-gaap_InterestIncomeMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Interest Income [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_InterestIncomeMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_InterestIncomeMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_InterestIncomeMember" xlink:to="lab_us-gaap_InterestIncomeMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember_a4bea2d7-976a-47a5-bc14-ad8c596e0abd_terseLabel_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Greater than 80%</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember_label_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Original Loan to Value Ratio Greater than Eighty Percent [Member]</link:label>
    <link:label id="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember_documentation_en-US" xlink:label="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents loans with an original loan-to-value ratio greater than 80%.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember" xlink:href="fnm-20251231.xsd#fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember" xlink:to="lab_fnm_OriginalLoanToValueRatioGreaterThanEightyPercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MidwestUnitedStatesMember_dd9a2b9b-d774-4820-bc76-4d8529ea3d29_terseLabel_en-US" xlink:label="lab_fnm_MidwestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Midwest</link:label>
    <link:label id="lab_fnm_MidwestUnitedStatesMember_label_en-US" xlink:label="lab_fnm_MidwestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Midwest United States [Member]</link:label>
    <link:label id="lab_fnm_MidwestUnitedStatesMember_documentation_en-US" xlink:label="lab_fnm_MidwestUnitedStatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Midwest includes IL, IN, IA, MI, MN, NE, ND, OH, SD, WI.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MidwestUnitedStatesMember" xlink:href="fnm-20251231.xsd#fnm_MidwestUnitedStatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MidwestUnitedStatesMember" xlink:to="lab_fnm_MidwestUnitedStatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_MortgageLoansInProcessOfForeclosureAmount_55355b78-e088-4b75-950f-16f44e4ffaf1_terseLabel_en-US" xlink:label="lab_us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans in process of foreclosure</link:label>
    <link:label id="lab_us-gaap_MortgageLoansInProcessOfForeclosureAmount_label_en-US" xlink:label="lab_us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Loans in Process of Foreclosure, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_MortgageLoansInProcessOfForeclosureAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:to="lab_us-gaap_MortgageLoansInProcessOfForeclosureAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ShortTermDebtLineItems_dc29ea9e-c20e-4071-bbbf-dd6641b0f33d_terseLabel_en-US" xlink:label="lab_us-gaap_ShortTermDebtLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Short-Term Debt [Line Items]</link:label>
    <link:label id="lab_us-gaap_ShortTermDebtLineItems_label_en-US" xlink:label="lab_us-gaap_ShortTermDebtLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Short-Term Debt [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ShortTermDebtLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ShortTermDebtLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ShortTermDebtLineItems" xlink:to="lab_us-gaap_ShortTermDebtLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskLineItems_14eeb94a-8ff6-496f-9d63-fc485277c478_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk [Line Items]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskLineItems_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskLineItems" xlink:to="lab_us-gaap_ConcentrationRiskLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableRevolvingWriteoff_95c6406c-9bb8-4989-a924-1a6fda0cc01b_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableRevolvingWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total writeoffs</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableRevolvingWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableRevolvingWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Revolving, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableRevolvingWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableRevolvingWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableRevolvingWriteoff" xlink:to="lab_us-gaap_FinancingReceivableRevolvingWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet_a6297150-edac-4b6d-a367-c543a914dc78_totalLabel_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Deferred tax assets, net</link:label>
    <link:label id="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet_label_en-US" xlink:label="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Tax Assets, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:to="lab_us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance_6e0f83ac-a42e-4946-9f3f-91c0db4c0d74_terseLabel_en-US" xlink:label="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">60 days delinquent (percentage of book of business)</link:label>
    <link:label id="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance_label_en-US" xlink:label="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans 60 to 89 Days Past Due, Percentage of Unpaid Principal Balance</link:label>
    <link:label id="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance_documentation_en-US" xlink:label="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of unpaid principal balance comprised of loans 60 to 89 days past due. Calculated based on the aggregate unpaid principal balance for the category indicated, divided by the respective book of business.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:href="fnm-20251231.xsd#fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:to="lab_fnm_Loans60To89DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease_06e1106a-35aa-4ab7-b1e8-9f0afba994d2_terseLabel_en-US" xlink:label="lab_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged liability, total basis adjustments</link:label>
    <link:label id="lab_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease_label_en-US" xlink:label="lab_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Liability, Fair Value Hedge, Cumulative Increase (Decrease)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease" xlink:to="lab_us-gaap_HedgedLiabilityFairValueHedgeCumulativeIncreaseDecrease" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PeoActuallyPaidCompAmt_terseLabel_en-US" xlink:label="lab_ecd_PeoActuallyPaidCompAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">PEO Actually Paid Compensation Amount</link:label>
    <link:label id="lab_ecd_PeoActuallyPaidCompAmt_label_en-US" xlink:label="lab_ecd_PeoActuallyPaidCompAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">PEO Actually Paid Compensation Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PeoActuallyPaidCompAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PeoActuallyPaidCompAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PeoActuallyPaidCompAmt" xlink:to="lab_ecd_PeoActuallyPaidCompAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgedLiabilityFairValueHedge_622df0b6-d1c1-4e30-b491-855991fe82e6_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_HedgedLiabilityFairValueHedge" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Hedged liability, carrying amount</link:label>
    <link:label id="lab_us-gaap_HedgedLiabilityFairValueHedge_label_en-US" xlink:label="lab_us-gaap_HedgedLiabilityFairValueHedge" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Liability, Fair Value Hedge</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgedLiabilityFairValueHedge" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgedLiabilityFairValueHedge"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgedLiabilityFairValueHedge" xlink:to="lab_us-gaap_HedgedLiabilityFairValueHedge" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesNPreferredStockMember_130a331b-6924-4df8-8acc-b873aaf1735f_terseLabel_en-US" xlink:label="lab_fnm_SeriesNPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series N</link:label>
    <link:label id="lab_fnm_SeriesNPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesNPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series N Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesNPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesNPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series N Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesNPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesNPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesNPreferredStockMember" xlink:to="lab_fnm_SeriesNPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount_43cf587d-b377-4869-85b4-507508283839_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Average amount capitalized as a result of a payment delay</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount_label_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Average Capitalized Amount</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Average Capitalized Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount" xlink:to="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsAverageCapitalizedAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivables60To89DaysPastDueMember_3da85802-8d9c-4175-9ea1-e43f1df54cb6_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">60 - 89 Days Delinquent</link:label>
    <link:label id="lab_us-gaap_FinancingReceivables60To89DaysPastDueMember_label_en-US" xlink:label="lab_us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, 60 to 89 Days Past Due [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivables60To89DaysPastDueMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:to="lab_us-gaap_FinancingReceivables60To89DaysPastDueMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_HedgingDesignationAxis_a8f1c5ee-ee08-45f7-8a02-42980c3341a0_terseLabel_en-US" xlink:label="lab_us-gaap_HedgingDesignationAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedging Designation [Axis]</link:label>
    <link:label id="lab_us-gaap_HedgingDesignationAxis_label_en-US" xlink:label="lab_us-gaap_HedgingDesignationAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedging Designation [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_HedgingDesignationAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_HedgingDesignationAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_HedgingDesignationAxis" xlink:to="lab_us-gaap_HedgingDesignationAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_StatementScenarioAxis_c3bd1eb9-954d-4a92-90c3-8e39de876b37_terseLabel_en-US" xlink:label="lab_srt_StatementScenarioAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Scenario [Axis]</link:label>
    <link:label id="lab_srt_StatementScenarioAxis_label_en-US" xlink:label="lab_srt_StatementScenarioAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Scenario [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementScenarioAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementScenarioAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_StatementScenarioAxis" xlink:to="lab_srt_StatementScenarioAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness_ee88b3e3-f344-424a-aa8c-de6db90a3eb3_terseLabel_en-US" xlink:label="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage insurance coverage risk in force as a percentage of book of business</link:label>
    <link:label id="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness_label_en-US" xlink:label="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Total Mortgage Insurance Coverage Risk in Force as Percentage of Unpaid Principal Balance in Guaranty Book of Business</link:label>
    <link:label id="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness_documentation_en-US" xlink:label="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents mortgage insurance coverage risk in force as a percentage of unpaid principal balance.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness" xlink:href="fnm-20251231.xsd#fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness" xlink:to="lab_fnm_TotalMortgageInsuranceCoverageRiskInForceAsPercentageOfUnpaidPrincipalBalanceInGuarantyBookOfBusiness" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_3315817e-c800-4877-a5f7-107f661b6bb7_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, net amount</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Including Not Subject to Master Netting Arrangement, after Offset and Deduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral" xlink:to="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_stpr_CA_0b961186-022c-4c56-84d7-8e997a674dff_terseLabel_en-US" xlink:label="lab_stpr_CA" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">California</link:label>
    <link:label id="lab_stpr_CA_label_en-US" xlink:label="lab_stpr_CA" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">CALIFORNIA</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_CA" xlink:href="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd#stpr_CA"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_stpr_CA" xlink:to="lab_stpr_CA" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeContractTypeDomain_d601d9d3-37ce-4cb7-ae78-3d3f70831fa0_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeContractTypeDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Contract [Domain]</link:label>
    <link:label id="lab_us-gaap_DerivativeContractTypeDomain_label_en-US" xlink:label="lab_us-gaap_DerivativeContractTypeDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Contract [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeContractTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeContractTypeDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeContractTypeDomain" xlink:to="lab_us-gaap_DerivativeContractTypeDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromIssuanceOfCommonStock_0ea91645-904a-4f54-b3e3-0d892e7eab72_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from issuance of common stock</link:label>
    <link:label id="lab_us-gaap_ProceedsFromIssuanceOfCommonStock_label_en-US" xlink:label="lab_us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Issuance of Common Stock</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:to="lab_us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_558611c8-b7bf-4377-9e54-12725c20a67a_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance Rollforward [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual_114321d1-89f5-4bab-8a7c-a0775918d2cc_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit) Ratio</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Adjusted Total Risk-Based Capital Ratio, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationAdjustedTotalRiskBasedCapitalRatioExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeriesRPreferredStockMember_4f5fa84e-8a84-4bd9-8e5e-57afec7a93a9_terseLabel_en-US" xlink:label="lab_fnm_SeriesRPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series R</link:label>
    <link:label id="lab_fnm_SeriesRPreferredStockMember_label_en-US" xlink:label="lab_fnm_SeriesRPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series R Preferred Stock [Member]</link:label>
    <link:label id="lab_fnm_SeriesRPreferredStockMember_documentation_en-US" xlink:label="lab_fnm_SeriesRPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Outstanding Series R Preferred Stock. This stock has no par value, is non-participating, is non-voting and has a liquidation preference equal to the stated value per share.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeriesRPreferredStockMember" xlink:href="fnm-20251231.xsd#fnm_SeriesRPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeriesRPreferredStockMember" xlink:to="lab_fnm_SeriesRPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_019c107c-1ef6-7ce8-95ff-b4accf7670b8_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Net transfers</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Transfers, Net</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersNet" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum_bf357fce-d292-4b0a-acee-d8ab5df773b8_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Ratio Requirement</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum_label_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital Ratio, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum" xlink:to="lab_fnm_BankingRegulationCoreLeverageCapitalRatioCapitalAdequacyMinimum" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AllIndividualsMember_terseLabel_en-US" xlink:label="lab_ecd_AllIndividualsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">All Individuals</link:label>
    <link:label id="lab_ecd_AllIndividualsMember_label_en-US" xlink:label="lab_ecd_AllIndividualsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">All Individuals [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllIndividualsMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AllIndividualsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AllIndividualsMember" xlink:to="lab_ecd_AllIndividualsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongtermDebtTypeDomain_abcc11eb-5668-4a0f-b053-90e46f6427fe_terseLabel_en-US" xlink:label="lab_us-gaap_LongtermDebtTypeDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-term Debt, Type [Domain]</link:label>
    <link:label id="lab_us-gaap_LongtermDebtTypeDomain_label_en-US" xlink:label="lab_us-gaap_LongtermDebtTypeDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Type [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongtermDebtTypeDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongtermDebtTypeDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongtermDebtTypeDomain" xlink:to="lab_us-gaap_LongtermDebtTypeDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueDisclosuresAbstract_1fef27d6-073f-48bb-8992-0b9a9ce5be43_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Disclosures [Abstract]</link:label>
    <link:label id="lab_us-gaap_FairValueDisclosuresAbstract_label_en-US" xlink:label="lab_us-gaap_FairValueDisclosuresAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Disclosures [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueDisclosuresAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueDisclosuresAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueDisclosuresAbstract" xlink:to="lab_us-gaap_FairValueDisclosuresAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ForgoneRecoveryIndName_terseLabel_en-US" xlink:label="lab_ecd_ForgoneRecoveryIndName" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Name</link:label>
    <link:label id="lab_ecd_ForgoneRecoveryIndName_label_en-US" xlink:label="lab_ecd_ForgoneRecoveryIndName" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forgone Recovery, Individual Name</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ForgoneRecoveryIndName" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ForgoneRecoveryIndName"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ForgoneRecoveryIndName" xlink:to="lab_ecd_ForgoneRecoveryIndName" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember_terseLabel_en-US" xlink:label="lab_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested</link:label>
    <link:label id="lab_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember_label_en-US" xlink:label="lab_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Year-over-Year Change in Fair Value of Equity Awards Granted in Prior Years That are Outstanding and Unvested [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember" xlink:to="lab_ecd_ChngInFrValOfOutsdngAndUnvstdEqtyAwrdsGrntdInPrrYrsMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy_9559f805-9b39-4170-bf73-39e3ce694f15_terseLabel_en-US" xlink:label="lab_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Acquired Property, Net</link:label>
    <link:label id="lab_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy_label_en-US" xlink:label="lab_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Real Estate Acquired Through Foreclosure [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy" xlink:to="lab_us-gaap_LoansAndLeasesReceivableRealEstateAcquiredThroughForeclosurePolicy" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_Top5NonDepositoryServicersMember_785543b1-a84b-48f6-a303-c67e5f207eaa_terseLabel_en-US" xlink:label="lab_fnm_Top5NonDepositoryServicersMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Top five non-depository servicers</link:label>
    <link:label id="lab_fnm_Top5NonDepositoryServicersMember_label_en-US" xlink:label="lab_fnm_Top5NonDepositoryServicersMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Top 5 Non-Depository Servicers [Member]</link:label>
    <link:label id="lab_fnm_Top5NonDepositoryServicersMember_documentation_en-US" xlink:label="lab_fnm_Top5NonDepositoryServicersMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a servicer who is a non-depository institution.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_Top5NonDepositoryServicersMember" xlink:href="fnm-20251231.xsd#fnm_Top5NonDepositoryServicersMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_Top5NonDepositoryServicersMember" xlink:to="lab_fnm_Top5NonDepositoryServicersMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory_f18409a4-2559-4c24-af1b-47d669abbbf6_terseLabel_en-US" xlink:label="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Seriously delinquent (percentage of conventional loans)</link:label>
    <link:label id="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory_label_en-US" xlink:label="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Number of Loans Seriously Delinquent, Percentage by Category</link:label>
    <link:label id="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory_documentation_en-US" xlink:label="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of single-family loans greater than or equal to 90 days past due or multifamily loans greater than or equal to 60 days past due, included in each category. Calculated based on the number of loans in the delinquency bucket indicated, divided by the total number of loans in the respective category.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory" xlink:href="fnm-20251231.xsd#fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory" xlink:to="lab_fnm_NumberOfLoansSeriouslyDelinquentPercentageByCategory" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance_cd9f2212-d8b2-4ea7-8ff0-9837fdb93148_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Nonaccrual Loans with No Allowance(2)</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Nonaccrual, No Allowance</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableNonaccrualNoAllowance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:to="lab_us-gaap_FinancingReceivableNonaccrualNoAllowance" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment_8146f0fb-5d2f-410f-a68a-baaacdf37bbd_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">LIHTC investments</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Tax Credit, Investment, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationTaxCreditsInvestment" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_019b0e66-bfa7-77c7-9f0a-b8546b14a8a3_terseLabel_en-US" xlink:label="lab_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Error Corrections and Prior Period Adjustments Restatement [Line Items]</link:label>
    <link:label id="lab_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems_label_en-US" xlink:label="lab_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Error Corrections and Prior Period Adjustments Restatement [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems" xlink:to="lab_us-gaap_ErrorCorrectionsAndPriorPeriodAdjustmentsRestatementLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_2ad68f65-f1d2-4797-b6a4-5828165c6477_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Prior</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Originated, More than Five Years before Current Fiscal Year</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear" xlink:to="lab_us-gaap_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYear" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock_22a63c63-acc3-468a-a5f2-b0b3535b22e8_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Notional and Fair Value Position</link:label>
    <link:label id="lab_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Derivative Instruments [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfDerivativeInstrumentsTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock" xlink:to="lab_us-gaap_ScheduleOfDerivativeInstrumentsTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteeTypeOtherMember_93764d94-51ba-49fa-8593-9626a051967c_terseLabel_en-US" xlink:label="lab_us-gaap_GuaranteeTypeOtherMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other guaranty arrangements</link:label>
    <link:label id="lab_us-gaap_GuaranteeTypeOtherMember_label_en-US" xlink:label="lab_us-gaap_GuaranteeTypeOtherMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantee Type, Other [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeTypeOtherMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeTypeOtherMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteeTypeOtherMember" xlink:to="lab_us-gaap_GuaranteeTypeOtherMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ErrCompAnalysisTextBlock_terseLabel_en-US" xlink:label="lab_ecd_ErrCompAnalysisTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Erroneous Compensation Analysis</link:label>
    <link:label id="lab_ecd_ErrCompAnalysisTextBlock_label_en-US" xlink:label="lab_ecd_ErrCompAnalysisTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Erroneous Compensation Analysis [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ErrCompAnalysisTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ErrCompAnalysisTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ErrCompAnalysisTextBlock" xlink:to="lab_ecd_ErrCompAnalysisTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension_15e44281-0aaf-4613-b34f-446d45fc4130_terseLabel_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Weighted-Average Term Extension (in Months)</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension_label_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Weighted-Average Term Extension</link:label>
    <link:label id="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension_documentation_en-US" xlink:label="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financing Receivable, Restructured Loans Not Considered TDRs, Weighted-Average Term Extension</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension" xlink:href="fnm-20251231.xsd#fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension" xlink:to="lab_fnm_FinancingReceivableRestructuredLoansNotConsideredTDRsWeightedAverageTermExtension" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract_e55f7626-d470-4f44-a15e-9206f15336ea_terseLabel_en-US" xlink:label="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans acquired held for investment:</link:label>
    <link:label id="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract_label_en-US" xlink:label="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds From (Payments For) Loans, Held-For-Investment [Abstract]</link:label>
    <link:label id="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract_documentation_en-US" xlink:label="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Proceeds From (Payments For) Loans, Held-For-Investment</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract" xlink:href="fnm-20251231.xsd#fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract" xlink:to="lab_fnm_ProceedsFromPaymentsForLoansHeldForInvestmentAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_StatementGeographicalAxis_52cb8a64-f1e5-48c5-8c2c-d713dd19533c_terseLabel_en-US" xlink:label="lab_srt_StatementGeographicalAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Geographical [Axis]</link:label>
    <link:label id="lab_srt_StatementGeographicalAxis_label_en-US" xlink:label="lab_srt_StatementGeographicalAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Geographical [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_StatementGeographicalAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_StatementGeographicalAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_StatementGeographicalAxis" xlink:to="lab_srt_StatementGeographicalAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember_67d7a153-77df-45b6-9a5d-66d41e28a797_terseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock Purchase Agreements Litigation</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember_label_en-US" xlink:label="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock Purchase Agreements Litigation [Member]</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember_documentation_en-US" xlink:label="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock Purchase Agreements Litigation</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember" xlink:href="fnm-20251231.xsd#fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember" xlink:to="lab_fnm_SeniorPreferredStockPurchaseAgreementsLitigationMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_0b170428-4e4e-4441-8752-f9d0f505e87f_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Effect of Fair Value Hedge Accounting</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Fair Value Hedging Instruments, Statements of Financial Performance and Financial Position, Location [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfFairValueHedgingInstrumentsStatementsOfFinancialPerformanceAndFinancialPositionLocationTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_TransactionTypeAxis_c5b02326-13a3-49a6-a331-7901b92747e7_terseLabel_en-US" xlink:label="lab_us-gaap_TransactionTypeAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Transaction Type [Axis]</link:label>
    <link:label id="lab_us-gaap_TransactionTypeAxis_label_en-US" xlink:label="lab_us-gaap_TransactionTypeAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Transaction Type [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_TransactionTypeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_TransactionTypeAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_TransactionTypeAxis" xlink:to="lab_us-gaap_TransactionTypeAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitiesAbstract_6ee125bc-13cc-45ae-bbe6-6e9926079839_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Liability Derivatives</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitiesAbstract_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitiesAbstract" xlink:to="lab_us-gaap_DerivativeLiabilitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract_label_en-US" xlink:label="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Conservatorship, Preferred Stock Agreements, And Related Parties [Abstract]</link:label>
    <link:label id="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract_documentation_en-US" xlink:label="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Conservatorship, Preferred Stock Agreements, And Related Parties</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract" xlink:href="fnm-20251231.xsd#fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract" xlink:to="lab_fnm_ConservatorshipPreferredStockAgreementsAndRelatedPartiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_Rule10b51ArrTrmntdFlag_terseLabel_en-US" xlink:label="lab_ecd_Rule10b51ArrTrmntdFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Rule 10b5-1 Arrangement Terminated</link:label>
    <link:label id="lab_ecd_Rule10b51ArrTrmntdFlag_label_en-US" xlink:label="lab_ecd_Rule10b51ArrTrmntdFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Rule 10b5-1 Arrangement Terminated [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_Rule10b51ArrTrmntdFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_Rule10b51ArrTrmntdFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_Rule10b51ArrTrmntdFlag" xlink:to="lab_ecd_Rule10b51ArrTrmntdFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_fb8d6fc3-ac46-4305-9a00-fc94c7c15812_terseLabel_en-US" xlink:label="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Hedged Asset Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_label_en-US" xlink:label="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Hedged Asset Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_documentation_en-US" xlink:label="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Hedged Asset Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:href="fnm-20251231.xsd#fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:to="lab_fnm_HedgedAssetStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FixedRateResidentialMortgageMember_5b4c0cb3-98ad-4c79-b5ae-ac5f15915f58_terseLabel_en-US" xlink:label="lab_us-gaap_FixedRateResidentialMortgageMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">20- and 30-year or more, amortizing fixed-rate</link:label>
    <link:label id="lab_us-gaap_FixedRateResidentialMortgageMember_label_en-US" xlink:label="lab_us-gaap_FixedRateResidentialMortgageMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fixed Rate Residential Mortgage [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FixedRateResidentialMortgageMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FixedRateResidentialMortgageMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FixedRateResidentialMortgageMember" xlink:to="lab_us-gaap_FixedRateResidentialMortgageMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember_d9edf80e-fc2d-4d97-b837-b9d4f1230edf_terseLabel_en-US" xlink:label="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forbearance and Repayment Plans and Trial Modification</link:label>
    <link:label id="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember_label_en-US" xlink:label="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forbearance and Repayment Plans and Trial Modification [Member]</link:label>
    <link:label id="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember_documentation_en-US" xlink:label="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Forbearance and Repayment Plans and Trial Modification</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember" xlink:href="fnm-20251231.xsd#fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember" xlink:to="lab_fnm_ForbearanceAndRepaymentPlansAndTrialModificationMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember_d94b349c-4ef5-45f0-9d28-a3be06ae0f50_terseLabel_en-US" xlink:label="lab_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current-year write-offs</link:label>
    <link:label id="lab_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember_label_en-US" xlink:label="lab_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Unlikely to be Collected Financing Receivable [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UnlikelyToBeCollectedFinancingReceivableMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember" xlink:to="lab_us-gaap_UnlikelyToBeCollectedFinancingReceivableMember" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ScenarioForecastMember_344d2efb-bf76-41f1-99ab-b107a5de240f_terseLabel_en-US" xlink:label="lab_srt_ScenarioForecastMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forecast</link:label>
    <link:label id="lab_srt_ScenarioForecastMember_label_en-US" xlink:label="lab_srt_ScenarioForecastMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forecast [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioForecastMember" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScenarioForecastMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScenarioForecastMember" xlink:to="lab_srt_ScenarioForecastMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ErrCompRecoveryTable_terseLabel_en-US" xlink:label="lab_ecd_ErrCompRecoveryTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Erroneously Awarded Compensation Recovery</link:label>
    <link:label id="lab_ecd_ErrCompRecoveryTable_label_en-US" xlink:label="lab_ecd_ErrCompRecoveryTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Erroneously Awarded Compensation Recovery [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ErrCompRecoveryTable" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ErrCompRecoveryTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ErrCompRecoveryTable" xlink:to="lab_ecd_ErrCompRecoveryTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ConcentrationRiskBenchmarkDomain_da82b673-86aa-4287-9358-56d7d3b4edf9_terseLabel_en-US" xlink:label="lab_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Domain]</link:label>
    <link:label id="lab_us-gaap_ConcentrationRiskBenchmarkDomain_label_en-US" xlink:label="lab_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Concentration Risk Benchmark [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ConcentrationRiskBenchmarkDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:to="lab_us-gaap_ConcentrationRiskBenchmarkDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_6d121f0b-4c7c-4360-867d-e8d9709cf72a_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">(Provision) benefit for credit losses</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Accrued Interest, Credit Loss Expense (Reversal)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal" xlink:to="lab_us-gaap_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversal" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LongTermDebtByMaturityAbstract_97bbd8e6-9f7a-40de-836b-1260bff8266f_terseLabel_en-US" xlink:label="lab_us-gaap_LongTermDebtByMaturityAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Long-Term Debt by Year of Maturity [Abstract]</link:label>
    <link:label id="lab_us-gaap_LongTermDebtByMaturityAbstract_label_en-US" xlink:label="lab_us-gaap_LongTermDebtByMaturityAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Long-Term Debt, Fiscal Year Maturity [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LongTermDebtByMaturityAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LongTermDebtByMaturityAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LongTermDebtByMaturityAbstract" xlink:to="lab_us-gaap_LongTermDebtByMaturityAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EarningsPerShareAbstract_11751a14-d17f-4a22-bd62-ae043635cd38_terseLabel_en-US" xlink:label="lab_us-gaap_EarningsPerShareAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Earnings per share:</link:label>
    <link:label id="lab_us-gaap_EarningsPerShareAbstract_label_en-US" xlink:label="lab_us-gaap_EarningsPerShareAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Earnings Per Share [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EarningsPerShareAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EarningsPerShareAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EarningsPerShareAbstract" xlink:to="lab_us-gaap_EarningsPerShareAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LitigationSettlementInterestRate_554335a1-4058-4b5b-baaa-862ff496e8d1_terseLabel_en-US" xlink:label="lab_fnm_LitigationSettlementInterestRate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Litigation interest rate</link:label>
    <link:label id="lab_fnm_LitigationSettlementInterestRate_label_en-US" xlink:label="lab_fnm_LitigationSettlementInterestRate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Litigation Settlement Interest Rate</link:label>
    <link:label id="lab_fnm_LitigationSettlementInterestRate_documentation_en-US" xlink:label="lab_fnm_LitigationSettlementInterestRate" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Litigation Settlement Interest Rate</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LitigationSettlementInterestRate" xlink:href="fnm-20251231.xsd#fnm_LitigationSettlementInterestRate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LitigationSettlementInterestRate" xlink:to="lab_fnm_LitigationSettlementInterestRate" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum_0d727140-fce5-489c-b9a9-875c2adf2e68_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Minimum Capital Requirement</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum_label_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital, Capital Adequacy, Minimum</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital, Capital Adequacy, Minimum</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum" xlink:to="lab_fnm_BankingRegulationCoreLeverageCapitalCapitalAdequacyMinimum" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_eb2f549c-5026-4d32-a4e6-c11251368f57_terseLabel_en-US" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Mortgage loans acquired by assuming debt</link:label>
    <link:label id="lab_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1_label_en-US" xlink:label="lab_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Noncash or Part Noncash Acquisition, Debt Assumed</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:to="lab_us-gaap_NoncashOrPartNoncashAcquisitionDebtAssumed1" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_GenworthMortgageInsuranceCorp.Member_30d7b5a0-0a30-4c23-b8c0-5d48bd62770a_terseLabel_en-US" xlink:label="lab_fnm_GenworthMortgageInsuranceCorp.Member" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Enact Mortgage Insurance Corp.</link:label>
    <link:label id="lab_fnm_GenworthMortgageInsuranceCorp.Member_label_en-US" xlink:label="lab_fnm_GenworthMortgageInsuranceCorp.Member" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Genworth Mortgage Insurance Corp. [Member]</link:label>
    <link:label id="lab_fnm_GenworthMortgageInsuranceCorp.Member_documentation_en-US" xlink:label="lab_fnm_GenworthMortgageInsuranceCorp.Member" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents one of our largest mortgage insurer counterparties, Genworth Mortgage Insurance Corp.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_GenworthMortgageInsuranceCorp.Member" xlink:href="fnm-20251231.xsd#fnm_GenworthMortgageInsuranceCorp.Member"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_GenworthMortgageInsuranceCorp.Member" xlink:to="lab_fnm_GenworthMortgageInsuranceCorp.Member" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_0df7a66a-d550-4a50-b5df-b06c21133047_totalLabel_en-US" xlink:label="lab_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Gains (losses) recognized in net interest income on fair value hedging relationships</link:label>
    <link:label id="lab_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_label_en-US" xlink:label="lab_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Gain (Loss) on Fair Value Hedges Recognized in Earnings</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings" xlink:to="lab_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MaximumRecovery_420cd9ef-df73-45c7-be92-bdf709f1fc6e_terseLabel_en-US" xlink:label="lab_fnm_MaximumRecovery" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum recovery</link:label>
    <link:label id="lab_fnm_MaximumRecovery_label_en-US" xlink:label="lab_fnm_MaximumRecovery" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Maximum Recovery</link:label>
    <link:label id="lab_fnm_MaximumRecovery_documentation_en-US" xlink:label="lab_fnm_MaximumRecovery" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the maximum amount we could recover through available credit enhancements and recourse with third parties on guarantees recognized in our on and off balance sheets. Recoverability of such credit enhancements and recourse is subject to, among other factors, our mortgage insurers' and financial guarantors' ability to meet their obligations to us.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MaximumRecovery" xlink:href="fnm-20251231.xsd#fnm_MaximumRecovery"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MaximumRecovery" xlink:to="lab_fnm_MaximumRecovery" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_94f4adce-8313-49f6-86c7-a32a8e9a7185_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Value assigned to Treasury's commitment and recorded as a reduction to additional paid-in-capital</link:label>
    <link:label id="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther_label_en-US" xlink:label="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustments to Additional Paid in Capital, Other</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalOther"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:to="lab_us-gaap_AdjustmentsToAdditionalPaidInCapitalOther" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock_b5196d24-1c23-4c2b-b38b-91390e149b49_terseLabel_en-US" xlink:label="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Percentage of Then-current liquidation preference of senior preferred stock</link:label>
    <link:label id="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock_label_en-US" xlink:label="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Dividends Due To Treasury, Annual Rate On Then-Current Liquidation Preference Of The Senior Preferred Stock</link:label>
    <link:label id="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock_documentation_en-US" xlink:label="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Dividends Due To Treasury, Annual Rate On Then-Current Liquidation Preference Of The Senior Preferred Stock</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock" xlink:href="fnm-20251231.xsd#fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock" xlink:to="lab_fnm_DividendsDueToTreasuryAnnualRateOnThenCurrentLiquidationPreferenceOfTheSeniorPreferredStock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockDividendsAndOtherAdjustments_b8e466f8-3687-45f0-ad0c-eddc63ac4dd4_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Dividends distributed or amounts attributable to senior preferred stock</link:label>
    <link:label id="lab_us-gaap_PreferredStockDividendsAndOtherAdjustments_label_en-US" xlink:label="lab_us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock Dividends and Other Adjustments</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockDividendsAndOtherAdjustments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:to="lab_us-gaap_PreferredStockDividendsAndOtherAdjustments" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_d9a52fcb-7ef5-479a-930e-48a83556ad2d_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Allowance for Loan Losses [Line Items]</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember_2a927685-17d6-4f33-b888-30ee298dd1fb_terseLabel_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Greater than 80% and less than or equal to 90%</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember_label_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Estimated Mark To Market Loan To Value Ratio Greater Than 80 Percent and Less Than or Equal to 90 Percent [Member]</link:label>
    <link:label id="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember_documentation_en-US" xlink:label="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the recorded investment in loans with an estimated mark-to-market loan-to-value ratio greater than 80% and less than or equal to 90%.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember" xlink:href="fnm-20251231.xsd#fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember" xlink:to="lab_fnm_EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock_ad6809fb-99a1-4ab1-a8c2-1ab7a07c652b_terseLabel_en-US" xlink:label="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Trading Securities Gains (Losses), Net</link:label>
    <link:label id="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock_label_en-US" xlink:label="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Trading Securities Gains (Losses), Net [Table Text Block]</link:label>
    <link:label id="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock_documentation_en-US" xlink:label="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents a tabular disclosure of net trading gains and losses that have been recognized in earnings (statement of operations and comprehensive income) and net trading gains and losses recorded in the period related to securities held at period end.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock" xlink:href="fnm-20251231.xsd#fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock" xlink:to="lab_fnm_ScheduleOfTradingSecuritiesGainsLossesNetTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AwardTmgDiscLineItems_label_en-US" xlink:label="lab_ecd_AwardTmgDiscLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Award Timing Disclosures [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AwardTmgDiscLineItems" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AwardTmgDiscLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AwardTmgDiscLineItems" xlink:to="lab_ecd_AwardTmgDiscLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementFrequencyDomain_b4fc0b3d-520f-42cb-bc8b-475280201035_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementFrequencyDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Measurement Frequency [Domain]</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementFrequencyDomain_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementFrequencyDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Measurement Frequency [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementFrequencyDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain" xlink:to="lab_us-gaap_FairValueMeasurementFrequencyDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationRiskBasedCapitalAbstract_6a5ea3e1-d9b3-44ce-bfcf-7b3205596b5d_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationRiskBasedCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Risk-based capital:</link:label>
    <link:label id="lab_fnm_BankingRegulationRiskBasedCapitalAbstract_label_en-US" xlink:label="lab_fnm_BankingRegulationRiskBasedCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Risk-based Capital [Abstract]</link:label>
    <link:label id="lab_fnm_BankingRegulationRiskBasedCapitalAbstract_documentation_en-US" xlink:label="lab_fnm_BankingRegulationRiskBasedCapitalAbstract" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Risk-based Capital</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationRiskBasedCapitalAbstract" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationRiskBasedCapitalAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationRiskBasedCapitalAbstract" xlink:to="lab_fnm_BankingRegulationRiskBasedCapitalAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorPreferredStockValue_ea4b48ba-332b-4803-9431-77a44cb5f9c6_terseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock (liquidation preference of $226,984 and $212,029, respectively)</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockValue_23f9a5ef-d91d-43a6-bad9-b5fdf109ec45_verboseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock value</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockValue_label_en-US" xlink:label="lab_fnm_SeniorPreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock Value</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockValue_documentation_en-US" xlink:label="lab_fnm_SeniorPreferredStockValue" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Aggregate stated value of senior preferred stock issued and outstanding</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorPreferredStockValue" xlink:href="fnm-20251231.xsd#fnm_SeniorPreferredStockValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorPreferredStockValue" xlink:to="lab_fnm_SeniorPreferredStockValue" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_3a2bf591-9516-4524-91bf-da2fefe1e629_terseLabel_en-US" xlink:label="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Equity</link:label>
    <link:label id="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock_label_en-US" xlink:label="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Equity [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StockholdersEquityNoteDisclosureTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:to="lab_us-gaap_StockholdersEquityNoteDisclosureTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_63a4e03e-8bfb-43a6-ad90-b6ec157e9d3e_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Four fiscal years, writeoff</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Five, Originated, Four Years before Current Fiscal Year, Writeoff</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff" xlink:to="lab_us-gaap_FinancingReceivableYearFiveOriginatedFourYearsBeforeCurrentFiscalYearWriteoff" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_LoanRestructuringModificationDomain_1b9796d8-451a-4cc5-8800-4731cd02ee29_terseLabel_en-US" xlink:label="lab_us-gaap_LoanRestructuringModificationDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Loan Restructuring Modification [Domain]</link:label>
    <link:label id="lab_us-gaap_LoanRestructuringModificationDomain_label_en-US" xlink:label="lab_us-gaap_LoanRestructuringModificationDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loan Restructuring Modification [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_LoanRestructuringModificationDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_LoanRestructuringModificationDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_LoanRestructuringModificationDomain" xlink:to="lab_us-gaap_LoanRestructuringModificationDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_70c675d5-4a28-4bf5-887f-04c180252d9d_totalLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total loans held for investment, net of allowance</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Excluding Accrued Interest, after Allowance for Credit Loss</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss" xlink:to="lab_us-gaap_FinancingReceivableExcludingAccruedInterestAfterAllowanceForCreditLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_3316e165-28b4-4db5-930a-57a50d0a55d8_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Two fiscal years before</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Year Three, Originated, Two Years before Current Fiscal Year</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear" xlink:to="lab_us-gaap_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYear" xlink:type="arc" order="1"/>
    <link:label id="lab_stpr_IL_372bee45-e81b-4453-9eb2-7d7bd6603372_terseLabel_en-US" xlink:label="lab_stpr_IL" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Illinois</link:label>
    <link:label id="lab_stpr_IL_label_en-US" xlink:label="lab_stpr_IL" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">ILLINOIS</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_IL" xlink:href="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd#stpr_IL"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_stpr_IL" xlink:to="lab_stpr_IL" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis_bb93ca91-63f5-4c02-bbcf-47dff69f0da9_terseLabel_en-US" xlink:label="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Qualitative and Quantitative Information, Transferor's Continuing Involvement, Transferred Financial Assets, by Transfer or Transferee [Axis]</link:label>
    <link:label id="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis_label_en-US" xlink:label="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Qualitative and Quantitative Information, Transferor's Continuing Involvement, Transferred Financial Assets, by Transfer or Transferee [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis" xlink:to="lab_us-gaap_QualitativeAndQuantitativeInformationTransferorsContinuingInvolvementTransferredFinancialAssetsByTransferOrTransfereeAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetIncomeLoss_31327f4c-7367-47c1-a958-bc3b964305d3_totalLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLoss" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:label id="lab_us-gaap_NetIncomeLoss_d791edc5-f6be-47f8-a3fe-574425682482_terseLabel_en-US" xlink:label="lab_us-gaap_NetIncomeLoss" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net income</link:label>
    <link:label id="lab_us-gaap_NetIncomeLoss_label_en-US" xlink:label="lab_us-gaap_NetIncomeLoss" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Income (Loss) Attributable to Parent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetIncomeLoss" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetIncomeLoss"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetIncomeLoss" xlink:to="lab_us-gaap_NetIncomeLoss" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CapitalToRiskWeightedAssets_3190dbeb-3eaa-423c-a3f0-8b5b61748563_terseLabel_en-US" xlink:label="lab_us-gaap_CapitalToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement Ratio (including Buffers)</link:label>
    <link:label id="lab_us-gaap_CapitalToRiskWeightedAssets_label_en-US" xlink:label="lab_us-gaap_CapitalToRiskWeightedAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital Ratio, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CapitalToRiskWeightedAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CapitalToRiskWeightedAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CapitalToRiskWeightedAssets" xlink:to="lab_us-gaap_CapitalToRiskWeightedAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GainLossOnSaleOfMortgageLoans_154a42db-004f-43b3-ab3e-5bccee67cba8_terseLabel_en-US" xlink:label="lab_us-gaap_GainLossOnSaleOfMortgageLoans" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Single-family loans sold, realized gain, net</link:label>
    <link:label id="lab_us-gaap_GainLossOnSaleOfMortgageLoans_label_en-US" xlink:label="lab_us-gaap_GainLossOnSaleOfMortgageLoans" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Gain (Loss) on Sale of Mortgage Loans</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GainLossOnSaleOfMortgageLoans" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GainLossOnSaleOfMortgageLoans"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GainLossOnSaleOfMortgageLoans" xlink:to="lab_us-gaap_GainLossOnSaleOfMortgageLoans" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_b38e08f0-e652-44b8-922a-e7b35f887de5_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Schedule of Effective Income Tax Rate Reconciliation</link:label>
    <link:label id="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock_label_en-US" xlink:label="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Schedule of Effective Income Tax Rate Reconciliation [Table Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:to="lab_us-gaap_ScheduleOfEffectiveIncomeTaxRateReconciliationTableTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_d55d2536-bce7-4dc2-92f5-c2a22ed72fcd_terseLabel_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Other</link:label>
    <link:label id="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments_label_en-US" xlink:label="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Other Adjustments, Percent</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:to="lab_us-gaap_EffectiveIncomeTaxRateReconciliationOtherAdjustments" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_LossContingencyRelatedReceivableMaximum_a4a1ce21-e2e1-405b-b98c-10fd0c2090a3_terseLabel_en-US" xlink:label="lab_fnm_LossContingencyRelatedReceivableMaximum" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Maximum potential loss recovery from lenders under risk sharing agreements</link:label>
    <link:label id="lab_fnm_LossContingencyRelatedReceivableMaximum_label_en-US" xlink:label="lab_fnm_LossContingencyRelatedReceivableMaximum" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loss Contingency, Related Receivable, Maximum</link:label>
    <link:label id="lab_fnm_LossContingencyRelatedReceivableMaximum_documentation_en-US" xlink:label="lab_fnm_LossContingencyRelatedReceivableMaximum" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represent maximum loss recovery from lenders under risk share agreements.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_LossContingencyRelatedReceivableMaximum" xlink:href="fnm-20251231.xsd#fnm_LossContingencyRelatedReceivableMaximum"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_LossContingencyRelatedReceivableMaximum" xlink:to="lab_fnm_LossContingencyRelatedReceivableMaximum" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SegmentReportingInformationLineItems_bc94c420-6553-45a2-b7f7-1b6700426531_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingInformationLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Reporting Information [Line Items]</link:label>
    <link:label id="lab_us-gaap_SegmentReportingInformationLineItems_label_en-US" xlink:label="lab_us-gaap_SegmentReportingInformationLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting Information [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingInformationLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems" xlink:to="lab_us-gaap_SegmentReportingInformationLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_PreferredStockSharesAuthorized_58a6f1de-cf59-43bd-8c7b-4a1d14755c6c_terseLabel_en-US" xlink:label="lab_us-gaap_PreferredStockSharesAuthorized" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Preferred stock, shares authorized (in shares)</link:label>
    <link:label id="lab_us-gaap_PreferredStockSharesAuthorized_label_en-US" xlink:label="lab_us-gaap_PreferredStockSharesAuthorized" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Preferred Stock, Shares Authorized</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_PreferredStockSharesAuthorized"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_PreferredStockSharesAuthorized" xlink:to="lab_us-gaap_PreferredStockSharesAuthorized" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrAdoptionDate_terseLabel_en-US" xlink:label="lab_ecd_TrdArrAdoptionDate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Adoption Date</link:label>
    <link:label id="lab_ecd_TrdArrAdoptionDate_label_en-US" xlink:label="lab_ecd_TrdArrAdoptionDate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement Adoption Date</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrAdoptionDate" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrAdoptionDate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrAdoptionDate" xlink:to="lab_ecd_TrdArrAdoptionDate" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_OtherStatesMember_a2948aff-9341-4a70-a9dd-1ebdcee1f364_terseLabel_en-US" xlink:label="lab_fnm_OtherStatesMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">All other states</link:label>
    <link:label id="lab_fnm_OtherStatesMember_label_en-US" xlink:label="lab_fnm_OtherStatesMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Other States [Member]</link:label>
    <link:label id="lab_fnm_OtherStatesMember_documentation_en-US" xlink:label="lab_fnm_OtherStatesMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents all other states not presented separately in the table.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_OtherStatesMember" xlink:href="fnm-20251231.xsd#fnm_OtherStatesMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_OtherStatesMember" xlink:to="lab_fnm_OtherStatesMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ReceiveFixedSwapMember_875cb4a9-4424-4e8d-b3db-c7029f67949e_terseLabel_en-US" xlink:label="lab_fnm_ReceiveFixedSwapMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Receive-fixed</link:label>
    <link:label id="lab_fnm_ReceiveFixedSwapMember_label_en-US" xlink:label="lab_fnm_ReceiveFixedSwapMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Receive-fixed Swap [Member]</link:label>
    <link:label id="lab_fnm_ReceiveFixedSwapMember_documentation_en-US" xlink:label="lab_fnm_ReceiveFixedSwapMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents an agreement under which we make a variable interest payment based upon a stated index, with the index resetting at regular intervals, and receive a predetermined fixed rate of interest based upon a set notional amount and over a specified period of time. These contracts generally increase in value as interest rates fall and decrease in value interest rates rise.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ReceiveFixedSwapMember" xlink:href="fnm-20251231.xsd#fnm_ReceiveFixedSwapMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ReceiveFixedSwapMember" xlink:to="lab_fnm_ReceiveFixedSwapMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_c9628d40-8e94-4797-8efd-e6b8b0952d06_terseLabel_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Financing Receivable, Past Due [Table]</link:label>
    <link:label id="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_label_en-US" xlink:label="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Past Due [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:to="lab_us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember_2c9210a4-0313-422f-834a-7ea1088b11d7_terseLabel_en-US" xlink:label="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current DSCR below 1.0</link:label>
    <link:label id="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember_label_en-US" xlink:label="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Current Debt Service Coverage Ratio Less than One Hundred Percent [Member]</link:label>
    <link:label id="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember_documentation_en-US" xlink:label="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents loans with a current debt service coverage ratio of less than 1.0.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember" xlink:href="fnm-20251231.xsd#fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember" xlink:to="lab_fnm_CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember" xlink:type="arc" order="1"/>
    <link:label id="lab_stpr_FL_4cae4ad8-84a7-4398-a551-504f434dd1e6_terseLabel_en-US" xlink:label="lab_stpr_FL" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Florida</link:label>
    <link:label id="lab_stpr_FL_label_en-US" xlink:label="lab_stpr_FL" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">FLORIDA</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_stpr_FL" xlink:href="https://xbrl.sec.gov/stpr/2025/stpr-2025.xsd#stpr_FL"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_stpr_FL" xlink:to="lab_stpr_FL" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual_e98ac071-ea3f-49db-bcc7-677ce2e516f6_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit)</link:label>
    <link:label id="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier One Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Tier One Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationTierOneRiskBasedCapitalExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RetainedEarningsAccumulatedDeficit_6565b0cc-4820-41d1-880d-5d30082b8a32_terseLabel_en-US" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accumulated deficit</link:label>
    <link:label id="lab_us-gaap_RetainedEarningsAccumulatedDeficit_label_en-US" xlink:label="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Retained Earnings (Accumulated Deficit)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RetainedEarningsAccumulatedDeficit"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:to="lab_us-gaap_RetainedEarningsAccumulatedDeficit" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet_f1c2810d-9baa-48a2-ab97-548de76ba63b_terseLabel_en-US" xlink:label="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cost basis and fair value adjustments, net</link:label>
    <link:label id="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet_label_en-US" xlink:label="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Mortgage Loans, Cost Basis and Fair Value Adjustments, Net</link:label>
    <link:label id="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet_documentation_en-US" xlink:label="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents premiums over or discounts from face amounts of loans that are being amortized into income as an adjustment to yield and fair value adjustments.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet" xlink:href="fnm-20251231.xsd#fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet" xlink:to="lab_fnm_MortgageLoansCostBasisAndFairValueAdjustmentsNet" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember_terseLabel_en-US" xlink:label="lab_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested</link:label>
    <link:label id="lab_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember_label_en-US" xlink:label="lab_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Year-end Fair Value of Equity Awards Granted in Covered Year that are Outstanding and Unvested [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember" xlink:to="lab_ecd_YrEndFrValOfEqtyAwrdsGrntdInCvrdYrOutsdngAndUnvstdMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementClassOfStockAxis_a3e5d3a8-ede8-414f-bb21-1cd6b927eb74_terseLabel_en-US" xlink:label="lab_us-gaap_StatementClassOfStockAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Class of Stock [Axis]</link:label>
    <link:label id="lab_us-gaap_StatementClassOfStockAxis_label_en-US" xlink:label="lab_us-gaap_StatementClassOfStockAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Class of Stock [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementClassOfStockAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementClassOfStockAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementClassOfStockAxis" xlink:to="lab_us-gaap_StatementClassOfStockAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_074c33d3-e706-458c-8153-b4649008c10b_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities, gross amount</link:label>
    <link:label id="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross_label_en-US" xlink:label="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Security Sold under Agreement to Repurchase, and Security Loaned, Subject to Master Netting Arrangement, before Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross" xlink:to="lab_us-gaap_DerivativeLiabilitySecuritiesSoldUnderAgreementsToResellSecuritiesLoanedGross" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember_terseLabel_en-US" xlink:label="lab_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table</link:label>
    <link:label id="lab_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember_label_en-US" xlink:label="lab_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Grant Date Fair Value of Equity Award Amounts Reported in Summary Compensation Table [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember" xlink:to="lab_ecd_EqtyAwrdsInSummryCompstnTblForAplblYrMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_StatementTable_421e31b4-2cdf-429f-a539-5bde565e266b_terseLabel_en-US" xlink:label="lab_us-gaap_StatementTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Statement [Table]</link:label>
    <link:label id="lab_us-gaap_StatementTable_label_en-US" xlink:label="lab_us-gaap_StatementTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Statement [Table]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_StatementTable" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_StatementTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_StatementTable" xlink:to="lab_us-gaap_StatementTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DeferredIncomeTaxExpenseBenefit_b93ed554-1354-4f13-a308-02a30e1b6252_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Deferred income tax provision (provision)</link:label>
    <link:label id="lab_us-gaap_DeferredIncomeTaxExpenseBenefit_label_en-US" xlink:label="lab_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Deferred Income Tax Expense (Benefit)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:to="lab_us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_d72b8815-9364-458a-8233-6481b92a5840_terseLabel_en-US" xlink:label="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Reconciliation of net income to net cash provided by (used in) operating activities:</link:label>
    <link:label id="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_label_en-US" xlink:label="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Adjustment to Reconcile Net Income to Cash Provided by (Used in) Operating Activity [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:to="lab_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_bb57ae70-f29e-4053-8de1-2da23c8399b9_terseLabel_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Cash flows provided by (used in) financing activities:</link:label>
    <link:label id="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_label_en-US" xlink:label="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Cash Provided by (Used in) Financing Activity, Including Discontinued Operation [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:to="lab_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SharesIssued_43cca72d-4e7d-4da0-bc63-16fba43f6e71_terseLabel_en-US" xlink:label="lab_us-gaap_SharesIssued" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock issued (in shares)</link:label>
    <link:label id="lab_us-gaap_SharesIssued_label_en-US" xlink:label="lab_us-gaap_SharesIssued" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Shares, Issued</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SharesIssued" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SharesIssued"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SharesIssued" xlink:to="lab_us-gaap_SharesIssued" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalActual_808f0f80-ebc5-405e-b351-38c53b0d1c97_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement (including buffers)</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalActual_label_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationCoreLeverageCapitalActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationCoreLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Core Leverage Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationCoreLeverageCapitalActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationCoreLeverageCapitalActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationCoreLeverageCapitalActual" xlink:to="lab_fnm_BankingRegulationCoreLeverageCapitalActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_VariableRateDomain_dd952708-054f-4544-b072-572ff826ff36_terseLabel_en-US" xlink:label="lab_us-gaap_VariableRateDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Variable Rate [Domain]</link:label>
    <link:label id="lab_us-gaap_VariableRateDomain_label_en-US" xlink:label="lab_us-gaap_VariableRateDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Rate [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableRateDomain" xlink:to="lab_us-gaap_VariableRateDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare_215f9ba5-2968-46fd-8347-8d9436d21796_terseLabel_en-US" xlink:label="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Senior preferred stock, stated value per share (in dollars per share)</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare_label_en-US" xlink:label="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock, Liquidation Preference Per Share</link:label>
    <link:label id="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare_documentation_en-US" xlink:label="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Senior Preferred Stock, Liquidation Preference Per Share</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_SeniorPreferredStockLiquidationPreferencePerShare" xlink:href="fnm-20251231.xsd#fnm_SeniorPreferredStockLiquidationPreferencePerShare"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_SeniorPreferredStockLiquidationPreferencePerShare" xlink:to="lab_fnm_SeniorPreferredStockLiquidationPreferencePerShare" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_IncreaseDecreaseInTradingSecurities_890ad2e2-a92f-45a0-940a-1c1535f41e01_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInTradingSecurities" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Net change in trading securities</link:label>
    <link:label id="lab_us-gaap_IncreaseDecreaseInTradingSecurities_label_en-US" xlink:label="lab_us-gaap_IncreaseDecreaseInTradingSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Increase (Decrease) in Debt Securities, Trading, and Equity Securities, FV-NI</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_IncreaseDecreaseInTradingSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_IncreaseDecreaseInTradingSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_IncreaseDecreaseInTradingSecurities" xlink:to="lab_us-gaap_IncreaseDecreaseInTradingSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag_539649df-2ccc-43aa-86eb-706e8ee0ab30_terseLabel_en-US" xlink:label="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Gain Loss Statement Of Income Or Comprehensive Income Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag_label_en-US" xlink:label="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Gain Loss Statement Of Income Or Comprehensive Income Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag_documentation_en-US" xlink:label="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Derivative Gain Loss Statement Of Income Or Comprehensive Income Extensible Enumeration Not Disclosed Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag" xlink:href="fnm-20251231.xsd#fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag" xlink:to="lab_fnm_DerivativeGainLossStatementOfIncomeOrComprehensiveIncomeExtensibleEnumerationNotDisclosedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_AllAdjToCompMember_terseLabel_en-US" xlink:label="lab_ecd_AllAdjToCompMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">All Adjustments to Compensation</link:label>
    <link:label id="lab_ecd_AllAdjToCompMember_label_en-US" xlink:label="lab_ecd_AllAdjToCompMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">All Adjustments to Compensation [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_AllAdjToCompMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_AllAdjToCompMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_AllAdjToCompMember" xlink:to="lab_ecd_AllAdjToCompMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_01f9db39-5e29-4acc-91e3-b156bd3970a1_negatedTotalLabel_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2009/role/negatedTotalLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, net amount presented in our consolidated balance sheets</link:label>
    <link:label id="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Subject to Master Netting Arrangement, before Offset of Collateral</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral" xlink:to="lab_us-gaap_DerivativeFairValueOfDerivativeLiabilityAmountNotOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_AmendmentFlag_50583a6b-8330-42ad-b778-9eea7e293e20_terseLabel_en-US" xlink:label="lab_dei_AmendmentFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amendment Flag</link:label>
    <link:label id="lab_dei_AmendmentFlag_label_en-US" xlink:label="lab_dei_AmendmentFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Amendment Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_AmendmentFlag" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_AmendmentFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_AmendmentFlag" xlink:to="lab_dei_AmendmentFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_48b1b5aa-1908-46c2-ac82-31659483e63e_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Sales</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Liability, Sales</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral_349ecce2-4280-4452-ace3-9af9a8633709_totalLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total assets, net amount</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Security Purchased under Agreement to Resell, and Security Borrowed, Including Not Subject to Master Netting Arrangement, after Offset and Deduction</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral" xlink:to="lab_us-gaap_DerivativeAssetSecuritiesPurchasedUnderAgreementsToResellSecuritiesBorrowedAmountOffsetAgainstCollateral" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_TrdArrTerminationDate_terseLabel_en-US" xlink:label="lab_ecd_TrdArrTerminationDate" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Termination Date</link:label>
    <link:label id="lab_ecd_TrdArrTerminationDate_label_en-US" xlink:label="lab_ecd_TrdArrTerminationDate" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Trading Arrangement Termination Date</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_TrdArrTerminationDate" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_TrdArrTerminationDate"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_TrdArrTerminationDate" xlink:to="lab_ecd_TrdArrTerminationDate" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableReclassificationToHeldForSale_218b64d1-ac2e-4327-979f-c2884254e2eb_terseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableReclassificationToHeldForSale" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Amortized cost</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableReclassificationToHeldForSale_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableReclassificationToHeldForSale" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Reclassification to Held-for-Sale</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableReclassificationToHeldForSale" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableReclassificationToHeldForSale"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableReclassificationToHeldForSale" xlink:to="lab_us-gaap_FinancingReceivableReclassificationToHeldForSale" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity_fe87b913-cfe7-48a2-8a9d-b8d05f5ea686_terseLabel_en-US" xlink:label="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Freddie Mac collateral included in Fannie Mae commingled security</link:label>
    <link:label id="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity_label_en-US" xlink:label="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Freddie Mac Collateral Included In Fannie Mae Commingled Security</link:label>
    <link:label id="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity_documentation_en-US" xlink:label="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Portion of Freddie Mac securities backing commingled Fannie Mae-issued structured securities.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity" xlink:href="fnm-20251231.xsd#fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity" xlink:to="lab_fnm_FreddieMacCollateralIncludedInFannieMaeCommingledSecurity" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_InsiderTrdPoliciesProcAdoptedFlag_terseLabel_en-US" xlink:label="lab_ecd_InsiderTrdPoliciesProcAdoptedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Insider Trading Policies and Procedures Adopted</link:label>
    <link:label id="lab_ecd_InsiderTrdPoliciesProcAdoptedFlag_label_en-US" xlink:label="lab_ecd_InsiderTrdPoliciesProcAdoptedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Insider Trading Policies and Procedures Adopted [Flag]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_InsiderTrdPoliciesProcAdoptedFlag" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_InsiderTrdPoliciesProcAdoptedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_InsiderTrdPoliciesProcAdoptedFlag" xlink:to="lab_ecd_InsiderTrdPoliciesProcAdoptedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_ServiceProvidersDomain_280d7189-dd91-41f0-9a5d-79445bb73398_terseLabel_en-US" xlink:label="lab_fnm_ServiceProvidersDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Service Providers [Domain]</link:label>
    <link:label id="lab_fnm_ServiceProvidersDomain_label_en-US" xlink:label="lab_fnm_ServiceProvidersDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Service Providers [Domain]</link:label>
    <link:label id="lab_fnm_ServiceProvidersDomain_documentation_en-US" xlink:label="lab_fnm_ServiceProvidersDomain" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents service providers.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_ServiceProvidersDomain" xlink:href="fnm-20251231.xsd#fnm_ServiceProvidersDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_ServiceProvidersDomain" xlink:to="lab_fnm_ServiceProvidersDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization_fcf88817-3edf-4382-886f-b952bcd14e03_terseLabel_en-US" xlink:label="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Discontinued hedge-related basis adjustment amortization</link:label>
    <link:label id="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization_label_en-US" xlink:label="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Discontinued hedge related basis adjustment amortization</link:label>
    <link:label id="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization_documentation_en-US" xlink:label="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Discontinued hedge related basis adjustment amortization</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization" xlink:href="fnm-20251231.xsd#fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization" xlink:to="lab_fnm_DiscontinuedHedgeRelatedBasisAdjustmentAmortization" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_a95ccc9f-0d41-4651-88db-4d0c3b474479_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Allowance for loan losses</link:label>
    <link:label id="lab_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest_label_en-US" xlink:label="lab_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financing Receivable, Allowance for Credit Loss, Excluding Accrued Interest</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest" xlink:to="lab_us-gaap_FinancingReceivableAllowanceForCreditLossExcludingAccruedInterest" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_PayFixedSwaptionMember_0613addf-983c-4735-a2ba-eaed0aeee00c_terseLabel_en-US" xlink:label="lab_fnm_PayFixedSwaptionMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pay-fixed swaption</link:label>
    <link:label id="lab_fnm_PayFixedSwaptionMember_label_en-US" xlink:label="lab_fnm_PayFixedSwaptionMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pay-fixed Swaption [Member]</link:label>
    <link:label id="lab_fnm_PayFixedSwaptionMember_documentation_en-US" xlink:label="lab_fnm_PayFixedSwaptionMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents an option on interest rate pay-fixed swaps in the form of contracts granting an option to one party and creating a corresponding commitment from the counterparty to enter into specified interest rate pay-fixed swaps in the future. Swaptions are traded in the over-the-counter market and not through an exchange.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_PayFixedSwaptionMember" xlink:href="fnm-20251231.xsd#fnm_PayFixedSwaptionMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_PayFixedSwaptionMember" xlink:to="lab_fnm_PayFixedSwaptionMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FinancialAssetsFairValueDisclosure_019c0303-863f-71d9-9b51-09e16ab4a9ec_totalLabel_en-US" xlink:label="lab_fnm_FinancialAssetsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total financial assets</link:label>
    <link:label id="lab_fnm_FinancialAssetsFairValueDisclosure_label_en-US" xlink:label="lab_fnm_FinancialAssetsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Assets Fair Value Disclosure</link:label>
    <link:label id="lab_fnm_FinancialAssetsFairValueDisclosure_documentation_en-US" xlink:label="lab_fnm_FinancialAssetsFairValueDisclosure" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Financial Assets Fair Value Disclosure</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FinancialAssetsFairValueDisclosure" xlink:href="fnm-20251231.xsd#fnm_FinancialAssetsFairValueDisclosure"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FinancialAssetsFairValueDisclosure" xlink:to="lab_fnm_FinancialAssetsFairValueDisclosure" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_AssetsNet_d5a0b402-00cc-4925-89c3-4d0cef70710e_terseLabel_en-US" xlink:label="lab_us-gaap_AssetsNet" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Net carrying amount</link:label>
    <link:label id="lab_us-gaap_AssetsNet_label_en-US" xlink:label="lab_us-gaap_AssetsNet" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_AssetsNet" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_AssetsNet"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_AssetsNet" xlink:to="lab_us-gaap_AssetsNet" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement_4de41e27-31df-4144-8a53-df2e4d044d49_terseLabel_en-US" xlink:label="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate funding received from US Treasury pursuant to the senior preferred stock purchase agreement</link:label>
    <link:label id="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement_label_en-US" xlink:label="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Funding Received From US Treasury Pursuant To the Senior Preferred Stock Purchase Agreement</link:label>
    <link:label id="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement_documentation_en-US" xlink:label="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the aggregated funding received to date from U.S. Treasury under the terms of the senior preferred stock purchase agreement.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement" xlink:href="fnm-20251231.xsd#fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement" xlink:to="lab_fnm_AggregateFundingReceivedFromUsTreasuryPursuantToSeniorPreferredStockPurchaseAgreement" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_46aa1a90-db2a-43cc-8a49-422f4c76f009_verboseLabel_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:role="http://www.xbrl.org/2003/role/verboseLabel" xlink:type="resource" xml:lang="en-US">Basic (in shares)</link:label>
    <link:label id="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_label_en-US" xlink:label="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Weighted Average Number of Shares Outstanding, Basic</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:to="lab_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_0ef4a030-ce70-4701-ae9f-4f2cfb437320_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative assets, gross</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Gross Asset Including Not Subject to Master Netting Arrangement</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement" xlink:to="lab_us-gaap_DerivativeAssetFairValueGrossAssetIncludingNotSubjectToMasterNettingArrangement" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_RelatedPartyTransactionDomain_ae8c6770-f314-4397-9000-a3a40b9a9e00_terseLabel_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Domain]</link:label>
    <link:label id="lab_us-gaap_RelatedPartyTransactionDomain_label_en-US" xlink:label="lab_us-gaap_RelatedPartyTransactionDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Related Party Transaction [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_RelatedPartyTransactionDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain" xlink:to="lab_us-gaap_RelatedPartyTransactionDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SegmentReportingAbstract_385986f5-6a18-4ad9-9190-5441765c03a1_terseLabel_en-US" xlink:label="lab_us-gaap_SegmentReportingAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Segment Reporting [Abstract]</link:label>
    <link:label id="lab_us-gaap_SegmentReportingAbstract_label_en-US" xlink:label="lab_us-gaap_SegmentReportingAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Segment Reporting [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SegmentReportingAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SegmentReportingAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SegmentReportingAbstract" xlink:to="lab_us-gaap_SegmentReportingAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DebtDisclosureAbstract_23233b96-e45a-430a-96a5-6bc8f1e98e4f_terseLabel_en-US" xlink:label="lab_us-gaap_DebtDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Debt Disclosure [Abstract]</link:label>
    <link:label id="lab_us-gaap_DebtDisclosureAbstract_label_en-US" xlink:label="lab_us-gaap_DebtDisclosureAbstract" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Debt Disclosure [Abstract]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DebtDisclosureAbstract" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DebtDisclosureAbstract"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DebtDisclosureAbstract" xlink:to="lab_us-gaap_DebtDisclosureAbstract" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_NetWorthIncreaseDecrease_e4d3964f-b8a3-47e8-a9bd-f9f681a8df25_terseLabel_en-US" xlink:label="lab_fnm_NetWorthIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Increase in net worth</link:label>
    <link:label id="lab_fnm_NetWorthIncreaseDecrease_label_en-US" xlink:label="lab_fnm_NetWorthIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Net Worth, Increase (Decrease)</link:label>
    <link:label id="lab_fnm_NetWorthIncreaseDecrease_documentation_en-US" xlink:label="lab_fnm_NetWorthIncreaseDecrease" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Net Worth, Increase (Decrease)</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_NetWorthIncreaseDecrease" xlink:href="fnm-20251231.xsd#fnm_NetWorthIncreaseDecrease"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_NetWorthIncreaseDecrease" xlink:to="lab_fnm_NetWorthIncreaseDecrease" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance_0fdcf907-0c83-49a9-b063-956d63f2c551_terseLabel_en-US" xlink:label="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">30 days delinquent (percentage of book of business)</link:label>
    <link:label id="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance_label_en-US" xlink:label="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Loans 30 to 59 Days Past Due, Percentage of Unpaid Principal Balance</link:label>
    <link:label id="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance_documentation_en-US" xlink:label="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the percentage of unpaid principal balance comprised of loans 30 to 59 days past due. Calculated based on the aggregate unpaid principal balance for the category indicated, divided by the respective book of business.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:href="fnm-20251231.xsd#fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:to="lab_fnm_Loans30To59DaysPastDuePercentageOfUnpaidPrincipalBalance" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ScenarioUnspecifiedDomain_019be95b-4061-78ad-acaf-14d499943a04_terseLabel_en-US" xlink:label="lab_srt_ScenarioUnspecifiedDomain" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Scenario [Domain]</link:label>
    <link:label id="lab_srt_ScenarioUnspecifiedDomain_label_en-US" xlink:label="lab_srt_ScenarioUnspecifiedDomain" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Scenario [Domain]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ScenarioUnspecifiedDomain" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ScenarioUnspecifiedDomain"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ScenarioUnspecifiedDomain" xlink:to="lab_srt_ScenarioUnspecifiedDomain" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AcceptedOfferAndAppraisalMember_41b24c25-8c91-4f58-a843-ccee979adf81_terseLabel_en-US" xlink:label="lab_fnm_AcceptedOfferAndAppraisalMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Accepted Offer and Appraisal</link:label>
    <link:label id="lab_fnm_AcceptedOfferAndAppraisalMember_label_en-US" xlink:label="lab_fnm_AcceptedOfferAndAppraisalMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Accepted Offer and Appraisal [Member]</link:label>
    <link:label id="lab_fnm_AcceptedOfferAndAppraisalMember_documentation_en-US" xlink:label="lab_fnm_AcceptedOfferAndAppraisalMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Accepted Offer and Appraisal</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AcceptedOfferAndAppraisalMember" xlink:href="fnm-20251231.xsd#fnm_AcceptedOfferAndAppraisalMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AcceptedOfferAndAppraisalMember" xlink:to="lab_fnm_AcceptedOfferAndAppraisalMember" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount_019be6bf-43a5-7805-9c45-c57a583b312b_terseLabel_en-US" xlink:label="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proportional amortization, net of other tax benefits, on LIHTC investments</link:label>
    <link:label id="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount_label_en-US" xlink:label="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Proportional Amortization on Investments, Net of Other Tax Benefits, Amount</link:label>
    <link:label id="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount_documentation_en-US" xlink:label="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Effective Income Tax Rate Reconciliation, Proportional Amortization on Investments, Net of Other Tax Benefits, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount" xlink:href="fnm-20251231.xsd#fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount" xlink:to="lab_fnm_EffectiveIncomeTaxRateReconciliationProportionalAmortizationOnInvestmentsNetOfOtherTaxBenefitsAmount" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_ProceedsFromSaleOfForeclosedAssets_ae308306-db0b-4bd4-b572-179ecd919f02_terseLabel_en-US" xlink:label="lab_us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Proceeds from disposition of acquired property, preforeclosure sales and insurance proceeds</link:label>
    <link:label id="lab_us-gaap_ProceedsFromSaleOfForeclosedAssets_label_en-US" xlink:label="lab_us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Proceeds from Sale of Foreclosed Assets</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:to="lab_us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual_f63abe97-57f2-4e85-ad2d-fcff55b69912_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit)</link:label>
    <link:label id="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual_label_en-US" xlink:label="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Risk-Based Capital, Excess (Deficit), Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual" xlink:to="lab_fnm_BankingRegulationTotalRiskBasedCapitalExcessDeficitActual" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt_terseLabel_en-US" xlink:label="lab_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Forgone Recovery due to Expense of Enforcement, Amount</link:label>
    <link:label id="lab_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt_label_en-US" xlink:label="lab_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Forgone Recovery due to Expense of Enforcement, Amount</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt" xlink:to="lab_ecd_ForgoneRecoveryDueToExpenseOfEnforcementAmt" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ConsolidatedEntitiesAxis_6addc2c0-7ad6-4ee9-b091-4ea00cbd353a_terseLabel_en-US" xlink:label="lab_srt_ConsolidatedEntitiesAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidated Entities [Axis]</link:label>
    <link:label id="lab_srt_ConsolidatedEntitiesAxis_label_en-US" xlink:label="lab_srt_ConsolidatedEntitiesAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidated Entities [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidatedEntitiesAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidatedEntitiesAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidatedEntitiesAxis" xlink:to="lab_srt_ConsolidatedEntitiesAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_FairValueInputsQuantitativeInformationTable_cbf6d889-2c24-44c5-9663-ee8b5e1eb2ab_terseLabel_en-US" xlink:label="lab_fnm_FairValueInputsQuantitativeInformationTable" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair Value Inputs Quantitative Information [Table]</link:label>
    <link:label id="lab_fnm_FairValueInputsQuantitativeInformationTable_label_en-US" xlink:label="lab_fnm_FairValueInputsQuantitativeInformationTable" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value Inputs Quantitative Information [Table]</link:label>
    <link:label id="lab_fnm_FairValueInputsQuantitativeInformationTable_documentation_en-US" xlink:label="lab_fnm_FairValueInputsQuantitativeInformationTable" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Schedule of the inputs used in the fair value measurement of assets and liabilities. This disclosure may include, but is not limited to, the fair value of the asset and liability, valuation technique used to measure fair value, the inputs used to measure fair value, the ranges of the inputs, and the weighted averages of the inputs.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_FairValueInputsQuantitativeInformationTable" xlink:href="fnm-20251231.xsd#fnm_FairValueInputsQuantitativeInformationTable"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_FairValueInputsQuantitativeInformationTable" xlink:to="lab_fnm_FairValueInputsQuantitativeInformationTable" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_UseOfEstimates_7c79311f-f91e-4314-bea9-8c446a0e69bd_terseLabel_en-US" xlink:label="lab_us-gaap_UseOfEstimates" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Use of Estimates</link:label>
    <link:label id="lab_us-gaap_UseOfEstimates_label_en-US" xlink:label="lab_us-gaap_UseOfEstimates" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Use of Estimates, Policy [Policy Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_UseOfEstimates" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_UseOfEstimates"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_UseOfEstimates" xlink:to="lab_us-gaap_UseOfEstimates" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_dbdfbc33-c814-4e19-b5da-e96127695043_negatedLabel_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Settlements</link:label>
    <link:label id="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_label_en-US" xlink:label="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value, Measurement with Unobservable Inputs Reconciliation, Recurring Basis, Asset, Settlements</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:to="lab_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_GuaranteeObligationsByNatureAxis_f10d6331-d7f4-45f0-8644-6cafbd72824a_terseLabel_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsByNatureAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Guarantor Obligations, Nature [Axis]</link:label>
    <link:label id="lab_us-gaap_GuaranteeObligationsByNatureAxis_label_en-US" xlink:label="lab_us-gaap_GuaranteeObligationsByNatureAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Guarantor Obligations, Nature [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_GuaranteeObligationsByNatureAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis" xlink:to="lab_us-gaap_GuaranteeObligationsByNatureAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_Capital_68ead284-5d24-4da5-b008-bef0379abe97_terseLabel_en-US" xlink:label="lab_us-gaap_Capital" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Total Capital Requirement (including buffers)</link:label>
    <link:label id="lab_us-gaap_Capital_label_en-US" xlink:label="lab_us-gaap_Capital" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Total Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Capital" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Capital"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Capital" xlink:to="lab_us-gaap_Capital" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeAssetFairValueGrossLiability_ad9e906a-88a6-47b8-a540-3bf1fc9e4ac5_negatedTerseLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetFairValueGrossLiability" xlink:role="http://www.xbrl.org/2009/role/negatedTerseLabel" xlink:type="resource" xml:lang="en-US">Netting Adjustment</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetFairValueGrossLiability_7e172ae0-2986-4da7-9c4e-ee106809ba92_negatedLabel_en-US" xlink:label="lab_us-gaap_DerivativeAssetFairValueGrossLiability" xlink:role="http://www.xbrl.org/2009/role/negatedLabel" xlink:type="resource" xml:lang="en-US">Derivative asset, gross amount offset</link:label>
    <link:label id="lab_us-gaap_DerivativeAssetFairValueGrossLiability_label_en-US" xlink:label="lab_us-gaap_DerivativeAssetFairValueGrossLiability" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Asset, Subject to Master Netting Arrangement, Liability Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeAssetFairValueGrossLiability" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeAssetFairValueGrossLiability"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeAssetFairValueGrossLiability" xlink:to="lab_us-gaap_DerivativeAssetFairValueGrossLiability" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_InsiderTradingArrLineItems_label_en-US" xlink:label="lab_ecd_InsiderTradingArrLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Insider Trading Arrangements [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_InsiderTradingArrLineItems" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_InsiderTradingArrLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_InsiderTradingArrLineItems" xlink:to="lab_ecd_InsiderTradingArrLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FinancialAssetNotPastDueMember_a759ae22-39cc-4a62-b7d0-68c798b66b6f_terseLabel_en-US" xlink:label="lab_us-gaap_FinancialAssetNotPastDueMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Current</link:label>
    <link:label id="lab_us-gaap_FinancialAssetNotPastDueMember_label_en-US" xlink:label="lab_us-gaap_FinancialAssetNotPastDueMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Financial Asset, Not Past Due [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FinancialAssetNotPastDueMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FinancialAssetNotPastDueMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FinancialAssetNotPastDueMember" xlink:to="lab_us-gaap_FinancialAssetNotPastDueMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_Liabilities_ebcc7978-f99c-45c2-bb5f-d24b42cf032a_totalLabel_en-US" xlink:label="lab_us-gaap_Liabilities" xlink:role="http://www.xbrl.org/2003/role/totalLabel" xlink:type="resource" xml:lang="en-US">Total liabilities</link:label>
    <link:label id="lab_us-gaap_Liabilities_label_en-US" xlink:label="lab_us-gaap_Liabilities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Liabilities</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_Liabilities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_Liabilities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_Liabilities" xlink:to="lab_us-gaap_Liabilities" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock_771c5066-a216-43dd-a480-b5d8dfb70740_terseLabel_en-US" xlink:label="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Aggregate liquidation preference of senior preferred stock</link:label>
    <link:label id="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock_label_en-US" xlink:label="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Aggregate Liquidation Preference of Senior Preferred Stock</link:label>
    <link:label id="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock_documentation_en-US" xlink:label="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represents the aggregated liquidation preference of senior preferred stock issued and outstanding held by U.S. Treasury.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock" xlink:href="fnm-20251231.xsd#fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock" xlink:to="lab_fnm_AggregateLiquidationPreferenceOfSeniorPreferredStock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_SeriesGPreferredStockMember_10df9acf-ebf3-4a94-980e-468ccaf06eca_terseLabel_en-US" xlink:label="lab_us-gaap_SeriesGPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Series G</link:label>
    <link:label id="lab_us-gaap_SeriesGPreferredStockMember_label_en-US" xlink:label="lab_us-gaap_SeriesGPreferredStockMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Series G Preferred Stock [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_SeriesGPreferredStockMember" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_SeriesGPreferredStockMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_SeriesGPreferredStockMember" xlink:to="lab_us-gaap_SeriesGPreferredStockMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_PnsnAdjsPrrSvcCstMember_terseLabel_en-US" xlink:label="lab_ecd_PnsnAdjsPrrSvcCstMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Pension Adjustments Prior Service Cost</link:label>
    <link:label id="lab_ecd_PnsnAdjsPrrSvcCstMember_label_en-US" xlink:label="lab_ecd_PnsnAdjsPrrSvcCstMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Pension Adjustments Prior Service Cost [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_PnsnAdjsPrrSvcCstMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_PnsnAdjsPrrSvcCstMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_PnsnAdjsPrrSvcCstMember" xlink:to="lab_ecd_PnsnAdjsPrrSvcCstMember" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_MtrlTermsOfTrdArrTextBlock_terseLabel_en-US" xlink:label="lab_ecd_MtrlTermsOfTrdArrTextBlock" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Material Terms of Trading Arrangement</link:label>
    <link:label id="lab_ecd_MtrlTermsOfTrdArrTextBlock_label_en-US" xlink:label="lab_ecd_MtrlTermsOfTrdArrTextBlock" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Material Terms of Trading Arrangement [Text Block]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_MtrlTermsOfTrdArrTextBlock" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_MtrlTermsOfTrdArrTextBlock"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_MtrlTermsOfTrdArrTextBlock" xlink:to="lab_ecd_MtrlTermsOfTrdArrTextBlock" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_OffsettingAssetsLineItems_a373defe-60eb-4e3a-8647-4a66d3863225_terseLabel_en-US" xlink:label="lab_us-gaap_OffsettingAssetsLineItems" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Offsetting Assets [Line Items]</link:label>
    <link:label id="lab_us-gaap_OffsettingAssetsLineItems_label_en-US" xlink:label="lab_us-gaap_OffsettingAssetsLineItems" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Offsetting Assets [Line Items]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_OffsettingAssetsLineItems" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_OffsettingAssetsLineItems"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_OffsettingAssetsLineItems" xlink:to="lab_us-gaap_OffsettingAssetsLineItems" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual_b0c2c632-53ce-4d55-bc16-9c9e751ff7d6_terseLabel_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Available Capital (Deficit)</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual_label_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Core Leverage Capital, Actual</link:label>
    <link:label id="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual_documentation_en-US" xlink:label="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Banking Regulation, Excess (Deficit) Core Leverage Capital, Actual</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual" xlink:href="fnm-20251231.xsd#fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual" xlink:to="lab_fnm_BankingRegulationExcessDeficitCoreLeverageCapitalActual" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_DerivativeCollateralRightToReclaimSecurities_3f8078e6-6a98-40b7-9ea9-eb7a4e39ebf6_terseLabel_en-US" xlink:label="lab_us-gaap_DerivativeCollateralRightToReclaimSecurities" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative liabilities, under master netting arrangements, amounts not offset in our consolidated balance sheets, collateral</link:label>
    <link:label id="lab_us-gaap_DerivativeCollateralRightToReclaimSecurities_label_en-US" xlink:label="lab_us-gaap_DerivativeCollateralRightToReclaimSecurities" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability, Subject to Master Netting Arrangement, Collateral, Right to Reclaim Security Not Offset</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_DerivativeCollateralRightToReclaimSecurities"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_DerivativeCollateralRightToReclaimSecurities" xlink:to="lab_us-gaap_DerivativeCollateralRightToReclaimSecurities" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_UsTreasuryMember_61c22d1a-26c0-4ed1-9e54-9aa65e320c03_terseLabel_en-US" xlink:label="lab_fnm_UsTreasuryMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Treasury</link:label>
    <link:label id="lab_fnm_UsTreasuryMember_label_en-US" xlink:label="lab_fnm_UsTreasuryMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">US Treasury [Member]</link:label>
    <link:label id="lab_fnm_UsTreasuryMember_documentation_en-US" xlink:label="lab_fnm_UsTreasuryMember" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Represent the company's related transactions with the U.S. Treasury.</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_UsTreasuryMember" xlink:href="fnm-20251231.xsd#fnm_UsTreasuryMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_UsTreasuryMember" xlink:to="lab_fnm_UsTreasuryMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_VariableRateAxis_13e3d9c1-e3eb-4caa-a91b-145216b38e43_terseLabel_en-US" xlink:label="lab_us-gaap_VariableRateAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Variable Rate [Axis]</link:label>
    <link:label id="lab_us-gaap_VariableRateAxis_label_en-US" xlink:label="lab_us-gaap_VariableRateAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Variable Rate [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_VariableRateAxis" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_VariableRateAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_VariableRateAxis" xlink:to="lab_us-gaap_VariableRateAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_ConsolidationItemsAxis_fa1b9876-dfa4-4fb1-ac64-b71164c9fe9f_terseLabel_en-US" xlink:label="lab_srt_ConsolidationItemsAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Consolidation Items [Axis]</link:label>
    <link:label id="lab_srt_ConsolidationItemsAxis_label_en-US" xlink:label="lab_srt_ConsolidationItemsAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Consolidation Items [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_ConsolidationItemsAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_ConsolidationItemsAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_ConsolidationItemsAxis" xlink:to="lab_srt_ConsolidationItemsAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_d15e4d6f-abf5-4511-83e7-93e7798f90e2_terseLabel_en-US" xlink:label="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Derivative Liability Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_label_en-US" xlink:label="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Derivative Liability Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:label id="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag_documentation_en-US" xlink:label="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:role="http://www.xbrl.org/2003/role/documentation" xlink:type="resource" xml:lang="en-US">Derivative Liability Statement Of Financial Position Extensible Enumeration Not Disclosed Flag</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:href="fnm-20251231.xsd#fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:to="lab_fnm_DerivativeLiabilityStatementOfFinancialPositionExtensibleEnumerationNotDisclosedFlag" xlink:type="arc" order="1"/>
    <link:label id="lab_srt_CounterpartyNameAxis_57db22b1-f563-4b84-82cb-f8ef47430ec4_terseLabel_en-US" xlink:label="lab_srt_CounterpartyNameAxis" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Counterparty Name [Axis]</link:label>
    <link:label id="lab_srt_CounterpartyNameAxis_label_en-US" xlink:label="lab_srt_CounterpartyNameAxis" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Counterparty Name [Axis]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_srt_CounterpartyNameAxis" xlink:href="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd#srt_CounterpartyNameAxis"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_srt_CounterpartyNameAxis" xlink:to="lab_srt_CounterpartyNameAxis" xlink:type="arc" order="1"/>
    <link:label id="lab_dei_EntityIncorporationStateCountryCode_1668d3fb-3048-4167-a367-3d1a0d7bb930_terseLabel_en-US" xlink:label="lab_dei_EntityIncorporationStateCountryCode" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Entity Incorporation, State or Country Code</link:label>
    <link:label id="lab_dei_EntityIncorporationStateCountryCode_label_en-US" xlink:label="lab_dei_EntityIncorporationStateCountryCode" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Entity Incorporation, State or Country Code</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_dei_EntityIncorporationStateCountryCode" xlink:href="https://xbrl.sec.gov/dei/2025/dei-2025.xsd#dei_EntityIncorporationStateCountryCode"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_dei_EntityIncorporationStateCountryCode" xlink:to="lab_dei_EntityIncorporationStateCountryCode" xlink:type="arc" order="1"/>
    <link:label id="lab_ecd_NonNeosMember_terseLabel_en-US" xlink:label="lab_ecd_NonNeosMember" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Non-NEOs</link:label>
    <link:label id="lab_ecd_NonNeosMember_label_en-US" xlink:label="lab_ecd_NonNeosMember" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Non-NEOs [Member]</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_ecd_NonNeosMember" xlink:href="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd#ecd_NonNeosMember"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_ecd_NonNeosMember" xlink:to="lab_ecd_NonNeosMember" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged_5fab4a34-08fa-47db-a41d-1dbd3800cc91_terseLabel_en-US" xlink:label="lab_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Fair value of securities received as collateral that can be resold or repledged</link:label>
    <link:label id="lab_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged_label_en-US" xlink:label="lab_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Fair Value of Securities Received as Collateral that Can be Resold or Repledged</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged" xlink:to="lab_us-gaap_FairValueOfSecuritiesReceivedAsCollateralThatCanBeResoldOrRepledged" xlink:type="arc" order="1"/>
    <link:label id="lab_us-gaap_CollateralAlreadyPostedAggregateFairValue_37b5ad7f-60c5-4e51-bccf-8961dbe42a7f_terseLabel_en-US" xlink:label="lab_us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:role="http://www.xbrl.org/2003/role/terseLabel" xlink:type="resource" xml:lang="en-US">Posted collateral</link:label>
    <link:label id="lab_us-gaap_CollateralAlreadyPostedAggregateFairValue_label_en-US" xlink:label="lab_us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">Collateral Already Posted, Aggregate Fair Value</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:href="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd#us-gaap_CollateralAlreadyPostedAggregateFairValue"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:to="lab_us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:type="arc" order="1"/>
    <link:label id="lab_country_US_label_en-US" xlink:label="lab_country_US" xlink:role="http://www.xbrl.org/2003/role/label" xlink:type="resource" xml:lang="en-US">UNITED STATES</link:label>
    <link:loc xlink:type="locator" xlink:label="loc_country_US" xlink:href="https://xbrl.sec.gov/country/2025/country-2025.xsd#country_US"/>
    <link:labelArc xlink:arcrole="http://www.xbrl.org/2003/arcrole/concept-label" xlink:from="loc_country_US" xlink:to="lab_country_US" xlink:type="arc" order="1"/>
  </link:labelLink>
</link:linkbase>
