FEDERAL NATIONAL MORTGAGE ASSOCIATION FANNIE MAE00003105222023FYX1False00003105222023-01-012023-12-310000310522us-gaap:CommonStockMember2023-01-012023-12-310000310522fnm:SeriesTPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesSPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesRPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesQPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesPPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesOPreferredStockMember2023-01-012023-12-310000310522fnm:ConvertibleSeries20041PreferredStockMember2023-01-012023-12-310000310522fnm:SeriesNPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesMPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesLPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesIPreferredStockMember2023-01-012023-12-310000310522us-gaap:SeriesHPreferredStockMember2023-01-012023-12-310000310522us-gaap:SeriesGPreferredStockMember2023-01-012023-12-310000310522us-gaap:SeriesFPreferredStockMember2023-01-012023-12-310000310522us-gaap:SeriesEPreferredStockMember2023-01-012023-12-310000310522us-gaap:SeriesDPreferredStockMember2023-01-012023-12-3100003105222023-06-30iso4217:USD00003105222024-02-01xbrli:shares00003105222023-10-012023-12-3100003105222023-12-3100003105222022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000310522srt:ParentCompanyMember2023-12-310000310522srt:ParentCompanyMember2022-12-3100003105222022-01-012022-12-3100003105222021-01-012021-12-31iso4217:USDxbrli:shares0000310522srt:ParentCompanyMember2023-01-012023-12-310000310522srt:ParentCompanyMember2022-01-012022-12-310000310522srt:ParentCompanyMember2021-01-012021-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-01-012023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-01-012022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMember2021-01-012021-12-3100003105222021-12-3100003105222020-12-310000310522fnm:SeniorPreferredStockMember2020-12-310000310522us-gaap:PreferredStockMember2020-12-310000310522us-gaap:CommonStockMember2020-12-310000310522us-gaap:RetainedEarningsMember2020-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2020-12-310000310522us-gaap:TreasuryStockCommonMember2020-12-310000310522us-gaap:RetainedEarningsMember2021-01-012021-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-01-012021-12-310000310522fnm:SeniorPreferredStockMember2021-12-310000310522us-gaap:PreferredStockMember2021-12-310000310522us-gaap:CommonStockMember2021-12-310000310522us-gaap:RetainedEarningsMember2021-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2021-12-310000310522us-gaap:TreasuryStockCommonMember2021-12-310000310522us-gaap:RetainedEarningsMember2022-01-012022-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-01-012022-12-310000310522fnm:SeniorPreferredStockMember2022-12-310000310522us-gaap:PreferredStockMember2022-12-310000310522us-gaap:CommonStockMember2022-12-310000310522us-gaap:RetainedEarningsMember2022-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2022-12-310000310522us-gaap:TreasuryStockCommonMember2022-12-310000310522us-gaap:RetainedEarningsMember2023-01-012023-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-01-012023-12-310000310522fnm:SeniorPreferredStockMember2023-12-310000310522us-gaap:PreferredStockMember2023-12-310000310522us-gaap:CommonStockMember2023-12-310000310522us-gaap:RetainedEarningsMember2023-12-310000310522us-gaap:AccumulatedOtherComprehensiveIncomeMember2023-12-310000310522us-gaap:TreasuryStockCommonMember2023-12-31fnm:segment0000310522fnm:Series20082SeniorPreferredStockMember2008-09-012008-09-300000310522fnm:UsTreasuryMember2008-09-30xbrli:pure0000310522fnm:UsTreasuryMember2008-09-012008-09-300000310522us-gaap:USTreasuryAndGovernmentMember2023-12-310000310522fnm:UsTreasuryMember2023-12-310000310522fnm:Series20082SeniorPreferredStockMember2023-12-310000310522fnm:UsTreasuryMember2008-09-070000310522fnm:UsTreasuryMember2023-01-012023-12-310000310522fnm:UsTreasuryMember2022-01-012022-12-310000310522fnm:UsTreasuryMember2021-01-012021-12-310000310522fnm:UsTreasuryMemberfnm:SingleFamilySegmentMember2023-12-310000310522fnm:UsTreasuryMemberfnm:SingleFamilySegmentMember2022-12-310000310522fnm:UsTreasuryMemberus-gaap:OtherExpenseMember2023-01-012023-12-310000310522fnm:UsTreasuryMemberus-gaap:OtherExpenseMember2022-01-012022-12-310000310522fnm:UsTreasuryMemberus-gaap:OtherExpenseMember2021-01-012021-12-310000310522fnm:UsTreasuryMemberus-gaap:OtherExpenseMembersrt:ScenarioForecastMember2024-01-012024-12-310000310522fnm:FederalHousingFinanceAgencyMember2023-01-012023-12-310000310522fnm:FederalHousingFinanceAgencyMember2022-01-012022-12-310000310522fnm:FederalHousingFinanceAgencyMember2021-01-012021-12-310000310522fnm:CommonSecuritizationSolutionsMember2023-01-012023-12-310000310522fnm:CommonSecuritizationSolutionsMember2022-01-012022-12-310000310522fnm:CommonSecuritizationSolutionsMember2021-01-012021-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000310522srt:PartnershipInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-12-310000310522srt:PartnershipInterestMemberus-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DebtSecuritiesMember2023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:DebtSecuritiesMember2022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMembersrt:MultifamilyMember2023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberfnm:SingleClassMBSREMICMegasMember2023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberfnm:SingleClassMBSREMICMegasMember2022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2023-01-012023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2022-01-012022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMember2021-01-012021-12-310000310522srt:SingleFamilyMember2023-12-310000310522srt:SingleFamilyMember2022-12-310000310522srt:MultifamilyMember2023-12-310000310522srt:MultifamilyMember2022-12-310000310522fnm:MortgageLoansMember2023-12-310000310522fnm:MortgageLoansMember2022-12-310000310522srt:SingleFamilyMember2023-01-012023-12-310000310522srt:SingleFamilyMember2022-01-012022-12-310000310522srt:SingleFamilyMember2021-01-012021-12-310000310522srt:MultifamilyMember2023-01-012023-12-310000310522srt:MultifamilyMember2022-01-012022-12-310000310522srt:MultifamilyMember2021-01-012021-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancialAssetPastDueMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancialAssetPastDueMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberfnm:OtherMortgageLoanMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMember2023-12-310000310522srt:MultifamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-12-310000310522srt:MultifamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000310522us-gaap:FinancialAssetPastDueMembersrt:MultifamilyMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:MultifamilyMember2023-12-310000310522us-gaap:FinancingReceivables30To59DaysPastDueMember2023-12-310000310522us-gaap:FinancingReceivables60To89DaysPastDueMember2023-12-310000310522us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-12-310000310522us-gaap:FinancialAssetPastDueMember2023-12-310000310522us-gaap:FinancialAssetNotPastDueMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancialAssetPastDueMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancialAssetPastDueMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberfnm:OtherMortgageLoanMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMember2022-12-310000310522srt:MultifamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-12-310000310522srt:MultifamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000310522us-gaap:FinancialAssetPastDueMembersrt:MultifamilyMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMembersrt:MultifamilyMember2022-12-310000310522us-gaap:FinancingReceivables30To59DaysPastDueMember2022-12-310000310522us-gaap:FinancingReceivables60To89DaysPastDueMember2022-12-310000310522us-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-12-310000310522us-gaap:FinancialAssetPastDueMember2022-12-310000310522us-gaap:FinancialAssetNotPastDueMember2022-12-310000310522srt:MinimumMembersrt:SingleFamilyMember2023-01-012023-12-310000310522srt:MinimumMembersrt:SingleFamilyMember2022-01-012022-12-310000310522srt:MinimumMembersrt:MultifamilyMember2023-01-012023-12-310000310522srt:MinimumMembersrt:MultifamilyMember2022-01-012022-12-310000310522srt:MaximumMembersrt:MultifamilyMember2023-01-012023-12-310000310522srt:MaximumMembersrt:MultifamilyMember2022-01-012022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMemberus-gaap:FixedRateResidentialMortgageMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-12-310000310522fnm:FixedRateResidentialMortgage15YearMemberMembersrt:SingleFamilyMember2023-01-012023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMemberfnm:OtherMortgageLoanMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMember2023-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMember2023-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMemberus-gaap:FixedRateResidentialMortgageMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-12-310000310522fnm:FixedRateResidentialMortgage15YearMemberMembersrt:SingleFamilyMember2022-01-012022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMemberfnm:OtherMortgageLoanMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioLessThanOrEqualTo80PercentMembersrt:SingleFamilyMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan80PercentAndLessThanOrEqualTo90PercentMembersrt:SingleFamilyMember2022-12-310000310522srt:SingleFamilyMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan90PercentAndLessThanOrEqualTo100PercentMember2022-12-310000310522fnm:EstimatedMarkToMarketLoanToValueRatioGreaterThan100PercentLoansRecordedInvestmentMembersrt:SingleFamilyMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:UsGovernmentAgencyInsuredLoansMember2023-12-310000310522srt:SingleFamilyMemberus-gaap:UsGovernmentAgencyInsuredLoansMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:UsGovernmentAgencyInsuredLoansMember2023-01-012023-12-310000310522srt:MultifamilyMemberus-gaap:PassMember2023-12-310000310522srt:MultifamilyMemberus-gaap:SpecialMentionMember2023-12-310000310522srt:MultifamilyMemberus-gaap:SubstandardMember2023-12-310000310522srt:MultifamilyMemberus-gaap:DoubtfulMember2023-12-310000310522srt:MultifamilyMember2023-12-310000310522srt:MultifamilyMemberus-gaap:UnlikelyToBeCollectedFinancingReceivableMember2023-12-310000310522srt:MultifamilyMemberus-gaap:PassMember2022-12-310000310522srt:MultifamilyMemberus-gaap:SpecialMentionMember2022-12-310000310522srt:MultifamilyMemberus-gaap:SubstandardMember2022-12-310000310522srt:MultifamilyMemberus-gaap:DoubtfulMember2022-12-310000310522srt:MultifamilyMember2022-12-310000310522srt:MultifamilyMemberfnm:SeniorHousingMemberus-gaap:SubstandardMember2023-12-310000310522srt:MultifamilyMemberfnm:SeniorHousingMemberus-gaap:SubstandardMember2022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberfnm:ForbearancePlanMember2023-01-012023-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMemberus-gaap:FixedRateResidentialMortgageMember2023-01-012023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberfnm:TrialModificationAndRepaymentPlansMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberfnm:ForbearancePlanMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:PaymentDeferralMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberfnm:TrialModificationAndRepaymentPlansMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:ForbearancePlanMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:TrialModificationAndRepaymentPlansMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:ForbearancePlanMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberfnm:TrialModificationAndRepaymentPlansMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:ForbearancePlanMember2023-01-012023-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:TrialModificationAndRepaymentPlansMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMember2023-01-012023-12-310000310522fnm:ForbearancePlanMembersrt:MultifamilyMember2023-01-012023-12-310000310522us-gaap:PaymentDeferralMembersrt:MultifamilyMember2023-01-012023-12-310000310522srt:MultifamilyMemberfnm:TrialModificationAndRepaymentPlansMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:MultifamilyMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:MultifamilyMember2023-01-012023-12-310000310522fnm:ForbearancePlanMember2023-01-012023-12-310000310522us-gaap:PaymentDeferralMember2023-01-012023-12-310000310522fnm:TrialModificationAndRepaymentPlansMember2023-01-012023-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMember2023-01-012023-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember2023-01-012023-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberfnm:ForbearancePlanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMemberus-gaap:FixedRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberfnm:TrialModificationAndRepaymentPlansMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberfnm:ForbearancePlanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:PaymentDeferralMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberfnm:TrialModificationAndRepaymentPlansMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:ForbearancePlanMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:TrialModificationAndRepaymentPlansMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:ForbearancePlanMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMemberfnm:TrialModificationAndRepaymentPlansMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:ForbearancePlanMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:PaymentDeferralMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:TrialModificationAndRepaymentPlansMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:SingleFamilyMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:SingleFamilyMember2022-01-012022-12-310000310522fnm:ForbearancePlanMembersrt:MultifamilyMember2022-01-012022-12-310000310522us-gaap:PaymentDeferralMembersrt:MultifamilyMember2022-01-012022-12-310000310522srt:MultifamilyMemberfnm:TrialModificationAndRepaymentPlansMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMembersrt:MultifamilyMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMembersrt:MultifamilyMember2022-01-012022-12-310000310522fnm:ForbearancePlanMember2022-01-012022-12-310000310522us-gaap:PaymentDeferralMember2022-01-012022-12-310000310522fnm:TrialModificationAndRepaymentPlansMember2022-01-012022-12-310000310522fnm:PaymentDeferralAndExtendedMaturityMember2022-01-012022-12-310000310522fnm:PaymentDeferralExtendedMaturityAndContractualInterestRateReductionMember2022-01-012022-12-31utr:M0000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancialAssetPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancialAssetPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:MultifamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:MultifamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetPastDueMembersrt:MultifamilyMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:MultifamilyMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:MultifamilyMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMember2023-01-012023-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMemberus-gaap:FinancialAssetPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMemberus-gaap:FinancialAssetPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberfnm:OtherMortgageLoanMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMemberus-gaap:FinancialAssetPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:SingleFamilyMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:SingleFamilyMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:MultifamilyMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:MultifamilyMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetPastDueMembersrt:MultifamilyMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMembersrt:MultifamilyMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMembersrt:MultifamilyMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancingReceivables30To59DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancingReceivables60To89DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancingReceivablesEqualToGreaterThan90DaysPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMemberus-gaap:FinancialAssetNotPastDueMember2022-01-012022-12-310000310522fnm:ForbearanceAndRepaymentPlansAndTrialModificationMember2022-01-012022-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2021-01-012021-12-31fnm:contract0000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2021-01-012021-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2021-01-012021-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2021-01-012021-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2021-12-310000310522srt:SingleFamilyMemberus-gaap:FixedRateResidentialMortgageMember2020-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2021-12-310000310522srt:SingleFamilyMemberfnm:FixedRateResidentialMortgage15YearMember2020-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2021-12-310000310522srt:SingleFamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2020-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2021-12-310000310522srt:SingleFamilyMemberfnm:OtherMortgageLoanMember2020-12-310000310522srt:SingleFamilyMember2021-12-310000310522srt:SingleFamilyMember2020-12-310000310522srt:MultifamilyMember2021-12-310000310522srt:MultifamilyMember2020-12-310000310522srt:RestatementAdjustmentMember2022-01-012022-12-310000310522srt:ScenarioPreviouslyReportedMember2022-01-012022-12-310000310522srt:SingleFamilyMember2022-12-310000310522srt:SingleFamilyMember2021-12-310000310522srt:SingleFamilyMember2020-12-310000310522srt:SingleFamilyMember2023-01-012023-12-310000310522srt:SingleFamilyMember2022-01-012022-12-310000310522srt:SingleFamilyMember2021-01-012021-12-310000310522srt:SingleFamilyMember2023-12-310000310522srt:MultifamilyMember2022-12-310000310522srt:MultifamilyMember2021-12-310000310522srt:MultifamilyMember2020-12-310000310522srt:MultifamilyMember2023-01-012023-12-310000310522srt:MultifamilyMember2022-01-012022-12-310000310522srt:MultifamilyMember2021-01-012021-12-310000310522srt:MultifamilyMember2023-12-310000310522fnm:SeniorsHousingPortfolioSegmentMembersrt:MultifamilyMember2022-12-310000310522fnm:SeniorsHousingPortfolioSegmentMembersrt:MultifamilyMemberus-gaap:AdjustableRateResidentialMortgageMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMember2022-12-310000310522fnm:NonmortgagerelatedsecuritiesMemberus-gaap:AssetPledgedAsCollateralMember2023-12-310000310522fnm:NonmortgagerelatedsecuritiesMemberus-gaap:AssetPledgedAsCollateralMember2022-12-310000310522fnm:NonmortgagerelatedsecuritiesMember2023-12-310000310522fnm:NonmortgagerelatedsecuritiesMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMember2022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember2022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberfnm:NonconsolidatedFannieMaesecuritiesMember2023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberfnm:NonconsolidatedFannieMaesecuritiesMember2022-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:GuaranteeTypeOtherMember2023-12-310000310522us-gaap:VariableInterestEntityNotPrimaryBeneficiaryMemberus-gaap:GuaranteeTypeOtherMember2022-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedBenchmarkNotesAndBondsMember2023-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedBenchmarkNotesAndBondsMember2022-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedMediumTermNotesMember2023-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedMediumTermNotesMember2022-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedOtherDebtMember2023-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedOtherDebtMember2022-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedDebtMember2023-12-310000310522srt:ParentCompanyMemberfnm:SeniorFixedDebtMember2022-12-310000310522srt:ParentCompanyMemberfnm:SeniorFloatingConnecticutAvenueSecurityMember2023-12-310000310522srt:ParentCompanyMemberfnm:SeniorFloatingConnecticutAvenueSecurityMember2022-12-310000310522fnm:SeniorFloatingOtherDebtMembersrt:ParentCompanyMember2023-12-310000310522fnm:SeniorFloatingOtherDebtMembersrt:ParentCompanyMember2022-12-310000310522fnm:SeniorFloatingDebtMembersrt:ParentCompanyMember2023-12-310000310522fnm:SeniorFloatingDebtMembersrt:ParentCompanyMember2022-12-310000310522srt:ParentCompanyMemberfnm:ZeroCouponDebtMember2023-12-310000310522srt:ParentCompanyMemberfnm:ZeroCouponDebtMember2022-12-310000310522fnm:CallableMembersrt:ParentCompanyMember2023-12-310000310522fnm:CallableMembersrt:ParentCompanyMember2022-12-310000310522srt:ParentCompanyMemberfnm:EarlierOfContractualMaturityOrNextCallDateMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberfnm:EarlierOfContractualMaturityOrNextCallDateMember2023-12-310000310522fnm:EarlierOfContractualMaturityOrNextCallDateMember2023-12-310000310522fnm:PayFixedSwapMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000310522fnm:PayFixedSwapMemberus-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000310522fnm:ReceiveFixedSwapMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000310522fnm:ReceiveFixedSwapMemberus-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000310522fnm:TotalRiskManagementDerivativesPortfolioMemberus-gaap:DesignatedAsHedgingInstrumentMember2023-12-310000310522fnm:TotalRiskManagementDerivativesPortfolioMemberus-gaap:DesignatedAsHedgingInstrumentMember2022-12-310000310522fnm:PayFixedSwapMemberus-gaap:NondesignatedMember2023-12-310000310522fnm:PayFixedSwapMemberus-gaap:NondesignatedMember2022-12-310000310522us-gaap:NondesignatedMemberfnm:ReceiveFixedSwapMember2023-12-310000310522us-gaap:NondesignatedMemberfnm:ReceiveFixedSwapMember2022-12-310000310522us-gaap:BasisSwapMemberus-gaap:NondesignatedMember2023-12-310000310522us-gaap:BasisSwapMemberus-gaap:NondesignatedMember2022-12-310000310522us-gaap:CurrencySwapMemberus-gaap:NondesignatedMember2023-12-310000310522us-gaap:CurrencySwapMemberus-gaap:NondesignatedMember2022-12-310000310522fnm:PayFixedSwaptionMemberus-gaap:NondesignatedMember2023-12-310000310522fnm:PayFixedSwaptionMemberus-gaap:NondesignatedMember2022-12-310000310522fnm:ReceiveFixedSwaptionMemberus-gaap:NondesignatedMember2023-12-310000310522fnm:ReceiveFixedSwaptionMemberus-gaap:NondesignatedMember2022-12-310000310522us-gaap:NondesignatedMemberus-gaap:FutureMember2023-12-310000310522us-gaap:NondesignatedMemberus-gaap:FutureMember2022-12-310000310522us-gaap:NondesignatedMemberfnm:TotalRiskManagementDerivativesPortfolioMember2023-12-310000310522us-gaap:NondesignatedMemberfnm:TotalRiskManagementDerivativesPortfolioMember2022-12-310000310522fnm:TotalRiskManagementDerivativesPortfolioMember2023-12-310000310522fnm:TotalRiskManagementDerivativesPortfolioMember2022-12-310000310522fnm:MortgageCommitmentsToPurchaseWholeLoansMember2023-12-310000310522fnm:MortgageCommitmentsToPurchaseWholeLoansMember2022-12-310000310522fnm:ForwardContractsToPurchaseMortgageRelatedSecuritiesMember2023-12-310000310522fnm:ForwardContractsToPurchaseMortgageRelatedSecuritiesMember2022-12-310000310522fnm:ForwardContractsToSellMortgageRelatedSecuritiesMember2023-12-310000310522fnm:ForwardContractsToSellMortgageRelatedSecuritiesMember2022-12-310000310522fnm:MortgageCommitmentDerivativesMember2023-12-310000310522fnm:MortgageCommitmentDerivativesMember2022-12-310000310522us-gaap:OtherContractMember2023-12-310000310522us-gaap:OtherContractMember2022-12-310000310522fnm:PayFixedSwapMember2023-01-012023-12-310000310522fnm:PayFixedSwapMember2022-01-012022-12-310000310522fnm:PayFixedSwapMember2021-01-012021-12-310000310522fnm:ReceiveFixedSwapMember2023-01-012023-12-310000310522fnm:ReceiveFixedSwapMember2022-01-012022-12-310000310522fnm:ReceiveFixedSwapMember2021-01-012021-12-310000310522us-gaap:BasisSwapMember2023-01-012023-12-310000310522us-gaap:BasisSwapMember2022-01-012022-12-310000310522us-gaap:BasisSwapMember2021-01-012021-12-310000310522us-gaap:CurrencySwapMember2023-01-012023-12-310000310522us-gaap:CurrencySwapMember2022-01-012022-12-310000310522us-gaap:CurrencySwapMember2021-01-012021-12-310000310522fnm:PayFixedSwaptionMember2023-01-012023-12-310000310522fnm:PayFixedSwaptionMember2022-01-012022-12-310000310522fnm:PayFixedSwaptionMember2021-01-012021-12-310000310522fnm:ReceiveFixedSwaptionMember2023-01-012023-12-310000310522fnm:ReceiveFixedSwaptionMember2022-01-012022-12-310000310522fnm:ReceiveFixedSwaptionMember2021-01-012021-12-310000310522us-gaap:FutureMember2023-01-012023-12-310000310522us-gaap:FutureMember2022-01-012022-12-310000310522us-gaap:FutureMember2021-01-012021-12-310000310522us-gaap:InterestRateContractMember2023-01-012023-12-310000310522us-gaap:InterestRateContractMember2022-01-012022-12-310000310522us-gaap:InterestRateContractMember2021-01-012021-12-310000310522fnm:MortgageCommitmentDerivativesMember2023-01-012023-12-310000310522fnm:MortgageCommitmentDerivativesMember2022-01-012022-12-310000310522fnm:MortgageCommitmentDerivativesMember2021-01-012021-12-310000310522us-gaap:OtherContractMember2023-01-012023-12-310000310522us-gaap:OtherContractMember2022-01-012022-12-310000310522us-gaap:OtherContractMember2021-01-012021-12-310000310522fnm:InterestRateRiskOnHeldForInvestmentMortgageLoanMemberus-gaap:InterestIncomeMember2023-01-012023-12-310000310522fnm:InterestRateRiskOnHeldForInvestmentMortgageLoanMemberus-gaap:InterestIncomeMember2022-01-012022-12-310000310522fnm:InterestRateRiskOnDebtMemberus-gaap:InterestExpenseMember2023-01-012023-12-310000310522fnm:InterestRateRiskOnDebtMemberus-gaap:InterestExpenseMember2022-01-012022-12-310000310522us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2023-12-310000310522us-gaap:InterestRateContractMemberus-gaap:OverTheCounterMember2022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:SingleFamilySegmentMember2023-12-310000310522us-gaap:OperatingSegmentsMemberfnm:SingleFamilySegmentMember2022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:MultifamilySegmentMember2023-12-310000310522us-gaap:OperatingSegmentsMemberfnm:MultifamilySegmentMember2022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:SingleFamilySegmentMember2023-01-012023-12-310000310522us-gaap:OperatingSegmentsMemberfnm:MultifamilySegmentMember2023-01-012023-12-310000310522us-gaap:OperatingSegmentsMemberfnm:UsTreasuryMemberfnm:SingleFamilySegmentMember2023-01-012023-12-310000310522us-gaap:OperatingSegmentsMemberfnm:UsTreasuryMemberfnm:MultifamilySegmentMember2023-01-012023-12-310000310522us-gaap:OperatingSegmentsMemberfnm:SingleFamilySegmentMember2022-01-012022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:MultifamilySegmentMember2022-01-012022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:UsTreasuryMemberfnm:SingleFamilySegmentMember2022-01-012022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:UsTreasuryMemberfnm:MultifamilySegmentMember2022-01-012022-12-310000310522us-gaap:OperatingSegmentsMemberfnm:SingleFamilySegmentMember2021-01-012021-12-310000310522us-gaap:OperatingSegmentsMemberfnm:MultifamilySegmentMember2021-01-012021-12-310000310522us-gaap:OperatingSegmentsMemberfnm:UsTreasuryMemberfnm:SingleFamilySegmentMember2021-01-012021-12-310000310522us-gaap:OperatingSegmentsMemberfnm:UsTreasuryMemberfnm:MultifamilySegmentMember2021-01-012021-12-310000310522fnm:Series20082SeniorPreferredStockMember2022-12-310000310522fnm:UsTreasuryMembersrt:ScenarioForecastMember2024-03-310000310522srt:MinimumMember2023-12-310000310522srt:MaximumMember2023-12-310000310522us-gaap:SeriesDPreferredStockMember2023-12-310000310522us-gaap:SeriesDPreferredStockMember2022-12-310000310522us-gaap:SeriesEPreferredStockMember2023-12-310000310522us-gaap:SeriesEPreferredStockMember2022-12-310000310522us-gaap:SeriesFPreferredStockMember2023-12-310000310522us-gaap:SeriesFPreferredStockMember2022-12-310000310522us-gaap:SeriesGPreferredStockMember2023-12-310000310522us-gaap:SeriesGPreferredStockMember2022-12-310000310522us-gaap:SeriesHPreferredStockMember2023-12-310000310522us-gaap:SeriesHPreferredStockMember2022-12-310000310522fnm:SeriesIPreferredStockMember2023-12-310000310522fnm:SeriesIPreferredStockMember2022-12-310000310522fnm:SeriesLPreferredStockMember2023-12-310000310522fnm:SeriesLPreferredStockMember2022-12-310000310522fnm:SeriesMPreferredStockMember2023-12-310000310522fnm:SeriesMPreferredStockMember2022-12-310000310522fnm:SeriesNPreferredStockMember2023-12-310000310522fnm:SeriesNPreferredStockMember2022-12-310000310522fnm:SeriesOPreferredStockMember2023-12-310000310522fnm:SeriesOPreferredStockMember2022-12-310000310522fnm:ConvertibleSeries20041PreferredStockMember2023-12-310000310522fnm:ConvertibleSeries20041PreferredStockMember2022-12-310000310522fnm:SeriesPPreferredStockMember2023-12-310000310522fnm:SeriesPPreferredStockMember2022-12-310000310522fnm:SeriesQPreferredStockMember2023-12-310000310522fnm:SeriesQPreferredStockMember2022-12-310000310522fnm:SeriesRPreferredStockMember2023-12-310000310522fnm:SeriesRPreferredStockMember2022-12-310000310522fnm:SeriesSPreferredStockMember2023-12-310000310522fnm:SeriesSPreferredStockMember2022-12-310000310522fnm:SeriesTPreferredStockMember2023-12-310000310522fnm:SeriesTPreferredStockMember2022-12-310000310522us-gaap:SeriesFPreferredStockMemberfnm:TwoYearMaturityUSTreasuryRateMember2023-01-012023-12-310000310522us-gaap:SeriesFPreferredStockMembersrt:MaximumMember2023-01-012023-12-310000310522us-gaap:SeriesGPreferredStockMemberfnm:TwoYearMaturityUSTreasuryRateMember2023-01-012023-12-310000310522srt:MaximumMemberus-gaap:SeriesGPreferredStockMember2023-01-012023-12-310000310522srt:MinimumMemberfnm:SeriesOPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesOPreferredStockMemberfnm:TenYearMaturityUSTreasuryRateMember2023-01-012023-12-310000310522srt:MinimumMemberfnm:SeriesPPreferredStockMember2023-01-012023-12-310000310522fnm:SecuredOvernightFinancingRateSOFRMemberfnm:SeriesPPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesRPreferredStockMember2007-11-210000310522fnm:SeriesRPreferredStockMember2007-12-140000310522srt:MinimumMemberfnm:SeriesSPreferredStockMember2023-01-012023-12-310000310522fnm:SecuredOvernightFinancingRateSOFRMemberfnm:SeriesSPreferredStockMember2023-01-012023-12-310000310522fnm:SeriesTPreferredStockMember2008-05-190000310522fnm:SeriesTPreferredStockMember2008-05-220000310522fnm:SeriesTPreferredStockMember2008-06-040000310522srt:MinimumMemberfnm:SeriesOPreferredStockMember2023-12-310000310522srt:MaximumMemberfnm:SeriesOPreferredStockMember2023-12-310000310522srt:SingleFamilyMemberfnm:MidwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522srt:SingleFamilyMemberfnm:MidwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:MidwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:MidwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:NortheastUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:NortheastUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:NortheastUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:NortheastUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:SoutheastUnitedStatesMembersrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:SoutheastUnitedStatesMembersrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:SoutheastUnitedStatesMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:SoutheastUnitedStatesMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522srt:SingleFamilyMemberfnm:SouthwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522srt:SingleFamilyMemberfnm:SouthwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:SouthwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:SouthwestUnitedStatesMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:WestUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:WestUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:WestUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:WestUnitedStatesMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2023-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:GeographicConcentrationRiskMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2022-12-310000310522srt:SingleFamilyMemberfnm:OriginalLoanToValueRatio8001To90Memberfnm:GuarantyBookOfBusinessMember2023-12-310000310522srt:SingleFamilyMemberfnm:OriginalLoanToValueRatio8001To90Memberfnm:GuarantyBookOfBusinessMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:OriginalLoanToValueRatio9001To100Member2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:OriginalLoanToValueRatio9001To100Member2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:EstimatedMarkToMarketLoanToValueRatioGreaterThanOneHundredPercentMember2022-12-310000310522stpr:CAsrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2023-12-310000310522stpr:CAsrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2022-12-310000310522srt:SingleFamilyMemberstpr:FLfnm:GuarantyBookOfBusinessMember2023-12-310000310522srt:SingleFamilyMemberstpr:FLfnm:GuarantyBookOfBusinessMember2022-12-310000310522stpr:ILsrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2023-12-310000310522stpr:ILsrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2022-12-310000310522stpr:NYsrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2023-12-310000310522stpr:NYsrt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberstpr:TX2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberstpr:TX2022-12-310000310522srt:SingleFamilyMemberfnm:OtherStatesMemberfnm:GuarantyBookOfBusinessMember2023-12-310000310522srt:SingleFamilyMemberfnm:OtherStatesMemberfnm:GuarantyBookOfBusinessMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:Vintages2008AndPriorMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:Vintages2008AndPriorMember2022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:Vintages2009ToCurrentMember2023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:Vintages2009ToCurrentMember2022-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMember2023-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMember2022-12-310000310522fnm:OriginalLoanToValueRatioGreaterThanEightyPercentMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMember2023-12-310000310522fnm:OriginalLoanToValueRatioGreaterThanEightyPercentMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMember2022-12-310000310522fnm:OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMember2023-12-310000310522fnm:OriginalLoanToValueRatioLessThanOrEqualToEightyPercentMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMember2022-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember2023-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:CurrentDebtServiceCoverageRatioLessThanOneHundredPercentMember2022-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:MortgageGuarantyInsuranceCorp.Memberfnm:GuarantyBookOfBusinessMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:MortgageGuarantyInsuranceCorp.Memberfnm:GuarantyBookOfBusinessMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMemberfnm:RadianGuarantyIncMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMemberfnm:RadianGuarantyIncMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:ArchCapitalGroupLtd.Memberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:ArchCapitalGroupLtd.Memberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMemberfnm:GenworthMortgageInsuranceCorp.Member2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMemberfnm:GenworthMortgageInsuranceCorp.Member2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMemberfnm:EssentGuarantyIncMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMemberfnm:EssentGuarantyIncMember2022-01-012022-12-310000310522fnm:NationalMortgageInsuranceCorporationMembersrt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2023-01-012023-12-310000310522fnm:NationalMortgageInsuranceCorporationMembersrt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:OthercounterpartiesMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:OthercounterpartiesMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:InsuranceServiceProviderConcentrationRiskMemberfnm:GuarantyBookOfBusinessMember2022-01-012022-12-310000310522fnm:DepositoryServicerMembersrt:SingleFamilyMemberfnm:OtherTopServicersMemberfnm:GuarantyBookOfBusinessMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522fnm:DepositoryServicerMembersrt:SingleFamilyMemberfnm:OtherTopServicersMemberfnm:GuarantyBookOfBusinessMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:NonDepositoryServicerMemberfnm:GuarantyBookOfBusinessMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:NonDepositoryServicerMemberfnm:GuarantyBookOfBusinessMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522srt:SingleFamilyMemberfnm:GuarantyBookOfBusinessMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522fnm:WalkerDunlopLLCMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522fnm:WellsFargoBankN.A.Memberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522fnm:WalkerDunlopLLCMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522fnm:WellsFargoBankN.A.Memberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522fnm:DepositoryServicerMemberfnm:OtherTopServicersMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522fnm:DepositoryServicerMemberfnm:OtherTopServicersMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522fnm:NonDepositoryServicerMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522fnm:NonDepositoryServicerMemberfnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2023-01-012023-12-310000310522fnm:GuarantyBookOfBusinessMembersrt:MultifamilyMemberfnm:GroupOfLargestMortgageServicersIncludingAffiliatesMemberus-gaap:CreditConcentrationRiskMember2022-01-012022-12-310000310522fnm:FiveMajorLendersMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMemberus-gaap:AccountsReceivableMember2023-01-012023-12-310000310522fnm:FiveMajorLendersMembersrt:MultifamilyMemberus-gaap:CreditConcentrationRiskMemberus-gaap:AccountsReceivableMember2022-01-012022-12-310000310522us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMember2023-12-310000310522us-gaap:InterestRateContractMemberus-gaap:ExchangeClearedMember2022-12-310000310522us-gaap:AssetPledgedAsCollateralWithRightMember2023-12-310000310522us-gaap:AssetPledgedAsCollateralWithRightMember2022-12-310000310522us-gaap:CashAndCashEquivalentsMember2023-12-310000310522us-gaap:CashAndCashEquivalentsMember2022-12-310000310522fnm:RestrictedCashAndCashEquivalentMember2023-12-310000310522fnm:RestrictedCashAndCashEquivalentMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMember2023-12-310000310522us-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMember2023-12-310000310522us-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMember2023-12-310000310522us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Membersrt:ParentCompanyMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMember2022-12-310000310522us-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMember2022-12-310000310522us-gaap:FairValueMeasurementsRecurringMemberfnm:NonmortgagerelatedsecuritiesMember2022-12-310000310522us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Membersrt:ParentCompanyMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2023-01-012023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2023-01-012023-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2022-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2023-01-012023-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2023-12-310000310522us-gaap:DebtSecuritiesMember2022-12-310000310522us-gaap:DebtSecuritiesMember2023-01-012023-12-310000310522us-gaap:DebtSecuritiesMember2023-12-310000310522us-gaap:MortgagesMember2022-12-310000310522us-gaap:MortgagesMember2023-01-012023-12-310000310522us-gaap:MortgagesMember2023-12-310000310522us-gaap:DerivativeMember2022-12-310000310522us-gaap:DerivativeMember2023-01-012023-12-310000310522us-gaap:DerivativeMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2023-01-012023-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2023-01-012023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2023-12-310000310522us-gaap:LongTermDebtMember2022-12-310000310522us-gaap:LongTermDebtMember2023-01-012023-12-310000310522us-gaap:LongTermDebtMember2023-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2021-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2022-01-012022-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2021-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2022-01-012022-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2021-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2022-01-012022-12-310000310522us-gaap:DebtSecuritiesMember2021-12-310000310522us-gaap:DebtSecuritiesMember2022-01-012022-12-310000310522us-gaap:MortgagesMember2021-12-310000310522us-gaap:MortgagesMember2022-01-012022-12-310000310522us-gaap:DerivativeMember2021-12-310000310522us-gaap:DerivativeMember2022-01-012022-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2021-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2022-01-012022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2021-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2022-01-012022-12-310000310522us-gaap:LongTermDebtMember2021-12-310000310522us-gaap:LongTermDebtMember2022-01-012022-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2020-12-310000310522us-gaap:MortgageBackedSecuritiesMemberus-gaap:TradingAssetsExcludingDebtAndEquitySecuritiesMember2021-01-012021-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2020-12-310000310522us-gaap:MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMemberus-gaap:DebtSecuritiesMember2021-01-012021-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2020-12-310000310522us-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:DebtSecuritiesMember2021-01-012021-12-310000310522us-gaap:DebtSecuritiesMember2020-12-310000310522us-gaap:DebtSecuritiesMember2021-01-012021-12-310000310522us-gaap:MortgagesMember2020-12-310000310522us-gaap:MortgagesMember2021-01-012021-12-310000310522us-gaap:DerivativeMember2020-12-310000310522us-gaap:DerivativeMember2021-01-012021-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2020-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2021-01-012021-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2020-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2021-01-012021-12-310000310522us-gaap:LongTermDebtMember2020-12-310000310522us-gaap:LongTermDebtMember2021-01-012021-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesMemberfnm:OtherValuationTechniqueMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:ConsensusWithoutInputsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDefaultRateMemberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDefaultRateMembersrt:MaximumMemberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDefaultRateMemberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMembersrt:WeightedAverageMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberfnm:SingleVendorWithInputsMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:OtherValuationTechniqueMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:DealerMarkMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:DiscountedCashFlowWithInputsMemberus-gaap:FairValueMeasurementsRecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesMemberfnm:OtherValuationTechniqueMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:ConsensusWithoutInputsMemberus-gaap:FairValueMeasurementsRecurringMemberus-gaap:USGovernmentCorporationsAndAgenciesSecuritiesMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDefaultRateMemberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDefaultRateMembersrt:MaximumMemberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MeasurementInputDefaultRateMemberfnm:DiscountedCashFlowWithInputsMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMembersrt:WeightedAverageMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberfnm:SingleVendorWithInputsMember2022-12-310000310522srt:MinimumMemberus-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberfnm:SingleVendorWithInputsMember2022-12-310000310522us-gaap:FairValueInputsLevel3Membersrt:MaximumMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberfnm:SingleVendorWithInputsMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMemberfnm:SingleVendorWithInputsMembersrt:WeightedAverageMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:OtherValuationTechniqueMemberus-gaap:MortgageBackedSecuritiesOtherMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:DealerMarkMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:DiscountedCashFlowWithInputsMemberus-gaap:FairValueMeasurementsRecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel1Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueMeasurementsNonrecurringMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:ConsensusWithoutInputsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:ConsensusWithoutInputsMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:SingleVendorWithoutInputsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:SingleVendorWithoutInputsMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:InternalModelMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:InternalModelMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:AppraisalsMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:AppraisalsMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:BrokerPriceOpinionMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:BrokerPriceOpinionMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:InternalModelMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:InternalModelMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:AcceptedOffersMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:AcceptedOffersMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:AppraisalsMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:AppraisalsMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:SingleFamilySegmentMemberfnm:WalkForwardsMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:SingleFamilySegmentMemberfnm:WalkForwardsMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:OtherValuationTechniqueMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:OtherValuationTechniqueMemberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:SingleFamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:OtherValuationTechniqueMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2023-12-310000310522us-gaap:FairValueInputsLevel3Memberfnm:OtherValuationTechniqueMemberfnm:MultifamilySegmentMemberus-gaap:FairValueMeasurementsNonrecurringMember2022-12-310000310522us-gaap:CarryingReportedAmountFairValueDisclosureMember2023-12-310000310522us-gaap:FairValueInputsLevel1Member2023-12-310000310522us-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Member2023-12-310000310522us-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000310522us-gaap:FairValueDisclosureItemAmountsDomain2023-12-310000310522us-gaap:CarryingReportedAmountFairValueDisclosureMembersrt:ParentCompanyMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueInputsLevel1Member2023-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Membersrt:ParentCompanyMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:CarryingReportedAmountFairValueDisclosureMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueInputsLevel1Member2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueInputsLevel2Member2023-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:EstimateOfFairValueFairValueDisclosureMember2023-12-310000310522us-gaap:CarryingReportedAmountFairValueDisclosureMember2022-12-310000310522us-gaap:FairValueInputsLevel1Member2022-12-310000310522us-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Member2022-12-310000310522us-gaap:EstimateOfFairValueFairValueDisclosureMember2022-12-310000310522us-gaap:FairValueDisclosureItemAmountsDomain2022-12-310000310522us-gaap:CarryingReportedAmountFairValueDisclosureMembersrt:ParentCompanyMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueInputsLevel1Member2022-12-310000310522srt:ParentCompanyMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Membersrt:ParentCompanyMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:EstimateOfFairValueFairValueDisclosureMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:CarryingReportedAmountFairValueDisclosureMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueInputsLevel1Member2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:FairValueInputsLevel2Member2022-12-310000310522us-gaap:FairValueInputsLevel3Memberus-gaap:VariableInterestEntityPrimaryBeneficiaryMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:EstimateOfFairValueFairValueDisclosureMember2022-12-310000310522us-gaap:LoansReceivableMember2023-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2023-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2023-12-310000310522us-gaap:LoansReceivableMember2022-12-310000310522srt:ParentCompanyMemberus-gaap:LongTermDebtMember2022-12-310000310522us-gaap:VariableInterestEntityPrimaryBeneficiaryMemberus-gaap:LongTermDebtMember2022-12-310000310522us-gaap:LoansReceivableMember2023-01-012023-12-310000310522us-gaap:LoansReceivableMember2022-01-012022-12-310000310522us-gaap:LoansReceivableMember2021-01-012021-12-310000310522us-gaap:LongTermDebtMember2023-01-012023-12-310000310522us-gaap:LongTermDebtMember2022-01-012022-12-310000310522us-gaap:LongTermDebtMember2021-01-012021-12-310000310522fnm:SeniorPreferredStockPurchaseAgreementsLitigationMember2023-08-142023-08-140000310522fnm:SeniorPreferredStockPurchaseAgreementsLitigationMember2012-08-172012-08-170000310522us-gaap:JudicialRulingMember2012-08-172022-12-31
 
UNITED STATES SECURITIES AND EXCHANGE COMMISSION
Washington, D.C. 20549
Form 10-K
ANNUAL REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
For the fiscal year ended December 31, 2023
OR
  TRANSITION REPORT PURSUANT TO SECTION 13 OR 15(d) OF THE SECURITIES EXCHANGE ACT OF 1934
          For the transition period fromto
Commission file number: 0-50231
Federal National Mortgage Association
(Exact name of registrant as specified in its charter)
Fannie Mae
Federally chartered corporation
52-0883107
1100 15th Street, NW
800
232-6643
Washington,
DC
20005
(State or other jurisdiction of
incorporation or organization)
(I.R.S. Employer
Identification No.)
(Address of principal executive
offices, including zip code)
(Registrant’s telephone number,
including area code)
Securities registered pursuant to Section 12(b) of the Act: 
Title of each class
Trading Symbol(s)
Name of each exchange on which registered
None
N/A
N/A
Securities registered pursuant to Section 12(g) of the Act: 
Common Stock, without par value
8.25% Non-Cumulative Preferred Stock, Series T, stated value $25 per share
Fixed-to-Floating Rate Non-Cumulative Preferred Stock, Series S, stated value $25 per share
7.625% Non-Cumulative Preferred Stock, Series R, stated value $25 per share
6.75% Non-Cumulative Preferred Stock, Series Q, stated value $25 per share
Variable Rate Non-Cumulative Preferred Stock, Series P, stated value $25 per share
Variable Rate Non-Cumulative Preferred Stock, Series O, stated value $50 per share
5.375% Non-Cumulative Convertible Series 2004-1 Preferred Stock, stated value $100,000 per share
5.50% Non-Cumulative Preferred Stock, Series N, stated value $50 per share
4.75% Non-Cumulative Preferred Stock, Series M, stated value $50 per share
5.125% Non-Cumulative Preferred Stock, Series L, stated value $50 per share
5.375% Non-Cumulative Preferred Stock, Series I, stated value $50 per share
5.81% Non-Cumulative Preferred Stock, Series H, stated value $50 per share
Variable Rate Non-Cumulative Preferred Stock, Series G, stated value $50 per share
Variable Rate Non-Cumulative Preferred Stock, Series F, stated value $50 per share
5.10% Non-Cumulative Preferred Stock, Series E, stated value $50 per share
5.25% Non-Cumulative Preferred Stock, Series D, stated value $50 per share
Indicate by check mark if the registrant is a well-known seasoned issuer, as defined in Rule 405 of the Securities Act.    Yes  ¨      No  þ
Indicate by check mark if the registrant is not required to file reports pursuant to Section 13 or 15(d) of the Act.    Yes  ¨        No  þ
Indicate by check mark whether the registrant (1) has filed all reports required to be filed by Section 13 or Section 15(d) of the Securities Exchange Act of 1934
during the preceding 12 months (or for such shorter period that the registrant was required to file such reports), and (2) has been subject to such filing
requirements for the past 90 days.  Yes þ     No ¨
Indicate by check mark whether the registrant has submitted electronically every Interactive Data File required to be submitted pursuant to Rule 405 of Regulation
S-T (§ 232.405 of this chapter) during the preceding 12 months (or for such shorter period that the registrant was required to submit such files).  Yes þ     No ¨
Indicate by check mark whether the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, a smaller reporting company, or an emerging
growth company. See the definitions of “large accelerated filer,” “accelerated filer,” “smaller reporting company,” and “emerging growth company” in Rule 12b-2 of
the Exchange Act.
Large accelerated filer
Accelerated filer  
Non-accelerated filer
Smaller reporting company  
Emerging growth company  
If an emerging growth company, indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised
financial accounting standards provided pursuant to Section 13(a) of the Exchange Act.  o
Indicate by check mark whether the registrant has filed a report on and attestation to its management’s assessment of the effectiveness of its internal control over
financial reporting under Section 404(b) of the Sarbanes-Oxley Act (15 U.S.C. 7262(b)) by the registered public accounting firm that prepared or issued its audit
report.
If securities are registered pursuant to Section 12(b) of the Act, indicate by check mark whether the financial statements of the registrant included in the filing reflect
the correction of an error to previously issued financial statements. 
Indicate by check mark whether any of those error corrections are restatements that required a recovery analysis of incentive-based compensation received by any
of the registrant’s executive officers during the relevant recovery period pursuant to §240.10D-1(b).  ☐
Indicate by check mark whether the registrant is a shell company (as defined in Rule 12b-2 of the Act). Yes   No 
The aggregate market value of the common stock held by non-affiliates computed by reference to the closing price of the common stock quoted on the OTCQB on
June 30, 2023 (the last business day of the registrant’s most recently completed second fiscal quarter) was approximately $510 million.
As of February 1, 2024, there were 1,158,087,567 shares of common stock of the registrant outstanding.
Table of Contents
Page
PART I
Item 1.
Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
About Fannie Mae . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Our Mission and Strategy . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Executive Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Business Segments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Competition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mortgage Securitizations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Human Capital . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Conservatorship and Treasury Agreements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Legislation and Regulation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Where You Can Find Additional Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Forward-Looking Statements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 1A.
Risk Factors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Risk Factors Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
GSE and Conservatorship Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Credit Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operational and Model Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Liquidity and Funding Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Market and Industry Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Legal and Regulatory Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
General Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 1B.
Unresolved Staff Comments . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 1C.
Cybersecurity . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 2.
Properties . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 3.
Legal Proceedings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 4.
Mine Safety Disclosures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PART II
Item 5.
Market for Registrant’s Common Equity, Related Stockholder Matters and Issuer Purchases of Equity
Securities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 6.
[Reserved] . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 7.
Management’s Discussion and Analysis of Financial Condition and Results of Operations . . . . . . . . . . . . . . .
Key Market Economic Indicators . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Consolidated Results of Operations . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Consolidated Balance Sheet Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Retained Mortgage Portfolio . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Guaranty Book of Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Primary Business Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Lenders and Investors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Competition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Mortgage Market . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Mortgage-Related Securities Issuances Share . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Business Metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Single-Family Business Financial Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fannie Mae 2023 Form 10-K
i
Single-Family Mortgage Credit Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Business . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Primary Business Activities . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Lenders and Investors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Competition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Mortgage Market . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Business Metrics . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Business Financial Results . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Multifamily Mortgage Credit Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Consolidated Credit Ratios and Select Credit Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Liquidity and Capital Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Credit Risk Management Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Mortgage Credit Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Climate and Natural Disaster Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Institutional Counterparty Credit Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Market Risk Management, including Interest-Rate Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Liquidity and Funding Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Operational Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Model Risk Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Critical Accounting Estimates . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Impact of Future Adoption of New Accounting Guidance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Glossary of Terms Used in This Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 7A.
Quantitative and Qualitative Disclosures about Market Risk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 8.
Financial Statements and Supplementary Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 9.
Changes in and Disagreements with Accountants on Accounting and Financial Disclosure . . . . . . . . . . . . . . .
Item 9A.
Controls and Procedures . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 9B.
Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 9C.
Disclosure Regarding Foreign Jurisdictions that Prevent Inspections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
PART III
Item 10.
Directors, Executive Officers and Corporate Governance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Directors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Corporate Governance . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Report of the Audit Committee of the Board of Directors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Executive Officers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 11.
Executive Compensation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compensation Discussion and Analysis . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compensation Committee Report . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compensation Risk Assessment . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Compensation Tables and Other Information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 12.
Security Ownership of Certain Beneficial Owners and Management and Related Stockholder Matters . . . . .
Item 13.
Certain Relationships and Related Transactions, and Director Independence . . . . . . . . . . . . . . . . . . . . . . . . . .
Policies and Procedures Relating to Transactions with Related Persons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Transactions with Related Persons . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Director Independence . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 14.
Principal Accounting Fees and Services . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fannie Mae 2023 Form 10-K
ii
PART IV
Item 15.
Exhibits, Financial Statement Schedules . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Item 16.
Form 10-K Summary . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
INDEX TO CONSOLIDATED FINANCIAL STATEMENTS . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Fannie Mae 2023 Form 10-K
iii
PART I
This report includes forward-looking statements based on management’s current expectations that are subject to
significant uncertainties. Future events and our results may differ materially from those reflected in our forward-looking
statements due to a variety of factors, including those discussed in “BusinessForward-Looking Statements,” “Risk
Factors” and elsewhere in this report.
You can find a “Glossary of Terms Used in This Report” in “Management’s Discussion and Analysis of Financial
Condition and Results of Operations (‘MD&A’).”
Item 1.  Business
About Fannie Mae
Fannie Mae is a leading source of financing for residential mortgages in the United States. We provided $369 billion in
liquidity to the mortgage market in 2023, which enabled the financing of approximately 1.5 million home purchases,
refinancings, and rental units.
We are a government-sponsored, stockholder-owned corporation, chartered by Congress to provide liquidity and
stability to the U.S. housing market and to promote access to mortgage credit. We primarily do this by buying residential
mortgage loans that are originated by lenders. We place these loans into trusts and issue guaranteed mortgage-backed
securities (“MBS” or “Fannie Mae MBS”) that global investors buy from us. We do not originate mortgage loans or lend
money directly to borrowers.
We support both single-family and multifamily housing. Our Single-Family business provides financing for properties
that have four or fewer residential units. Our Multifamily business provides financing for residential buildings with five or
more units. As of September 30, 2023 (the latest date for which information is available), Fannie Mae owned or
guaranteed an estimated 1 in 4 single-family mortgage loans in the United States and an estimated 21% of multifamily
mortgage debt outstanding in the United States.
We provide a guaranty on the MBS that we issue. If a borrower fails to make a payment on a mortgage loan that is
included in a Fannie Mae MBS, we pay the shortfall amount to the MBS investor. In exchange for providing this
guaranty, we receive a guaranty fee. Guaranty fees are the primary source of our revenues.
Because we assume the credit risk for mortgage loans in our MBS, our earnings are affected by the credit performance
of these loans. Credit risk management is therefore key to our business and financial results. To help manage our
mortgage credit risk exposure, and in response to capital requirements, we transfer some of our credit risk exposure to
third parties through credit risk transfer transactions and mortgage insurance. For a discussion of how we manage credit
risk, see “MD&ASingle-Family BusinessSingle-Family Mortgage Credit Risk Management” and “MD&AMultifamily
BusinessMultifamily Mortgage Credit Risk Management.”
We are in conservatorship, with the Federal Housing Finance Agency (“FHFA”) as our conservator. During
conservatorship, our Board has no fiduciary duties to the company or its stockholders, as they owe their fiduciary duties
of care and loyalty solely to FHFA as conservator. Conservatorship and our agreements with the U.S. Department of the
Treasury (“Treasury”) significantly restrict our business activities and stockholder rights. For more information about the
impact of conservatorship and these agreements on our business, stockholders, and our uncertain future, see
Conservatorship and Treasury Agreements” and “Risk FactorsGSE and Conservatorship Risk.”
Our Mission and Strategy
Our mission is to facilitate equitable and sustainable access to homeownership and quality affordable rental housing
across America. We seek to accomplish our mission while managing risks to our company and the U.S. housing finance
system. Our 2023-2025 strategic plan objectives are to:
Improve Access to Equitable and Sustainable Housing: Build on our mission-first culture to deliver positive
community outcomes that serve renters and homeowners.
Enhance our Financial and Risk Positions: Ensure that we are financially secure, can earn investable returns,
and manage risk to the company and the housing finance system.
For information on how we help make access to housing in the United States more attainable, affordable, and stable for
low- and moderate-income borrowers and renters, see our 2022 Environmental, Social, and Governance report, which
is available on our website under “About Us—ESG,” and “Legislation and Regulation” in this report.
Business | About Fannie Mae
Fannie Mae 2023 Form 10-K
1
Executive Summary
Please read this summary together with our MD&A, our consolidated financial statements as of December 31, 2023 and
the accompanying notes.
Overview of Financial Results
34
24739011644694
Summary of Key Drivers of Financial Results
2023 vs. 2022
Net revenues decreased $687 million in 2023 compared with 2022, primarily due to lower deferred guaranty fee
income, offset by higher income from the corporate liquidity portfolio. Higher interest rates in 2023 drove both
the decline in deferred guaranty fee income due to lower refinancing activity as well as the higher income on
securities in our corporate liquidity portfolio. Net revenues consist of net interest income and fee and other
income.
Net income increased $4.5 billion in 2023 compared with 2022, primarily driven by a $7.9 billion shift to benefit
for credit losses in 2023 from a provision for credit losses in 2022.
Net worth increased by $17.4 billion in 2023 to $77.7 billion as of December 31, 2023.
2022 vs. 2021
Net revenues remained relatively flat in 2022 compared with 2021, as lower deferred guaranty fee income was
offset by higher income from portfolios and higher base guaranty fee income.
Net income decreased $9.3 billion in 2022 compared with 2021, primarily driven by a $11.4 billion shift to
provision for credit losses in 2022 from a benefit for credit losses in 2021. Also contributing to the decline in net
income was a $1.6 billion shift to investment losses in 2022 from investment gains in 2021. These decreases
were partially offset by higher fair value gains.
Net worth increased by $12.9 billion in 2022 to $60.3 billion as of December 31, 2022.
See “MD&AConsolidated Results of Operations” for more information on the drivers of our financial results.
Business Segments
We conduct business in the U.S. residential mortgage markets and the global securities markets. According to the
Federal Reserve, total U.S. residential mortgage debt outstanding was estimated to be approximately $16.0 trillion as of
September 30, 2023 (the latest date for which information is available). We owned or guaranteed mortgage assets
representing approximately 26% of total U.S. residential mortgage debt outstanding as of September 30, 2023.
Business | Executive Summary
Fannie Mae 2023 Form 10-K
2
We have two reportable business segments: Single-Family and Multifamily. The chart below outlines the primary
business activities and drivers of revenues and expense for each of our business segments.
Single-Family Business Segment
Primary Business Activities
Primary Drivers of Revenue1
Primary Drivers of Expense1
Mortgage securitizations: Works with
lenders to acquire single-family mortgage
loans and issue MBS.
Credit risk management: Prices and
manages the credit risk on loans in our
single-family guaranty book of business,
which includes establishing underwriting
and servicing standards. Enters into
transactions that transfer a portion of the
credit risk on some of the loans in our
single-family guaranty book of business to
third parties.
Credit loss management: Works to reduce
costs of defaulted single-family loans,
including through forbearance plans, home
retention solutions, foreclosure alternatives,
management of foreclosures and our real-
estate owned (“REO”) inventory, selling
nonperforming loans, and pursuing
contractual remedies from lenders,
servicers and providers of credit
enhancement.
Net interest income: Primary source is
guaranty fees—compensation we receive
for assuming the credit risk on our single-
family guaranty book of business. There
are two components of our single-family
guaranty fee:
Base fees. Ongoing fees that factor into
a mortgage loan’s interest rate, which
are collected each month over the life
of the mortgage loan.
Upfront fees. One-time payments made
by lenders upon loan delivery to us.
Includes risk-based fees (referred to as
“loan-level price adjustments”) that vary
based on loan and borrower attributes
(such as loan size, loan-to-value
(“LTV”) ratio, borrower credit score,
etc.). These fees are amortized into net
interest income over the life of the loan.
Another source is net interest income
earned from our corporate liquidity portfolio
and retained mortgage portfolio.
Provision for credit losses:
Consists of the provision for credit
losses on loans in our single-family
guaranty book of business. (In
some periods, we may have a
benefit for credit losses that
contributes to net income if we
reduce our single-family loss
reserves.)
Administrative expenses: Consists
of salaries and benefits,
occupancy costs, professional
services, and other Single-Family
business operations expenses.
TCCA fees: Consists of a portion
of our single-family guaranty fees
that is paid to Treasury pursuant to
the Temporary Payroll Tax Cut
Continuation Act of 2011, as
amended.
Multifamily Business Segment
Primary Business Activities
Primary Drivers of Revenue
Primary Drivers of Expense
Mortgage securitizations: Works with
lenders, primarily through our Delegated
Underwriting and Servicing, or DUS®,
program, to acquire multifamily mortgage
loans and issue MBS.
Credit risk management: Prices and
manages the credit risk on loans in our
multifamily guaranty book of business,
which includes establishing underwriting
and servicing standards. Lenders retain a
portion (typically one-third) of the credit risk
in most multifamily transactions. Enters into
additional transactions that transfer a
portion of the credit risk on some of the
loans in our multifamily guaranty book of
business to third parties.
Credit loss management: Works to reduce
costs of defaulted multifamily loans,
including through loss mitigation strategies
such as forbearance and modification,
management of foreclosures and our REO
inventory, and pursuing contractual
remedies from lenders, servicers,
borrowers, sponsors, and providers of credit
enhancement.
Net interest income: Primary source is
guaranty fees—compensation we receive
for assuming the credit risk on our
multifamily guaranty book of business. For
multifamily loans, base fees are the
primary component of our guaranty fee.
Another source is net interest income
earned from our corporate liquidity portfolio
and retained mortgage portfolio.
Provision for credit losses:
Consists of the provision for credit
losses on loans in our multifamily
guaranty book of business. (In
some periods, we may have a
benefit for credit losses that
contributes to net income if we
reduce our multifamily loss
reserves.)
Administrative expenses: Consists
of salaries and benefits,
occupancy costs, professional
services, and other Multifamily
business operations expenses.
(1)See “MD&A—Single-Family Business—Single-Family Business Financial Results” and “MD&A—Multifamily Business—Multifamily
Business Financial Results” for a discussion of other drivers of our single-family and multifamily financial results. Fair value gains were a
significant driver of single-family financial results for the years ended December 31, 2023 and 2022.
Business | Business Segments
Fannie Mae 2023 Form 10-K
3
We primarily purchase single-family conventional loans that meet conforming loan limits in the secondary mortgage
market. Conventional loans are not insured or guaranteed by a government agency (those are generally referred to as
government-guaranteed loans). See “Legislation and RegulationOur Charter for a description of our conforming loan
limits.
The chart below displays the unpaid principal balance (“UPB”) of our average single-family conventional guaranty book