<?xml version="1.0" encoding="US-ASCII"?>
<!--XBRL Document Created with Wdesk from Workiva-->
<!-- -->
<linkbase xsi:schemaLocation="http://www.xbrl.org/2003/linkbase http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd" xmlns="http://www.xbrl.org/2003/linkbase" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPolicies" xlink:href="agm-20151231.xsd#AccountingPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesPolicies" xlink:href="agm-20151231.xsd#AccountingPoliciesAccountingPoliciesPolicies" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesTables" xlink:href="agm-20151231.xsd#AccountingPoliciesAccountingPoliciesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesCashAndCashEquivalentsAndStatementsOfCashFlowsDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesCashAndCashEquivalentsAndStatementsOfCashFlowsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesChangesInAccumulatedOtherComprehensiveIncomeNetOfTaxDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesChangesInAccumulatedOtherComprehensiveIncomeNetOfTaxDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesComponentsOfOtherComprehensiveIncomeLossAndRelatedTaxImpactDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesComponentsOfOtherComprehensiveIncomeLossAndRelatedTaxImpactDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesConsolidationOfVariableInterestEntitiesDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesConsolidationOfVariableInterestEntitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareAntiDilutiveDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesEarningsPerShareAntiDilutiveDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesEarningsPerShareDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesPrinciplesOfConsolidationDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesPrinciplesOfConsolidationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesRealEstateOwnedDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesRealEstateOwnedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesReclassificationsDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesReclassificationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesStockBasedCompensationDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesStockBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/AccountingPoliciesTransfersOfFinancialAssetsAndLiabilitiesDetails" xlink:href="agm-20151231.xsd#AccountingPoliciesTransfersOfFinancialAssetsAndLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReporting" xlink:href="agm-20151231.xsd#BusinessSegmentReporting" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingNarrativeDetails" xlink:href="agm-20151231.xsd#BusinessSegmentReportingBusinessSegmentReportingNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingTables" xlink:href="agm-20151231.xsd#BusinessSegmentReportingBusinessSegmentReportingTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/BusinessSegmentReportingCoreEarningsBusinessSegmentsDetails" xlink:href="agm-20151231.xsd#BusinessSegmentReportingCoreEarningsBusinessSegmentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedBalanceSheets" xlink:href="agm-20151231.xsd#ConsolidatedBalanceSheets" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:href="agm-20151231.xsd#ConsolidatedBalanceSheetsParenthetical" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfCashFlows" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfCashFlows" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfComprehensiveIncome" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfEquityStatement" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfEquityStatement" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/ConsolidatedStatementsOfOperations" xlink:href="agm-20151231.xsd#ConsolidatedStatementsOfOperations" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/DocumentAndEntityInformationDocumentAndEntityInformation" xlink:href="agm-20151231.xsd#DocumentAndEntityInformationDocumentAndEntityInformation" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefits" xlink:href="agm-20151231.xsd#EmployeeBenefitsEmployeeBenefits" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefitsDetails" xlink:href="agm-20151231.xsd#EmployeeBenefitsEmployeeBenefitsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/Equity" xlink:href="agm-20151231.xsd#Equity" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityCapitalRequirementsDetails" xlink:href="agm-20151231.xsd#EquityCapitalRequirementsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityCommonStockNarrativeDetails" xlink:href="agm-20151231.xsd#EquityCommonStockNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityEquityBasedIncentiveCompensationPlansDetails" xlink:href="agm-20151231.xsd#EquityEquityBasedIncentiveCompensationPlansDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityEquityTables" xlink:href="agm-20151231.xsd#EquityEquityTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityNarrativeRelatedToShareBasedCompensationDetails" xlink:href="agm-20151231.xsd#EquityNarrativeRelatedToShareBasedCompensationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityNonControllingInterestDetails" xlink:href="agm-20151231.xsd#EquityNonControllingInterestDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityPreferredStockDetails" xlink:href="agm-20151231.xsd#EquityPreferredStockDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityScheduleOfShareBasedCompensationActivityDetails" xlink:href="agm-20151231.xsd#EquityScheduleOfShareBasedCompensationActivityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityScheduleOfShareBasedPaymentAwardsStockOptionsValuationAssumptionsDetails" xlink:href="agm-20151231.xsd#EquityScheduleOfShareBasedPaymentAwardsStockOptionsValuationAssumptionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/EquityScheduleOfStockOptionsSarsAndNonVestedRestrictedStockOutstandingDetails" xlink:href="agm-20151231.xsd#EquityScheduleOfStockOptionsSarsAndNonVestedRestrictedStockOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosures" xlink:href="agm-20151231.xsd#FairValueDisclosures" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresFairValueDisclosuresTables" xlink:href="agm-20151231.xsd#FairValueDisclosuresFairValueDisclosuresTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresFairValueMeasurementsRecurringAndNonrecurringDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresFairValueMeasurementsRecurringAndNonrecurringDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresNarrativeDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresQuantitativeInformationDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresQuantitativeInformationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresSummaryOfCarryingValueAndFairValueDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresSummaryOfCarryingValueAndFairValueDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FairValueDisclosuresUnobservableInputReconciliationDetails" xlink:href="agm-20151231.xsd#FairValueDisclosuresUnobservableInputReconciliationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecurities" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecurities" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesTables" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfAvailableForSaleSecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfAvailableForSaleSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfHeldToMaturitySecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfHeldToMaturitySecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesTradingSecuritiesDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesTradingSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesUnrealizedLossPositionDetails" xlink:href="agm-20151231.xsd#FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesUnrealizedLossPositionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivatives" xlink:href="agm-20151231.xsd#FinancialDerivatives" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesFinancialDerivativesTables" xlink:href="agm-20151231.xsd#FinancialDerivativesFinancialDerivativesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesHedgingDescriptionDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesHedgingDescriptionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesNarrativeDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsImpactOnResultsOfOperationsDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesScheduleOfDerivativeInstrumentsImpactOnResultsOfOperationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionDetails" xlink:href="agm-20151231.xsd#FinancialDerivativesScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:href="agm-20151231.xsd#IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesDeferredTaxesAndLiabilitiesDetails" xlink:href="agm-20151231.xsd#IncomeTaxesDeferredTaxesAndLiabilitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesIncomeTaxes" xlink:href="agm-20151231.xsd#IncomeTaxesIncomeTaxes" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesIncomeTaxesTables" xlink:href="agm-20151231.xsd#IncomeTaxesIncomeTaxesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesStatutoryFederalTaxRateDetails" xlink:href="agm-20151231.xsd#IncomeTaxesStatutoryFederalTaxRateDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:href="agm-20151231.xsd#IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/IncomeTaxesValuationAllowanceDetails" xlink:href="agm-20151231.xsd#IncomeTaxesValuationAllowanceDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecurities" xlink:href="agm-20151231.xsd#InvestmentSecurities" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesDebtMaturitiesDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesDebtMaturitiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesInvestmentSecuritiesTables" xlink:href="agm-20151231.xsd#InvestmentSecuritiesInvestmentSecuritiesTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesNarrativeDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesNarrativeDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesScheduleOfInvestmentSecuritiesDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesScheduleOfInvestmentSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesTradingSecuritiesDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesTradingSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/InvestmentSecuritiesUnrealizedLossPositionDetails" xlink:href="agm-20151231.xsd#InvestmentSecuritiesUnrealizedLossPositionDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRisk" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRisk" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForCreditLossesRollForwardDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForCreditLossesRollForwardDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForLossesByImpairmentMethodAndCommodityDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForLossesByImpairmentMethodAndCommodityDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredDelinquenciesAndNetCreditLossesDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredDelinquenciesAndNetCreditLossesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredInTransferDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredInTransferDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskConcentrationsOfCreditRiskDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskConcentrationsOfCreditRiskDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskFinancingReceivablesCreditQualityIndicatorsDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskFinancingReceivablesCreditQualityIndicatorsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskImpairedFinancingReceivablesDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskImpairedFinancingReceivablesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoanDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoanDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoansAndAllowanceForLossesAndConcentrationsTables" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoansAndAllowanceForLossesAndConcentrationsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskTroubledDebtRestructuringsDetails" xlink:href="agm-20151231.xsd#LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskTroubledDebtRestructuringsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableAuthorityToBorrowFromUSTreasuryDetails" xlink:href="agm-20151231.xsd#NotesPayableAuthorityToBorrowFromUSTreasuryDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableBorrowingsAndCallableDebtdetails" xlink:href="agm-20151231.xsd#NotesPayableBorrowingsAndCallableDebtdetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableEarliestInterestResetDateOfBorrowingOutstandingDetails" xlink:href="agm-20151231.xsd#NotesPayableEarliestInterestResetDateOfBorrowingOutstandingDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableGainsOnRepurchaseOfOutstandingDebtDetails" xlink:href="agm-20151231.xsd#NotesPayableGainsOnRepurchaseOfOutstandingDebtDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableNotesPayable" xlink:href="agm-20151231.xsd#NotesPayableNotesPayable" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/NotesPayableNotesPayableTables" xlink:href="agm-20151231.xsd#NotesPayableNotesPayableTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitments" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitments" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsCashFlowsFromOffBalanceSheetGuaranteedSecuritiesDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsCashFlowsFromOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsFutureMinimumLeasePaymentsDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsFutureMinimumLeasePaymentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsLongTermStandbyPurchaseCommitmentsDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsLongTermStandbyPurchaseCommitmentsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteedSecuritiesDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsTables" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsScheduleOfGuaranteeAndCommitmentObligationsDetails" xlink:href="agm-20151231.xsd#OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsScheduleOfGuaranteeAndCommitmentObligationsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OrganizationOrganization" xlink:href="agm-20151231.xsd#OrganizationOrganization" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OrganizationOrganizationDetails" xlink:href="agm-20151231.xsd#OrganizationOrganizationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/OrganizationOrganizationTables" xlink:href="agm-20151231.xsd#OrganizationOrganizationTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnaudited" xlink:href="agm-20151231.xsd#QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnaudited" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedDetails" xlink:href="agm-20151231.xsd#QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedTables" xlink:href="agm-20151231.xsd#QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsAgfirstFarmCreditBankDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsAgfirstFarmCreditBankDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsFarmCreditBankOfTexasDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsFarmCreditBankOfTexasDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsNationalRuralUtilitiesCooperativeFinancialCorporationDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsNationalRuralUtilitiesCooperativeFinancialCorporationDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsOtherRelatedPartyTransactionsDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsOtherRelatedPartyTransactionsDetails" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactions" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsRelatedPartyTransactions" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactionsTables" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsRelatedPartyTransactionsTables" xlink:type="simple" />
  <roleRef roleURI="http://www.farmermac.com/role/RelatedPartyTransactionsZionsDetails" xlink:href="agm-20151231.xsd#RelatedPartyTransactionsZionsDetails" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/all" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#all" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-default" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#dimension-domain" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/domain-member" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#domain-member" xlink:type="simple" />
  <arcroleRef arcroleURI="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:href="http://www.xbrl.org/2005/xbrldt-2005.xsd#hypercube-dimension" xlink:type="simple" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesPolicies" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesAccountingPoliciesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesCashAndCashEquivalentsAndStatementsOfCashFlowsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherSignificantNoncashTransactionsLineItems" xlink:label="loc_us-gaap_OtherSignificantNoncashTransactionsLineItems_D882DFB5F724D0E1E6743950DD7D18AA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherSignificantNoncashTransactionsTable" xlink:label="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsLineItems_D882DFB5F724D0E1E6743950DD7D18AA" xlink:to="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D3766FD4FC6F4F4463253950DD732FB8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D3766FD4FC6F4F4463253950DD732FB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A38DB892301EE476AB353950DD7364CB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D3766FD4FC6F4F4463253950DD732FB8" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A38DB892301EE476AB353950DD7364CB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A38DB892301EE476AB353950DD7364CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_D3766FD4FC6F4F4463253950DD732FB8" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A38DB892301EE476AB353950DD7364CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_050CD2844B80B70178B63950DD73F674" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_A38DB892301EE476AB353950DD7364CB" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_050CD2844B80B70178B63950DD73F674" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_C8E88A898695A81C2A5C3950DD73AC83" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_C8E88A898695A81C2A5C3950DD73AC83" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_949295542E588FAFD0843950DD736B5D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C8E88A898695A81C2A5C3950DD73AC83" xlink:to="loc_us-gaap_SegmentDomain_949295542E588FAFD0843950DD736B5D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_949295542E588FAFD0843950DD736B5D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C8E88A898695A81C2A5C3950DD73AC83" xlink:to="loc_us-gaap_SegmentDomain_949295542E588FAFD0843950DD736B5D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_6396F55D2C7628AD9C703950DD73328B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_949295542E588FAFD0843950DD736B5D" xlink:to="loc_agm_InstitutionalCreditMemberMember_6396F55D2C7628AD9C703950DD73328B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4F74F835E3F33E8301BA3950DD73F9D7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4F74F835E3F33E8301BA3950DD73F9D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_47C9D8071AA08B950A013950DD73F8AE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4F74F835E3F33E8301BA3950DD73F9D7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_47C9D8071AA08B950A013950DD73F8AE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_47C9D8071AA08B950A013950DD73F8AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_4F74F835E3F33E8301BA3950DD73F9D7" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_47C9D8071AA08B950A013950DD73F8AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_1045F472DB5A08DF8CDE3950DD73A251" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_47C9D8071AA08B950A013950DD73F8AE" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_1045F472DB5A08DF8CDE3950DD73A251" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_CAE2B03A5EF33E57C6833950DD737E31" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_CAE2B03A5EF33E57C6833950DD737E31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7EE19F1BBDA07D0CDB783950DD7362DC_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_CAE2B03A5EF33E57C6833950DD737E31" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7EE19F1BBDA07D0CDB783950DD7362DC_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7EE19F1BBDA07D0CDB783950DD7362DC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_CAE2B03A5EF33E57C6833950DD737E31" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7EE19F1BBDA07D0CDB783950DD7362DC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_D9F7F2AE376C914BC1613950DD7D0839" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7EE19F1BBDA07D0CDB783950DD7362DC" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_D9F7F2AE376C914BC1613950DD7D0839" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A2F8939A7CFBC63A41783950DD7D31D2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsTable_BD65997E67E2E156D1AD3950DD738317" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A2F8939A7CFBC63A41783950DD7D31D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_00030CE49E4B8534AD773950DD7D8402_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A2F8939A7CFBC63A41783950DD7D31D2" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_00030CE49E4B8534AD773950DD7D8402_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_00030CE49E4B8534AD773950DD7D8402" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_A2F8939A7CFBC63A41783950DD7D31D2" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_00030CE49E4B8534AD773950DD7D8402" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_C3F0EDDA18AD7838224D3950DD7DB9F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_00030CE49E4B8534AD773950DD7D8402" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_C3F0EDDA18AD7838224D3950DD7DB9F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestPaid" xlink:label="loc_us-gaap_InterestPaid_E6B39264A1440CE779AC3950DD7D40E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsLineItems_D882DFB5F724D0E1E6743950DD7D18AA" xlink:to="loc_us-gaap_InterestPaid_E6B39264A1440CE779AC3950DD7D40E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxesPaid" xlink:label="loc_us-gaap_IncomeTaxesPaid_DB622A4F9A05529B1DCB3950DD7DA279" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsLineItems_D882DFB5F724D0E1E6743950DD7D18AA" xlink:to="loc_us-gaap_IncomeTaxesPaid_DB622A4F9A05529B1DCB3950DD7DA279" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncashInvestingAndFinancingItemsAbstract" xlink:label="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OtherSignificantNoncashTransactionsLineItems_D882DFB5F724D0E1E6743950DD7D18AA" xlink:to="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RealEstateAcquisitionsThroughForeclosures" xlink:label="loc_us-gaap_RealEstateAcquisitionsThroughForeclosures_4B4C037FFCDD5D80928C3950DD7D17BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_us-gaap_RealEstateAcquisitionsThroughForeclosures_4B4C037FFCDD5D80928C3950DD7D17BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherInvestments_17F23659B4FF86CB38CB3950DD7DF4EF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherInvestments_17F23659B4FF86CB38CB3950DD7DF4EF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ConsolidationOfGuaranteedSecuritiesFromOffBalanceSheetToLoansHeldForInvestmentAndDebtSecuritiesOfConsolidatedTrustsHeldByThirdParties" xlink:label="loc_agm_ConsolidationOfGuaranteedSecuritiesFromOffBalanceSheetToLoansHeldForInvestmentAndDebtSecuritiesOfConsolidatedTrustsHeldByThirdParties_0A1C10639D1B28A973A93950DD7D6590" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_agm_ConsolidationOfGuaranteedSecuritiesFromOffBalanceSheetToLoansHeldForInvestmentAndDebtSecuritiesOfConsolidatedTrustsHeldByThirdParties_0A1C10639D1B28A973A93950DD7D6590" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PurchasesOfInvestmentSecuritiesTradedNotYetSettled" xlink:label="loc_agm_PurchasesOfInvestmentSecuritiesTradedNotYetSettled_856C0AE09F18309CC8AA3950DD7D5F5D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_agm_PurchasesOfInvestmentSecuritiesTradedNotYetSettled_856C0AE09F18309CC8AA3950DD7D5F5D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockRedemptionPremium" xlink:label="loc_us-gaap_PreferredStockRedemptionPremium_A0C14D33EB27DB1901583950DD7D78AE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_us-gaap_PreferredStockRedemptionPremium_A0C14D33EB27DB1901583950DD7D78AE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnsettledClassCCommonStockRepurchases" xlink:label="loc_agm_UnsettledClassCCommonStockRepurchases_A4D6DDDCF2C7CDFA3BAB3950DD7D9DC9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_agm_UnsettledClassCCommonStockRepurchases_A4D6DDDCF2C7CDFA3BAB3950DD7D9DC9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DeconsolidationofloansheldforinvestmentinconsolidatedtrustsanddebtsecuritiesofconsolidatedtrustsheldbythirdpartiestransferredtooffbalancesheetFRGuaranteedSecurities" xlink:label="loc_agm_DeconsolidationofloansheldforinvestmentinconsolidatedtrustsanddebtsecuritiesofconsolidatedtrustsheldbythirdpartiestransferredtooffbalancesheetFRGuaranteedSecurities_AA2FA69E3A5D9CF9130C3950DD7DAEB8" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_agm_DeconsolidationofloansheldforinvestmentinconsolidatedtrustsanddebtsecuritiesofconsolidatedtrustsheldbythirdpartiestransferredtooffbalancesheetFRGuaranteedSecurities_AA2FA69E3A5D9CF9130C3950DD7DAEB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_5BE16762D0AC77F98DBD3950DD7DE1B5" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_5BE16762D0AC77F98DBD3950DD7DE1B5" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TransferofFarmerMacGuaranteedSecuritiesAvailableforsaletoHeldtomaturityUnrealizedholdinggains" xlink:label="loc_agm_TransferofFarmerMacGuaranteedSecuritiesAvailableforsaletoHeldtomaturityUnrealizedholdinggains_5855BF943E8E82731D763950DD7D40E6" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_agm_TransferofFarmerMacGuaranteedSecuritiesAvailableforsaletoHeldtomaturityUnrealizedholdinggains_5855BF943E8E82731D763950DD7D40E6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TransferOfLoansHeldForSaleToLoansHeldForInvestmentUnamortizedDiscount" xlink:label="loc_agm_TransferOfLoansHeldForSaleToLoansHeldForInvestmentUnamortizedDiscount_82429EFA38F56666BE133950DD7D71B2" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NoncashInvestingAndFinancingItemsAbstract_BD520DD886C73409D76B3950DD7D7D94" xlink:to="loc_agm_TransferOfLoansHeldForSaleToLoansHeldForInvestmentUnamortizedDiscount_82429EFA38F56666BE133950DD7D71B2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesChangesInAccumulatedOtherComprehensiveIncomeNetOfTaxDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_13F7C8392AF273B2947C419FE93FBBE7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossTable" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0595B2F999AE5A13BBCF419FE93E84F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_13F7C8392AF273B2947C419FE93FBBE7" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0595B2F999AE5A13BBCF419FE93E84F9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_75DFBB5C9F256D39AEB4419FE93EEE1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0595B2F999AE5A13BBCF419FE93E84F9" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_75DFBB5C9F256D39AEB4419FE93EEE1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1700CECAA8290BB0C34B419FE93EE21B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_75DFBB5C9F256D39AEB4419FE93EEE1C" xlink:to="loc_us-gaap_EquityComponentDomain_1700CECAA8290BB0C34B419FE93EE21B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_1700CECAA8290BB0C34B419FE93EE21B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_75DFBB5C9F256D39AEB4419FE93EEE1C" xlink:to="loc_us-gaap_EquityComponentDomain_1700CECAA8290BB0C34B419FE93EE21B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember_D5DFE5C77242612DE17B419FE93E5EE1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1700CECAA8290BB0C34B419FE93EE21B" xlink:to="loc_us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember_D5DFE5C77242612DE17B419FE93E5EE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_9A8670FE1B6C3ECA9D16419FE93E1EEF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_1700CECAA8290BB0C34B419FE93EE21B" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_9A8670FE1B6C3ECA9D16419FE93E1EEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_81DDA80CBD3836382609419FE93ECD8D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossTable_0595B2F999AE5A13BBCF419FE93E84F9" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_81DDA80CBD3836382609419FE93ECD8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_627F93FA63BD0DB62D05419FE93E209E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_81DDA80CBD3836382609419FE93ECD8D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_627F93FA63BD0DB62D05419FE93E209E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_627F93FA63BD0DB62D05419FE93E209E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_81DDA80CBD3836382609419FE93ECD8D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_627F93FA63BD0DB62D05419FE93E209E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_AA33FC6571DF1A04653C419FE93F4BBD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_627F93FA63BD0DB62D05419FE93E209E" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_AA33FC6571DF1A04653C419FE93F4BBD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldtomaturitySecuritiesMember" xlink:label="loc_us-gaap_HeldtomaturitySecuritiesMember_8CF6E148C6A4CCDD4B6C419FE93FC4A0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_627F93FA63BD0DB62D05419FE93E209E" xlink:to="loc_us-gaap_HeldtomaturitySecuritiesMember_8CF6E148C6A4CCDD4B6C419FE93FC4A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_CC60838BC942ABEBA59C419FE93F2A69" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossLineItems_13F7C8392AF273B2947C419FE93FBBE7" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_CC60838BC942ABEBA59C419FE93F2A69" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_C701B77877E1D1196AAF419FE93F8BFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_CC60838BC942ABEBA59C419FE93F2A69" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_C701B77877E1D1196AAF419FE93F8BFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_342A73905C1A3753DAEC419FE93FA22B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_CC60838BC942ABEBA59C419FE93F2A69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_342A73905C1A3753DAEC419FE93FA22B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_2D5637314A71E2D5FFDC419FE93F4082" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_CC60838BC942ABEBA59C419FE93F2A69" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_2D5637314A71E2D5FFDC419FE93F4082" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_4282EFDFD028AAACD2EE419FE940D15F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTaxAbstract_CC60838BC942ABEBA59C419FE93F2A69" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_4282EFDFD028AAACD2EE419FE940D15F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesComponentsOfOtherComprehensiveIncomeLossAndRelatedTaxImpactDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems" xlink:label="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_C1E467EB73578969D5C341C97FEA2E53" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_C1E467EB73578969D5C341C97FEA2E53" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_6F9C8731A2E4152D015641C97FEA92AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_C1E467EB73578969D5C341C97FEA2E53" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_6F9C8731A2E4152D015641C97FEA92AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_6F9C8731A2E4152D015641C97FEA92AF" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain" xlink:label="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeAxis_6F9C8731A2E4152D015641C97FEA92AF" xlink:to="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnDerivativeInstrumentsMember" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsMember_141696FF646058E4D33241C97FEA3C6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsMember_141696FF646058E4D33241C97FEA3C6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsMember1" xlink:label="loc_us-gaap_GainLossOnInvestmentsMember1_26DD90C5CB703E12E1DF41C97FEA809E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156" xlink:to="loc_us-gaap_GainLossOnInvestmentsMember1_26DD90C5CB703E12E1DF41C97FEA809E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherIncomeMember" xlink:label="loc_us-gaap_OtherIncomeMember_F8761E859C74A24AEA5841C97FEAAB6F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156" xlink:to="loc_us-gaap_OtherIncomeMember_F8761E859C74A24AEA5841C97FEAAB6F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeMember" xlink:label="loc_us-gaap_InterestIncomeMember_70BA9249DD35A975991041C97FEAC254" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeDomain_0184BE503A4F4728696341C97FEAE156" xlink:to="loc_us-gaap_InterestIncomeMember_70BA9249DD35A975991041C97FEAC254" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C1E8B6950065C3417D5441C97FEA40FA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_C1E467EB73578969D5C341C97FEA2E53" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C1E8B6950065C3417D5441C97FEA40FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BDF8095B4F03F0BA83C641C97FEAE45D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C1E8B6950065C3417D5441C97FEA40FA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BDF8095B4F03F0BA83C641C97FEAE45D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BDF8095B4F03F0BA83C641C97FEAE45D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C1E8B6950065C3417D5441C97FEA40FA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BDF8095B4F03F0BA83C641C97FEAE45D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_6AD38E7BB17AB39E798841C97FEAC94D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BDF8095B4F03F0BA83C641C97FEAE45D" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_6AD38E7BB17AB39E798841C97FEAC94D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldtomaturitySecuritiesMember" xlink:label="loc_us-gaap_HeldtomaturitySecuritiesMember_A05A7390D6E04F8C79EB41C97FEB8354" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_BDF8095B4F03F0BA83C641C97FEAE45D" xlink:to="loc_us-gaap_HeldtomaturitySecuritiesMember_A05A7390D6E04F8C79EB41C97FEB8354" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_635924D2F5739D59E34D41C97FEB3272" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ReclassificationOutOfAccumulatedOtherComprehensiveIncomeTable_C1E467EB73578969D5C341C97FEA2E53" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_635924D2F5739D59E34D41C97FEB3272" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F140379DF6DD02EFE57541C97FEBCDD5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_635924D2F5739D59E34D41C97FEB3272" xlink:to="loc_us-gaap_EquityComponentDomain_F140379DF6DD02EFE57541C97FEBCDD5_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_F140379DF6DD02EFE57541C97FEBCDD5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_635924D2F5739D59E34D41C97FEB3272" xlink:to="loc_us-gaap_EquityComponentDomain_F140379DF6DD02EFE57541C97FEBCDD5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember_04BF53F53916376D3D9E41C97FEBEF94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F140379DF6DD02EFE57541C97FEBCDD5" xlink:to="loc_us-gaap_AccumulatedNetInvestmentGainLossIncludingPortionAttributableToNoncontrollingInterestMember_04BF53F53916376D3D9E41C97FEBEF94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_3D63EE9E02CC6888170F41C97FEBA74F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_F140379DF6DD02EFE57541C97FEBCDD5" xlink:to="loc_us-gaap_AccumulatedNetGainLossFromCashFlowHedgesIncludingPortionAttributableToNoncontrollingInterestMember_3D63EE9E02CC6888170F41C97FEBA74F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_8050832A55A28AC4C72041C97FEBFC7B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsBeforeTax_8050832A55A28AC4C72041C97FEBFC7B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_BAA20B793DE8A9C8A1FA41C97FEBB3D8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsTax_BAA20B793DE8A9C8A1FA41C97FEBB3D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_62531537E64AADBCB37041C97FEB8C10" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeReclassificationsNetOfTax_62531537E64AADBCB37041C97FEB8C10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2231425DF545A8B419D741C97FEB7791" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodBeforeTax_2231425DF545A8B419D741C97FEB7791" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAociCurrentPeriodTax" xlink:label="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_DF07C1EDC22929F5094741C97FEB1DF2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_ReclassificationFromAociCurrentPeriodTax_DF07C1EDC22929F5094741C97FEB1DF2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax" xlink:label="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_D3B64D3A47AD9738258141C97FEB830A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_ReclassificationFromAccumulatedOtherComprehensiveIncomeCurrentPeriodNetOfTax_D3B64D3A47AD9738258141C97FEB830A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossBeforeTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_E23C5FB537A0C1E5775041C97FEBA1D4" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossBeforeTax_E23C5FB537A0C1E5775041C97FEBA1D4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossTax_8B30DA5554A51AF6310441C97FEB9477" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossTax_8B30DA5554A51AF6310441C97FEB9477" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_BD6B4F1D5BF3DBFCB1E941C97FEC4D08" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ReclassificationAdjustmentOutOfAccumulatedOtherComprehensiveIncomeOnDerivativesLineItems_13C3F15036773BEDA1D641C97FEBF848" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_BD6B4F1D5BF3DBFCB1E941C97FEC4D08" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesConsolidationOfVariableInterestEntitiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityLineItems" xlink:label="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfVariableInterestEntitiesTable" xlink:label="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_C24340E7B480461B461D328F5352D9BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_C24340E7B480461B461D328F5352D9BA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F19E513356224E5BCA61328F53524166" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_C24340E7B480461B461D328F5352D9BA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F19E513356224E5BCA61328F53524166" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FF1B67DFF1E2C33F7781328F5352767B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F19E513356224E5BCA61328F53524166" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FF1B67DFF1E2C33F7781328F5352767B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FF1B67DFF1E2C33F7781328F5352767B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F19E513356224E5BCA61328F53524166" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FF1B67DFF1E2C33F7781328F5352767B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_CCCA6828221F15DD41AA328F53536D9F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FF1B67DFF1E2C33F7781328F5352767B" xlink:to="loc_us-gaap_DebtSecuritiesMember_CCCA6828221F15DD41AA328F53536D9F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember_EFB0F5F175A8172D52D0328F5353D673" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FF1B67DFF1E2C33F7781328F5352767B" xlink:to="loc_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember_EFB0F5F175A8172D52D0328F5353D673" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_DE396B394B54847A35C6328F5353F132" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_C24340E7B480461B461D328F5352D9BA" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_DE396B394B54847A35C6328F5353F132" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_FE7019FA1C4D2A9D235C328F5353565B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_DE396B394B54847A35C6328F5353F132" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_FE7019FA1C4D2A9D235C328F5353565B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_FE7019FA1C4D2A9D235C328F5353565B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_DE396B394B54847A35C6328F5353F132" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_FE7019FA1C4D2A9D235C328F5353565B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OffBalanceSheetMember" xlink:label="loc_agm_OffBalanceSheetMember_5C526DD5414868822847328F5353267E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FE7019FA1C4D2A9D235C328F5353565B" xlink:to="loc_agm_OffBalanceSheetMember_5C526DD5414868822847328F5353267E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_C43000B5BA359FD33643328F5353704F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_FE7019FA1C4D2A9D235C328F5353565B" xlink:to="loc_agm_OnBalanceSheetMember_C43000B5BA359FD33643328F5353704F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_CB67911B5F2EB524B768328F53531B31" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_C24340E7B480461B461D328F5352D9BA" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_CB67911B5F2EB524B768328F53531B31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_CB67911B5F2EB524B768328F53531B31" xlink:to="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_CB67911B5F2EB524B768328F53531B31" xlink:to="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_7065CFDCC42E17A91C50328F53532B20" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:to="loc_agm_FarmRanchMember_7065CFDCC42E17A91C50328F53532B20" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_DA6A1AE750F69EF6C86C328F5354C3EE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:to="loc_agm_USDAGuaranteesMember_DA6A1AE750F69EF6C86C328F5354C3EE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RuralUtilitiesMember" xlink:label="loc_agm_RuralUtilitiesMember_2F1E0DD83EE512571409328F5354651A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:to="loc_agm_RuralUtilitiesMember_2F1E0DD83EE512571409328F5354651A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_1860DA5E02496A68EA00328F53541499" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:to="loc_agm_InstitutionalCreditMemberMember_1860DA5E02496A68EA00328F53541499" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateMember" xlink:label="loc_us-gaap_CorporateMember_497E81AA4EC0980AEEAA328F535451F2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_E570818C69F8CC3D4217328F5353C422" xlink:to="loc_us-gaap_CorporateMember_497E81AA4EC0980AEEAA328F535451F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis" xlink:label="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_95380EBE6D9589346B79328F53546840" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfVariableInterestEntitiesTable_C24340E7B480461B461D328F5352D9BA" xlink:to="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_95380EBE6D9589346B79328F53546840" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassificationOfVariableInterestEntityDomain" xlink:label="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_7B5D8400284F3D9B3F29328F5354AB18_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_95380EBE6D9589346B79328F53546840" xlink:to="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_7B5D8400284F3D9B3F29328F5354AB18_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassificationOfVariableInterestEntityDomain" xlink:label="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_7B5D8400284F3D9B3F29328F5354AB18" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_VariableInterestEntitiesByClassificationOfEntityAxis_95380EBE6D9589346B79328F53546840" xlink:to="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_7B5D8400284F3D9B3F29328F5354AB18" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_D679867F691D0F2BFE7F328F5354D0F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassificationOfVariableInterestEntityDomain_7B5D8400284F3D9B3F29328F5354AB18" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_D679867F691D0F2BFE7F328F5354D0F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherLiabilities" xlink:label="loc_us-gaap_OtherLiabilities_348F4A0E89B4C81CE0B1328F535496EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_OtherLiabilities_348F4A0E89B4C81CE0B1328F535496EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_97E40348D7B19763DAB9328F5354D906" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_97E40348D7B19763DAB9328F5354D906" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:label="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets_7A0A3C5AB0627C67B99B328F5355A1BB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets_7A0A3C5AB0627C67B99B328F5355A1BB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities" xlink:label="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities_C1707D7A4B9209C68B73328F5355DB20" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities_C1707D7A4B9209C68B73328F5355DB20" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet" xlink:label="loc_us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet_67C71BCE59D60506D329328F5355DE0A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_VariableInterestEntityNonconsolidatedCarryingAmountAssetsAndLiabilitiesNet_67C71BCE59D60506D329328F5355DE0A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount" xlink:label="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_1381494973880D1B8E27328F5355D118" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_us-gaap_VariableInterestEntityEntityMaximumLossExposureAmount_1381494973880D1B8E27328F5355D118" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FairValueAdjustment" xlink:label="loc_agm_FairValueAdjustment_8F0F27984065E05CC8C1328F53557727" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_VariableInterestEntityLineItems_74FFC0F5C5552691608D328F535433E7" xlink:to="loc_agm_FairValueAdjustment_8F0F27984065E05CC8C1328F53557727" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareAntiDilutiveDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable" xlink:label="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A7BBEFD750C09EBCE8A41978D06D76A1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A7BBEFD750C09EBCE8A41978D06D76A1" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B134A1E36E29433D29011978D06D7E39" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareTable_A7BBEFD750C09EBCE8A41978D06D76A1" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B134A1E36E29433D29011978D06D7E39" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5C64F21C3427352CB7D31978D06D3893_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B134A1E36E29433D29011978D06D7E39" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5C64F21C3427352CB7D31978D06D3893_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesNameDomain" xlink:label="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5C64F21C3427352CB7D31978D06D3893" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareByAntidilutiveSecuritiesAxis_B134A1E36E29433D29011978D06D7E39" xlink:to="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5C64F21C3427352CB7D31978D06D3893" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_StockOptionsAndStockAppreciationRightsMember" xlink:label="loc_agm_StockOptionsAndStockAppreciationRightsMember_1D8CB8B3B7027588738E1978D06D6294" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5C64F21C3427352CB7D31978D06D3893" xlink:to="loc_agm_StockOptionsAndStockAppreciationRightsMember_1D8CB8B3B7027588738E1978D06D6294" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PerformanceSharesMember" xlink:label="loc_us-gaap_PerformanceSharesMember_5AA11A3A35C1D1561EAB1978D06D0EF1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesNameDomain_5C64F21C3427352CB7D31978D06D3893" xlink:to="loc_us-gaap_PerformanceSharesMember_5AA11A3A35C1D1561EAB1978D06D0EF1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_0C7DF78578144458075019C1B2AB917C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_0C7DF78578144458075019C1B2AB917C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_C4C05D73095A248332A81978D06DB592" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersDiluted_C4C05D73095A248332A81978D06DB592" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_CDB395735788BFB503191978D06DBA98" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_IncrementalCommonSharesAttributableToShareBasedPaymentArrangements_CDB395735788BFB503191978D06DBA98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount" xlink:label="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_C10D752CEE24732DC2E51978D06DF019" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareAmount_C10D752CEE24732DC2E51978D06DF019" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfSharesOutstandingBasic" xlink:label="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_CE24AD2F67332A63D61D1978D06D8509" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_WeightedAverageNumberOfSharesOutstandingBasic_CE24AD2F67332A63D61D1978D06D8509" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareBasic" xlink:label="loc_us-gaap_EarningsPerShareBasic_3F25E3B79D67A61379CA1978D06DD49A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_EarningsPerShareBasic_3F25E3B79D67A61379CA1978D06DD49A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements" xlink:label="loc_agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements_E43F485E00A71CE5A8A11978D06DF1DD" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements_E43F485E00A71CE5A8A11978D06DF1DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding" xlink:label="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1C3A41E175BED4FD98A71978D06DBBB1" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_WeightedAverageNumberOfDilutedSharesOutstanding_1C3A41E175BED4FD98A71978D06DBBB1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EarningsPerShareDiluted" xlink:label="loc_us-gaap_EarningsPerShareDiluted_FE28D097C9AB4C86A8401978D06D3E54" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AntidilutiveSecuritiesExcludedFromComputationOfEarningsPerShareLineItems_B7B97BAEAEA6B2B94F7D1978D06D0547" xlink:to="loc_us-gaap_EarningsPerShareDiluted_FE28D097C9AB4C86A8401978D06D3E54" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesEarningsPerShareDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesPrinciplesOfConsolidationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesRealEstateOwnedDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesReclassificationsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesStockBasedCompensationDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/AccountingPoliciesTransfersOfFinancialAssetsAndLiabilitiesDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReporting" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingNarrativeDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReportingBusinessSegmentReportingTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/BusinessSegmentReportingCoreEarningsBusinessSegmentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationLineItems" xlink:label="loc_us-gaap_SegmentReportingInformationLineItems_BDA48175B2B876260DD13D3112A6FB77" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable" xlink:label="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_B1114F0C676738537ECD3D3112A5D319" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_BDA48175B2B876260DD13D3112A6FB77" xlink:to="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_B1114F0C676738537ECD3D3112A5D319" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3202D13E3C32CFC24DB33D3112A532F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfSegmentReportingInformationBySegmentTable_B1114F0C676738537ECD3D3112A5D319" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3202D13E3C32CFC24DB33D3112A532F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3202D13E3C32CFC24DB33D3112A532F1" xlink:to="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3202D13E3C32CFC24DB33D3112A532F1" xlink:to="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_4B8F157FD1065C76D1323D3112A5C91F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:to="loc_agm_FarmRanchMember_4B8F157FD1065C76D1323D3112A5C91F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_D827922E06E2E9C3DF4C3D3112A513CF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:to="loc_agm_USDAGuaranteesMember_D827922E06E2E9C3DF4C3D3112A513CF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RuralUtilitiesMember" xlink:label="loc_agm_RuralUtilitiesMember_2AA69D4A8A012DD3430F3D3112A53E6C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:to="loc_agm_RuralUtilitiesMember_2AA69D4A8A012DD3430F3D3112A53E6C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_B8506151BEF80A20EB513D3112A5A286" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:to="loc_agm_InstitutionalCreditMemberMember_B8506151BEF80A20EB513D3112A5A286" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateMember" xlink:label="loc_us-gaap_CorporateMember_263BC683AD681C8F252C3D3112A5F41E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:to="loc_us-gaap_CorporateMember_263BC683AD681C8F252C3D3112A5F41E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaterialReconcilingItemsMember" xlink:label="loc_us-gaap_MaterialReconcilingItemsMember_FD78805FA17EA0FBA3F03D3112A51DA6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_96AECC020C6A27A670E53D3112A5AF69" xlink:to="loc_us-gaap_MaterialReconcilingItemsMember_FD78805FA17EA0FBA3F03D3112A51DA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationProfitLossAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_BDA48175B2B876260DD13D3112A6FB77" xlink:to="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestAndDividendIncomeOperating" xlink:label="loc_us-gaap_InterestAndDividendIncomeOperating_27FB994335C0C54348903D3112A663D0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_InterestAndDividendIncomeOperating_27FB994335C0C54348903D3112A663D0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestIncomeReclassification" xlink:label="loc_agm_InterestIncomeReclassification_AA3DE0B744C6B7BBEA5E3D3112A60EB7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_agm_InterestIncomeReclassification_AA3DE0B744C6B7BBEA5E3D3112A60EB7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestExpense" xlink:label="loc_us-gaap_InterestExpense_80B7FFF1EBC5415FC1793D3112A66797" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_InterestExpense_80B7FFF1EBC5415FC1793D3112A66797" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeExpenseNet" xlink:label="loc_us-gaap_InterestIncomeExpenseNet_7FC7EDAB511F573945A93D3112A6A6E6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_InterestIncomeExpenseNet_7FC7EDAB511F573945A93D3112A6A6E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyFeeIncome" xlink:label="loc_us-gaap_GuarantyFeeIncome_ECC1E09AA2A39C8C8D6F3D3112A635A6" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_GuarantyFeeIncome_ECC1E09AA2A39C8C8D6F3D3112A635A6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees" xlink:label="loc_agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees_151E5BE380CBBD65F6883D3112A64A22" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_agm_OtherNonInterestIncomeExpenseExcludingGuaranteeAndCommitmentFees_151E5BE380CBBD65F6883D3112A64A22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestIncome" xlink:label="loc_us-gaap_NoninterestIncome_2BA66811DF60E7304D7F3D3112A64C95" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_NoninterestIncome_2BA66811DF60E7304D7F3D3112A64C95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_E112C4FC5B9EE7E1B6753D3112A61F59" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_E112C4FC5B9EE7E1B6753D3112A61F59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_34CB53CFC6645DBA99FD3D3112A696AA" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_34CB53CFC6645DBA99FD3D3112A696AA" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses" xlink:label="loc_agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses_FC4C5318DFFF22B1069A3D3112A65DB0" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses_FC4C5318DFFF22B1069A3D3112A65DB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoninterestExpense" xlink:label="loc_us-gaap_NoninterestExpense_C3F238831549D45D9A0B3D3112A7FCBE" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_NoninterestExpense_C3F238831549D45D9A0B3D3112A7FCBE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SegmentCoreEarningsBeforeIncomeTaxes" xlink:label="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_12DF4DC3F070137390D13D3112A77078" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_agm_SegmentCoreEarningsBeforeIncomeTaxes_12DF4DC3F070137390D13D3112A77078" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments" xlink:label="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_B0BAB1C07CCBF78975CB3D3112A7C49A" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_IncomeLossFromContinuingOperationsBeforeIncomeTaxesMinorityInterestAndIncomeLossFromEquityMethodInvestments_B0BAB1C07CCBF78975CB3D3112A7C49A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_IncomeTaxExpenseBenefit_AAB31769C44623C4B1BF3D3112A794CC" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_IncomeTaxExpenseBenefit_AAB31769C44623C4B1BF3D3112A794CC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends" xlink:label="loc_agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends_D58F1D1221CBFF39B95D3D3112A7D6E5" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_agm_SegmentCoreEarningsBeforePreferredStockDividendsAndAttibutionOfIncomeToNonControllingInterestPreferredStockDividends_D58F1D1221CBFF39B95D3D3112A7D6E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationProfitLossAbstract_FD417ED4312A35767CFE3D3112A666F5" xlink:to="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockDividendsIncomeStatementImpact" xlink:label="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_79B3E0E650860FB370413D3112A76952" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:to="loc_us-gaap_PreferredStockDividendsIncomeStatementImpact_79B3E0E650860FB370413D3112A76952" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_8F3812CDD33CCED04A6A3D3112A7D9C5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_8F3812CDD33CCED04A6A3D3112A7D9C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockRedemptionPremium" xlink:label="loc_us-gaap_PreferredStockRedemptionPremium_1108199988D4457DEA6B3D3112A7F1F2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:to="loc_us-gaap_PreferredStockRedemptionPremium_1108199988D4457DEA6B3D3112A7F1F2" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SegmentCoreEarnings" xlink:label="loc_agm_SegmentCoreEarnings_3878BD6F6098771489673D3112A7C6C8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:to="loc_agm_SegmentCoreEarnings_3878BD6F6098771489673D3112A7C6C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic" xlink:label="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_912469128FFB8AD80E063D3112A7D9CD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProfitLoss_7EFA2E1C734E93F4942C3D3112A7CAB5" xlink:to="loc_us-gaap_NetIncomeLossAvailableToCommonStockholdersBasic_912469128FFB8AD80E063D3112A7D9CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentReportingInformationAdditionalInformationAbstract" xlink:label="loc_us-gaap_SegmentReportingInformationAdditionalInformationAbstract_01090462C1C2195646433D3112A7C78B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationLineItems_BDA48175B2B876260DD13D3112A6FB77" xlink:to="loc_us-gaap_SegmentReportingInformationAdditionalInformationAbstract_01090462C1C2195646433D3112A7C78B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_BDF52E48E0B7CF7E6C533D3112A88E22" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationAdditionalInformationAbstract_01090462C1C2195646433D3112A7C78B" xlink:to="loc_us-gaap_Assets_BDF52E48E0B7CF7E6C533D3112A88E22" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance" xlink:label="loc_agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance_668581C1078A589C042D3D3112A8AC0E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentReportingInformationAdditionalInformationAbstract_01090462C1C2195646433D3112A7C78B" xlink:to="loc_agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance_668581C1078A589C042D3D3112A8AC0E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/ConsolidatedBalanceSheets" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_E4E96250171C00D9FB5A3D3115297147" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_7A34932F90B10018EF993D311528F41D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_E4E96250171C00D9FB5A3D3115297147" xlink:to="loc_us-gaap_StatementTable_7A34932F90B10018EF993D311528F41D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AD7C62D8491B6F790CE03D311528B701" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7A34932F90B10018EF993D311528F41D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AD7C62D8491B6F790CE03D311528B701" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AD7C62D8491B6F790CE03D311528B701" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_AD7C62D8491B6F790CE03D311528B701" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_5C3DDD1E8AA0EF5149D93D31152845D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A" xlink:to="loc_us-gaap_DebtSecuritiesMember_5C3DDD1E8AA0EF5149D93D31152845D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember_9D9BDF0AA25EFAE79E9B3D3115285241" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A" xlink:to="loc_us-gaap_MortgageBackedSecuritiesIssuedByUSGovernmentSponsoredEnterprisesMember_9D9BDF0AA25EFAE79E9B3D3115285241" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_406730DFD410A63F2C0D3D311528FCD4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A790CEC3302D74AAF2B03D311528BD3A" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_406730DFD410A63F2C0D3D311528FCD4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_77982009611A14D6E1E83D311528FE8D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_7A34932F90B10018EF993D311528F41D" xlink:to="loc_us-gaap_StatementClassOfStockAxis_77982009611A14D6E1E83D311528FE8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_77982009611A14D6E1E83D311528FE8D" xlink:to="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_77982009611A14D6E1E83D311528FE8D" xlink:to="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_308752F1B2F6765752373D3115296B94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_308752F1B2F6765752373D3115296B94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_FCAC472063AB3CDD8D453D311529D8F9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_FCAC472063AB3CDD8D453D311529D8F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesCPreferredStockMember" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_D695C780ACD5621EC14E3D3115294CF0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_D695C780ACD5621EC14E3D3115294CF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_F52EAB07C0F4254F79A53D3115297B32" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:to="loc_us-gaap_CommonClassAMember_F52EAB07C0F4254F79A53D3115297B32" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_50E5464429C49EB1F5D73D311529E148" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:to="loc_us-gaap_CommonClassBMember_50E5464429C49EB1F5D73D311529E148" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_B25D2A1A666026BFC3873D311529C584" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_1A35F6D96301CE0184E93D311529F09E" xlink:to="loc_us-gaap_CommonClassCMember_B25D2A1A666026BFC3873D311529C584" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsAbstract" xlink:label="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_E4E96250171C00D9FB5A3D3115297147" xlink:to="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_D8BDF8CA68DC60486E733D31152940F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_D8BDF8CA68DC60486E733D31152940F9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_23C5D86B29DA53C17FA13D3115298018" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_AvailableForSaleSecurities_23C5D86B29DA53C17FA13D3115298018" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecurities" xlink:label="loc_us-gaap_HeldToMaturitySecurities_16DE097304F8F39DDF393D3115295A4D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_HeldToMaturitySecurities_16DE097304F8F39DDF393D3115295A4D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_2C3A8086BC20B7AADA213D311529AAE4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_TradingSecurities_2C3A8086BC20B7AADA213D311529AAE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketableSecurities" xlink:label="loc_us-gaap_MarketableSecurities_3916A4222B9A29C9A72F3D31152ADE13" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_MarketableSecurities_3916A4222B9A29C9A72F3D31152ADE13" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract" xlink:label="loc_us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract_89AF741DF9920A5F83433D31152A5F9E" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract_89AF741DF9920A5F83433D31152A5F9E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_49014E87A23B4D2573913D31152AF08F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract_89AF741DF9920A5F83433D31152A5F9E" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_49014E87A23B4D2573913D31152AF08F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets" xlink:label="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets_775D8BB4375FBD7B5C1B3D31152A508B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract_89AF741DF9920A5F83433D31152A5F9E" xlink:to="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountAssets_775D8BB4375FBD7B5C1B3D31152A508B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRealEstate" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_47D9DC7BC6BBCD8D9B953D31152A08C0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract_89AF741DF9920A5F83433D31152A5F9E" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_47D9DC7BC6BBCD8D9B953D31152A08C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2B2782024B0103DC1AE53D31152A01A9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LoansReceivableCommercialFinancialAndAgriculturalAbstract_89AF741DF9920A5F83433D31152A5F9E" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_2B2782024B0103DC1AE53D31152A01A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_F091B5CBA362CB19D5E63D31152A093F" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_F091B5CBA362CB19D5E63D31152A093F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_52EAE4F4560332FDCC243D31152AF8D5" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_52EAE4F4560332FDCC243D31152AF8D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestReceivable" xlink:label="loc_us-gaap_InterestReceivable_D137FFA6CEB44318D92F3D31152AF49B" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_InterestReceivable_D137FFA6CEB44318D92F3D31152AF49B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyAssets" xlink:label="loc_us-gaap_GuarantyAssets_3CE9C99000AB2895BF503D31152ADBAB" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_GuarantyAssets_3CE9C99000AB2895BF503D31152ADBAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_FB74D83019372BA772643D31152A624A" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_FB74D83019372BA772643D31152A624A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PrepaidExpenseAndOtherAssets" xlink:label="loc_us-gaap_PrepaidExpenseAndOtherAssets_74879D7F15D4B38CAFE83D31152A6750" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_PrepaidExpenseAndOtherAssets_74879D7F15D4B38CAFE83D31152A6750" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Assets" xlink:label="loc_us-gaap_Assets_03D6AA52F924786298D93D31152A2E55" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AssetsAbstract_D26938C1EDAD27FE5D353D3115294219" xlink:to="loc_us-gaap_Assets_03D6AA52F924786298D93D31152A2E55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquityAbstract" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_989B03598C41555B653C3D31152B23D7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_E4E96250171C00D9FB5A3D3115297147" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_989B03598C41555B653C3D31152B23D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAbstract" xlink:label="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_989B03598C41555B653C3D31152B23D7" xlink:to="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayableAbstract" xlink:label="loc_us-gaap_NotesPayableAbstract_3ADA51C1E8E1C980AE633D31152B1A2C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_NotesPayableAbstract_3ADA51C1E8E1C980AE633D31152B1A2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_FC03AF9BCEA04F041CB43D31152B3A94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotesPayableAbstract_3ADA51C1E8E1C980AE633D31152B1A2C" xlink:to="loc_us-gaap_ShortTermBorrowings_FC03AF9BCEA04F041CB43D31152B3A94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_E52E11CC3414A4E28FAA3D31152B5B8A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotesPayableAbstract_3ADA51C1E8E1C980AE633D31152B1A2C" xlink:to="loc_us-gaap_LongTermDebt_E52E11CC3414A4E28FAA3D31152B5B8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_A20BD3F8A0415F4A500F3D31152BFCDC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotesPayableAbstract_3ADA51C1E8E1C980AE633D31152B1A2C" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_A20BD3F8A0415F4A500F3D31152BFCDC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities" xlink:label="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities_C22948FFC17A6B91E24B3D31152B51E8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_VariableInterestEntityConsolidatedCarryingAmountLiabilities_C22948FFC17A6B91E24B3D31152B51E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_97C9410C2A14DC174B1E3D31152B6B8A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_97C9410C2A14DC174B1E3D31152B6B8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_C5F9B404BBD26BC35E0C3D31152B9896" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_C5F9B404BBD26BC35E0C3D31152B9896" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyLiabilities" xlink:label="loc_us-gaap_GuarantyLiabilities_A6713FA5D92F722A9D903D31152BC1C4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_GuarantyLiabilities_A6713FA5D92F722A9D903D31152BC1C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsPayableAndOtherAccruedLiabilities" xlink:label="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_894415B99FFCD25478483D31152B7CB8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_AccountsPayableAndOtherAccruedLiabilities_894415B99FFCD25478483D31152B7CB8" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ReserveForLosses" xlink:label="loc_agm_ReserveForLosses_DE035C7B1492D957B0733D31152B496C" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_agm_ReserveForLosses_DE035C7B1492D957B0733D31152B496C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_Liabilities" xlink:label="loc_us-gaap_Liabilities_6269492C3D0A92D18B543D31152B67DD" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAbstract_A582E07E8040C1F0452A3D31152BB246" xlink:to="loc_us-gaap_Liabilities_6269492C3D0A92D18B543D31152B67DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommitmentsAndContingencies" xlink:label="loc_us-gaap_CommitmentsAndContingencies_BB28CF8353881B919E5B3D31152C7154" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_989B03598C41555B653C3D31152B23D7" xlink:to="loc_us-gaap_CommitmentsAndContingencies_BB28CF8353881B919E5B3D31152C7154" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_989B03598C41555B653C3D31152B23D7" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_49EEBEBFADF3AB5DE6B63D31152C963E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_49EEBEBFADF3AB5DE6B63D31152C963E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockValue" xlink:label="loc_us-gaap_PreferredStockValue_8C209FA92C83CD658BC43D31152CCB50" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_PreferredStockNumberOfSharesParValueAndOtherDisclosuresAbstract_49EEBEBFADF3AB5DE6B63D31152C963E" xlink:to="loc_us-gaap_PreferredStockValue_8C209FA92C83CD658BC43D31152CCB50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract" xlink:label="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_75262AA84384E3974CE73D31152CC2DA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_75262AA84384E3974CE73D31152CC2DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockValue" xlink:label="loc_us-gaap_CommonStockValue_914C61E81918447F4A9D3D31152C24A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CommonStockNumberOfSharesParValueAndOtherDisclosuresAbstract_75262AA84384E3974CE73D31152CC2DA" xlink:to="loc_us-gaap_CommonStockValue_914C61E81918447F4A9D3D31152C24A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapital" xlink:label="loc_us-gaap_AdditionalPaidInCapital_A73837D2D6E9007FF8FB3D31152CA960" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_AdditionalPaidInCapital_A73837D2D6E9007FF8FB3D31152CA960" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_07DC71248396D89E2E053D31152CB49C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_AccumulatedOtherComprehensiveIncomeLossNetOfTax_07DC71248396D89E2E053D31152CB49C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsAccumulatedDeficit" xlink:label="loc_us-gaap_RetainedEarningsAccumulatedDeficit_F24A9C128C13E025A7603D31152C27C2" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_RetainedEarningsAccumulatedDeficit_F24A9C128C13E025A7603D31152C27C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquity" xlink:label="loc_us-gaap_StockholdersEquity_599EA2964B8E964A1F973D31152C85E3" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_StockholdersEquity_599EA2964B8E964A1F973D31152C85E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterest" xlink:label="loc_us-gaap_MinorityInterest_6AE0DFAE5A2B2F77D3E23D31152CE8C2" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_MinorityInterest_6AE0DFAE5A2B2F77D3E23D31152CE8C2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_767D46CD53418E8FA0913D31152CCA9C" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterestAbstract_596F4CEA2670227E0D783D31152CEA0E" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_767D46CD53418E8FA0913D31152CCA9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesAndStockholdersEquity" xlink:label="loc_us-gaap_LiabilitiesAndStockholdersEquity_F34E96E6F37D5094F0D63D31152C5F55" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LiabilitiesAndStockholdersEquityAbstract_989B03598C41555B653C3D31152B23D7" xlink:to="loc_us-gaap_LiabilitiesAndStockholdersEquity_F34E96E6F37D5094F0D63D31152C5F55" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/ConsolidatedBalanceSheetsParenthetical" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_60E03ECEB50DF2CFDAB7B69ED840DC80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_StatementTable_60E03ECEB50DF2CFDAB7B69ED840DC80" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_E91992CEF7CFAFCBA8A4B69ED840A6B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_60E03ECEB50DF2CFDAB7B69ED840DC80" xlink:to="loc_dei_LegalEntityAxis_E91992CEF7CFAFCBA8A4B69ED840A6B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_A760930C0D18C83914D2B69ED8404EFF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_E91992CEF7CFAFCBA8A4B69ED840A6B5" xlink:to="loc_dei_EntityDomain_A760930C0D18C83914D2B69ED8404EFF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_A760930C0D18C83914D2B69ED8404EFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_E91992CEF7CFAFCBA8A4B69ED840A6B5" xlink:to="loc_dei_EntityDomain_A760930C0D18C83914D2B69ED8404EFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_CB2E44EB1C520C91E376B69ED84052D1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_A760930C0D18C83914D2B69ED8404EFF" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_CB2E44EB1C520C91E376B69ED84052D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_FE33B609DF75EE365B3CB69ED840D0F7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_60E03ECEB50DF2CFDAB7B69ED840DC80" xlink:to="loc_us-gaap_StatementClassOfStockAxis_FE33B609DF75EE365B3CB69ED840D0F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_FE33B609DF75EE365B3CB69ED840D0F7" xlink:to="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_FE33B609DF75EE365B3CB69ED840D0F7" xlink:to="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_ABEF600D6072F608F5BCB69ED8415EBA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_ABEF600D6072F608F5BCB69ED8415EBA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_556EE75638E8702CFB54B69ED841C9BC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_556EE75638E8702CFB54B69ED841C9BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesCPreferredStockMember" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_67EBCB7351A88DED12ABB69ED8417D40" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_67EBCB7351A88DED12ABB69ED8417D40" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_625271CB6379B7260139B69ED841E08D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:to="loc_us-gaap_CommonClassAMember_625271CB6379B7260139B69ED841E08D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_CA82BC72F2A63D7036FAB69ED8418F25" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:to="loc_us-gaap_CommonClassBMember_CA82BC72F2A63D7036FAB69ED8418F25" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_0750378C949484833C64B69ED841752B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_95B408B2E3507B6959BEB69ED840C962" xlink:to="loc_us-gaap_CommonClassCMember_0750378C949484833C64B69ED841752B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestReceivable" xlink:label="loc_us-gaap_InterestReceivable_15EBE4E336A79AD1EE7AB69ED841F2CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_InterestReceivable_15EBE4E336A79AD1EE7AB69ED841F2CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestPayableCurrentAndNoncurrent" xlink:label="loc_us-gaap_InterestPayableCurrentAndNoncurrent_5A83FFF577263EF1FC08B69ED841B953" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_InterestPayableCurrentAndNoncurrent_5A83FFF577263EF1FC08B69ED841B953" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_70AB4AB862BC695A7B86B69ED8410702" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_70AB4AB862BC695A7B86B69ED8410702" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockSharesAuthorized" xlink:label="loc_us-gaap_PreferredStockSharesAuthorized_71E0491D1A00E94B6E26B69ED841C6B3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_PreferredStockSharesAuthorized_71E0491D1A00E94B6E26B69ED841C6B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_7763F8EB13FA7283E55DB69ED841FD12" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_PreferredStockSharesIssued_7763F8EB13FA7283E55DB69ED841FD12" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_D5CE2300CA4DFC5FA4BDB69ED841A7D9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_D5CE2300CA4DFC5FA4BDB69ED841A7D9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_CommonStockParOrStatedValuePerShare_564882D5D34D2F5F6502B69ED841E706" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_CommonStockParOrStatedValuePerShare_564882D5D34D2F5F6502B69ED841E706" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockSharesOutstanding" xlink:label="loc_us-gaap_CommonStockSharesOutstanding_6DA4E6E7429EB817FFBFB69ED8419D99" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_95271A8DAAF10E217866B69ED8417A6E" xlink:to="loc_us-gaap_CommonStockSharesOutstanding_6DA4E6E7429EB817FFBFB69ED8419D99" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfCashFlows" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_3D03E786DBB93B43BBFF568BDAB9A615" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_StatementTable_3D03E786DBB93B43BBFF568BDAB9A615" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_20C3F1537E6D4EA727F1568BDAB94403" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3D03E786DBB93B43BBFF568BDAB9A615" xlink:to="loc_us-gaap_StatementClassOfStockAxis_20C3F1537E6D4EA727F1568BDAB94403" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_20C3F1537E6D4EA727F1568BDAB94403" xlink:to="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_20C3F1537E6D4EA727F1568BDAB94403" xlink:to="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_F964A29D24699C3F6543568BDAB9BFA9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_F964A29D24699C3F6543568BDAB9BFA9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_CF551880FEE7BE51E11C568BDAB9304C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_CF551880FEE7BE51E11C568BDAB9304C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesCPreferredStockMember" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_1C0417217F50AE4E4823568BDAB9A17D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_1C0417217F50AE4E4823568BDAB9A17D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_0159F67144FC54CBD756568BDAB9AEF1" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:to="loc_us-gaap_CommonClassCMember_0159F67144FC54CBD756568BDAB9AEF1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RetiredSeriesCPreferredStockMember" xlink:label="loc_agm_RetiredSeriesCPreferredStockMember_C1738FF5AA52A526FF90568BDAB905E9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6EE68CFD495F78699613568BDAB9E726" xlink:to="loc_agm_RetiredSeriesCPreferredStockMember_C1738FF5AA52A526FF90568BDAB905E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9BAEC0997B3C88BC824F568BDAB9E0B3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3D03E786DBB93B43BBFF568BDAB9A615" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9BAEC0997B3C88BC824F568BDAB9E0B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_20D883E609894144162F568BDAB92E13_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9BAEC0997B3C88BC824F568BDAB9E0B3" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_20D883E609894144162F568BDAB92E13_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_20D883E609894144162F568BDAB92E13" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9BAEC0997B3C88BC824F568BDAB9E0B3" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_20D883E609894144162F568BDAB92E13" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_4ED9D58A3C2B2F654F3C568BDAC3074B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_20D883E609894144162F568BDAB92E13" xlink:to="loc_us-gaap_DebtSecuritiesMember_4ED9D58A3C2B2F654F3C568BDAC3074B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmerMacAndUsdaGuaranteedSecuritiesMember" xlink:label="loc_agm_FarmerMacAndUsdaGuaranteedSecuritiesMember_3D065AE755C223E6634B568BDAC35C7D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_20D883E609894144162F568BDAB92E13" xlink:to="loc_agm_FarmerMacAndUsdaGuaranteedSecuritiesMember_3D065AE755C223E6634B568BDAC35C7D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_EA42A54CD890F03A1C50568BDAC3D062" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3D03E786DBB93B43BBFF568BDAB9A615" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_EA42A54CD890F03A1C50568BDAC3D062" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_399FD434AE1A9C4262B3568BDAC352A8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_EA42A54CD890F03A1C50568BDAC3D062" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_399FD434AE1A9C4262B3568BDAC352A8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_399FD434AE1A9C4262B3568BDAC352A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_EA42A54CD890F03A1C50568BDAC3D062" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_399FD434AE1A9C4262B3568BDAC352A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayableToBanksMember" xlink:label="loc_us-gaap_NotesPayableToBanksMember_0BC042807C6013957F30568BDAC376DE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_399FD434AE1A9C4262B3568BDAC352A8" xlink:to="loc_us-gaap_NotesPayableToBanksMember_0BC042807C6013957F30568BDAC376DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_C086CB84B5F5206F63EE568BDAC32DEC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_3D03E786DBB93B43BBFF568BDAB9A615" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_C086CB84B5F5206F63EE568BDAC32DEC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_DA9B1178A0881DF2325A568BDAC38BC7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_C086CB84B5F5206F63EE568BDAC32DEC" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_DA9B1178A0881DF2325A568BDAC38BC7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_DA9B1178A0881DF2325A568BDAC38BC7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_C086CB84B5F5206F63EE568BDAC32DEC" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_DA9B1178A0881DF2325A568BDAC38BC7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MediumTermNotesMember" xlink:label="loc_us-gaap_MediumTermNotesMember_C7B6C75018F2F5652B5B568BDAC38917" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_DA9B1178A0881DF2325A568BDAC38BC7" xlink:to="loc_us-gaap_MediumTermNotesMember_C7B6C75018F2F5652B5B568BDAC38917" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_27A4485817310F494988568BDAC3E0B3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_27A4485817310F494988568BDAC3E0B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProfitLoss" xlink:label="loc_us-gaap_ProfitLoss_D2B9E29144D684B11B68568BDAC3E6BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInOperatingActivitiesAbstract_27A4485817310F494988568BDAC3E0B3" xlink:to="loc_us-gaap_ProfitLoss_D2B9E29144D684B11B68568BDAC3E6BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract" xlink:label="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments" xlink:label="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_5AF46F649AC42AEA8BB4568BDAC3435D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_AccretionAmortizationOfDiscountsAndPremiumsInvestments_5AF46F649AC42AEA8BB4568BDAC3435D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AmortizationOfFinancingCostsAndDiscounts" xlink:label="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_42AC4D6572AD92625559568BDAC341B1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_AmortizationOfFinancingCostsAndDiscounts_42AC4D6572AD92625559568BDAC341B1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NetChangeInFairValueOfTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale" xlink:label="loc_agm_NetChangeInFairValueOfTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale_0448B4D36FD7E031B1C4568BDAC3C6BF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_agm_NetChangeInFairValueOfTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale_0448B4D36FD7E031B1C4568BDAC3C6BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnSaleOfSecuritiesNet" xlink:label="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_FE1D883AE144CBA121FD568BDAC39859" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_GainLossOnSaleOfSecuritiesNet_FE1D883AE144CBA121FD568BDAC39859" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnExtinguishmentOfDebt" xlink:label="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_FCC06A41A68375A1C71C568BDAC350B3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_GainsLossesOnExtinguishmentOfDebt_FCC06A41A68375A1C71C568BDAC350B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainsLossesOnSalesOfOtherRealEstate" xlink:label="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_BF1911158406C59A2129568BDAC35AA0" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_GainsLossesOnSalesOfOtherRealEstate_BF1911158406C59A2129568BDAC35AA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_6A620676D7405EE45A4B568BDAC35FB7" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_6A620676D7405EE45A4B568BDAC35FB7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredIncomeTaxExpenseBenefit" xlink:label="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8F2F647FB1F1976295BB568BDAC3BFD6" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AdjustmentsToReconcileNetIncomeLossToCashProvidedByUsedInOperatingActivitiesAbstract_CE90E134A571CE99527E568BDAC3AFEE" xlink:to="loc_us-gaap_DeferredIncomeTaxExpenseBenefit_8F2F647FB1F1976295BB568BDAC3BFD6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensation" xlink:label="loc_us-gaap_ShareBasedCompensation_648F0B36498E08B2BD79568BDAC33EC3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_ShareBasedCompensation_648F0B36498E08B2BD79568BDAC33EC3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromPaymentsForTradingSecurities" xlink:label="loc_us-gaap_ProceedsFromPaymentsForTradingSecurities_70C3F190EA10CEAF7C46568BDAC3472F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_ProceedsFromPaymentsForTradingSecurities_70C3F190EA10CEAF7C46568BDAC3472F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale" xlink:label="loc_us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale_E755C1467953DF3AEEBF568BDAC3019C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_ProceedsFromSaleAndCollectionOfLoansHeldforsale_E755C1467953DF3AEEBF568BDAC3019C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOperatingCapitalAbstract" xlink:label="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_3A7DBFEE62F8A155E5E7568BDAC3E58C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedInterestReceivableNet_3A7DBFEE62F8A155E5E7568BDAC3E58C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherReceivables" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherReceivables_1A6C92B7DFB295D9FEE1568BDAC3ACF5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherReceivables_1A6C92B7DFB295D9FEE1568BDAC3ACF5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingAssets" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_47A8B68E663F5EE64ACF568BDAC3A8BF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingAssets_47A8B68E663F5EE64ACF568BDAC3A8BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInAccruedLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_3FE9DC55A274C3D6CD9D568BDAC309C6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:to="loc_us-gaap_IncreaseDecreaseInAccruedLiabilities_3FE9DC55A274C3D6CD9D568BDAC309C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInOtherOperatingLiabilities" xlink:label="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_E72F1985F961A6A1BBBB568BDAC342EF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInOperatingCapitalAbstract_AEBA530A989C438685CC568BDAC37FA6" xlink:to="loc_us-gaap_IncreaseDecreaseInOtherOperatingLiabilities_E72F1985F961A6A1BBBB568BDAC342EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInOperatingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5627C495637A3487E2CB568BDAC39889" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInOperatingActivities_5627C495637A3487E2CB568BDAC39889" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireAvailableForSaleSecurities" xlink:label="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_F82EAC757EED0862BBC3568BDAC3656C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_PaymentsToAcquireAvailableForSaleSecurities_F82EAC757EED0862BBC3568BDAC3656C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireLoansHeldForInvestment" xlink:label="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_5F35EB09A4B51D7C2EDA568BDAC3DA31" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_PaymentsToAcquireLoansHeldForInvestment_5F35EB09A4B51D7C2EDA568BDAC3DA31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireOtherLoansAndLeasesHeldForInvestment" xlink:label="loc_us-gaap_PaymentsToAcquireOtherLoansAndLeasesHeldForInvestment_E3E105F3B2A1C46B2820568BDAC3E6CF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_PaymentsToAcquireOtherLoansAndLeasesHeldForInvestment_E3E105F3B2A1C46B2820568BDAC3E6CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_E56DF04C1FD98AE83606568BDAC3BCAF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_ProceedsFromMaturitiesPrepaymentsAndCallsOfAvailableForSaleSecurities_E56DF04C1FD98AE83606568BDAC3BCAF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment" xlink:label="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_F992AAE04CABE3CA30F6568BDAC3DD4C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_ProceedsFromPrincipalRepaymentsOnLoansAndLeasesHeldForInvestment_F992AAE04CABE3CA30F6568BDAC3DD4C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_B7F787E5802F42841B81568BDAC3515B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_B7F787E5802F42841B81568BDAC3515B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherInvestments_6D5DFA73E4A2282746D7568BDAC39A05" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherInvestments_6D5DFA73E4A2282746D7568BDAC39A05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfForeclosedAssets" xlink:label="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_2C726B63B7A50336E83D568BDAC3D3A5" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInInvestingActivitiesAbstract_97FC9443F451A604B6E6568BDAC38FC1" xlink:to="loc_us-gaap_ProceedsFromSaleOfForeclosedAssets_2C726B63B7A50336E83D568BDAC3D3A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInInvestingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_C80D422906BE8EFA472B568BDAC3C48E" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInInvestingActivities_C80D422906BE8EFA472B568BDAC3C48E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromIssuanceOfDebt" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfDebt_ED88381AC38F76D7F1B7568BDAC3346C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfDebt_ED88381AC38F76D7F1B7568BDAC3346C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RepaymentsOfDebt" xlink:label="loc_us-gaap_RepaymentsOfDebt_50398D9E3260F5DC14C1568BDAC32B06" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_RepaymentsOfDebt_50398D9E3260F5DC14C1568BDAC32B06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities" xlink:label="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_7CC5D50AE58153FADCA9568BDAC3E02B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_ExcessTaxBenefitFromShareBasedCompensationFinancingActivities_7CC5D50AE58153FADCA9568BDAC3E02B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PaymentsToThirdPartiesOnDebtSecuritiesOfConsolidatedTrusts" xlink:label="loc_agm_PaymentsToThirdPartiesOnDebtSecuritiesOfConsolidatedTrusts_EB8F69248E87839F34DC568BDAC3DDB2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_agm_PaymentsToThirdPartiesOnDebtSecuritiesOfConsolidatedTrusts_EB8F69248E87839F34DC568BDAC3DDB2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromIssuanceOfCommonStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_43E2E55CA69B5C086D05568BDAC380B3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfCommonStock_43E2E55CA69B5C086D05568BDAC380B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock" xlink:label="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_CD768A8EE92CA76C8130568BDAC3661E" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_ProceedsFromIssuanceOfPreferredStockAndPreferenceStock_CD768A8EE92CA76C8130568BDAC3661E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForRepurchaseOfCommonStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_FFF6FC529C93152A3179568BDAC3D6D5" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfCommonStock_FFF6FC529C93152A3179568BDAC3D6D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock_66A07B04F4F19FB7FA0C568BDAC3DD57" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfPreferredStockAndPreferenceStock_66A07B04F4F19FB7FA0C568BDAC3DD57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromMinorityShareholders" xlink:label="loc_us-gaap_ProceedsFromMinorityShareholders_6453D94B78DE69A82699568BDAC392B2" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_ProceedsFromMinorityShareholders_6453D94B78DE69A82699568BDAC392B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock" xlink:label="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_6431DBC45CFC340E7DC3568BDACDDAB7" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_PaymentsForRepurchaseOfRedeemablePreferredStock_6431DBC45CFC340E7DC3568BDACDDAB7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsOfDividendsMinorityInterest" xlink:label="loc_us-gaap_PaymentsOfDividendsMinorityInterest_DA5F3FA6264BAAF2F4E2568BDACD38D6" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_PaymentsOfDividendsMinorityInterest_DA5F3FA6264BAAF2F4E2568BDACD38D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsOfOrdinaryDividends" xlink:label="loc_us-gaap_PaymentsOfOrdinaryDividends_038AC4EB18981D2986AE568BDACDFC50" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NetCashProvidedByUsedInFinancingActivitiesAbstract_E831B6C0745A72E98B18568BDAC3D1E1" xlink:to="loc_us-gaap_PaymentsOfOrdinaryDividends_038AC4EB18981D2986AE568BDACDFC50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetCashProvidedByUsedInFinancingActivities" xlink:label="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88879D21D4A86392B80A568BDACD71D3" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_NetCashProvidedByUsedInFinancingActivities_88879D21D4A86392B80A568BDACD71D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease" xlink:label="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_2703B0E05B658F7A20F9568BDACDDB94" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_CashAndCashEquivalentsPeriodIncreaseDecrease_2703B0E05B658F7A20F9568BDACDDB94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsAtCarryingValue" xlink:label="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_576156BEC291FBA49A5E568BDACD3583" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_5CC7DFFF1C6C2AE55FB1568BDAC3C6BF" xlink:to="loc_us-gaap_CashAndCashEquivalentsAtCarryingValue_576156BEC291FBA49A5E568BDACD3583" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfComprehensiveIncome" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfEquityStatement" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementLineItems" xlink:label="loc_us-gaap_StatementLineItems_B5911A61603B1D4F50B35685CE063980" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementTable" xlink:label="loc_us-gaap_StatementTable_5719A95257EA06C8E74D5685CDFCA783" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_StatementLineItems_B5911A61603B1D4F50B35685CE063980" xlink:to="loc_us-gaap_StatementTable_5719A95257EA06C8E74D5685CDFCA783" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_E1C780FB9B0809B04F6A5685CDFCC386" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5719A95257EA06C8E74D5685CDFCA783" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_E1C780FB9B0809B04F6A5685CDFCC386" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E1C780FB9B0809B04F6A5685CDFCC386" xlink:to="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_E1C780FB9B0809B04F6A5685CDFCC386" xlink:to="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_31C389DEEDF0724232685685CE06CACF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:to="loc_us-gaap_PreferredStockMember_31C389DEEDF0724232685685CE06CACF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockMember" xlink:label="loc_us-gaap_CommonStockMember_E0F6A9A61F2AF88EE1265685CE0663D0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:to="loc_us-gaap_CommonStockMember_E0F6A9A61F2AF88EE1265685CE0663D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalPaidInCapitalMember" xlink:label="loc_us-gaap_AdditionalPaidInCapitalMember_B4AA7D556AD5981D1A5D5685CE06BCDD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:to="loc_us-gaap_AdditionalPaidInCapitalMember_B4AA7D556AD5981D1A5D5685CE06BCDD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember" xlink:label="loc_us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember_16133249FE0554546A3E56A4283588C7" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:to="loc_us-gaap_AociIncludingPortionAttributableToNoncontrollingInterestMember_16133249FE0554546A3E56A4283588C7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RetainedEarningsMember" xlink:label="loc_us-gaap_RetainedEarningsMember_63242D437B31102EA06B5685CE06932E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:to="loc_us-gaap_RetainedEarningsMember_63242D437B31102EA06B5685CE06932E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestMember" xlink:label="loc_us-gaap_NoncontrollingInterestMember_BB8BC202BB2B0544D6AD5685CE06EDD3" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_EquityComponentDomain_397FB68B75D33F8DE0A75685CE063411" xlink:to="loc_us-gaap_NoncontrollingInterestMember_BB8BC202BB2B0544D6AD5685CE06EDD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_EEE4C22EB09A725CA3E55685CE063E6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_StatementTable_5719A95257EA06C8E74D5685CDFCA783" xlink:to="loc_us-gaap_StatementClassOfStockAxis_EEE4C22EB09A725CA3E55685CE063E6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_EEE4C22EB09A725CA3E55685CE063E6D" xlink:to="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_EEE4C22EB09A725CA3E55685CE063E6D" xlink:to="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_C284A07E87FC897204A65685CE06096D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_C284A07E87FC897204A65685CE06096D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_91099DCFE778B1B3F0155685CE06BA18" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:to="loc_us-gaap_CommonClassCMember_91099DCFE778B1B3F0155685CE06BA18" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RetiredSeriesCPreferredStockMember" xlink:label="loc_agm_RetiredSeriesCPreferredStockMember_17496FF7AB3708DA6F925685CE06F7AF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:to="loc_agm_RetiredSeriesCPreferredStockMember_17496FF7AB3708DA6F925685CE06F7AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_9B346F9C4C8EDF6D6C8D5685CE0600A8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_9B346F9C4C8EDF6D6C8D5685CE0600A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesCPreferredStockMember" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_56D482E2195FD4C9ED375685CE06DB35" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5970213F6324321654635685CE0670AB" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_56D482E2195FD4C9ED375685CE06DB35" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncreaseDecreaseInStockholdersEquityRollForward" xlink:label="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_StatementLineItems_B5911A61603B1D4F50B35685CE063980" xlink:to="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharesOutstanding" xlink:label="loc_us-gaap_SharesOutstanding_20C2D9ACB7521D21635F5685CE0679B1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_SharesOutstanding_20C2D9ACB7521D21635F5685CE0679B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_E1B17FA6F232CE1B44635685CE06DABA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockholdersEquityIncludingPortionAttributableToNoncontrollingInterest_E1B17FA6F232CE1B44635685CE06DABA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLoss" xlink:label="loc_us-gaap_NetIncomeLoss_E85387C7A0E37FB57CFB5685CE06C782" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_NetIncomeLoss_E85387C7A0E37FB57CFB5685CE06C782" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NetIncomeLossAttributableToNoncontrollingInterest" xlink:label="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6015104DC5C952D02EB55685CE06A9DD" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_NetIncomeLossAttributableToNoncontrollingInterest_6015104DC5C952D02EB55685CE06A9DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OtherComprehensiveIncomeLossNetOfTax" xlink:label="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_5309DA52224DEA1BCD245685CE063E73" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_OtherComprehensiveIncomeLossNetOfTax_5309DA52224DEA1BCD245685CE063E73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DividendsPreferredStockCash" xlink:label="loc_us-gaap_DividendsPreferredStockCash_ABA0F08C71C0FEB480ED5685CE06C910" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_DividendsPreferredStockCash_ABA0F08C71C0FEB480ED5685CE06C910" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DividendsCommonStockCash" xlink:label="loc_us-gaap_DividendsCommonStockCash_EC20527861845F8092555685CE069F96" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_DividendsCommonStockCash_EC20527861845F8092555685CE069F96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_7CA48701FF86FE5D77BD5685CE06F7D3" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesNewIssues_7CA48701FF86FE5D77BD5685CE06F7D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueNewIssues" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_49ACAD36CC0D505F9D305685CE064A6B" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueNewIssues_49ACAD36CC0D505F9D305685CE064A6B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRedeemedOrCalledDuringPeriodShares" xlink:label="loc_us-gaap_StockRedeemedOrCalledDuringPeriodShares_523D7F0A880932CEB5355685CE0612B8" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockRedeemedOrCalledDuringPeriodShares_523D7F0A880932CEB5355685CE0612B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRedeemedOrCalledDuringPeriodValue" xlink:label="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_484E0F6A92B631CCCC645685CE062743" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockRedeemedOrCalledDuringPeriodValue_484E0F6A92B631CCCC645685CE062743" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_223F223429FE614C2F765685CE06FBD7" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_223F223429FE614C2F765685CE06FBD7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_C68437C139902E73F4BB5685CE104FE1" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_C68437C139902E73F4BB5685CE104FE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_5907B09C165F70A879F55685CE10DADD" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationRequisiteServicePeriodRecognitionValue_5907B09C165F70A879F55685CE10DADD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet" xlink:label="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_6FF92C4B7D826CE485BC5685CE10DF5A" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_AdjustmentToAdditionalPaidInCapitalIncomeTaxEffectFromShareBasedCompensationNet_6FF92C4B7D826CE485BC5685CE10DF5A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination" xlink:label="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_98AC22643336D06D1F515685CE10B915" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_NoncontrollingInterestIncreaseFromBusinessCombination_98AC22643336D06D1F515685CE10B915" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterestDecreaseFromRedemptions" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_FD28214E49BB3B6578F35685CE10077E" xlink:type="locator" />
    <definitionArc order="17" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_IncreaseDecreaseInStockholdersEquityRollForward_20839627C4DBF4573B125685CE063BFD" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_FD28214E49BB3B6578F35685CE10077E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/ConsolidatedStatementsOfOperations" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/DocumentAndEntityInformationDocumentAndEntityInformation" xlink:type="extended">
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityInformationLineItems" xlink:label="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:type="locator" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntitiesTable" xlink:label="loc_dei_EntitiesTable_600685A83669E5A168AF3CC370742390" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntitiesTable_600685A83669E5A168AF3CC370742390" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_77A3732BA7A7870180F33CC37074B15C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_dei_EntitiesTable_600685A83669E5A168AF3CC370742390" xlink:to="loc_us-gaap_StatementClassOfStockAxis_77A3732BA7A7870180F33CC37074B15C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_77A3732BA7A7870180F33CC37074B15C" xlink:to="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_77A3732BA7A7870180F33CC37074B15C" xlink:to="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_09A13E9E110513B74F533CC370749BB0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E" xlink:to="loc_us-gaap_CommonClassAMember_09A13E9E110513B74F533CC370749BB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_8A3460A00F5F3F293EAE3CC37075A917" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E" xlink:to="loc_us-gaap_CommonClassBMember_8A3460A00F5F3F293EAE3CC37075A917" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_94312E292C843EDECE6A3CC3707571B1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_A3A7ED5C082DCC0FC84A3CC37074368E" xlink:to="loc_us-gaap_CommonClassCMember_94312E292C843EDECE6A3CC3707571B1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityRegistrantName" xlink:label="loc_dei_EntityRegistrantName_FAEFED9C2D3E951475C43CC370750F0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityRegistrantName_FAEFED9C2D3E951475C43CC370750F0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCentralIndexKey" xlink:label="loc_dei_EntityCentralIndexKey_6CE2AA7C3B53A47E810A3CC37075414A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityCentralIndexKey_6CE2AA7C3B53A47E810A3CC37075414A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_CurrentFiscalYearEndDate" xlink:label="loc_dei_CurrentFiscalYearEndDate_F1E0EFCE93D192707C173CC370757396" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_CurrentFiscalYearEndDate_F1E0EFCE93D192707C173CC370757396" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityFilerCategory" xlink:label="loc_dei_EntityFilerCategory_7041E2C865211D8C7E263CC37075E1E8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityFilerCategory_7041E2C865211D8C7E263CC37075E1E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentType" xlink:label="loc_dei_DocumentType_1D93ECEAFF1DCCB6F6603CC37075A80E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_DocumentType_1D93ECEAFF1DCCB6F6603CC37075A80E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentPeriodEndDate" xlink:label="loc_dei_DocumentPeriodEndDate_6CE2F3EC29D8C87C4F463CC3707534C4" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_DocumentPeriodEndDate_6CE2F3EC29D8C87C4F463CC3707534C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalYearFocus" xlink:label="loc_dei_DocumentFiscalYearFocus_ACEC7AAAFAE10F14E7693CC37075B039" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_DocumentFiscalYearFocus_ACEC7AAAFAE10F14E7693CC37075B039" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_DocumentFiscalPeriodFocus" xlink:label="loc_dei_DocumentFiscalPeriodFocus_FECDB453F5DC61A74C123CC370764A95" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_DocumentFiscalPeriodFocus_FECDB453F5DC61A74C123CC370764A95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_AmendmentFlag" xlink:label="loc_dei_AmendmentFlag_5047B1081812624B50ED3CC370760FD8" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_AmendmentFlag_5047B1081812624B50ED3CC370760FD8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_TradingSymbol" xlink:label="loc_dei_TradingSymbol_E58D2AF53C10B37DB5583CC37076F5D7" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_TradingSymbol_E58D2AF53C10B37DB5583CC37076F5D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCommonStockSharesOutstanding" xlink:label="loc_dei_EntityCommonStockSharesOutstanding_1337D8A86BF926F0B95D3CC370769949" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityCommonStockSharesOutstanding_1337D8A86BF926F0B95D3CC370769949" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityWellKnownSeasonedIssuer" xlink:label="loc_dei_EntityWellKnownSeasonedIssuer_2A94A98D08276E82E4E53CC764A2C62B" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityWellKnownSeasonedIssuer_2A94A98D08276E82E4E53CC764A2C62B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityVoluntaryFilers" xlink:label="loc_dei_EntityVoluntaryFilers_AFA6038065811DCD98833CC7C59BDC5A" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityVoluntaryFilers_AFA6038065811DCD98833CC7C59BDC5A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityCurrentReportingStatus" xlink:label="loc_dei_EntityCurrentReportingStatus_FAADD5A6EEE364DD11153CC808AD5EB8" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityCurrentReportingStatus_FAADD5A6EEE364DD11153CC808AD5EB8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityPublicFloat" xlink:label="loc_dei_EntityPublicFloat_395B0F7F066AC16491BF3CC86BA135E8" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityInformationLineItems_28083ABC2CB768974BB93CC370754D45" xlink:to="loc_dei_EntityPublicFloat_395B0F7F066AC16491BF3CC86BA135E8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefits" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/EmployeeBenefitsEmployeeBenefitsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedBenefitPlanDisclosureLineItems" xlink:label="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5F692B520FFCE983B556382966AD9F6F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable" xlink:label="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_2C601E1C96D37D42FF323829669DBE63" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5F692B520FFCE983B556382966AD9F6F" xlink:to="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_2C601E1C96D37D42FF323829669DBE63" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedContributionPlanNameAxis" xlink:label="loc_us-gaap_DefinedContributionPlanNameAxis_F79E112AB71E05B3F8D53829669D06DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfDefinedBenefitPlansDisclosuresTable_2C601E1C96D37D42FF323829669DBE63" xlink:to="loc_us-gaap_DefinedContributionPlanNameAxis_F79E112AB71E05B3F8D53829669D06DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedContributionPlanNameDomain" xlink:label="loc_us-gaap_DefinedContributionPlanNameDomain_FF6E7D8B511B334FDE233829669D5BB6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DefinedContributionPlanNameAxis_F79E112AB71E05B3F8D53829669D06DD" xlink:to="loc_us-gaap_DefinedContributionPlanNameDomain_FF6E7D8B511B334FDE233829669D5BB6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedContributionPlanNameDomain" xlink:label="loc_us-gaap_DefinedContributionPlanNameDomain_FF6E7D8B511B334FDE233829669D5BB6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DefinedContributionPlanNameAxis_F79E112AB71E05B3F8D53829669D06DD" xlink:to="loc_us-gaap_DefinedContributionPlanNameDomain_FF6E7D8B511B334FDE233829669D5BB6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_BasePercentageMember" xlink:label="loc_agm_BasePercentageMember_913F13B99A9F5E9DE2B23829669D7F28" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPlanNameDomain_FF6E7D8B511B334FDE233829669D5BB6" xlink:to="loc_agm_BasePercentageMember_913F13B99A9F5E9DE2B23829669D7F28" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ExcessPercentageforamountsaboveSocialSecuritytaxablewagebaseMember" xlink:label="loc_agm_ExcessPercentageforamountsaboveSocialSecuritytaxablewagebaseMember_DF0C979A7077E66F57503829669D778C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedContributionPlanNameDomain_FF6E7D8B511B334FDE233829669D5BB6" xlink:to="loc_agm_ExcessPercentageforamountsaboveSocialSecuritytaxablewagebaseMember_DF0C979A7077E66F57503829669D778C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_Employercontributionpercentagetoretirementplan" xlink:label="loc_agm_Employercontributionpercentagetoretirementplan_EAEBAF59FC49BAC617B0382966ADE3F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5F692B520FFCE983B556382966AD9F6F" xlink:to="loc_agm_Employercontributionpercentagetoretirementplan_EAEBAF59FC49BAC617B0382966ADE3F0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DefinedContributionPlanWageBase" xlink:label="loc_agm_DefinedContributionPlanWageBase_858BC1E6C68290CF7F02382966AD05FB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5F692B520FFCE983B556382966AD9F6F" xlink:to="loc_agm_DefinedContributionPlanWageBase_858BC1E6C68290CF7F02382966AD05FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1" xlink:label="loc_us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1_7F21CCD457553D104E96382966ADAA08" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5F692B520FFCE983B556382966AD9F6F" xlink:to="loc_us-gaap_DeferredCompensationArrangementWithIndividualRequisiteServicePeriod1_7F21CCD457553D104E96382966ADAA08" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DefinedContributionPlanCostRecognized" xlink:label="loc_us-gaap_DefinedContributionPlanCostRecognized_2FD38D9D76F14A863A30382966ADBA39" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DefinedBenefitPlanDisclosureLineItems_5F692B520FFCE983B556382966AD9F6F" xlink:to="loc_us-gaap_DefinedContributionPlanCostRecognized_2FD38D9D76F14A863A30382966ADBA39" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/Equity" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityCapitalRequirementsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityCommonStockNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_0E0580E4AC418013927E3D2117BE6DEA" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_B5F2868429F597B184B53D2117BE80C9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_0E0580E4AC418013927E3D2117BE6DEA" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_B5F2868429F597B184B53D2117BE80C9" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_F4D938C29EE0A0F71D143D2117BE6E05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_B5F2868429F597B184B53D2117BE80C9" xlink:to="loc_us-gaap_StatementClassOfStockAxis_F4D938C29EE0A0F71D143D2117BE6E05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_444E2731A661DAFCDF4F3D2117BEF00B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F4D938C29EE0A0F71D143D2117BE6E05" xlink:to="loc_us-gaap_ClassOfStockDomain_444E2731A661DAFCDF4F3D2117BEF00B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_444E2731A661DAFCDF4F3D2117BEF00B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_F4D938C29EE0A0F71D143D2117BE6E05" xlink:to="loc_us-gaap_ClassOfStockDomain_444E2731A661DAFCDF4F3D2117BEF00B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_D3C9782E5186C59A70B83D2117BEBD04" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_444E2731A661DAFCDF4F3D2117BEF00B" xlink:to="loc_us-gaap_CommonClassCMember_D3C9782E5186C59A70B83D2117BEBD04" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchaseProgramAuthorizedAmount1" xlink:label="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_9A98C6DD3583CD723AD03D2117BEFDE1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0E0580E4AC418013927E3D2117BE6DEA" xlink:to="loc_us-gaap_StockRepurchaseProgramAuthorizedAmount1_9A98C6DD3583CD723AD03D2117BEFDE1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodShares" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_8FA1E9DA5E47FC7344D43D2117BE2B37" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0E0580E4AC418013927E3D2117BE6DEA" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodShares_8FA1E9DA5E47FC7344D43D2117BE2B37" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockRepurchasedAndRetiredDuringPeriodValue" xlink:label="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_2D8D8F4DC26037F109993D2117BFB8B3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0E0580E4AC418013927E3D2117BE6DEA" xlink:to="loc_us-gaap_StockRepurchasedAndRetiredDuringPeriodValue_2D8D8F4DC26037F109993D2117BFB8B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonStockDividendsPerShareCashPaid" xlink:label="loc_us-gaap_CommonStockDividendsPerShareCashPaid_CFC3EBB34714C464BCAB3D2117BFE315" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_0E0580E4AC418013927E3D2117BE6DEA" xlink:to="loc_us-gaap_CommonStockDividendsPerShareCashPaid_CFC3EBB34714C464BCAB3D2117BFE315" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityEquityBasedIncentiveCompensationPlansDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D6FED92379E670956F01382966FB268C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9C69F83272CED7AF6D46382966FB5737" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D6FED92379E670956F01382966FB268C" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9C69F83272CED7AF6D46382966FB5737" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="agm-20151231.xsd#agm_TermOfGrantAxis" xlink:label="loc_agm_TermOfGrantAxis_E307E0FFDE7DB77EC014382966FB6263" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9C69F83272CED7AF6D46382966FB5737" xlink:to="loc_agm_TermOfGrantAxis_E307E0FFDE7DB77EC014382966FB6263" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TermOfGrantDomain" xlink:label="loc_agm_TermOfGrantDomain_0B9B2FFAF089FF01A22A382966FBE3F5_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_TermOfGrantAxis_E307E0FFDE7DB77EC014382966FB6263" xlink:to="loc_agm_TermOfGrantDomain_0B9B2FFAF089FF01A22A382966FBE3F5_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TermOfGrantDomain" xlink:label="loc_agm_TermOfGrantDomain_0B9B2FFAF089FF01A22A382966FBE3F5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_TermOfGrantAxis_E307E0FFDE7DB77EC014382966FB6263" xlink:to="loc_agm_TermOfGrantDomain_0B9B2FFAF089FF01A22A382966FBE3F5" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OfficersAndCertainEmployeesMember" xlink:label="loc_agm_OfficersAndCertainEmployeesMember_B4C547244190F0CA6287382966FBF772" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_TermOfGrantDomain_0B9B2FFAF089FF01A22A382966FBE3F5" xlink:to="loc_agm_OfficersAndCertainEmployeesMember_B4C547244190F0CA6287382966FBF772" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAward" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAward_785F33433D51115E6BBF382966FB1D3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D6FED92379E670956F01382966FB268C" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardTermsOfAward_785F33433D51115E6BBF382966FB1D3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_8281039D7788681415A9382966FB1B70" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D6FED92379E670956F01382966FB268C" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeLowerRangeLimit_8281039D7788681415A9382966FB1B70" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_7C8100220F93FE8E8FBA3829670A2692" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_D6FED92379E670956F01382966FB268C" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeUpperRangeLimit_7C8100220F93FE8E8FBA3829670A2692" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityEquityTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityNarrativeRelatedToShareBasedCompensationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_C6D7273BD0F3763504AC382966EBB65B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_C6D7273BD0F3763504AC382966EBB65B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_0A712C1668ED8FB13A42382966EBA27E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_C6D7273BD0F3763504AC382966EBB65B" xlink:to="loc_us-gaap_StatementClassOfStockAxis_0A712C1668ED8FB13A42382966EBA27E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B2A934FB873F223404AA382966EBABD3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0A712C1668ED8FB13A42382966EBA27E" xlink:to="loc_us-gaap_ClassOfStockDomain_B2A934FB873F223404AA382966EBABD3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B2A934FB873F223404AA382966EBABD3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_0A712C1668ED8FB13A42382966EBA27E" xlink:to="loc_us-gaap_ClassOfStockDomain_B2A934FB873F223404AA382966EBABD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassCMember" xlink:label="loc_us-gaap_CommonClassCMember_630CE7A939E931914EB4382966EB6B2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_B2A934FB873F223404AA382966EBABD3" xlink:to="loc_us-gaap_CommonClassCMember_630CE7A939E931914EB4382966EB6B2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromStockOptionsExercised" xlink:label="loc_us-gaap_ProceedsFromStockOptionsExercised_6645AF3E0112F8AD8087382966EB3B2C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_us-gaap_ProceedsFromStockOptionsExercised_6645AF3E0112F8AD8087382966EB3B2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitRealizedFromExerciseOfStockOptions" xlink:label="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitRealizedFromExerciseOfStockOptions_396DA5AEB0899ECFA9B8382966EB13D8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_us-gaap_EmployeeServiceShareBasedCompensationTaxBenefitRealizedFromExerciseOfStockOptions_396DA5AEB0899ECFA9B8382966EB13D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions" xlink:label="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_D735906E971FD7DF8A5E382966EB8672" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_us-gaap_AdjustmentsToAdditionalPaidInCapitalSharebasedCompensationAndExerciseOfStockOptions_D735906E971FD7DF8A5E382966EB8672" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodSharesOther" xlink:label="loc_us-gaap_StockIssuedDuringPeriodSharesOther_0C791396E5CD1E29F01F382966EB0271" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_us-gaap_StockIssuedDuringPeriodSharesOther_0C791396E5CD1E29F01F382966EB0271" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StockIssuedDuringPeriodValueOther" xlink:label="loc_us-gaap_StockIssuedDuringPeriodValueOther_1D74814C7021138A88E8382966FB38D8" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_us-gaap_StockIssuedDuringPeriodValueOther_1D74814C7021138A88E8382966FB38D8" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NumberOfBoardOfDirectors" xlink:label="loc_agm_NumberOfBoardOfDirectors_AECED2FCD6E686CC06BC382966FBAB69" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_E3A78A1C2B02B42FED80382966EB2C92" xlink:to="loc_agm_NumberOfBoardOfDirectors_AECED2FCD6E686CC06BC382966FBAB69" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityNonControllingInterestDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_79A34753987D7FD13B7839000DE77477" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_79A34753987D7FD13B7839000DE77477" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementEquityComponentsAxis" xlink:label="loc_us-gaap_StatementEquityComponentsAxis_87681A02A27AE54AA20D39000DE74851" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_79A34753987D7FD13B7839000DE77477" xlink:to="loc_us-gaap_StatementEquityComponentsAxis_87681A02A27AE54AA20D39000DE74851" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_61CB2A657310FC4B2DE039000DE7995C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_87681A02A27AE54AA20D39000DE74851" xlink:to="loc_us-gaap_EquityComponentDomain_61CB2A657310FC4B2DE039000DE7995C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EquityComponentDomain" xlink:label="loc_us-gaap_EquityComponentDomain_61CB2A657310FC4B2DE039000DE7995C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementEquityComponentsAxis_87681A02A27AE54AA20D39000DE74851" xlink:to="loc_us-gaap_EquityComponentDomain_61CB2A657310FC4B2DE039000DE7995C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubsidiarySaleOfStockAxis" xlink:label="loc_us-gaap_SubsidiarySaleOfStockAxis_95DF86ED21997541EBB339000DE76B0A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_79A34753987D7FD13B7839000DE77477" xlink:to="loc_us-gaap_SubsidiarySaleOfStockAxis_95DF86ED21997541EBB339000DE76B0A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6FDF38A5915C68D708F839000DE7B54B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_95DF86ED21997541EBB339000DE76B0A" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6FDF38A5915C68D708F839000DE7B54B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SaleOfStockNameOfTransactionDomain" xlink:label="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6FDF38A5915C68D708F839000DE7B54B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_SubsidiarySaleOfStockAxis_95DF86ED21997541EBB339000DE76B0A" xlink:to="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6FDF38A5915C68D708F839000DE7B54B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PrivatePlacementMember" xlink:label="loc_us-gaap_PrivatePlacementMember_00DEDA7FCBBF95F856C139000DE75302" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SaleOfStockNameOfTransactionDomain_6FDF38A5915C68D708F839000DE7B54B" xlink:to="loc_us-gaap_PrivatePlacementMember_00DEDA7FCBBF95F856C139000DE75302" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_3CEF53168CFEDAB3EFD139000DE7A19A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_79A34753987D7FD13B7839000DE77477" xlink:to="loc_dei_LegalEntityAxis_3CEF53168CFEDAB3EFD139000DE7A19A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_8C9FFF030EDBBC8647F239000DE7663F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_3CEF53168CFEDAB3EFD139000DE7A19A" xlink:to="loc_dei_EntityDomain_8C9FFF030EDBBC8647F239000DE7663F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_8C9FFF030EDBBC8647F239000DE7663F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_3CEF53168CFEDAB3EFD139000DE7A19A" xlink:to="loc_dei_EntityDomain_8C9FFF030EDBBC8647F239000DE7663F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmerMacIiLlcMember" xlink:label="loc_agm_FarmerMacIiLlcMember_50ABF24C97088494AA6239000DE7892A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_8C9FFF030EDBBC8647F239000DE7663F" xlink:to="loc_agm_FarmerMacIiLlcMember_50ABF24C97088494AA6239000DE7892A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_865EF681EF48F094585B39000DE7428D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_79A34753987D7FD13B7839000DE77477" xlink:to="loc_us-gaap_StatementClassOfStockAxis_865EF681EF48F094585B39000DE7428D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5BD73B6DAE975DA63FB439000DE7B262_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_865EF681EF48F094585B39000DE7428D" xlink:to="loc_us-gaap_ClassOfStockDomain_5BD73B6DAE975DA63FB439000DE7B262_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_5BD73B6DAE975DA63FB439000DE7B262" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_865EF681EF48F094585B39000DE7428D" xlink:to="loc_us-gaap_ClassOfStockDomain_5BD73B6DAE975DA63FB439000DE7B262" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockMember" xlink:label="loc_us-gaap_PreferredStockMember_9872B0C049CA285F330D39000DE70BBA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_5BD73B6DAE975DA63FB439000DE7B262" xlink:to="loc_us-gaap_PreferredStockMember_9872B0C049CA285F330D39000DE70BBA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SaleOfStockConsiderationReceivedOnTransaction" xlink:label="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_6E69C5D3A78FEE0999B039000DE782BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:to="loc_us-gaap_SaleOfStockConsiderationReceivedOnTransaction_6E69C5D3A78FEE0999B039000DE782BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction" xlink:label="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_1DED7F094804DF52AD7039000DE7310D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:to="loc_us-gaap_SaleOfStockNumberOfSharesIssuedInTransaction_1DED7F094804DF52AD7039000DE7310D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockLiquidationPreference" xlink:label="loc_us-gaap_PreferredStockLiquidationPreference_DCBA456C3A98606B9F3739000DE7B9AE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:to="loc_us-gaap_PreferredStockLiquidationPreference_DCBA456C3A98606B9F3739000DE7B9AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinorityInterestDecreaseFromRedemptions" xlink:label="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_8EAFFDD2314B7CA723D239000DE707D9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:to="loc_us-gaap_MinorityInterestDecreaseFromRedemptions_8EAFFDD2314B7CA723D239000DE707D9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockRedemptionPremium" xlink:label="loc_us-gaap_PreferredStockRedemptionPremium_3AD7643B8668BBBCED1539000DE7A6A7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_7FE36600B53CD6FBFF4739000DE7E374" xlink:to="loc_us-gaap_PreferredStockRedemptionPremium_3AD7643B8668BBBCED1539000DE7A6A7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityPreferredStockDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockLineItems" xlink:label="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfStockByClassTable" xlink:label="loc_us-gaap_ScheduleOfStockByClassTable_CF3CD6AE4A02F4F069333829671A5345" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_ScheduleOfStockByClassTable_CF3CD6AE4A02F4F069333829671A5345" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="agm-20151231.xsd#agm_DividendRateByPeriodAxis" xlink:label="loc_agm_DividendRateByPeriodAxis_A5C40083F9958FB4A9AA3829671AC092" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_CF3CD6AE4A02F4F069333829671A5345" xlink:to="loc_agm_DividendRateByPeriodAxis_A5C40083F9958FB4A9AA3829671AC092" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DividendRatePeriodDomain" xlink:label="loc_agm_DividendRatePeriodDomain_CE316EE5F06939E160313829671A7DE0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_DividendRateByPeriodAxis_A5C40083F9958FB4A9AA3829671AC092" xlink:to="loc_agm_DividendRatePeriodDomain_CE316EE5F06939E160313829671A7DE0_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DividendRatePeriodDomain" xlink:label="loc_agm_DividendRatePeriodDomain_CE316EE5F06939E160313829671A7DE0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_DividendRateByPeriodAxis_A5C40083F9958FB4A9AA3829671AC092" xlink:to="loc_agm_DividendRatePeriodDomain_CE316EE5F06939E160313829671A7DE0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_July172024thereafterMember" xlink:label="loc_agm_July172024thereafterMember_7BF8E7A32FA1693C34153829671A0493" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_DividendRatePeriodDomain_CE316EE5F06939E160313829671A7DE0" xlink:to="loc_agm_July172024thereafterMember_7BF8E7A32FA1693C34153829671A0493" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UptobutexcludingJuly172024Member" xlink:label="loc_agm_UptobutexcludingJuly172024Member_01BFD5DB7E52CE7DAFE13829671A0A4E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_DividendRatePeriodDomain_CE316EE5F06939E160313829671A7DE0" xlink:to="loc_agm_UptobutexcludingJuly172024Member_01BFD5DB7E52CE7DAFE13829671A0A4E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_5DD9A9CC2D9A565380EB3829671A9A40" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfStockByClassTable_CF3CD6AE4A02F4F069333829671A5345" xlink:to="loc_us-gaap_StatementClassOfStockAxis_5DD9A9CC2D9A565380EB3829671A9A40" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5DD9A9CC2D9A565380EB3829671A9A40" xlink:to="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_5DD9A9CC2D9A565380EB3829671A9A40" xlink:to="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesCPreferredStockMember" xlink:label="loc_us-gaap_SeriesCPreferredStockMember_C3476613E8D569E6FDBF3829671AA070" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C" xlink:to="loc_us-gaap_SeriesCPreferredStockMember_C3476613E8D569E6FDBF3829671AA070" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RetiredSeriesCPreferredStockMember" xlink:label="loc_agm_RetiredSeriesCPreferredStockMember_40E87E1945D64631FDC73829671A4012" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C" xlink:to="loc_agm_RetiredSeriesCPreferredStockMember_40E87E1945D64631FDC73829671A4012" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesBPreferredStockMember" xlink:label="loc_us-gaap_SeriesBPreferredStockMember_9A937DACFC1C724777253829671A36AF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C" xlink:to="loc_us-gaap_SeriesBPreferredStockMember_9A937DACFC1C724777253829671A36AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SeriesAPreferredStockMember" xlink:label="loc_us-gaap_SeriesAPreferredStockMember_26B079C914F6453AFCA53829671A795A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_0A63E42A056BB6C9ECC93829671A419C" xlink:to="loc_us-gaap_SeriesAPreferredStockMember_26B079C914F6453AFCA53829671A795A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockSharesIssued" xlink:label="loc_us-gaap_PreferredStockSharesIssued_911BD9D186BCA35F5E1B3829671A7532" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_PreferredStockSharesIssued_911BD9D186BCA35F5E1B3829671A7532" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockDividendRatePercentage" xlink:label="loc_us-gaap_PreferredStockDividendRatePercentage_A9BEDECC2AF29738A1613829671A96A9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_PreferredStockDividendRatePercentage_A9BEDECC2AF29738A1613829671A96A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockParOrStatedValuePerShare" xlink:label="loc_us-gaap_PreferredStockParOrStatedValuePerShare_BA459C8BE43CED05E0C53829671AD600" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_PreferredStockParOrStatedValuePerShare_BA459C8BE43CED05E0C53829671AD600" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockLiquidationPreference" xlink:label="loc_us-gaap_PreferredStockLiquidationPreference_F964473AC74B30FCCC6F3829671A867A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_PreferredStockLiquidationPreference_F964473AC74B30FCCC6F3829671A867A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PreferredStockDividendVariableRatePercentage" xlink:label="loc_agm_PreferredStockDividendVariableRatePercentage_871902F4F0E8250B0E533829671AA9E3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_agm_PreferredStockDividendVariableRatePercentage_871902F4F0E8250B0E533829671AA9E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsOfStockIssuanceCosts" xlink:label="loc_us-gaap_PaymentsOfStockIssuanceCosts_79ECACFC5CBF591C33BF3829671A38D1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_PaymentsOfStockIssuanceCosts_79ECACFC5CBF591C33BF3829671A38D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PreferredStockSharesOutstanding" xlink:label="loc_us-gaap_PreferredStockSharesOutstanding_19D9A2649C2C73A3EE083829671A9A81" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockLineItems_BD8919E83F62A616399A3829671A4D1F" xlink:to="loc_us-gaap_PreferredStockSharesOutstanding_19D9A2649C2C73A3EE083829671A9A81" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityScheduleOfShareBasedCompensationActivityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable" xlink:label="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9955597BD818A907A501382966EB3C84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9955597BD818A907A501382966EB3C84" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AwardTypeAxis" xlink:label="loc_us-gaap_AwardTypeAxis_9DFB2D3961403F700C0C382966EBB585" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9955597BD818A907A501382966EB3C84" xlink:to="loc_us-gaap_AwardTypeAxis_9DFB2D3961403F700C0C382966EBB585" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4573FA01EFDA3B9F924F382966EBF540_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_AwardTypeAxis_9DFB2D3961403F700C0C382966EBB585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4573FA01EFDA3B9F924F382966EBF540_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4573FA01EFDA3B9F924F382966EBF540" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_AwardTypeAxis_9DFB2D3961403F700C0C382966EBB585" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4573FA01EFDA3B9F924F382966EBF540" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ExpectedToVestMember" xlink:label="loc_agm_ExpectedToVestMember_0A0339B8C3B80F64234C382966EBBF00" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementsByShareBasedPaymentAwardAwardTypeAndPlanNameDomain_4573FA01EFDA3B9F924F382966EBF540" xlink:to="loc_agm_ExpectedToVestMember_0A0339B8C3B80F64234C382966EBBF00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EC27D867D79DF8A43550382966EB3F76" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfShareBasedCompensationArrangementsByShareBasedPaymentAwardTable_9955597BD818A907A501382966EB3C84" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EC27D867D79DF8A43550382966EB3F76" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EC27D867D79DF8A43550382966EB3F76" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain" xlink:label="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansByExercisePriceRangeAxis_EC27D867D79DF8A43550382966EB3F76" xlink:to="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A500To999Member" xlink:label="loc_agm_A500To999Member_5AC6D9E3539544550A9B382966EBA505" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A500To999Member_5AC6D9E3539544550A9B382966EBA505" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A1000To1499Member" xlink:label="loc_agm_A1000To1499Member_18D35CB56667A73AF8D7382966EB73C4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A1000To1499Member_18D35CB56667A73AF8D7382966EB73C4" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A15001999Member" xlink:label="loc_agm_A15001999Member_B4C2B4121498592552AC382966EB8B1D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A15001999Member_B4C2B4121498592552AC382966EB8B1D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A2000To2499Member" xlink:label="loc_agm_A2000To2499Member_7833690795CDFC061579382966EBCA04" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A2000To2499Member_7833690795CDFC061579382966EBCA04" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A2500To2999Member" xlink:label="loc_agm_A2500To2999Member_5B8C0422DA11E33B764F382966EB02FC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A2500To2999Member_5B8C0422DA11E33B764F382966EB02FC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A3000To3499Member" xlink:label="loc_agm_A3000To3499Member_1034459127A69D9D6D8D382966EBD5C2" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A3000To3499Member_1034459127A69D9D6D8D382966EBD5C2" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_A35.00to39.99Member" xlink:label="loc_agm_A35.00to39.99Member_11A751819B3A11EAC3C9382966EBABA6" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationSharesAuthorizedUnderStockOptionPlansExercisePriceRangeDomain_29DED82745D994DE0F2F382966EBCF2E" xlink:to="loc_agm_A35.00to39.99Member_11A751819B3A11EAC3C9382966EBABA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_70EF634A4FA4EB3EAC32382966EB35F3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsOutstandingNumber_70EF634A4FA4EB3EAC32382966EB35F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_5DD99B93B8BD079316E4382966EBF519" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsOutstandingWeightedAverageRemainingContractualTerm2_5DD99B93B8BD079316E4382966EBF519" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_4ED58B729B9BBE41A37D382966EBC139" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsExercisableNumber_4ED58B729B9BBE41A37D382966EBC139" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_660C20EC12020679254A382966EB4D80" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsExercisableWeightedAverageRemainingContractualTerm1_660C20EC12020679254A382966EB4D80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_8D8AD076274AB9E0DAC9382966EBF4A4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingNumber_8D8AD076274AB9E0DAC9382966EBF4A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1" xlink:label="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_72CEFA8131B1FDD53068382966EB64FB" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_SharebasedCompensationArrangementBySharebasedPaymentAwardOptionsVestedAndExpectedToVestOutstandingWeightedAverageRemainingContractualTerm1_72CEFA8131B1FDD53068382966EB64FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9DCC161CCDAE30FDD8C1382966EB56E4" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsNonvestedNumber_9DCC161CCDAE30FDD8C1382966EB56E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms" xlink:label="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms_E01EC5D975B637D0F41C382966EB71B3" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardEquityInstrumentsOtherThanOptionsOutstandingWeightedAverageRemainingContractualTerms_E01EC5D975B637D0F41C382966EB71B3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ShareBasedCompensationArrangementbySharebasedpaymentawardOtherthanOptionsVestedandExpectedtoVestOutstandingWeightedAverageContractualLifeTerm" xlink:label="loc_agm_ShareBasedCompensationArrangementbySharebasedpaymentawardOtherthanOptionsVestedandExpectedtoVestOutstandingWeightedAverageContractualLifeTerm_2CFEDC0786298E0D4D3E382966EBE40A" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShareBasedCompensationArrangementByShareBasedPaymentAwardLineItems_463F5AE5F4507C9ED0E1382966EBB8D6" xlink:to="loc_agm_ShareBasedCompensationArrangementbySharebasedpaymentawardOtherthanOptionsVestedandExpectedtoVestOutstandingWeightedAverageContractualLifeTerm_2CFEDC0786298E0D4D3E382966EBE40A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityScheduleOfShareBasedPaymentAwardsStockOptionsValuationAssumptionsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/EquityScheduleOfStockOptionsSarsAndNonVestedRestrictedStockOutstandingDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosures" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresFairValueDisclosuresTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresFairValueMeasurementsRecurringAndNonrecurringDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_559E58A52316A94DF3FC38FEB25869C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:to="loc_us-gaap_ProductOrServiceAxis_559E58A52316A94DF3FC38FEB25869C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_E6F9D23692C257280F4038FEB258AFAE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_559E58A52316A94DF3FC38FEB25869C5" xlink:to="loc_us-gaap_ProductsAndServicesDomain_E6F9D23692C257280F4038FEB258AFAE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_E6F9D23692C257280F4038FEB258AFAE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_559E58A52316A94DF3FC38FEB25869C5" xlink:to="loc_us-gaap_ProductsAndServicesDomain_E6F9D23692C257280F4038FEB258AFAE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_7AF8D71109E1046127FD38FEB2586F73" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_E6F9D23692C257280F4038FEB258AFAE" xlink:to="loc_agm_FloatingInterestRateMember_7AF8D71109E1046127FD38FEB2586F73" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FixedInterestRateMember" xlink:label="loc_agm_FixedInterestRateMember_B001453A3D13D8B73AA938FEB258586A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_E6F9D23692C257280F4038FEB258AFAE" xlink:to="loc_agm_FixedInterestRateMember_B001453A3D13D8B73AA938FEB258586A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_55D34B5FAD447439AC0238FEB258043C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_55D34B5FAD447439AC0238FEB258043C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_55D34B5FAD447439AC0238FEB258043C" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_55D34B5FAD447439AC0238FEB258043C" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AuctionRateSecuritiesMember" xlink:label="loc_us-gaap_AuctionRateSecuritiesMember_15A0F53C5545AF4E593E38FEB258E887" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_AuctionRateSecuritiesMember_15A0F53C5545AF4E593E38FEB258E887" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_AE0285CE27ECF3FF905C38FEB258531F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_AE0285CE27ECF3FF905C38FEB258531F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_A04DA0F0568AD35804D038FEB258A613" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_A04DA0F0568AD35804D038FEB258A613" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_0A90801131B7AD66AD2B38FEB258A1E0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_0A90801131B7AD66AD2B38FEB258A1E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubordinatedDebtMember" xlink:label="loc_us-gaap_SubordinatedDebtMember_7F44D3CF70013C85B59138FEB2585A46" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_SubordinatedDebtMember_7F44D3CF70013C85B59138FEB2585A46" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_FB49BE768BC5CC890F3838FEB2581221" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_USGovernmentCorporationsAndAgenciesSecuritiesMember_FB49BE768BC5CC890F3838FEB2581221" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_07903A98963C06AEE05B38FEB2585864" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_07903A98963C06AEE05B38FEB2585864" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_E115BDC714E93BFF43A638FEB258F71B" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_E115BDC714E93BFF43A638FEB258F71B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_29BA6441A1356D8B85E638FEB2583C3B" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_29BA6441A1356D8B85E638FEB2583C3B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_B4144AAA24ECC7572BA238FEB258D4E5" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_DebtSecuritiesMember_B4144AAA24ECC7572BA238FEB258D4E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_BCF4B09EDC438AA1687538FEB2589F21" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_5B332F31D6E67FBD1F6D38FEB258F4EA" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_BCF4B09EDC438AA1687538FEB2589F21" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_84D1BEE8B0C15501E5CA38FEB2589E85" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_84D1BEE8B0C15501E5CA38FEB2589E85" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E4F48A0318CC7D0DF85F38FEB2588837_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_84D1BEE8B0C15501E5CA38FEB2589E85" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E4F48A0318CC7D0DF85F38FEB2588837_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E4F48A0318CC7D0DF85F38FEB2588837" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_84D1BEE8B0C15501E5CA38FEB2589E85" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E4F48A0318CC7D0DF85F38FEB2588837" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_7F7CD3415C2FE9B280C038FEB2581986" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E4F48A0318CC7D0DF85F38FEB2588837" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_7F7CD3415C2FE9B280C038FEB2581986" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingAccountAssetsMember" xlink:label="loc_us-gaap_TradingAccountAssetsMember_B785172351170653EC9238FEB258800A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E4F48A0318CC7D0DF85F38FEB2588837" xlink:to="loc_us-gaap_TradingAccountAssetsMember_B785172351170653EC9238FEB258800A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_7FB13F00086D8766215338FEB2585A58" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7FB13F00086D8766215338FEB2585A58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_C83E04FE2FB4039E7A6838FEB258D0D6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7FB13F00086D8766215338FEB2585A58" xlink:to="loc_us-gaap_SegmentDomain_C83E04FE2FB4039E7A6838FEB258D0D6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_C83E04FE2FB4039E7A6838FEB258D0D6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7FB13F00086D8766215338FEB2585A58" xlink:to="loc_us-gaap_SegmentDomain_C83E04FE2FB4039E7A6838FEB258D0D6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_821EC4FA1069F225FE6438FEB25837BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_C83E04FE2FB4039E7A6838FEB258D0D6" xlink:to="loc_agm_InstitutionalCreditMemberMember_821EC4FA1069F225FE6438FEB25837BF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_7F0ED8E157F864BC2FDD38FEB2586F9C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_C83E04FE2FB4039E7A6838FEB258D0D6" xlink:to="loc_agm_USDAGuaranteesMember_7F0ED8E157F864BC2FDD38FEB2586F9C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_41E5DEB3DE54745C80CF38FEB258D9BA" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_41E5DEB3DE54745C80CF38FEB258D9BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_67A0FBE883B2757AC00238FEB2588A6C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_41E5DEB3DE54745C80CF38FEB258D9BA" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_67A0FBE883B2757AC00238FEB2588A6C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_67A0FBE883B2757AC00238FEB2588A6C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_41E5DEB3DE54745C80CF38FEB258D9BA" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_67A0FBE883B2757AC00238FEB2588A6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_B0E4114929703F27B9B638FEB2627204" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_67A0FBE883B2757AC00238FEB2588A6C" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_B0E4114929703F27B9B638FEB2627204" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsNonrecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsNonrecurringMember_54ED2C5B3BAD6743CDAC38FEB2582D21" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_67A0FBE883B2757AC00238FEB2588A6C" xlink:to="loc_us-gaap_FairValueMeasurementsNonrecurringMember_54ED2C5B3BAD6743CDAC38FEB2582D21" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E4713E630AFFE182EA1538FEB262DA76" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_0486DC372A74F4A7C5C938FEB25833D2" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E4713E630AFFE182EA1538FEB262DA76" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E4713E630AFFE182EA1538FEB262DA76" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_E4713E630AFFE182EA1538FEB262DA76" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel1Member" xlink:label="loc_us-gaap_FairValueInputsLevel1Member_FFBBBEF3A6A6209B6EDA38FEB262BAC1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9" xlink:to="loc_us-gaap_FairValueInputsLevel1Member_FFBBBEF3A6A6209B6EDA38FEB262BAC1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel2Member" xlink:label="loc_us-gaap_FairValueInputsLevel2Member_13921D0B7BDF2A952DF738FEB262675D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9" xlink:to="loc_us-gaap_FairValueInputsLevel2Member_13921D0B7BDF2A952DF738FEB262675D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_59986135E0670DB2F9CD38FEB262B744" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C3A32C0F21F5F9E5FA5938FEB26229E9" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_59986135E0670DB2F9CD38FEB262B744" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentsFairValueDisclosure" xlink:label="loc_us-gaap_InvestmentsFairValueDisclosure_910327230F3A5ACEFBDF38FEB262B0C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_InvestmentsFairValueDisclosure_910327230F3A5ACEFBDF38FEB262B0C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_1A29E207BC57492E6EC738FEB262C1EB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_DerivativeAssets_1A29E207BC57492E6EC738FEB262C1EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetsFairValueDisclosure" xlink:label="loc_us-gaap_AssetsFairValueDisclosure_CAF8F50900C5136673B038FEB2625ABB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_AssetsFairValueDisclosure_CAF8F50900C5136673B038FEB2625ABB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_C2FFC31B6BAE2A545C5238FEB262EB99" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_DerivativeLiabilities_C2FFC31B6BAE2A545C5238FEB262EB99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LiabilitiesFairValueDisclosure" xlink:label="loc_us-gaap_LiabilitiesFairValueDisclosure_D0CA85CD75C1A5E0340B38FEB262DF05" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_LiabilitiesFairValueDisclosure_D0CA85CD75C1A5E0340B38FEB262DF05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_DF1BBED8043626EEF3AB38FEB2624606" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_DF1BBED8043626EEF3AB38FEB2624606" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RealEstateAcquiredThroughForeclosure" xlink:label="loc_us-gaap_RealEstateAcquiredThroughForeclosure_0EFAD753D1D8829B7C9638FEB262700D" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_B7E4BEC3C57C3F09F04938FEB2622754" xlink:to="loc_us-gaap_RealEstateAcquiredThroughForeclosure_0EFAD753D1D8829B7C9638FEB262700D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A45C753A660FE490ECD72D8DE595FD60" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3742E44F2D200CE68A932D8DE5951AFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A45C753A660FE490ECD72D8DE595FD60" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3742E44F2D200CE68A932D8DE5951AFF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2D88C144C49064C0D17B2D8DE595420E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisTable_3742E44F2D200CE68A932D8DE5951AFF" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2D88C144C49064C0D17B2D8DE595420E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C76D3CFEA01647724F992D8DE5953DBE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2D88C144C49064C0D17B2D8DE595420E" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C76D3CFEA01647724F992D8DE5953DBE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C76D3CFEA01647724F992D8DE5953DBE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_2D88C144C49064C0D17B2D8DE595420E" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C76D3CFEA01647724F992D8DE5953DBE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_FC16492DE6214C0A350B2D8DE595A7DF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_C76D3CFEA01647724F992D8DE5953DBE" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_FC16492DE6214C0A350B2D8DE595A7DF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets" xlink:label="loc_us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets_3C801B7E371808CDEF032D913B484B78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A45C753A660FE490ECD72D8DE595FD60" xlink:to="loc_us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets_3C801B7E371808CDEF032D913B484B78" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AssetsAndLiabilitiesFairValueDisclosure" xlink:label="loc_agm_AssetsAndLiabilitiesFairValueDisclosure_1ADE19A3B4AF1086A93A2D8DE5969A1A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A45C753A660FE490ECD72D8DE595FD60" xlink:to="loc_agm_AssetsAndLiabilitiesFairValueDisclosure_1ADE19A3B4AF1086A93A2D8DE5969A1A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalAssets" xlink:label="loc_agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalAssets_31BB71199F83AE96CC932D8DE5961DAD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A45C753A660FE490ECD72D8DE595FD60" xlink:to="loc_agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalAssets_31BB71199F83AE96CC932D8DE5961DAD" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalFinancialInstrumentsMeasuredAtFairValue" xlink:label="loc_agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalFinancialInstrumentsMeasuredAtFairValue_2B8655E0F343601141072D8DE5962777" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisLineItems_A45C753A660FE490ECD72D8DE595FD60" xlink:to="loc_agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalFinancialInstrumentsMeasuredAtFairValue_2B8655E0F343601141072D8DE5962777" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresQuantitativeInformationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable" xlink:label="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeAxis" xlink:label="loc_us-gaap_RangeAxis_DA5FBDC79FFF748FD44539000C755D14" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_RangeAxis_DA5FBDC79FFF748FD44539000C755D14" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RangeAxis_DA5FBDC79FFF748FD44539000C755D14" xlink:to="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RangeMember" xlink:label="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RangeAxis_DA5FBDC79FFF748FD44539000C755D14" xlink:to="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MinimumMember" xlink:label="loc_us-gaap_MinimumMember_B9B0C4AF27A39DE679B039000C7581A3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD" xlink:to="loc_us-gaap_MinimumMember_B9B0C4AF27A39DE679B039000C7581A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MaximumMember" xlink:label="loc_us-gaap_MaximumMember_6C3E4200817CA1C9D6FC39000C7511E6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD" xlink:to="loc_us-gaap_MaximumMember_6C3E4200817CA1C9D6FC39000C7511E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_WeightedAverageMember" xlink:label="loc_us-gaap_WeightedAverageMember_A0E465D6DFA444E635C539000C75DC91" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RangeMember_95816172C207704F2DE539000C75D1DD" xlink:to="loc_us-gaap_WeightedAverageMember_A0E465D6DFA444E635C539000C75DC91" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_CE9B204F83EB0DDFEEE139000C7585DA" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_ProductOrServiceAxis_CE9B204F83EB0DDFEEE139000C7585DA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_AACEB36563AF3D711D4339000C759384_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_CE9B204F83EB0DDFEEE139000C7585DA" xlink:to="loc_us-gaap_ProductsAndServicesDomain_AACEB36563AF3D711D4339000C759384_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_AACEB36563AF3D711D4339000C759384" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_CE9B204F83EB0DDFEEE139000C7585DA" xlink:to="loc_us-gaap_ProductsAndServicesDomain_AACEB36563AF3D711D4339000C759384" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_77E50BEEEA0763932F5539000C750386" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_AACEB36563AF3D711D4339000C759384" xlink:to="loc_agm_FloatingInterestRateMember_77E50BEEEA0763932F5539000C750386" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_C7766A6917A92501AC9339000C75DC40" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_C7766A6917A92501AC9339000C75DC40" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_7BC938A36F09220CBD2939000C751A37_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C7766A6917A92501AC9339000C75DC40" xlink:to="loc_us-gaap_SegmentDomain_7BC938A36F09220CBD2939000C751A37_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_7BC938A36F09220CBD2939000C751A37" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_C7766A6917A92501AC9339000C75DC40" xlink:to="loc_us-gaap_SegmentDomain_7BC938A36F09220CBD2939000C751A37" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_CBC7C9E0069B9CE197EF39000C75E9DC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_7BC938A36F09220CBD2939000C751A37" xlink:to="loc_agm_InstitutionalCreditMemberMember_CBC7C9E0069B9CE197EF39000C75E9DC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_699538B1F467F1F575E439000C75597A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_7BC938A36F09220CBD2939000C751A37" xlink:to="loc_agm_USDAGuaranteesMember_699538B1F467F1F575E439000C75597A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationTechniqueAxis" xlink:label="loc_us-gaap_ValuationTechniqueAxis_4A11124F88D28A851A8F39000C75CF17" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_ValuationTechniqueAxis_4A11124F88D28A851A8F39000C75CF17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_EDDF42E6353CA915F06939000C7517E1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationTechniqueAxis_4A11124F88D28A851A8F39000C75CF17" xlink:to="loc_us-gaap_ValuationTechniqueDomain_EDDF42E6353CA915F06939000C7517E1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationTechniqueDomain" xlink:label="loc_us-gaap_ValuationTechniqueDomain_EDDF42E6353CA915F06939000C7517E1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationTechniqueAxis_4A11124F88D28A851A8F39000C75CF17" xlink:to="loc_us-gaap_ValuationTechniqueDomain_EDDF42E6353CA915F06939000C7517E1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketApproachValuationTechniqueMember" xlink:label="loc_us-gaap_MarketApproachValuationTechniqueMember_96DA367859656FDF088A39000C751EA7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_EDDF42E6353CA915F06939000C7517E1" xlink:to="loc_us-gaap_MarketApproachValuationTechniqueMember_96DA367859656FDF088A39000C751EA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CostApproachValuationTechniqueMember" xlink:label="loc_us-gaap_CostApproachValuationTechniqueMember_4D1020F6C27B1051114C39000C758123" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationTechniqueDomain_EDDF42E6353CA915F06939000C7517E1" xlink:to="loc_us-gaap_CostApproachValuationTechniqueMember_4D1020F6C27B1051114C39000C758123" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_58920351B57E3C31F81D39000C758D41" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_58920351B57E3C31F81D39000C758D41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_58920351B57E3C31F81D39000C758D41" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_58920351B57E3C31F81D39000C758D41" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AuctionRateSecuritiesMember" xlink:label="loc_us-gaap_AuctionRateSecuritiesMember_D0EF0488968A985F159F39000C75EBE5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:to="loc_us-gaap_AuctionRateSecuritiesMember_D0EF0488968A985F159F39000C75EBE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_B992CE18954C3B2F219439000C75E5D6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_B992CE18954C3B2F219439000C75E5D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_F9E46EB7400AE023D79D39000C75D5A2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_F9E46EB7400AE023D79D39000C75D5A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_7BCE4A37A39FCDE99C6939000C756942" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_7BCE4A37A39FCDE99C6939000C756942" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_E4FD92E11D66159AB91F39000C756735" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_CB0CFC0CF56830DB6F2539000C75B92F" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_E4FD92E11D66159AB91F39000C756735" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E402DF29080B5C2CC15139000C756CD5" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E402DF29080B5C2CC15139000C756CD5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A3047A19FD73877CE1739000C7FC59C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E402DF29080B5C2CC15139000C756CD5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A3047A19FD73877CE1739000C7FC59C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A3047A19FD73877CE1739000C7FC59C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_E402DF29080B5C2CC15139000C756CD5" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A3047A19FD73877CE1739000C7FC59C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_E792F9B5D4803BB4012939000C7FADDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_6A3047A19FD73877CE1739000C7FC59C" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_E792F9B5D4803BB4012939000C7FADDF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_67B867DF82167624ED6239000C7FA71E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesTable_BA5D195CF860FB30941939000C755748" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_67B867DF82167624ED6239000C7FA71E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2B353541DBBA7AE4629A39000C7F8C8C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_67B867DF82167624ED6239000C7FA71E" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2B353541DBBA7AE4629A39000C7F8C8C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2B353541DBBA7AE4629A39000C7F8C8C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_67B867DF82167624ED6239000C7FA71E" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2B353541DBBA7AE4629A39000C7F8C8C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_6983017970D60551902A39000C7F94C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_2B353541DBBA7AE4629A39000C7F8C8C" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_6983017970D60551902A39000C7F94C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_09CC22F6D1678699DDD839000C7FCE0A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_us-gaap_AvailableForSaleSecurities_09CC22F6D1678699DDD839000C7FCE0A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_AA5B672B4C96ABECB04739000C7FA278" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_us-gaap_TradingSecurities_AA5B672B4C96ABECB04739000C7FA278" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketableSecurities" xlink:label="loc_us-gaap_MarketableSecurities_A42A9CB56D5D69569FB139000C7F6242" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_us-gaap_MarketableSecurities_A42A9CB56D5D69569FB139000C7F6242" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FairValueInputsRangeOfOfferedQuotes" xlink:label="loc_agm_FairValueInputsRangeOfOfferedQuotes_B29B27C86FDCF1F3B2A939000C7FBE74" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_agm_FairValueInputsRangeOfOfferedQuotes_B29B27C86FDCF1F3B2A939000C7FBE74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsDiscountRate" xlink:label="loc_us-gaap_FairValueInputsDiscountRate_7C2ABB6B2E0A96BC805639000C7F735A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_us-gaap_FairValueInputsDiscountRate_7C2ABB6B2E0A96BC805639000C7F735A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsPrepaymentRate" xlink:label="loc_us-gaap_FairValueInputsPrepaymentRate_00E92E5187ABD393086139000C7F8EEE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsAndLiabilitiesMeasuredOnRecurringAndNonrecurringBasisValuationTechniquesLineItems_FD26F5130E832E067A3039000C7FEEF7" xlink:to="loc_us-gaap_FairValueInputsPrepaymentRate_00E92E5187ABD393086139000C7F8EEE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresSummaryOfCarryingValueAndFairValueDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems" xlink:label="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByBalanceSheetGroupingTable" xlink:label="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementBasisAxis" xlink:label="loc_us-gaap_FairValueByMeasurementBasisAxis_295130F8143ED0FB2E3AB698A4BB8933" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:to="loc_us-gaap_FairValueByMeasurementBasisAxis_295130F8143ED0FB2E3AB698A4BB8933" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EC2902FC405095326B01B698A4BBC3CB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_295130F8143ED0FB2E3AB698A4BB8933" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EC2902FC405095326B01B698A4BBC3CB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueDisclosureItemAmountsDomain" xlink:label="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2F66288896E19D256586B698A4BB7FF6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementBasisAxis_295130F8143ED0FB2E3AB698A4BB8933" xlink:to="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2F66288896E19D256586B698A4BB7FF6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PortionAtFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EC2902FC405095326B01B698A4BBC3CB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2F66288896E19D256586B698A4BB7FF6" xlink:to="loc_us-gaap_PortionAtFairValueFairValueDisclosureMember_EC2902FC405095326B01B698A4BBC3CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CarryingReportedAmountFairValueDisclosureMember" xlink:label="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_782ECB49F57FE58E7766B698A4BB45FE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2F66288896E19D256586B698A4BB7FF6" xlink:to="loc_us-gaap_CarryingReportedAmountFairValueDisclosureMember_782ECB49F57FE58E7766B698A4BB45FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EstimateOfFairValueFairValueDisclosureMember" xlink:label="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_2B48A6819E66192A5710B698A4BBD536" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueDisclosureItemAmountsDomain_2F66288896E19D256586B698A4BB7FF6" xlink:to="loc_us-gaap_EstimateOfFairValueFairValueDisclosureMember_2B48A6819E66192A5710B698A4BBD536" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_20CB148E60A9795A8623B698A4BB910E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_20CB148E60A9795A8623B698A4BB910E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9FC8F10C832CAC20102AB698A4BBCCC4_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_20CB148E60A9795A8623B698A4BB910E" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9FC8F10C832CAC20102AB698A4BBCCC4_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_9FC8F10C832CAC20102AB698A4BBCCC4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_20CB148E60A9795A8623B698A4BB910E" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_9FC8F10C832CAC20102AB698A4BBCCC4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_05676565E434B8DDFD0CB698A4BBBC3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_9FC8F10C832CAC20102AB698A4BBCCC4" xlink:to="loc_us-gaap_LongTermDebtMember_05676565E434B8DDFD0CB698A4BBBC3C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_206F78CF59A85031A380B698A4BB184F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_206F78CF59A85031A380B698A4BB184F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_39BD0F7A4C7747786AC1B698A4BB5C0F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_206F78CF59A85031A380B698A4BB184F" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_39BD0F7A4C7747786AC1B698A4BB5C0F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_39BD0F7A4C7747786AC1B698A4BB5C0F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_206F78CF59A85031A380B698A4BB184F" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_39BD0F7A4C7747786AC1B698A4BB5C0F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueWithinOneYearMember" xlink:label="loc_agm_DueWithinOneYearMember_B89D25A6B4C3355D6909B698A4BB36A3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_39BD0F7A4C7747786AC1B698A4BB5C0F" xlink:to="loc_agm_DueWithinOneYearMember_B89D25A6B4C3355D6909B698A4BB36A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_ACBC738A49ED78DEA440B698A4BBD836" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_ACBC738A49ED78DEA440B698A4BBD836" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_A5778EF9347879059EE5B698A4BB383D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_ACBC738A49ED78DEA440B698A4BBD836" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_A5778EF9347879059EE5B698A4BB383D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_A5778EF9347879059EE5B698A4BB383D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_ACBC738A49ED78DEA440B698A4BBD836" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_A5778EF9347879059EE5B698A4BB383D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LongTermStandbyPurchaseCommitmentsMember" xlink:label="loc_agm_LongTermStandbyPurchaseCommitmentsMember_C6A3207248E2C2F1F1FAB698A4BBE691" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_A5778EF9347879059EE5B698A4BB383D" xlink:to="loc_agm_LongTermStandbyPurchaseCommitmentsMember_C6A3207248E2C2F1F1FAB698A4BBE691" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmerMacGuaranteedSecuritiesMember" xlink:label="loc_agm_FarmerMacGuaranteedSecuritiesMember_62D2636A7B6F3E08C690B698A4BB35FF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_A5778EF9347879059EE5B698A4BB383D" xlink:to="loc_agm_FarmerMacGuaranteedSecuritiesMember_62D2636A7B6F3E08C690B698A4BB35FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_C0449DD69BF60687D23FB698A4BB7B68" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueByBalanceSheetGroupingTable_BD11DEA0DE36173CB39EB698A4BB9035" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_C0449DD69BF60687D23FB698A4BB7B68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_C0449DD69BF60687D23FB698A4BB7B68" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_C0449DD69BF60687D23FB698A4BB7B68" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_17109AC669BA7FE22972B698A4BB13AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA" xlink:to="loc_us-gaap_DebtSecuritiesMember_17109AC669BA7FE22972B698A4BB13AF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_B3E54192319BB1AA721DB698A4BBE837" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_B3E54192319BB1AA721DB698A4BBE837" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_8A6D3334D2090BA2F5C8B698A4BB9074" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_A1DAB35E9572197EAAA2B698A4BBB9EA" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_8A6D3334D2090BA2F5C8B698A4BB9074" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashAndCashEquivalentsFairValueDisclosure" xlink:label="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_F91553FB57871F4A226DB698A4BB6487" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_CashAndCashEquivalentsFairValueDisclosure_F91553FB57871F4A226DB698A4BB6487" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MarketableSecuritiesFairValueDisclosure" xlink:label="loc_agm_MarketableSecuritiesFairValueDisclosure_9A8042A502B172F29F66B698A4BB7778" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_agm_MarketableSecuritiesFairValueDisclosure_9A8042A502B172F29F66B698A4BB7778" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansReceivableFairValueDisclosure" xlink:label="loc_us-gaap_LoansReceivableFairValueDisclosure_D5B5E692A913B034EC05B698A4BB62F1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_LoansReceivableFairValueDisclosure_D5B5E692A913B034EC05B698A4BB62F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_75210308113224032D3CB698A4BB9740" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_DerivativeAssets_75210308113224032D3CB698A4BB9740" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyAssets" xlink:label="loc_us-gaap_GuarantyAssets_04D8D311B2814B822768B698A4BB89DD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_GuarantyAssets_04D8D311B2814B822768B698A4BB89DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayableFairValueDisclosure" xlink:label="loc_us-gaap_NotesPayableFairValueDisclosure_A8DB725BF83F92CE39F6B698A4BB1AB1" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_NotesPayableFairValueDisclosure_A8DB725BF83F92CE39F6B698A4BB1AB1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_VariableInterestEntityConsolidatedFairValueDisclosureLiabilities" xlink:label="loc_agm_VariableInterestEntityConsolidatedFairValueDisclosureLiabilities_4D618F32F73562226C41B698A4BB04BF" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_agm_VariableInterestEntityConsolidatedFairValueDisclosureLiabilities_4D618F32F73562226C41B698A4BB04BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_D999C6D1FF1DCF7F7C34B698A4BB11B4" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_DerivativeLiabilities_D999C6D1FF1DCF7F7C34B698A4BB11B4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyLiabilities" xlink:label="loc_us-gaap_GuarantyLiabilities_9DD3DC54C35D2957E3B7B698A4BB820C" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueBalanceSheetGroupingFinancialStatementCaptionsLineItems_76A2879408FA35FE0115B698A4BB7AA1" xlink:to="loc_us-gaap_GuarantyLiabilities_9DD3DC54C35D2957E3B7B698A4BB820C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FairValueDisclosuresUnobservableInputReconciliationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_8028D7C16DB30C882BA657BFE6A7D078" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_8028D7C16DB30C882BA657BFE6A7D078" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_0BAFC232C8E3D2E31B9A57BFE69D8CD4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:to="loc_us-gaap_ProductOrServiceAxis_0BAFC232C8E3D2E31B9A57BFE69D8CD4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_0CCA8C56A987DCD83BFF57BFE69D5CE8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_0BAFC232C8E3D2E31B9A57BFE69D8CD4" xlink:to="loc_us-gaap_ProductsAndServicesDomain_0CCA8C56A987DCD83BFF57BFE69D5CE8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_0CCA8C56A987DCD83BFF57BFE69D5CE8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_0BAFC232C8E3D2E31B9A57BFE69D8CD4" xlink:to="loc_us-gaap_ProductsAndServicesDomain_0CCA8C56A987DCD83BFF57BFE69D5CE8" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_CF78D0E3EDC799341DA457BFE69DB7EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_0CCA8C56A987DCD83BFF57BFE69D5CE8" xlink:to="loc_agm_FloatingInterestRateMember_CF78D0E3EDC799341DA457BFE69DB7EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_EDE9B4F4CAFA51DF4ED157BFE69D7D33" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_EDE9B4F4CAFA51DF4ED157BFE69D7D33" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_27606411ABBB4C82977B57BFE69D2B1E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_EDE9B4F4CAFA51DF4ED157BFE69D7D33" xlink:to="loc_us-gaap_SegmentDomain_27606411ABBB4C82977B57BFE69D2B1E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_27606411ABBB4C82977B57BFE69D2B1E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_EDE9B4F4CAFA51DF4ED157BFE69D7D33" xlink:to="loc_us-gaap_SegmentDomain_27606411ABBB4C82977B57BFE69D2B1E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_62B4A2507C92AD55400A57BFE69D4801" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_27606411ABBB4C82977B57BFE69D2B1E" xlink:to="loc_agm_InstitutionalCreditMemberMember_62B4A2507C92AD55400A57BFE69D4801" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_861DC25AA6188015509757BFE69D1FCB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_27606411ABBB4C82977B57BFE69D2B1E" xlink:to="loc_agm_USDAGuaranteesMember_861DC25AA6188015509757BFE69D1FCB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_553383D30E9EC6B5438157BFE69D458D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_553383D30E9EC6B5438157BFE69D458D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_ECAB97D52B4DCD882B7F57BFE69D2602_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_553383D30E9EC6B5438157BFE69D458D" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_ECAB97D52B4DCD882B7F57BFE69D2602_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_ECAB97D52B4DCD882B7F57BFE69D2602" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_553383D30E9EC6B5438157BFE69D458D" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_ECAB97D52B4DCD882B7F57BFE69D2602" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_72883D2D6DCB3C1070A457BFE69D9177" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_ECAB97D52B4DCD882B7F57BFE69D2602" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_72883D2D6DCB3C1070A457BFE69D9177" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingAccountAssetsMember" xlink:label="loc_us-gaap_TradingAccountAssetsMember_D5BAAA4561EF97F02A1D57BFE69D9501" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_ECAB97D52B4DCD882B7F57BFE69D2602" xlink:to="loc_us-gaap_TradingAccountAssetsMember_D5BAAA4561EF97F02A1D57BFE69D9501" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByFairValueHierarchyLevelAxis" xlink:label="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_338344069A4FDD024C9857BFE69D5908" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:to="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_338344069A4FDD024C9857BFE69D5908" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0DCB5A9CCE6D7784480E57BFE69D3458_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_338344069A4FDD024C9857BFE69D5908" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0DCB5A9CCE6D7784480E57BFE69D3458_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsFairValueHierarchyDomain" xlink:label="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0DCB5A9CCE6D7784480E57BFE69D3458" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByFairValueHierarchyLevelAxis_338344069A4FDD024C9857BFE69D5908" xlink:to="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0DCB5A9CCE6D7784480E57BFE69D3458" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueInputsLevel3Member" xlink:label="loc_us-gaap_FairValueInputsLevel3Member_E601F9E5A61E3B54353757BFE69D65B3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementsFairValueHierarchyDomain_0DCB5A9CCE6D7784480E57BFE69D3458" xlink:to="loc_us-gaap_FairValueInputsLevel3Member_E601F9E5A61E3B54353757BFE69D65B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByAssetClassAxis" xlink:label="loc_us-gaap_FairValueByAssetClassAxis_ED69CEBC096A5AB12EE657BFE69DBC6D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:to="loc_us-gaap_FairValueByAssetClassAxis_ED69CEBC096A5AB12EE657BFE69DBC6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_ED69CEBC096A5AB12EE657BFE69DBC6D" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByAssetClassAxis_ED69CEBC096A5AB12EE657BFE69DBC6D" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AuctionRateSecuritiesMember" xlink:label="loc_us-gaap_AuctionRateSecuritiesMember_6DBB1B07E1D3AC27E58957BFE69DAA96" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:to="loc_us-gaap_AuctionRateSecuritiesMember_6DBB1B07E1D3AC27E58957BFE69DAA96" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_A0365A930965A4E553AA57BFE69D8A8B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_A0365A930965A4E553AA57BFE69D8A8B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_DAABF7FFB37605DCAF7257BFE69DF1F7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:to="loc_us-gaap_DebtSecuritiesMember_DAABF7FFB37605DCAF7257BFE69DF1F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_CE8F904331BC5E042F2B57BFE69DFC80" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_CE8F904331BC5E042F2B57BFE69DFC80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_FE64EE8C1F9DC891E5C457BFE69D2E3B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationByAssetClassDomain_7CA38EEC060F4AA76F7A57BFE69DC258" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_FE64EE8C1F9DC891E5C457BFE69D2E3B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueByMeasurementFrequencyAxis" xlink:label="loc_us-gaap_FairValueByMeasurementFrequencyAxis_55168BCF060E68E0059757BFE69D572E" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationTable_20AB996C536EBDF87AA957BFE69D340A" xlink:to="loc_us-gaap_FairValueByMeasurementFrequencyAxis_55168BCF060E68E0059757BFE69D572E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_A2790E9EA5C0224FBB3857BFE69D25AD_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_55168BCF060E68E0059757BFE69D572E" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_A2790E9EA5C0224FBB3857BFE69D25AD_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementFrequencyDomain" xlink:label="loc_us-gaap_FairValueMeasurementFrequencyDomain_A2790E9EA5C0224FBB3857BFE69D25AD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FairValueByMeasurementFrequencyAxis_55168BCF060E68E0059757BFE69D572E" xlink:to="loc_us-gaap_FairValueMeasurementFrequencyDomain_A2790E9EA5C0224FBB3857BFE69D25AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementsRecurringMember" xlink:label="loc_us-gaap_FairValueMeasurementsRecurringMember_D4A2AB54BC311B7EE19F57BFE69DE733" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueMeasurementFrequencyDomain_A2790E9EA5C0224FBB3857BFE69D25AD" xlink:to="loc_us-gaap_FairValueMeasurementsRecurringMember_D4A2AB54BC311B7EE19F57BFE69DE733" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingGain" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGain_CB7B64640C4F140A1B3857BFE6A7A6FA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_8028D7C16DB30C882BA657BFE6A7D078" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGain_CB7B64640C4F140A1B3857BFE6A7A6FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_8028D7C16DB30C882BA657BFE6A7D078" xlink:to="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_73AA0D3E9AC287EA66E757BFE6A704B8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetValue_73AA0D3E9AC287EA66E757BFE6A704B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_E67D595122B72F3A630057BFE6A72E8A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetPurchases_E67D595122B72F3A630057BFE6A72E8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_6774EC8839A6CCE6E8AB57BFE6A76C99" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSales_6774EC8839A6CCE6E8AB57BFE6A76C99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_13372D7C940B1447E96157BFE6A7006D" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetSettlements_13372D7C940B1447E96157BFE6A7006D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_95544847786C592F061457BFE6A760DE" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInEarnings1_95544847786C592F061457BFE6A760DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_F942F83C0B181A5F265C57BFE6A7FAB9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetGainLossIncludedInOtherComprehensiveIncomeLoss_F942F83C0B181A5F265C57BFE6A7FAB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_AF1A73D36768625EEFF757BFE6A78BCE" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_7BB1A8D7FEB255C708C557BFE6A716C9" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetTransfersOutOfLevel3_AF1A73D36768625EEFF757BFE6A78BCE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward" xlink:label="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueAssetsMeasuredOnRecurringBasisUnobservableInputReconciliationLineItems_8028D7C16DB30C882BA657BFE6A7D078" xlink:to="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_4600FB6E9F5205000ED857BFE6A79E57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationsRecurringBasisLiabilityValue_4600FB6E9F5205000ED857BFE6A79E57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_25FDB4545ADC92C7FABC57BFE6A78796" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityPurchases_25FDB4545ADC92C7FABC57BFE6A78796" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_0CB34A7DC4BD024B2C0957BFE6A76A0C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySales_0CB34A7DC4BD024B2C0957BFE6A76A0C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_05CEB3F5C90277C92F0A57BFE6A7030A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilitySettlements_05CEB3F5C90277C92F0A57BFE6A7030A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_72A941106D6A9941FDF757BFE6A73E78" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInEarnings_72A941106D6A9941FDF757BFE6A73E78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome_35EDA0739AB9BF3785A557BFE6A78DB5" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisLiabilityGainLossIncludedInOtherComprehensiveIncome_35EDA0739AB9BF3785A557BFE6A78DB5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3" xlink:label="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3_63647299AB568A1FC97657BFE6A7B38E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FairValueLiabilitiesMeasuredOnRecurringBasisUnobservableInputReconciliationCalculationRollForward_38243110F23D2E77243957BFE6A76682" xlink:to="loc_us-gaap_FairValueMeasurementWithUnobservableInputsReconciliationLiabilityTransfersOutOfLevel3_63647299AB568A1FC97657BFE6A7B38E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecurities" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems" xlink:label="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_F909EB7A62A381ACC288B698A46B9043" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable" xlink:label="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_733460F6436B5B400C33B698A4613A5C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_F909EB7A62A381ACC288B698A46B9043" xlink:to="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_733460F6436B5B400C33B698A4613A5C" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_29FE5DFA3FB9876954B3B698A461146E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_733460F6436B5B400C33B698A4613A5C" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_29FE5DFA3FB9876954B3B698A461146E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B04A3C3934E16B8B394EB698A46BEEF2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_29FE5DFA3FB9876954B3B698A461146E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B04A3C3934E16B8B394EB698A46BEEF2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B04A3C3934E16B8B394EB698A46BEEF2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_29FE5DFA3FB9876954B3B698A461146E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B04A3C3934E16B8B394EB698A46BEEF2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_391D82EEB6BD0B90BA0FB698A46BFF1D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_B04A3C3934E16B8B394EB698A46BEEF2" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_391D82EEB6BD0B90BA0FB698A46BFF1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_B9B302562648A62BDB4DB698A46B724B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_F909EB7A62A381ACC288B698A46B9043" xlink:to="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_B9B302562648A62BDB4DB698A46B724B" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems" xlink:label="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_6DCE8C4E42AEFECE7A18B698A7992A31" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable" xlink:label="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_6219D238B17D5745A2E2B698A7998D6D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_6DCE8C4E42AEFECE7A18B698A7992A31" xlink:to="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_6219D238B17D5745A2E2B698A7998D6D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_D841FABA796AC7D3EF46B698A79992AB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_6219D238B17D5745A2E2B698A7998D6D" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_D841FABA796AC7D3EF46B698A79992AB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_EB58FA29EFDED4C4A11AB698A7996AC3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D841FABA796AC7D3EF46B698A79992AB" xlink:to="loc_us-gaap_SegmentDomain_EB58FA29EFDED4C4A11AB698A7996AC3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_EB58FA29EFDED4C4A11AB698A7996AC3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_D841FABA796AC7D3EF46B698A79992AB" xlink:to="loc_us-gaap_SegmentDomain_EB58FA29EFDED4C4A11AB698A7996AC3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_953AD2FDE3131173F89FB698A7990FF8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_EB58FA29EFDED4C4A11AB698A7996AC3" xlink:to="loc_agm_InstitutionalCreditMemberMember_953AD2FDE3131173F89FB698A7990FF8" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_FB541A3843B912989A2DB698A799DA8C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_EB58FA29EFDED4C4A11AB698A7996AC3" xlink:to="loc_agm_USDAGuaranteesMember_FB541A3843B912989A2DB698A799DA8C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_8579F860BFCF6CDFFD72B698A7998F78" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_6219D238B17D5745A2E2B698A7998D6D" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_8579F860BFCF6CDFFD72B698A7998F78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_8579F860BFCF6CDFFD72B698A7998F78" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_8579F860BFCF6CDFFD72B698A7998F78" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldtomaturitySecuritiesMember" xlink:label="loc_us-gaap_HeldtomaturitySecuritiesMember_0D2CF297F3AA8B7547A1B698A79903B6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D" xlink:to="loc_us-gaap_HeldtomaturitySecuritiesMember_0D2CF297F3AA8B7547A1B698A79903B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_325F240C08F3B27B11B3B698A7990636" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_325F240C08F3B27B11B3B698A7990636" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingAccountAssetsMember" xlink:label="loc_us-gaap_TradingAccountAssetsMember_423331DCBF3FBF603F2BB698A7998D0A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_E6352859554753DB4D0EB698A799151D" xlink:to="loc_us-gaap_TradingAccountAssetsMember_423331DCBF3FBF603F2BB698A7998D0A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_797120C8AF2E85110477B698A7990649" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_6219D238B17D5745A2E2B698A7998D6D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_797120C8AF2E85110477B698A7990649" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F9D4EA1DCF050452E529B698A7995D08_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_797120C8AF2E85110477B698A7990649" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F9D4EA1DCF050452E529B698A7995D08_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F9D4EA1DCF050452E529B698A7995D08" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_797120C8AF2E85110477B698A7990649" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F9D4EA1DCF050452E529B698A7995D08" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_F2267D90145434B413C8B698A79921BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F9D4EA1DCF050452E529B698A7995D08" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_F2267D90145434B413C8B698A79921BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_BBE347C2C881A71BD672B698A799E3F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_USTreasuryAndGovernmentMember_F2267D90145434B413C8B698A79921BA" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_BBE347C2C881A71BD672B698A799E3F0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_70A8EFC6984B974AECBDB698A79971F7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_USTreasuryAndGovernmentMember_F2267D90145434B413C8B698A79921BA" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_70A8EFC6984B974AECBDB698A79971F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_E4BEA9366F6173844230B698A79971BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_6DCE8C4E42AEFECE7A18B698A7992A31" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_E4BEA9366F6173844230B698A79971BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_6DCE8C4E42AEFECE7A18B698A7992A31" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_HeldtoMaturityUnpaidPrincipalBalance" xlink:label="loc_agm_HeldtoMaturityUnpaidPrincipalBalance_C2B36C5400013B361696B698A7994B6C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:to="loc_agm_HeldtoMaturityUnpaidPrincipalBalance_C2B36C5400013B361696B698A7994B6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_983E4A8BBBFC4FFE2BDCB698A799A2C9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_983E4A8BBBFC4FFE2BDCB698A799A2C9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_AB7E6586AAAAADD58C26B698A799FD10" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingGain_AB7E6586AAAAADD58C26B698A799FD10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_99A59BC7CF7146CC8DE3B698A799EE34" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAccumulatedUnrecognizedHoldingLoss_99A59BC7CF7146CC8DE3B698A799EE34" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_31ECCF195F64D8C17D44B698A79975CD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesAbstract_1F45EB035FB5328ED6D0B698A79955F7" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_31ECCF195F64D8C17D44B698A79975CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_6DCE8C4E42AEFECE7A18B698A7992A31" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance" xlink:label="loc_agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance_267A751ED0A71894A6D0B698A7996EA3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:to="loc_agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance_267A751ED0A71894A6D0B698A7996EA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_C393E4BE2F96709A6CF7B698A799C0A7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_C393E4BE2F96709A6CF7B698A799C0A7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_095203B182E97029A93BB698A799CFA2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_095203B182E97029A93BB698A799CFA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_AF06485BA26D84B838ABB698A7990603" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_AF06485BA26D84B838ABB698A7990603" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_2DC5591C36520D09DF6CB698A7995EEB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_9493F4049FBEA2E53068B698A799894C" xlink:to="loc_us-gaap_AvailableForSaleSecurities_2DC5591C36520D09DF6CB698A7995EEB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesAbstract" xlink:label="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_6DCE8C4E42AEFECE7A18B698A7992A31" xlink:to="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TradingSecuritiesUnpaidPrincipalBalance" xlink:label="loc_agm_TradingSecuritiesUnpaidPrincipalBalance_39EF40949CEA97173B66B698A799E85C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:to="loc_agm_TradingSecuritiesUnpaidPrincipalBalance_39EF40949CEA97173B66B698A799E85C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesDebtAmortizedCost" xlink:label="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_8DCB079A23FC3BC9A7FAB698A7997A58" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:to="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_8DCB079A23FC3BC9A7FAB698A7997A58" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingGain" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGain_32707525800839E981ACB698A7994787" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGain_32707525800839E981ACB698A7994787" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingLoss" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingLoss_37F468937B1795B14AF2B698A799E84A" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingLoss_37F468937B1795B14AF2B698A799E84A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_7F927427A4B9161236DAB698A799DE72" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_27764FEE93A688BB4670B698A7997ED0" xlink:to="loc_us-gaap_TradingSecurities_7F927427A4B9161236DAB698A799DE72" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesFarmerMacGuaranteedSecuritiesAndUsdaSecuritiesTables" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems" xlink:label="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_44472C463E1737ED94F0B698A72B5372" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable" xlink:label="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_8B5397FBE1A0E3540203B698A72B7DDF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_44472C463E1737ED94F0B698A72B5372" xlink:to="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_8B5397FBE1A0E3540203B698A72B7DDF" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_08DA804A410433EB9A4CB698A72B4BA7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesTable_8B5397FBE1A0E3540203B698A72B7DDF" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_08DA804A410433EB9A4CB698A72B4BA7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_6A3A5440373012DCF92FB698A72BF25B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_08DA804A410433EB9A4CB698A72B4BA7" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_6A3A5440373012DCF92FB698A72BF25B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_6A3A5440373012DCF92FB698A72BF25B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_08DA804A410433EB9A4CB698A72B4BA7" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_6A3A5440373012DCF92FB698A72BF25B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_0DAF7F5A588A7C809AAAB698A72BC361" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_6A3A5440373012DCF92FB698A72BF25B" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_0DAF7F5A588A7C809AAAB698A72BC361" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketableSecuritiesTextBlock" xlink:label="loc_us-gaap_MarketableSecuritiesTextBlock_32E2F55FC34D1A56F296B698A72B85EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_44472C463E1737ED94F0B698A72B5372" xlink:to="loc_us-gaap_MarketableSecuritiesTextBlock_32E2F55FC34D1A56F296B698A72B85EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_346AA3258AFF7344637BB698A72BDDD0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_44472C463E1737ED94F0B698A72B5372" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_346AA3258AFF7344637BB698A72BDDD0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:label="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_80970C8120ED81D035A2B698A72B4D2D" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleofHeldtoMaturityAvailableforsaleandTradingSecuritiesLineItems_44472C463E1737ED94F0B698A72B5372" xlink:to="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_80970C8120ED81D035A2B698A72B4D2D" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfAvailableForSaleSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D609C7B19CEB22204D4CB698A51F90D6" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ADDEA4B49A61A6EDDBF7B698A51F35C6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D609C7B19CEB22204D4CB698A51F90D6" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ADDEA4B49A61A6EDDBF7B698A51F35C6" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F2E02AD3F1B67F41A6C6B698A51F8196" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_ADDEA4B49A61A6EDDBF7B698A51F35C6" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F2E02AD3F1B67F41A6C6B698A51F8196" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AB7F2A8D908BAB617E5CB698A51F9509_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F2E02AD3F1B67F41A6C6B698A51F8196" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AB7F2A8D908BAB617E5CB698A51F9509_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AB7F2A8D908BAB617E5CB698A51F9509" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_F2E02AD3F1B67F41A6C6B698A51F8196" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AB7F2A8D908BAB617E5CB698A51F9509" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_E20C49039979AA83E94AB698A51FB5CC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_AB7F2A8D908BAB617E5CB698A51F9509" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_E20C49039979AA83E94AB698A51FB5CC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_A41C83BA5F228AF8FF40B698A51F4E11" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_D609C7B19CEB22204D4CB698A51F90D6" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_A41C83BA5F228AF8FF40B698A51F4E11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_5B48C763583E76C51F8DB698A51FC7BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_A41C83BA5F228AF8FF40B698A51F4E11" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_5B48C763583E76C51F8DB698A51FC7BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_5B48C763583E76C51F8DB698A51FC7BC" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_D31ADEB71DF7843B24FAB698A51F2265" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_D31ADEB71DF7843B24FAB698A51F2265" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_0413B1591D7CA383D7CEB698A51FC219" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_0413B1591D7CA383D7CEB698A51FC219" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_E8B0F5D4DE4FC1243647B698A51F26B6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_E8B0F5D4DE4FC1243647B698A51F26B6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_C255C4FC32D5DABE0C94B698A51F24C5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_C255C4FC32D5DABE0C94B698A51F24C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_7BB6B68A57FA9DDDF705B698A51FB0FB" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_76F041975F5063F77AF3B698A51FC689" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_7BB6B68A57FA9DDDF705B698A51FB0FB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_F9D6A7D04F37899A7AF1B698A51FCE57" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_A41C83BA5F228AF8FF40B698A51F4E11" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_F9D6A7D04F37899A7AF1B698A51FCE57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_F9D6A7D04F37899A7AF1B698A51FCE57" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_0EB6B9496E2EBF6DF918B698A51F7595" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_0EB6B9496E2EBF6DF918B698A51F7595" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_1435560A1D11E1BF5D7DB698A51F24FF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_1435560A1D11E1BF5D7DB698A51F24FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_E069DDCA64C19C1EA55EB698A51FAE89" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_E069DDCA64C19C1EA55EB698A51FAE89" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_8934A14FCF0C0394B1F4B698A51FC817" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_8934A14FCF0C0394B1F4B698A51FC817" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_5DE3C9C404647A04B0C2B698A51FB6EC" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_F59BE1EA11D2D4D0F176B698A51F9835" xlink:to="loc_us-gaap_AvailableForSaleSecurities_5DE3C9C404647A04B0C2B698A51FB6EC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract_A83450315DFA81324FA5B698A51FFA56" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_A41C83BA5F228AF8FF40B698A51F4E11" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract_A83450315DFA81324FA5B698A51FFA56" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" xlink:label="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract_A83450315DFA81324FA5B698A51FFA56" xlink:to="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield_AE137D6232C08B7E257AB698A51F1BAC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield_AE137D6232C08B7E257AB698A51F1BAC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield_81BE08470EE22B036B7CB698A51F33D0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield_81BE08470EE22B036B7CB698A51F33D0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield_97CE7E4084AD755CD3BEB698A51F1A99" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield_97CE7E4084AD755CD3BEB698A51F1A99" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield_B72B1B994FD71B5E1850B698A51F0CB4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield_B72B1B994FD71B5E1850B698A51F0CB4" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield_C68D27500C0922199812B698A51FF984" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8078084E44BE16636074B698A51F8754" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield_C68D27500C0922199812B698A51FF984" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesScheduleOfHeldToMaturitySecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_9EB0167969EF468597E4B698A73538AE" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfHeldToMaturitySecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_DF77B897F8A2DDF3CF5DB698A735708B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_9EB0167969EF468597E4B698A73538AE" xlink:to="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_DF77B897F8A2DDF3CF5DB698A735708B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C63893FE4DC5090F5B91B698A735D13B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesTable_DF77B897F8A2DDF3CF5DB698A735708B" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C63893FE4DC5090F5B91B698A735D13B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1602F25651017011480DB698A735FE23_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C63893FE4DC5090F5B91B698A735D13B" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1602F25651017011480DB698A735FE23_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1602F25651017011480DB698A735FE23" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_C63893FE4DC5090F5B91B698A735D13B" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1602F25651017011480DB698A735FE23" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_9449145DD78E394446A7B698A735DD7D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_1602F25651017011480DB698A735FE23" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_9449145DD78E394446A7B698A735DD7D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_83D5C2EBC36707823816B698A7353A59" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_USTreasuryAndGovernmentMember_9449145DD78E394446A7B698A735DD7D" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_83D5C2EBC36707823816B698A7353A59" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_82D0BD219E20910ED56DB698A735B518" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfHeldToMaturitySecuritiesLineItems_9EB0167969EF468597E4B698A73538AE" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_82D0BD219E20910ED56DB698A735B518" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_2603472CC0FA79B16E5EB698A735B9F3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_82D0BD219E20910ED56DB698A735B518" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_2603472CC0FA79B16E5EB698A735B9F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_94D55508DA0527FF7AACB698A7353582" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesNetCarryingAmountAbstract_2603472CC0FA79B16E5EB698A735B9F3" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_94D55508DA0527FF7AACB698A7353582" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_433453A7C2DE401B799CB698A735057E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_94D55508DA0527FF7AACB698A7353582" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearNetCarryingAmount_433453A7C2DE401B799CB698A735057E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_F37ED6821C525506438DB698A735C2B3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_94D55508DA0527FF7AACB698A7353582" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsNetCarryingAmount_F37ED6821C525506438DB698A735C2B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_E4440C697F912B744990B698A735987F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_94D55508DA0527FF7AACB698A7353582" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesAmortizedCostBeforeOtherThanTemporaryImpairment_E4440C697F912B744990B698A735987F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_669659078441E6A0EF9FB698A735E00E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_82D0BD219E20910ED56DB698A735B518" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_669659078441E6A0EF9FB698A735E00E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValueAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValueAbstract_DA1A346D2D0A2F3F80A8B698A735116D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesFairValueAbstract_669659078441E6A0EF9FB698A735E00E" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValueAbstract_DA1A346D2D0A2F3F80A8B698A735116D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_9B57048C7225184B9DF1B698A73563D8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValueAbstract_DA1A346D2D0A2F3F80A8B698A735116D" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesWithinOneYearFairValue_9B57048C7225184B9DF1B698A73563D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_4E1749F4067AA14F07CFB698A73557C8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValueAbstract_DA1A346D2D0A2F3F80A8B698A735116D" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_4E1749F4067AA14F07CFB698A73557C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9E0BEA0712682E0F609AB698A73511F1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesSingleMaturityDateFairValueAbstract_DA1A346D2D0A2F3F80A8B698A735116D" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesFairValue_9E0BEA0712682E0F609AB698A73511F1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_HeldtoMaturitySecuritiesWeightedAverageYieldAbstract" xlink:label="loc_agm_HeldtoMaturitySecuritiesWeightedAverageYieldAbstract_54D156B29039558C0582B698A735741B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesDebtMaturitiesAbstract_82D0BD219E20910ED56DB698A735B518" xlink:to="loc_agm_HeldtoMaturitySecuritiesWeightedAverageYieldAbstract_54D156B29039558C0582B698A735741B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" xlink:label="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_2E2B1AED4626F3593A48B698A735A170" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_HeldtoMaturitySecuritiesWeightedAverageYieldAbstract_54D156B29039558C0582B698A735741B" xlink:to="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_2E2B1AED4626F3593A48B698A735A170" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_HeldtoMaturitySecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" xlink:label="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield_C190EE62449A578118E8B698A735B9F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_2E2B1AED4626F3593A48B698A735A170" xlink:to="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield_C190EE62449A578118E8B698A735B9F4" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_HeldtoMaturitySecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" xlink:label="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield_CADF0FF7D53ED7D611BEB698A7357B25" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_2E2B1AED4626F3593A48B698A735A170" xlink:to="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield_CADF0FF7D53ED7D611BEB698A7357B25" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYield" xlink:label="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYield_82EF3D6EBBDB7092DAC3B698A735C9F6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_2E2B1AED4626F3593A48B698A735A170" xlink:to="loc_agm_HeldtoMaturitySecuritiesDebtMaturitiesWeightedAverageYield_82EF3D6EBBDB7092DAC3B698A735C9F6" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesTradingSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_D709AAEC1D92489558FFB698A44BB4F5" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_871382E81C7C4179E769B698A44B24F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_D709AAEC1D92489558FFB698A44BB4F5" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_871382E81C7C4179E769B698A44B24F0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_14A577A993BEDA866324B698A44B6CA5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_871382E81C7C4179E769B698A44B24F0" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_14A577A993BEDA866324B698A44B6CA5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_77EB1ED3069BC069DCC1B698A44B837A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_14A577A993BEDA866324B698A44B6CA5" xlink:to="loc_us-gaap_SegmentDomain_77EB1ED3069BC069DCC1B698A44B837A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_77EB1ED3069BC069DCC1B698A44B837A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_14A577A993BEDA866324B698A44B6CA5" xlink:to="loc_us-gaap_SegmentDomain_77EB1ED3069BC069DCC1B698A44B837A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_9A65A09EFC2C912EE285B698A44B3B45" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_77EB1ED3069BC069DCC1B698A44B837A" xlink:to="loc_agm_USDAGuaranteesMember_9A65A09EFC2C912EE285B698A44B3B45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3CA42DFED87301050C56B698A44B3DCD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_871382E81C7C4179E769B698A44B24F0" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3CA42DFED87301050C56B698A44B3DCD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F28BFF723D55125391EEB698A44B27F7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3CA42DFED87301050C56B698A44B3DCD" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F28BFF723D55125391EEB698A44B27F7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F28BFF723D55125391EEB698A44B27F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_3CA42DFED87301050C56B698A44B3DCD" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F28BFF723D55125391EEB698A44B27F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_D4BBBF4256E48BAAF288B698A44B80F4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F28BFF723D55125391EEB698A44B27F7" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_D4BBBF4256E48BAAF288B698A44B80F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesDebtAmortizedCost" xlink:label="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_550A484C91AB04580ADAB698A44B40FE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_D709AAEC1D92489558FFB698A44BB4F5" xlink:to="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_550A484C91AB04580ADAB698A44B40FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_D88C3C6BEBCBBE6B8F60B698A44BE8F7" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_D709AAEC1D92489558FFB698A44BB4F5" xlink:to="loc_us-gaap_TradingSecurities_D88C3C6BEBCBBE6B8F60B698A44BE8F7" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TradingSecuritiesWeightedAverageYield" xlink:label="loc_agm_TradingSecuritiesWeightedAverageYield_BE9EEEFC448E2C12EF99B698A44B2C6A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_D709AAEC1D92489558FFB698A44BB4F5" xlink:to="loc_agm_TradingSecuritiesWeightedAverageYield_BE9EEEFC448E2C12EF99B698A44B2C6A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FarmerMacGuaranteedSecuritiesAndUsdaGuaranteedSecuritiesUnrealizedLossPositionDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0F4F9CB6B110B5252FA0B698A78F9A71" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0F4F9CB6B110B5252FA0B698A78F9A71" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_7DD236221AC491C4B644B698A78F9832" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0F4F9CB6B110B5252FA0B698A78F9A71" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_7DD236221AC491C4B644B698A78F9832" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_036C88CEEC6D2F76FDFDB698A78FA7F9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7DD236221AC491C4B644B698A78F9832" xlink:to="loc_us-gaap_SegmentDomain_036C88CEEC6D2F76FDFDB698A78FA7F9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_036C88CEEC6D2F76FDFDB698A78FA7F9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_7DD236221AC491C4B644B698A78F9832" xlink:to="loc_us-gaap_SegmentDomain_036C88CEEC6D2F76FDFDB698A78FA7F9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_1BD00CB87F7423B54415B698A78F1D12" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_036C88CEEC6D2F76FDFDB698A78FA7F9" xlink:to="loc_agm_InstitutionalCreditMemberMember_1BD00CB87F7423B54415B698A78F1D12" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_D13A336B0AD84F11227BB698A78FC213" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_036C88CEEC6D2F76FDFDB698A78FA7F9" xlink:to="loc_agm_USDAGuaranteesMember_D13A336B0AD84F11227BB698A78FC213" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A28C8D02DF92DEA10E16B698A78F93A4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0F4F9CB6B110B5252FA0B698A78F9A71" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A28C8D02DF92DEA10E16B698A78F93A4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A28C8D02DF92DEA10E16B698A78F93A4" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_A28C8D02DF92DEA10E16B698A78F93A4" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_1A9AA60FD93DE72981A6B698A78F49BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_1A9AA60FD93DE72981A6B698A78F49BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_045BA6CF285824D207ABB698A78FA0E0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_045BA6CF285824D207ABB698A78FA0E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasuryAndGovernmentMember" xlink:label="loc_us-gaap_USTreasuryAndGovernmentMember_1D235BDC9E4346E5790AB698A78FB306" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_FA7B21467805043AACA3B698A78FBD5C" xlink:to="loc_us-gaap_USTreasuryAndGovernmentMember_1D235BDC9E4346E5790AB698A78FB306" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract_2377B0C90D4D33A66F55B698A78FE6C1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract_2377B0C90D4D33A66F55B698A78FE6C1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_7E03D96FF501E1AC5E47B698A78F027A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract_2377B0C90D4D33A66F55B698A78FE6C1" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_7E03D96FF501E1AC5E47B698A78F027A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_ABFF243ABF658A55810CB698A78F4C1C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionFairValueAbstract_2377B0C90D4D33A66F55B698A78FE6C1" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_ABFF243ABF658A55810CB698A78F4C1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_F2A9F7674E4E96A9F1FBB698A78F7636" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_F2A9F7674E4E96A9F1FBB698A78F7636" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7CFFA6380F82A9D547A6B698A78F8D92" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_F2A9F7674E4E96A9F1FBB698A78F7636" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_7CFFA6380F82A9D547A6B698A78F8D92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_150A0D0DBCFEDC14EF71B698A78F31CB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_F2A9F7674E4E96A9F1FBB698A78F7636" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_150A0D0DBCFEDC14EF71B698A78F31CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_97B34BFC66322D8D3DF8B698A78F2A33" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_97B34BFC66322D8D3DF8B698A78F2A33" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_781202E99F41B5F4A3ABB698A78FC373" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_97B34BFC66322D8D3DF8B698A78F2A33" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_781202E99F41B5F4A3ABB698A78FC373" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_6EA608B27D9116BF7368B698A78F8383" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_97B34BFC66322D8D3DF8B698A78F2A33" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_6EA608B27D9116BF7368B698A78F8383" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_24D10FBE7603B9D5A5EDB698A78F1D73" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_24D10FBE7603B9D5A5EDB698A78F1D73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_998B7B17E10C0B954FFEB698A78F514A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_24D10FBE7603B9D5A5EDB698A78F1D73" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_998B7B17E10C0B954FFEB698A78F514A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_3C4F40AA1B15E85BCE1CB698A78F0470" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAccumulatedLossAbstract_24D10FBE7603B9D5A5EDB698A78F1D73" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_3C4F40AA1B15E85BCE1CB698A78F0470" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract" xlink:label="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_8DC080D32ED724790937B698A78FE0D5" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_8DC080D32ED724790937B698A78FE0D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1_C113B35CD8B9B3460F75B698A78FA280" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_8DC080D32ED724790937B698A78FE0D5" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1_C113B35CD8B9B3460F75B698A78FA280" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear_8AAED1F34169F305167BB698A78F370C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsAbstract_8DC080D32ED724790937B698A78FE0D5" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear_8AAED1F34169F305167BB698A78F370C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_368E278DAE757D06D3B5B698A78F055A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_EFC97417342F81FD6B57B698A78FA1A8" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_368E278DAE757D06D3B5B698A78F055A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions" xlink:label="loc_us-gaap_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions_A46D89A059F170238563B698A78FD532" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HeldToMaturitySecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_368E278DAE757D06D3B5B698A78F055A" xlink:to="loc_us-gaap_HeldToMaturitySecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions_A46D89A059F170238563B698A78FD532" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FinancialDerivatives" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesFinancialDerivativesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesHedgingDescriptionDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:to="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentRiskAxis" xlink:label="loc_us-gaap_DerivativeInstrumentRiskAxis_B395B8361755638BDBC6396EEA2B1A0D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:to="loc_us-gaap_DerivativeInstrumentRiskAxis_B395B8361755638BDBC6396EEA2B1A0D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_7CA81103A86071FF2BE3396EEA2BB487_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_B395B8361755638BDBC6396EEA2B1A0D" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_7CA81103A86071FF2BE3396EEA2BB487_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeContractTypeDomain" xlink:label="loc_us-gaap_DerivativeContractTypeDomain_7CA81103A86071FF2BE3396EEA2BB487" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentRiskAxis_B395B8361755638BDBC6396EEA2B1A0D" xlink:to="loc_us-gaap_DerivativeContractTypeDomain_7CA81103A86071FF2BE3396EEA2BB487" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_F4572B72F16C9D427F9D396EEA2B625C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeContractTypeDomain_7CA81103A86071FF2BE3396EEA2BB487" xlink:to="loc_us-gaap_InterestRateSwapMember_F4572B72F16C9D427F9D396EEA2B625C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TransactionTypeAxis" xlink:label="loc_us-gaap_TransactionTypeAxis_F8217E0CD0CE29F33707396EEA2B4F10" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:to="loc_us-gaap_TransactionTypeAxis_F8217E0CD0CE29F33707396EEA2B4F10" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TransactionDomain" xlink:label="loc_us-gaap_TransactionDomain_9B97752DE5B3BC410921396EEA2B6CFF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TransactionTypeAxis_F8217E0CD0CE29F33707396EEA2B4F10" xlink:to="loc_us-gaap_TransactionDomain_9B97752DE5B3BC410921396EEA2B6CFF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TransactionDomain" xlink:label="loc_us-gaap_TransactionDomain_9B97752DE5B3BC410921396EEA2B6CFF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TransactionTypeAxis_F8217E0CD0CE29F33707396EEA2B4F10" xlink:to="loc_us-gaap_TransactionDomain_9B97752DE5B3BC410921396EEA2B6CFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ExchangeClearedMember" xlink:label="loc_us-gaap_ExchangeClearedMember_BCD673C1A0AD27848C2C396EEA2B5F63" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TransactionDomain_9B97752DE5B3BC410921396EEA2B6CFF" xlink:to="loc_us-gaap_ExchangeClearedMember_BCD673C1A0AD27848C2C396EEA2B5F63" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_9C5BF61E32A29B5A8075396EEA2B5193" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_9C5BF61E32A29B5A8075396EEA2B5193" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_3AB559CD64D21D8730B8396EEA2B42C8_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_9C5BF61E32A29B5A8075396EEA2B5193" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_3AB559CD64D21D8730B8396EEA2B42C8_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_3AB559CD64D21D8730B8396EEA2B42C8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_9C5BF61E32A29B5A8075396EEA2B5193" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_3AB559CD64D21D8730B8396EEA2B42C8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashMember" xlink:label="loc_us-gaap_CashMember_38CF90197106B8AB0651396EEA2B8A57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_3AB559CD64D21D8730B8396EEA2B42C8" xlink:to="loc_us-gaap_CashMember_38CF90197106B8AB0651396EEA2B8A57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SecuritiesPledgedAsCollateralMember" xlink:label="loc_us-gaap_SecuritiesPledgedAsCollateralMember_55031FB1E23B5B23FC97396EEA2B4FD9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_3AB559CD64D21D8730B8396EEA2B42C8" xlink:to="loc_us-gaap_SecuritiesPledgedAsCollateralMember_55031FB1E23B5B23FC97396EEA2B4FD9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TypeOfArrangementAxis" xlink:label="loc_us-gaap_TypeOfArrangementAxis_DC0381BCDCBA267CBFAE396EEA2B2107" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:to="loc_us-gaap_TypeOfArrangementAxis_DC0381BCDCBA267CBFAE396EEA2B2107" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TypeOfArrangementAxis_DC0381BCDCBA267CBFAE396EEA2B2107" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ArrangementsAndNonarrangementTransactionsMember" xlink:label="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TypeOfArrangementAxis_DC0381BCDCBA267CBFAE396EEA2B2107" xlink:to="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ExcludingNettingMember" xlink:label="loc_agm_ExcludingNettingMember_76B0920FB703A123E02E396EEA2B4D72" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF" xlink:to="loc_agm_ExcludingNettingMember_76B0920FB703A123E02E396EEA2B4D72" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NettingMember" xlink:label="loc_agm_NettingMember_29501D10C4C221416F50396EEA2BF771" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF" xlink:to="loc_agm_NettingMember_29501D10C4C221416F50396EEA2BF771" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UncollateralizedMember" xlink:label="loc_us-gaap_UncollateralizedMember_07DA599630B8C8AEBFC0396EEA2BC07E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ArrangementsAndNonarrangementTransactionsMember_BDD0E56B8E5847F89076396EEA2BBACF" xlink:to="loc_us-gaap_UncollateralizedMember_07DA599630B8C8AEBFC0396EEA2BC07E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeByNatureAxis" xlink:label="loc_us-gaap_DerivativeByNatureAxis_B9234D965968B543C9C3396EEA2BA6F7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_C75190331893A8743D0C396EEA2B64BA" xlink:to="loc_us-gaap_DerivativeByNatureAxis_B9234D965968B543C9C3396EEA2BA6F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_EA9EA230F53BE36568C3396EEA2BA459_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeByNatureAxis_B9234D965968B543C9C3396EEA2BA6F7" xlink:to="loc_us-gaap_DerivativeNameDomain_EA9EA230F53BE36568C3396EEA2BA459_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_EA9EA230F53BE36568C3396EEA2BA459" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeByNatureAxis_B9234D965968B543C9C3396EEA2BA6F7" xlink:to="loc_us-gaap_DerivativeNameDomain_EA9EA230F53BE36568C3396EEA2BA459" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_614EB2DD5712DDA9C528396EEA2BC0D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_EA9EA230F53BE36568C3396EEA2BA459" xlink:to="loc_us-gaap_InterestRateSwapMember_614EB2DD5712DDA9C528396EEA2BC0D5" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_IncludingAccruedInterestMember" xlink:label="loc_agm_IncludingAccruedInterestMember_EBA5FE4DAC58260693B9396EEA2BB614" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_EA9EA230F53BE36568C3396EEA2BA459" xlink:to="loc_agm_IncludingAccruedInterestMember_EBA5FE4DAC58260693B9396EEA2BB614" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SecuritiesPurchasedUnderAgreementsToResell" xlink:label="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_874A3DE6DA70CB9639E2396EEA2B0BE7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:to="loc_us-gaap_SecuritiesPurchasedUnderAgreementsToResell_874A3DE6DA70CB9639E2396EEA2B0BE7" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CreditExposureToInterestRateSwapCounterparties" xlink:label="loc_agm_CreditExposureToInterestRateSwapCounterparties_E42FACD12EFD8F07FB43396EEA2B3383" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:to="loc_agm_CreditExposureToInterestRateSwapCounterparties_E42FACD12EFD8F07FB43396EEA2B3383" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_0CA494D17AF15F649201396EEA35F83A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_0CA494D17AF15F649201396EEA35F83A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeCollateralAbstract" xlink:label="loc_us-gaap_DerivativeCollateralAbstract_D1B8B1292BB901F10DA1396EEA359111" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:to="loc_us-gaap_DerivativeCollateralAbstract_D1B8B1292BB901F10DA1396EEA359111" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ObligationToReturnSecuritiesReceivedAsCollateral" xlink:label="loc_us-gaap_ObligationToReturnSecuritiesReceivedAsCollateral_B293397021EE601D6400396EEA355AAB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeCollateralAbstract_D1B8B1292BB901F10DA1396EEA359111" xlink:to="loc_us-gaap_ObligationToReturnSecuritiesReceivedAsCollateral_B293397021EE601D6400396EEA355AAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:label="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue_F2A978E8FB5C190B598B396EEA35B0F1" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeCollateralAbstract_D1B8B1292BB901F10DA1396EEA359111" xlink:to="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue_F2A978E8FB5C190B598B396EEA35B0F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AdditionalCollateralAggregateFairValue" xlink:label="loc_us-gaap_AdditionalCollateralAggregateFairValue_919AB8F6C6CAB52312F0396EEA357423" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeCollateralAbstract_D1B8B1292BB901F10DA1396EEA359111" xlink:to="loc_us-gaap_AdditionalCollateralAggregateFairValue_919AB8F6C6CAB52312F0396EEA357423" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotionalAmountOfDerivativesAbstract" xlink:label="loc_us-gaap_NotionalAmountOfDerivativesAbstract_2E4E0A1918116F8897F0396EEA354C67" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_3F29B945C90F95E6BA2E396EEA2BE61A" xlink:to="loc_us-gaap_NotionalAmountOfDerivativesAbstract_2E4E0A1918116F8897F0396EEA354C67" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_5694642334FF97E003F1396EEA359997" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_2E4E0A1918116F8897F0396EEA354C67" xlink:to="loc_invest_DerivativeNotionalAmount_5694642334FF97E003F1396EEA359997" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsImpactOnResultsOfOperationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossLineItems" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_07B441A800B080DC0178419FE8411D3E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_07B441A800B080DC0178419FE8411D3E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeByNatureAxis" xlink:label="loc_us-gaap_DerivativeByNatureAxis_2708BA4E65B8F2E45609419FE8417C31" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_07B441A800B080DC0178419FE8411D3E" xlink:to="loc_us-gaap_DerivativeByNatureAxis_2708BA4E65B8F2E45609419FE8417C31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeByNatureAxis_2708BA4E65B8F2E45609419FE8417C31" xlink:to="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeByNatureAxis_2708BA4E65B8F2E45609419FE8417C31" xlink:to="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestRateSwapMember" xlink:label="loc_us-gaap_InterestRateSwapMember_4D204BC88869D7DF25F4419FE84243C4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402" xlink:to="loc_us-gaap_InterestRateSwapMember_4D204BC88869D7DF25F4419FE84243C4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_28ED67B66CD6CF604235419FE8429AAE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402" xlink:to="loc_us-gaap_ForwardContractsMember_28ED67B66CD6CF604235419FE8429AAE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FutureMember" xlink:label="loc_us-gaap_FutureMember_57C9FEDF47867B66ACC7419FE8429F8C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_BC9BD9AF54CF7E0BEC5E419FE8415402" xlink:to="loc_us-gaap_FutureMember_57C9FEDF47867B66ACC7419FE8429F8C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_16F4F25070A840220807419FE842AC6C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_07B441A800B080DC0178419FE8411D3E" xlink:to="loc_us-gaap_HedgingDesignationAxis_16F4F25070A840220807419FE842AC6C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_BC8691D37A528D30EA14419FE8424B92_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_16F4F25070A840220807419FE842AC6C" xlink:to="loc_us-gaap_HedgingDesignationDomain_BC8691D37A528D30EA14419FE8424B92_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_BC8691D37A528D30EA14419FE8424B92" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_16F4F25070A840220807419FE842AC6C" xlink:to="loc_us-gaap_HedgingDesignationDomain_BC8691D37A528D30EA14419FE8424B92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_A6DAB09091068A1C4F03419FE842A26B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_BC8691D37A528D30EA14419FE8424B92" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_A6DAB09091068A1C4F03419FE842A26B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_EEDDA2AF92EDE79AFB51419FE8424413" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_BC8691D37A528D30EA14419FE8424B92" xlink:to="loc_us-gaap_NondesignatedMember_EEDDA2AF92EDE79AFB51419FE8424413" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_D8AE06464946C6D83699419FE842CEE4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipByIncomeStatementLocationByDerivativeInstrumentRiskTable_07B441A800B080DC0178419FE8411D3E" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_D8AE06464946C6D83699419FE842CEE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_7F76A1889862638923A1419FE8429973_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_D8AE06464946C6D83699419FE842CEE4" xlink:to="loc_us-gaap_HedgingRelationshipDomain_7F76A1889862638923A1419FE8429973_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_7F76A1889862638923A1419FE8429973" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_D8AE06464946C6D83699419FE842CEE4" xlink:to="loc_us-gaap_HedgingRelationshipDomain_7F76A1889862638923A1419FE8429973" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_473EAE7D26F3CBE5EED3419FE842A8E4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_7F76A1889862638923A1419FE8429973" xlink:to="loc_us-gaap_FairValueHedgingMember_473EAE7D26F3CBE5EED3419FE842A8E4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_AC458E3DB68E81CB7EA3419FE84225B3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_7F76A1889862638923A1419FE8429973" xlink:to="loc_us-gaap_CashFlowHedgingMember_AC458E3DB68E81CB7EA3419FE84225B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_9BDD2EA75D664E3A55C6419FE8424C94" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnFairValueHedgingInstruments1_9BDD2EA75D664E3A55C6419FE8424C94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1" xlink:label="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_D5AA2CED04095B556B37419FE842EEA6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_ChangeInUnrealizedGainLossOnHedgedItemInFairValueHedge1_D5AA2CED04095B556B37419FE842EEA6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings" xlink:label="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_0606C8B4A7FE3025B693419FE843270F" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_GainLossOnFairValueHedgesRecognizedInEarnings_0606C8B4A7FE3025B693419FE843270F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInterestRateCashFlowHedgeIneffectiveness" xlink:label="loc_us-gaap_GainLossOnInterestRateCashFlowHedgeIneffectiveness_BE756A8F91314310341B419FE843A208" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_GainLossOnInterestRateCashFlowHedgeIneffectiveness_BE756A8F91314310341B419FE843A208" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnCashFlowHedgeIneffectivenessNet" xlink:label="loc_us-gaap_GainLossOnCashFlowHedgeIneffectivenessNet_52D6040CB70F26C9E650419FE843E1A6" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_GainLossOnCashFlowHedgeIneffectivenessNet_52D6040CB70F26C9E650419FE843E1A6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnDerivativeInstrumentsNetPretax" xlink:label="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_E3253CFC28CAD0423539419FE8438AD6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_GainLossOnDerivativeInstrumentsNetPretax_E3253CFC28CAD0423539419FE8438AD6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_GainLossonComponentsIncludedfromAssessmentofInterestRateFairValueHedgeEffectiveness" xlink:label="loc_agm_GainLossonComponentsIncludedfromAssessmentofInterestRateFairValueHedgeEffectiveness_7B8944B5ADF96316C796419FE8433C2B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_agm_GainLossonComponentsIncludedfromAssessmentofInterestRateFairValueHedgeEffectiveness_7B8944B5ADF96316C796419FE8433C2B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnFairValueHedgeIneffectivenessNet" xlink:label="loc_us-gaap_GainLossOnFairValueHedgeIneffectivenessNet_9338BB869BECF69228A8419FE84381D8" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossLineItems_497AE06AC8182155BC7F419FE842A71F" xlink:to="loc_us-gaap_GainLossOnFairValueHedgeIneffectivenessNet_9338BB869BECF69228A8419FE84381D8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/FinancialDerivativesScheduleOfDerivativeInstrumentsInStatementOfFinancialPositionDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLineItems" xlink:label="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeTable" xlink:label="loc_us-gaap_DerivativeTable_AED0D323CDA0E5414CFE57B84F3771B4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeTable_AED0D323CDA0E5414CFE57B84F3771B4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationAxis" xlink:label="loc_us-gaap_HedgingDesignationAxis_E72D7EE3C1D390F4175157B84F379D03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_AED0D323CDA0E5414CFE57B84F3771B4" xlink:to="loc_us-gaap_HedgingDesignationAxis_E72D7EE3C1D390F4175157B84F379D03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_B9B3469EAC10946468C257B84F37E366_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_HedgingDesignationAxis_E72D7EE3C1D390F4175157B84F379D03" xlink:to="loc_us-gaap_HedgingDesignationDomain_B9B3469EAC10946468C257B84F37E366_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingDesignationDomain" xlink:label="loc_us-gaap_HedgingDesignationDomain_B9B3469EAC10946468C257B84F37E366" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_HedgingDesignationAxis_E72D7EE3C1D390F4175157B84F379D03" xlink:to="loc_us-gaap_HedgingDesignationDomain_B9B3469EAC10946468C257B84F37E366" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DesignatedAsHedgingInstrumentMember" xlink:label="loc_us-gaap_DesignatedAsHedgingInstrumentMember_2E689A0F6C7DCB8F355857B84F37D209" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_B9B3469EAC10946468C257B84F37E366" xlink:to="loc_us-gaap_DesignatedAsHedgingInstrumentMember_2E689A0F6C7DCB8F355857B84F37D209" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NondesignatedMember" xlink:label="loc_us-gaap_NondesignatedMember_E8771441B7A8E06F464457B84F37E0E2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingDesignationDomain_B9B3469EAC10946468C257B84F37E366" xlink:to="loc_us-gaap_NondesignatedMember_E8771441B7A8E06F464457B84F37E0E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_B0E95E06B647972E9D8757B84F3735D8" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_AED0D323CDA0E5414CFE57B84F3771B4" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_B0E95E06B647972E9D8757B84F3735D8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_60FD2D580ED5B6B239E657B84F37A97E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_B0E95E06B647972E9D8757B84F3735D8" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_60FD2D580ED5B6B239E657B84F37A97E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain" xlink:label="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_60FD2D580ED5B6B239E657B84F37A97E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralAxis_B0E95E06B647972E9D8757B84F3735D8" xlink:to="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_60FD2D580ED5B6B239E657B84F37A97E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashMember" xlink:label="loc_us-gaap_CashMember_D4CBDFE0EC5D2E096D4B57B84F375D8D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancialInstrumentsOwnedAndPledgedAsCollateralTypeDomain_60FD2D580ED5B6B239E657B84F37A97E" xlink:to="loc_us-gaap_CashMember_D4CBDFE0EC5D2E096D4B57B84F375D8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis" xlink:label="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_5D979FB5CED44CC5B15957B84F3752F6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_AED0D323CDA0E5414CFE57B84F3771B4" xlink:to="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_5D979FB5CED44CC5B15957B84F3752F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_ECEF6FD4B15D484222CB57B84F3739EF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_5D979FB5CED44CC5B15957B84F3752F6" xlink:to="loc_us-gaap_HedgingRelationshipDomain_ECEF6FD4B15D484222CB57B84F3739EF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_HedgingRelationshipDomain" xlink:label="loc_us-gaap_HedgingRelationshipDomain_ECEF6FD4B15D484222CB57B84F3739EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeInstrumentsGainLossByHedgingRelationshipAxis_5D979FB5CED44CC5B15957B84F3752F6" xlink:to="loc_us-gaap_HedgingRelationshipDomain_ECEF6FD4B15D484222CB57B84F3739EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FairValueHedgingMember" xlink:label="loc_us-gaap_FairValueHedgingMember_D3436789BA03E1DF13ED57B84F379CDC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_ECEF6FD4B15D484222CB57B84F3739EF" xlink:to="loc_us-gaap_FairValueHedgingMember_D3436789BA03E1DF13ED57B84F379CDC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CashFlowHedgingMember" xlink:label="loc_us-gaap_CashFlowHedgingMember_395A0938BC1F5B0EE8EE57B84F375906" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_HedgingRelationshipDomain_ECEF6FD4B15D484222CB57B84F3739EF" xlink:to="loc_us-gaap_CashFlowHedgingMember_395A0938BC1F5B0EE8EE57B84F375906" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeByNatureAxis" xlink:label="loc_us-gaap_DerivativeByNatureAxis_E1C7610DF09CD06CEF7857B84F37DF1B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_DerivativeTable_AED0D323CDA0E5414CFE57B84F3771B4" xlink:to="loc_us-gaap_DerivativeByNatureAxis_E1C7610DF09CD06CEF7857B84F37DF1B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DerivativeByNatureAxis_E1C7610DF09CD06CEF7857B84F37DF1B" xlink:to="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeNameDomain" xlink:label="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DerivativeByNatureAxis_E1C7610DF09CD06CEF7857B84F37DF1B" xlink:to="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestRateSwapPayFixedNonCallableMember" xlink:label="loc_agm_InterestRateSwapPayFixedNonCallableMember_AB00C677C762F25E71EE57B84F372784" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:to="loc_agm_InterestRateSwapPayFixedNonCallableMember_AB00C677C762F25E71EE57B84F372784" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestRateSwapReceiveFixedNonCallableMember" xlink:label="loc_agm_InterestRateSwapReceiveFixedNonCallableMember_6CA2AAC744D1B1FF8CFE57B84F37C50A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:to="loc_agm_InterestRateSwapReceiveFixedNonCallableMember_6CA2AAC744D1B1FF8CFE57B84F37C50A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestRateSwapReceiveFixedCallableMember" xlink:label="loc_agm_InterestRateSwapReceiveFixedCallableMember_FFEE077B31E04772499A57B84F373C99" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:to="loc_agm_InterestRateSwapReceiveFixedCallableMember_FFEE077B31E04772499A57B84F373C99" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BasisSwapMember" xlink:label="loc_us-gaap_BasisSwapMember_00859D067C73239CCAF657B84F3755EF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:to="loc_us-gaap_BasisSwapMember_00859D067C73239CCAF657B84F3755EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ForwardContractsMember" xlink:label="loc_us-gaap_ForwardContractsMember_C637085EE0DBCB174ED657B84F37CD56" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:to="loc_us-gaap_ForwardContractsMember_C637085EE0DBCB174ED657B84F37CD56" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FutureMember" xlink:label="loc_us-gaap_FutureMember_DD89269B61AB1B94D77757B84F37AB92" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeNameDomain_B9E50DBAD5E69BB6413657B84F37E66D" xlink:to="loc_us-gaap_FutureMember_DD89269B61AB1B94D77757B84F37AB92" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotionalAmountOfDerivativesAbstract" xlink:label="loc_us-gaap_NotionalAmountOfDerivativesAbstract_1169D4798E5485A76C3957B84F370CFA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_NotionalAmountOfDerivativesAbstract_1169D4798E5485A76C3957B84F370CFA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_EA8CC8E639E1E8B6188A57B84F41A7B0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_NotionalAmountOfDerivativesAbstract_1169D4798E5485A76C3957B84F370CFA" xlink:to="loc_invest_DerivativeNotionalAmount_EA8CC8E639E1E8B6188A57B84F41A7B0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAssetFairValueNetAbstract" xlink:label="loc_us-gaap_DerivativeAssetFairValueNetAbstract_1388E32BEBA9ABACBC8757B84F4174F4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeAssetFairValueNetAbstract_1388E32BEBA9ABACBC8757B84F4174F4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeAsset" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_4458CB943E2E8B68D0A257B84F41D46D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetFairValueNetAbstract_1388E32BEBA9ABACBC8757B84F4174F4" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeAsset_4458CB943E2E8B68D0A257B84F41D46D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeFairValueOfDerivativeLiability" xlink:label="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_A237A3BC8886583A499557B84F41C926" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeAssetFairValueNetAbstract_1388E32BEBA9ABACBC8757B84F4174F4" xlink:to="loc_us-gaap_DerivativeFairValueOfDerivativeLiability_A237A3BC8886583A499557B84F41C926" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAverageFixedInterestRate" xlink:label="loc_us-gaap_DerivativeAverageFixedInterestRate_593C2991D05D53E0238257B8529DF114" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeAverageFixedInterestRate_593C2991D05D53E0238257B8529DF114" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAverageVariableInterestRate" xlink:label="loc_us-gaap_DerivativeAverageVariableInterestRate_39DB397354E7423CF5F357B99E47AFE3" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeAverageVariableInterestRate_39DB397354E7423CF5F357B99E47AFE3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeVariableInterestRate" xlink:label="loc_us-gaap_DerivativeVariableInterestRate_7945387654D1FD0864C757BC06E7E7AF" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeVariableInterestRate_7945387654D1FD0864C757BC06E7E7AF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DerivativeWeightedAverageForwardPrice" xlink:label="loc_agm_DerivativeWeightedAverageForwardPrice_2A835C8B2A9ADD40AC1357B84F415FB2" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_agm_DerivativeWeightedAverageForwardPrice_2A835C8B2A9ADD40AC1357B84F415FB2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAverageRemainingMaturity1" xlink:label="loc_us-gaap_DerivativeAverageRemainingMaturity1_3225D3F6B4FB98390CEB57B84F411F0B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeAverageRemainingMaturity1_3225D3F6B4FB98390CEB57B84F411F0B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets" xlink:label="loc_us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets_B0DFF9598D7E5409D99F57B84F418E49" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeAssets_B0DFF9598D7E5409D99F57B84F418E49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeLiabilities_7569103436FFFB4C286257B84F41050F" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeCreditRiskValuationAdjustmentDerivativeLiabilities_7569103436FFFB4C286257B84F41050F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeCollateralAbstract" xlink:label="loc_us-gaap_DerivativeCollateralAbstract_22C7F3C50992D60EB1E357B84F41BEFD" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeCollateralAbstract_22C7F3C50992D60EB1E357B84F41BEFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ObligationToReturnSecuritiesReceivedAsCollateral" xlink:label="loc_us-gaap_ObligationToReturnSecuritiesReceivedAsCollateral_5DDA8D31849A9F64E24457B84F41D27E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeCollateralAbstract_22C7F3C50992D60EB1E357B84F41BEFD" xlink:to="loc_us-gaap_ObligationToReturnSecuritiesReceivedAsCollateral_5DDA8D31849A9F64E24457B84F41D27E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CollateralAlreadyPostedAggregateFairValue" xlink:label="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue_32E01D7E258BBFDD470F57B84F41BE70" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeCollateralAbstract_22C7F3C50992D60EB1E357B84F41BEFD" xlink:to="loc_us-gaap_CollateralAlreadyPostedAggregateFairValue_32E01D7E258BBFDD470F57B84F41BE70" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeAssets" xlink:label="loc_us-gaap_DerivativeAssets_23FA6D5EEDEE90C9C91457B84F41A7E3" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeAssets_23FA6D5EEDEE90C9C91457B84F41A7E3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DerivativeLiabilities" xlink:label="loc_us-gaap_DerivativeLiabilities_38A8851BFD575D429E2757B84F41361E" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DerivativeLineItems_10107B5D657142E520A957B84F3708FD" xlink:to="loc_us-gaap_DerivativeLiabilities_38A8851BFD575D429E2757B84F41361E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesComponentsOfIncomeTaxExpenseDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesDeferredTaxesAndLiabilitiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowanceLineItems" xlink:label="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowanceTable" xlink:label="loc_us-gaap_ValuationAllowanceTable_4A031F9529D4CF6201AB382966BCAD58" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_ValuationAllowanceTable_4A031F9529D4CF6201AB382966BCAD58" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_7FB31D9D4FADB081D766382966BC3C05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ValuationAllowanceTable_4A031F9529D4CF6201AB382966BCAD58" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_7FB31D9D4FADB081D766382966BC3C05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_88109B627C8B708AB9E7382966BC5983_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_7FB31D9D4FADB081D766382966BC3C05" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_88109B627C8B708AB9E7382966BC5983_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_88109B627C8B708AB9E7382966BC5983" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_7FB31D9D4FADB081D766382966BC3C05" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_88109B627C8B708AB9E7382966BC5983" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalLossCarryforwardMember" xlink:label="loc_us-gaap_CapitalLossCarryforwardMember_B26113811A2567294CA1382966BCE5AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_88109B627C8B708AB9E7382966BC5983" xlink:to="loc_us-gaap_CapitalLossCarryforwardMember_B26113811A2567294CA1382966BCE5AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsDerivativeInstruments" xlink:label="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments_695FDED434144BF07858382966BC1233" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsDerivativeInstruments_695FDED434144BF07858382966BC1233" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DeferredTaxAssetbasisinsecurities" xlink:label="loc_agm_DeferredTaxAssetbasisinsecurities_7F679D9C2B1F8921FD01382966BC3845" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_agm_DeferredTaxAssetbasisinsecurities_7F679D9C2B1F8921FD01382966BC3845" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross" xlink:label="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_7AD2E455C025A0B6EDDB382966BCFB8A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsUnrealizedLossesOnAvailableforSaleSecuritiesGross_7AD2E455C025A0B6EDDB382966BCFB8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_F7549A691A08D3EB2AD2382966BCF519" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseReservesAndAccrualsProvisionForLoanLosses_F7549A691A08D3EB2AD2382966BCF519" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost" xlink:label="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_A76B3C09954199B83ABB382966BC3C22" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsTaxDeferredExpenseCompensationAndBenefitsShareBasedCompensationCost_A76B3C09954199B83ABB382966BC3C22" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsCapitalLossCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_8094DF7AA6FB3800CECE382966BC8F11" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_8094DF7AA6FB3800CECE382966BC8F11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_AB99FB72D52EC780989D382966BC12CD" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_AB99FB72D52EC780989D382966BC12CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsOther" xlink:label="loc_us-gaap_DeferredTaxAssetsOther_689F7BC0A8E1626C0B43382966BC8A8A" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsOther_689F7BC0A8E1626C0B43382966BC8A8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsGross" xlink:label="loc_us-gaap_DeferredTaxAssetsGross_BC0F0435ED97CA703096382966BC10BC" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsGross_BC0F0435ED97CA703096382966BC10BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_DAD361D7889B6D969641382966BC32B3" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOtherComprehensiveIncome_DAD361D7889B6D969641382966BC32B3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_EntityNotSubjectToIncomeTaxesDifferenceInBasesAmount" xlink:label="loc_us-gaap_EntityNotSubjectToIncomeTaxesDifferenceInBasesAmount_36A71A1854F932121079382966BC1E4F" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_EntityNotSubjectToIncomeTaxesDifferenceInBasesAmount_36A71A1854F932121079382966BC1E4F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxLiabilitiesOther" xlink:label="loc_us-gaap_DeferredTaxLiabilitiesOther_2BF284FEF65484C603F4382966BC0F16" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxLiabilitiesOther_2BF284FEF65484C603F4382966BC0F16" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredIncomeTaxLiabilities" xlink:label="loc_us-gaap_DeferredIncomeTaxLiabilities_16F03E8F0EEE82912F97382966BC5418" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredIncomeTaxLiabilities_16F03E8F0EEE82912F97382966BC5418" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsLiabilitiesNet" xlink:label="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_D03C5438B620412DAF15382966BCFA4A" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowanceLineItems_CCCB8419B690C5E6BBAA382966BC0EE4" xlink:to="loc_us-gaap_DeferredTaxAssetsLiabilitiesNet_D03C5438B620412DAF15382966BCFA4A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesIncomeTaxes" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesIncomeTaxesTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesStatutoryFederalTaxRateDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesUnrecognizedTaxBenefitsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/IncomeTaxesValuationAllowanceDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingLossCarryforwardsLineItems" xlink:label="loc_us-gaap_OperatingLossCarryforwardsLineItems_989FA3BA8DBC4564E9C841C97DCC8B75" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_OperatingLossCarryforwardsTable" xlink:label="loc_us-gaap_OperatingLossCarryforwardsTable_DC6D589B386955C9321741C97DCB4160" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_989FA3BA8DBC4564E9C841C97DCC8B75" xlink:to="loc_us-gaap_OperatingLossCarryforwardsTable_DC6D589B386955C9321741C97DCB4160" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowanceByDeferredTaxAssetAxis" xlink:label="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_A4DD50EA12554DB139BA41C97DCBFBB9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_DC6D589B386955C9321741C97DCB4160" xlink:to="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_A4DD50EA12554DB139BA41C97DCBFBB9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_A6A25CE15FB65338A9B241C97DCB99B9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_A4DD50EA12554DB139BA41C97DCBFBB9" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_A6A25CE15FB65338A9B241C97DCB99B9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetDomain" xlink:label="loc_us-gaap_DeferredTaxAssetDomain_A6A25CE15FB65338A9B241C97DCB99B9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowanceByDeferredTaxAssetAxis_A4DD50EA12554DB139BA41C97DCBFBB9" xlink:to="loc_us-gaap_DeferredTaxAssetDomain_A6A25CE15FB65338A9B241C97DCB99B9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CapitalLossCarryforwardMember" xlink:label="loc_us-gaap_CapitalLossCarryforwardMember_F0C99BD0286CE577465241C97DCCE10F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DeferredTaxAssetDomain_A6A25CE15FB65338A9B241C97DCB99B9" xlink:to="loc_us-gaap_CapitalLossCarryforwardMember_F0C99BD0286CE577465241C97DCCE10F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TaxCreditCarryforwardAxis" xlink:label="loc_us-gaap_TaxCreditCarryforwardAxis_AB8321F31AFE1737360641C97DCCB132" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_OperatingLossCarryforwardsTable_DC6D589B386955C9321741C97DCB4160" xlink:to="loc_us-gaap_TaxCreditCarryforwardAxis_AB8321F31AFE1737360641C97DCCB132" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_AC314AE8E90E96B2565E41C97DCC3E22_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_AB8321F31AFE1737360641C97DCCB132" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_AC314AE8E90E96B2565E41C97DCC3E22_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TaxCreditCarryforwardNameDomain" xlink:label="loc_us-gaap_TaxCreditCarryforwardNameDomain_AC314AE8E90E96B2565E41C97DCC3E22" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_TaxCreditCarryforwardAxis_AB8321F31AFE1737360641C97DCCB132" xlink:to="loc_us-gaap_TaxCreditCarryforwardNameDomain_AC314AE8E90E96B2565E41C97DCC3E22" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ExpiredCapitalLossCarryforwardMember" xlink:label="loc_agm_ExpiredCapitalLossCarryforwardMember_6209F8FE9944C57EFEF041C97DCCED05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TaxCreditCarryforwardNameDomain_AC314AE8E90E96B2565E41C97DCC3E22" xlink:to="loc_agm_ExpiredCapitalLossCarryforwardMember_6209F8FE9944C57EFEF041C97DCCED05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_DeferredTaxAssetsValuationAllowance_31E320D00112BC9D893941C97DCCCD30" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_989FA3BA8DBC4564E9C841C97DCC8B75" xlink:to="loc_us-gaap_DeferredTaxAssetsValuationAllowance_31E320D00112BC9D893941C97DCCCD30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance" xlink:label="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_E877AE832505E515A56E41C97DCC0C49" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_989FA3BA8DBC4564E9C841C97DCC8B75" xlink:to="loc_us-gaap_IncomeTaxReconciliationChangeInDeferredTaxAssetsValuationAllowance_E877AE832505E515A56E41C97DCC0C49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TaxCreditCarryforwardAmount" xlink:label="loc_us-gaap_TaxCreditCarryforwardAmount_A3899793DC1A9E90040241C97DCCACE8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_989FA3BA8DBC4564E9C841C97DCC8B75" xlink:to="loc_us-gaap_TaxCreditCarryforwardAmount_A3899793DC1A9E90040241C97DCCACE8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DeferredTaxAssetsCapitalLossCarryforwards" xlink:label="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_8762AF1BEF4FEA1337B841C97DCC32A5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_OperatingLossCarryforwardsLineItems_989FA3BA8DBC4564E9C841C97DCC8B75" xlink:to="loc_us-gaap_DeferredTaxAssetsCapitalLossCarryforwards_8762AF1BEF4FEA1337B841C97DCC32A5" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecurities" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems" xlink:label="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_7EB38EB51A443EF917E0B698A55B0A12" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable" xlink:label="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_F06A87515B2FF0CDF627B698A55BA270" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_7EB38EB51A443EF917E0B698A55B0A12" xlink:to="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_F06A87515B2FF0CDF627B698A55BA270" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8080FEDEAD4B048B972DB698A55BA43E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_F06A87515B2FF0CDF627B698A55BA270" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8080FEDEAD4B048B972DB698A55BA43E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_172D183DC81D92A28D33B698A55B1036_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8080FEDEAD4B048B972DB698A55BA43E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_172D183DC81D92A28D33B698A55B1036_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_172D183DC81D92A28D33B698A55B1036" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8080FEDEAD4B048B972DB698A55BA43E" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_172D183DC81D92A28D33B698A55B1036" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_7D2E4550517D0D068381B698A55B4BC9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_172D183DC81D92A28D33B698A55B1036" xlink:to="loc_us-gaap_DebtSecuritiesMember_7D2E4550517D0D068381B698A55B4BC9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock" xlink:label="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_1DC6E9B1A5FAFAC18E83B698A55B4527" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_7EB38EB51A443EF917E0B698A55B0A12" xlink:to="loc_us-gaap_InvestmentsInDebtAndMarketableEquitySecuritiesAndCertainTradingAssetsDisclosureTextBlock_1DC6E9B1A5FAFAC18E83B698A55B4527" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesDebtMaturitiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7DC0F3F52EF404A094FFB698A825D179" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2C67E3961873A47FE0B0B698A82517F0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7DC0F3F52EF404A094FFB698A825D179" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2C67E3961873A47FE0B0B698A82517F0" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B4A5780FABCCB8E01A74B698A8253F05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_2C67E3961873A47FE0B0B698A82517F0" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B4A5780FABCCB8E01A74B698A8253F05" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B2D1871A5E438E5DC38B698A8250D69_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B4A5780FABCCB8E01A74B698A8253F05" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B2D1871A5E438E5DC38B698A8250D69_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B2D1871A5E438E5DC38B698A8250D69" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_B4A5780FABCCB8E01A74B698A8253F05" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B2D1871A5E438E5DC38B698A8250D69" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_0EB71F1702FEC0B29AA7B698A8256A19" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_0B2D1871A5E438E5DC38B698A8250D69" xlink:to="loc_us-gaap_DebtSecuritiesMember_0EB71F1702FEC0B29AA7B698A8256A19" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_154A9AB4B24F9442AEF8B698A82599BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_7DC0F3F52EF404A094FFB698A825D179" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_154A9AB4B24F9442AEF8B698A82599BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_C1454839E89DC05CBE16B698A825B18B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_154A9AB4B24F9442AEF8B698A82599BF" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_C1454839E89DC05CBE16B698A825B18B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_327BCC740AF7A1310B9DB698A825B219" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAmortizedCostAbstract_C1454839E89DC05CBE16B698A825B18B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_327BCC740AF7A1310B9DB698A825B219" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_4D12D6005960EFD3FD31B698A825B083" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_327BCC740AF7A1310B9DB698A825B219" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearAmortizedCost_4D12D6005960EFD3FD31B698A825B083" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_7D8019D229A07BE6C29FB698A825354C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_327BCC740AF7A1310B9DB698A825B219" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsAmortizedCost_7D8019D229A07BE6C29FB698A825354C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_19AC6C8B58657E5BC7D9B698A825FE78" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_327BCC740AF7A1310B9DB698A825B219" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsAmortizedCost_19AC6C8B58657E5BC7D9B698A825FE78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_83512372534CEC24D392B698A8256A90" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAmortizedCostBasisAbstract_327BCC740AF7A1310B9DB698A825B219" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsAmortizedCost_83512372534CEC24D392B698A8256A90" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_58EDEBBC94C49D88F729B698A8252A06" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_154A9AB4B24F9442AEF8B698A82599BF" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_58EDEBBC94C49D88F729B698A8252A06" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesFairValueAbstract_58EDEBBC94C49D88F729B698A8252A06" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_BC156D969FC2AF2F14F0B698A8250572" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesWithinOneYearFairValue_BC156D969FC2AF2F14F0B698A8250572" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_7588EF22B325AA1C6138B698A8258BD3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterOneThroughFiveYearsFairValue_7588EF22B325AA1C6138B698A8258BD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_C065F3141207AF13F16BB698A825415A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterFiveThroughTenYearsFairValue_C065F3141207AF13F16BB698A825415A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_2003E79D68781C558FF6B698A8251511" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsFairValue_2003E79D68781C558FF6B698A8251511" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_20002A685599F8463A09B698A82562E4" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesSingleMaturityDateAbstract_82999EADC4EE43C63343B698A825922B" xlink:to="loc_us-gaap_AvailableForSaleSecurities_20002A685599F8463A09B698A82562E4" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract_A8E38A83060BA325F9A1B698A825E9D9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesDebtMaturitiesAbstract_154A9AB4B24F9442AEF8B698A82599BF" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract_A8E38A83060BA325F9A1B698A825E9D9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" xlink:label="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYieldFiscalYearMaturityAbstract_A8E38A83060BA325F9A1B698A825E9D9" xlink:to="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield_48F6951CF9A830119DA2B698A82536D3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield_48F6951CF9A830119DA2B698A82536D3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield_1F446F6DE04C7A824628B698A825BEC6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield_1F446F6DE04C7A824628B698A825BEC6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield_B4D092248DE4A865D3C3B698A8254393" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield_B4D092248DE4A865D3C3B698A8254393" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield_244B9083FDDE40E2D27CB698A8252758" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield_244B9083FDDE40E2D27CB698A8252758" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield" xlink:label="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield_221D6BAD873F50B13BDBB698A825D90A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract_8D6DA3D3E9E18CFC9557B698A825B4F7" xlink:to="loc_agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield_221D6BAD873F50B13BDBB698A825D90A" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesInvestmentSecuritiesTables" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems" xlink:label="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_BB695E7C5D5A54A68A3FB698A721EDD5" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable" xlink:label="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_59651EC9C82AD2F04B37B698A721101A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_BB695E7C5D5A54A68A3FB698A721EDD5" xlink:to="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_59651EC9C82AD2F04B37B698A721101A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8FC5269BCE5B8A4470EBB698A721134C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_59651EC9C82AD2F04B37B698A721101A" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8FC5269BCE5B8A4470EBB698A721134C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_31F0C8FECB939B2859BCB698A721394C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8FC5269BCE5B8A4470EBB698A721134C" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_31F0C8FECB939B2859BCB698A721394C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_31F0C8FECB939B2859BCB698A721394C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8FC5269BCE5B8A4470EBB698A721134C" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_31F0C8FECB939B2859BCB698A721394C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_AD862AAFB86720D21C64B698A721E0BF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_31F0C8FECB939B2859BCB698A721394C" xlink:to="loc_us-gaap_DebtSecuritiesMember_AD862AAFB86720D21C64B698A721E0BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketableSecuritiesTextBlock" xlink:label="loc_us-gaap_MarketableSecuritiesTextBlock_33024CA45003DCC2352EB698A7215DA8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_BB695E7C5D5A54A68A3FB698A721EDD5" xlink:to="loc_us-gaap_MarketableSecuritiesTextBlock_33024CA45003DCC2352EB698A7215DA8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_7125A737BBE928BC7EA7B698A7214BDC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_BB695E7C5D5A54A68A3FB698A721EDD5" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueTableTextBlock_7125A737BBE928BC7EA7B698A7214BDC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock" xlink:label="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_4EFD57777F13BEB6EBB3B698A721256C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_BB695E7C5D5A54A68A3FB698A721EDD5" xlink:to="loc_us-gaap_InvestmentsClassifiedByContractualMaturityDateTableTextBlock_4EFD57777F13BEB6EBB3B698A721256C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesNarrativeDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2141C3E64F0602EAF4E341C97F83A77C" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0FF84A9F2B6A9851EB8241C97F828D36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2141C3E64F0602EAF4E341C97F83A77C" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0FF84A9F2B6A9851EB8241C97F828D36" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_B1FE3AB73E7DE5214E0541C97F82C2C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0FF84A9F2B6A9851EB8241C97F828D36" xlink:to="loc_us-gaap_ProductOrServiceAxis_B1FE3AB73E7DE5214E0541C97F82C2C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_62346372A22B1082444541C97F820F41_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_B1FE3AB73E7DE5214E0541C97F82C2C0" xlink:to="loc_us-gaap_ProductsAndServicesDomain_62346372A22B1082444541C97F820F41_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_62346372A22B1082444541C97F820F41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_B1FE3AB73E7DE5214E0541C97F82C2C0" xlink:to="loc_us-gaap_ProductsAndServicesDomain_62346372A22B1082444541C97F820F41" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_6A7E743C25107FE4BB8741C97F82F595" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_62346372A22B1082444541C97F820F41" xlink:to="loc_agm_FloatingInterestRateMember_6A7E743C25107FE4BB8741C97F82F595" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_424E9E373393C012433941C97F82590D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_0FF84A9F2B6A9851EB8241C97F828D36" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_424E9E373393C012433941C97F82590D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_34799B25B0B578C20A3441C97F8358E0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_424E9E373393C012433941C97F82590D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_34799B25B0B578C20A3441C97F8358E0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_34799B25B0B578C20A3441C97F8358E0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_424E9E373393C012433941C97F82590D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_34799B25B0B578C20A3441C97F8358E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_CD7C515E02969368DC3D41C97F83A0E9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_34799B25B0B578C20A3441C97F8358E0" xlink:to="loc_us-gaap_DebtSecuritiesMember_CD7C515E02969368DC3D41C97F83A0E9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AuctionRateSecuritiesMember" xlink:label="loc_us-gaap_AuctionRateSecuritiesMember_DA9C8146C8B45A77AD5041C97F833AF2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_34799B25B0B578C20A3441C97F8358E0" xlink:to="loc_us-gaap_AuctionRateSecuritiesMember_DA9C8146C8B45A77AD5041C97F833AF2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_5B5D74CFA5C9B7BD014F41C97F83CC84" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2141C3E64F0602EAF4E341C97F83A77C" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_5B5D74CFA5C9B7BD014F41C97F83CC84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses_E4411C198A19E0A5E0BE41C97F83F36A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2141C3E64F0602EAF4E341C97F83A77C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedLosses_E4411C198A19E0A5E0BE41C97F83F36A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedGains" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_CAD0AB898F5EFB6AD03341C97F83CCFB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2141C3E64F0602EAF4E341C97F83A77C" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_CAD0AB898F5EFB6AD03341C97F83CCFB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairmentOfInvestments" xlink:label="loc_us-gaap_ImpairmentOfInvestments_2324F813E25F6305487F41C97F83B1B8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2141C3E64F0602EAF4E341C97F83A77C" xlink:to="loc_us-gaap_ImpairmentOfInvestments_2324F813E25F6305487F41C97F83B1B8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesScheduleOfInvestmentSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems" xlink:label="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable" xlink:label="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_5476B7130BCBBDAF3BCB33B1F01828A4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:to="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_5476B7130BCBBDAF3BCB33B1F01828A4" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_221F9881AA783E01E2E533B1F01843D5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_5476B7130BCBBDAF3BCB33B1F01828A4" xlink:to="loc_us-gaap_ProductOrServiceAxis_221F9881AA783E01E2E533B1F01843D5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_A8D87F148C7D07A0966033B1F018AF3C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_221F9881AA783E01E2E533B1F01843D5" xlink:to="loc_us-gaap_ProductsAndServicesDomain_A8D87F148C7D07A0966033B1F018AF3C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_A8D87F148C7D07A0966033B1F018AF3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_221F9881AA783E01E2E533B1F01843D5" xlink:to="loc_us-gaap_ProductsAndServicesDomain_A8D87F148C7D07A0966033B1F018AF3C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_9305C48D636C642CE0A033B1F022E260" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_A8D87F148C7D07A0966033B1F018AF3C" xlink:to="loc_agm_FloatingInterestRateMember_9305C48D636C642CE0A033B1F022E260" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FixedInterestRateMember" xlink:label="loc_agm_FixedInterestRateMember_B6FF13FF3CCBD02E854C33B1F02241EC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_A8D87F148C7D07A0966033B1F018AF3C" xlink:to="loc_agm_FixedInterestRateMember_B6FF13FF3CCBD02E854C33B1F02241EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsByCategoryAxis" xlink:label="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_E65DAB49CC93C052AF1733B1F0220E7A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_5476B7130BCBBDAF3BCB33B1F01828A4" xlink:to="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_E65DAB49CC93C052AF1733B1F0220E7A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_330653CDE2E0BADB2BDA33B1F022BB8B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_E65DAB49CC93C052AF1733B1F0220E7A" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_330653CDE2E0BADB2BDA33B1F022BB8B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain" xlink:label="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_330653CDE2E0BADB2BDA33B1F022BB8B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GainLossOnInvestmentsByCategoryAxis_E65DAB49CC93C052AF1733B1F0220E7A" xlink:to="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_330653CDE2E0BADB2BDA33B1F022BB8B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingAccountAssetsMember" xlink:label="loc_us-gaap_TradingAccountAssetsMember_84F79D65AF32EB97AD1133B1F022DCD5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_330653CDE2E0BADB2BDA33B1F022BB8B" xlink:to="loc_us-gaap_TradingAccountAssetsMember_84F79D65AF32EB97AD1133B1F022DCD5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesMember" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesMember_D0421A50585E9D689B5533B1F0225257" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GainLossOnInvestmentsIncludingMarketableSecuritiesAndInvestmentsHeldAtCostCategoriesOfInvestmentsDomain_330653CDE2E0BADB2BDA33B1F022BB8B" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesMember_D0421A50585E9D689B5533B1F0225257" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5CA537CBD687C15518AA33B1F02226FA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable_5476B7130BCBBDAF3BCB33B1F01828A4" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5CA537CBD687C15518AA33B1F02226FA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_ABA1FF083BDEB4A7925433B1F022E284_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5CA537CBD687C15518AA33B1F02226FA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_ABA1FF083BDEB4A7925433B1F022E284_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_ABA1FF083BDEB4A7925433B1F022E284" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_5CA537CBD687C15518AA33B1F02226FA" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_ABA1FF083BDEB4A7925433B1F022E284" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_ABA1FF083BDEB4A7925433B1F022E284" xlink:to="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AuctionRateSecuritiesMember" xlink:label="loc_us-gaap_AuctionRateSecuritiesMember_C264773EEE31533EA92633B1F022AD00" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_AuctionRateSecuritiesMember_C264773EEE31533EA92633B1F022AD00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_189C8396583F9D61AFE933B1F0228555" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_189C8396583F9D61AFE933B1F0228555" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_1D70C48545F0C56B5E4A33B1F0226EC8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_1D70C48545F0C56B5E4A33B1F0226EC8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_669C37CB2B61D7F23F4533B1F0222D91" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_669C37CB2B61D7F23F4533B1F0222D91" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubordinatedDebtMember" xlink:label="loc_us-gaap_SubordinatedDebtMember_5D95A6FDA4C7B557398233B1F02208BD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_SubordinatedDebtMember_5D95A6FDA4C7B557398233B1F02208BD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TaxableMunicipalBondsMember" xlink:label="loc_us-gaap_TaxableMunicipalBondsMember_53872A927A0F8A09FFA533B1F0229466" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_TaxableMunicipalBondsMember_53872A927A0F8A09FFA533B1F0229466" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C17A153F783F67B8EA3933B1F022497B" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C17A153F783F67B8EA3933B1F022497B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_F7C625EAF0BDFD510ED033B1F02216A1" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_F7C625EAF0BDFD510ED033B1F02216A1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestOnlyStripMember" xlink:label="loc_us-gaap_InterestOnlyStripMember_0803954C13705C543F2C33B1F022B9A5" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_7CFAF0211307AF38FE9233B1F0221A55" xlink:to="loc_us-gaap_InterestOnlyStripMember_0803954C13705C543F2C33B1F022B9A5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities" xlink:label="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_EA81EF9E205FDBD3236C33B1F0224277" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:to="loc_us-gaap_ProceedsFromSaleOfAvailableForSaleSecurities_EA81EF9E205FDBD3236C33B1F0224277" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesGrossRealizedGains" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_90535EE734D5CE7E861233B1F022E90B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesGrossRealizedGains_90535EE734D5CE7E861233B1F022E90B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance" xlink:label="loc_agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance_8C9CBCAEBCF0DCC0407233B1F022134C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_agm_AvailableforSaleSecuritiesUnpaidPrincipalBalance_8C9CBCAEBCF0DCC0407233B1F022134C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet" xlink:label="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_CC6AEC2A92A199BEE06E33B1F022BBF6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_us-gaap_DebtInstrumentUnamortizedDiscountPremiumNet_CC6AEC2A92A199BEE06E33B1F022BBF6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesAmortizedCost" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_07596A507A0D95B29B0633B1F02CA88B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesAmortizedCost_07596A507A0D95B29B0633B1F02CA88B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_2BAABFE84D4EEEA768AC33B1F02C5E30" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedGainBeforeTax_2BAABFE84D4EEEA768AC33B1F02C5E30" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax" xlink:label="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0D4049B1C181B1B46D5533B1F02CDFE9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_us-gaap_AvailableForSaleDebtSecuritiesAccumulatedGrossUnrealizedLossBeforeTax_0D4049B1C181B1B46D5533B1F02CDFE9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecurities" xlink:label="loc_us-gaap_AvailableForSaleSecurities_D0ADEFE525F2C73DBEB333B1F02C03A8" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_us-gaap_AvailableForSaleSecurities_D0ADEFE525F2C73DBEB333B1F02C03A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/invest/2013/invest-2013-01-31.xsd#invest_DerivativeNotionalAmount" xlink:label="loc_invest_DerivativeNotionalAmount_E4A17F5E0F212F05D8E833B1F02C74D6" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesAbstract_5BE382E5A89E2E994AED33B1F0229BB1" xlink:to="loc_invest_DerivativeNotionalAmount_E4A17F5E0F212F05D8E833B1F02C74D6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesAbstract" xlink:label="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:to="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TradingSecuritiesAmountOutstanding" xlink:label="loc_agm_TradingSecuritiesAmountOutstanding_8AF99C3EC8EC0121823233B1F02C1FF0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:to="loc_agm_TradingSecuritiesAmountOutstanding_8AF99C3EC8EC0121823233B1F02C1FF0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesDebtAmortizedCost" xlink:label="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_E2860ACE8F8EC2C585B133B1F02C5DA4" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:to="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_E2860ACE8F8EC2C585B133B1F02C5DA4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingGain" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGain_EEFF9AB95EC2F63AC07633B1F02CAC97" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingGain_EEFF9AB95EC2F63AC07633B1F02CAC97" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesUnrealizedHoldingLoss" xlink:label="loc_us-gaap_TradingSecuritiesUnrealizedHoldingLoss_C887E63418BF20F7C76533B1F02C286B" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:to="loc_us-gaap_TradingSecuritiesUnrealizedHoldingLoss_C887E63418BF20F7C76533B1F02C286B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_36DCB5E01AF1E0CE4AEF33B1F02C66C3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_TradingSecuritiesAbstract_BA0A60F82B112E8503EE33B1F02C5835" xlink:to="loc_us-gaap_TradingSecurities_36DCB5E01AF1E0CE4AEF33B1F02C66C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketableSecuritiesAbstract" xlink:label="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems_419174679E1A9967A2B533B1F022A695" xlink:to="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MarketableSecuritiesUnpaidPrincipalBalance" xlink:label="loc_agm_MarketableSecuritiesUnpaidPrincipalBalance_3A9B77339CB16C0AFEA233B1F02C269A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:to="loc_agm_MarketableSecuritiesUnpaidPrincipalBalance_3A9B77339CB16C0AFEA233B1F02C269A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MarketableSecuritiesAmortizedCostBasis" xlink:label="loc_agm_MarketableSecuritiesAmortizedCostBasis_72A9F23997EC810C30DF33B1F02C1598" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:to="loc_agm_MarketableSecuritiesAmortizedCostBasis_72A9F23997EC810C30DF33B1F02C1598" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MarketableSecuritiesGrossUnrealizedGains" xlink:label="loc_agm_MarketableSecuritiesGrossUnrealizedGains_A263BC28BEE9A812067433B1F02C96EB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:to="loc_agm_MarketableSecuritiesGrossUnrealizedGains_A263BC28BEE9A812067433B1F02C96EB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MarketableSecuritiesGrossUnrealizedLosses" xlink:label="loc_agm_MarketableSecuritiesGrossUnrealizedLosses_EEEF6B900D1F77E85DA933B1F02C7E6F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:to="loc_agm_MarketableSecuritiesGrossUnrealizedLosses_EEEF6B900D1F77E85DA933B1F02C7E6F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MarketableSecurities" xlink:label="loc_us-gaap_MarketableSecurities_1F03C752F7379DBAB72D33B1F02C2527" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MarketableSecuritiesAbstract_969D6D144BE30A9AB2D033B1F02C7C33" xlink:to="loc_us-gaap_MarketableSecurities_1F03C752F7379DBAB72D33B1F02C2527" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesTradingSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_DA25CDCEB79471DAE87BB698A5298713" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable" xlink:label="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_05669B96D78A980901E0B698A529C918" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_DA25CDCEB79471DAE87BB698A5298713" xlink:to="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_05669B96D78A980901E0B698A529C918" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_B99D91DA1E24AFCBDECEB698A529114D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_05669B96D78A980901E0B698A529C918" xlink:to="loc_us-gaap_ProductOrServiceAxis_B99D91DA1E24AFCBDECEB698A529114D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_ECCD5A203CE12594ACF8B698A52922E7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_B99D91DA1E24AFCBDECEB698A529114D" xlink:to="loc_us-gaap_ProductsAndServicesDomain_ECCD5A203CE12594ACF8B698A52922E7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_ECCD5A203CE12594ACF8B698A52922E7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_B99D91DA1E24AFCBDECEB698A529114D" xlink:to="loc_us-gaap_ProductsAndServicesDomain_ECCD5A203CE12594ACF8B698A52922E7" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_DE15946E3DE50B7D6C85B698A52977A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_ECCD5A203CE12594ACF8B698A52922E7" xlink:to="loc_agm_FloatingInterestRateMember_DE15946E3DE50B7D6C85B698A52977A8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_94C030F61639B77FDAF4B698A5295176" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsTable_05669B96D78A980901E0B698A529C918" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_94C030F61639B77FDAF4B698A5295176" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A240DD3E60A916F3D847B698A529466B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_94C030F61639B77FDAF4B698A5295176" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A240DD3E60A916F3D847B698A529466B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A240DD3E60A916F3D847B698A529466B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_94C030F61639B77FDAF4B698A5295176" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A240DD3E60A916F3D847B698A529466B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_760F7F3476A39965D556B698A5294364" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_A240DD3E60A916F3D847B698A529466B" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_760F7F3476A39965D556B698A5294364" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecuritiesDebtAmortizedCost" xlink:label="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_EF02B9AEA07D85C3E484B698A5292F07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_DA25CDCEB79471DAE87BB698A5298713" xlink:to="loc_us-gaap_TradingSecuritiesDebtAmortizedCost_EF02B9AEA07D85C3E484B698A5292F07" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_TradingSecurities" xlink:label="loc_us-gaap_TradingSecurities_76D832D369342895BBE2B698A5293392" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_DA25CDCEB79471DAE87BB698A5298713" xlink:to="loc_us-gaap_TradingSecurities_76D832D369342895BBE2B698A5293392" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TradingSecuritiesWeightedAverageYield" xlink:label="loc_agm_TradingSecuritiesWeightedAverageYield_D94B342769C1DD2E2A7BB698A5297FA7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfTradingSecuritiesAndOtherTradingAssetsLineItems_DA25CDCEB79471DAE87BB698A5298713" xlink:to="loc_agm_TradingSecuritiesWeightedAverageYield_D94B342769C1DD2E2A7BB698A5297FA7" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/InvestmentSecuritiesUnrealizedLossPositionDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2548C95C3321A971ACFE419FE8986209" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAvailableForSaleSecuritiesTable" xlink:label="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_A3BECBCCD18DC019FAE1419FE8976A4F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2548C95C3321A971ACFE419FE8986209" xlink:to="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_A3BECBCCD18DC019FAE1419FE8976A4F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_553BAC96A6695A612C82419FE8970166" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_A3BECBCCD18DC019FAE1419FE8976A4F" xlink:to="loc_us-gaap_ProductOrServiceAxis_553BAC96A6695A612C82419FE8970166" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_38E13B46BF6F68A8591F419FE8977DF2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_553BAC96A6695A612C82419FE8970166" xlink:to="loc_us-gaap_ProductsAndServicesDomain_38E13B46BF6F68A8591F419FE8977DF2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_38E13B46BF6F68A8591F419FE8977DF2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_553BAC96A6695A612C82419FE8970166" xlink:to="loc_us-gaap_ProductsAndServicesDomain_38E13B46BF6F68A8591F419FE8977DF2" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_BA35B568F345106D53B7419FE8975B9D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_38E13B46BF6F68A8591F419FE8977DF2" xlink:to="loc_agm_FloatingInterestRateMember_BA35B568F345106D53B7419FE8975B9D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FixedInterestRateMember" xlink:label="loc_agm_FixedInterestRateMember_438667317703E3F91BB5419FE897DFE6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_38E13B46BF6F68A8591F419FE8977DF2" xlink:to="loc_agm_FixedInterestRateMember_438667317703E3F91BB5419FE897DFE6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CreditRatingStandardPoorsAxis" xlink:label="loc_us-gaap_CreditRatingStandardPoorsAxis_46553607DD50C81C7F6B419FE8975085" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_A3BECBCCD18DC019FAE1419FE8976A4F" xlink:to="loc_us-gaap_CreditRatingStandardPoorsAxis_46553607DD50C81C7F6B419FE8975085" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ExternalCreditRatingStandardPoorsMember" xlink:label="loc_us-gaap_ExternalCreditRatingStandardPoorsMember_BF3199CAB901164823DA419FE897CE31_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_CreditRatingStandardPoorsAxis_46553607DD50C81C7F6B419FE8975085" xlink:to="loc_us-gaap_ExternalCreditRatingStandardPoorsMember_BF3199CAB901164823DA419FE897CE31_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ExternalCreditRatingStandardPoorsMember" xlink:label="loc_us-gaap_ExternalCreditRatingStandardPoorsMember_BF3199CAB901164823DA419FE897CE31" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_CreditRatingStandardPoorsAxis_46553607DD50C81C7F6B419FE8975085" xlink:to="loc_us-gaap_ExternalCreditRatingStandardPoorsMember_BF3199CAB901164823DA419FE897CE31" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StandardPoorsAMinusRatingMember" xlink:label="loc_us-gaap_StandardPoorsAMinusRatingMember_8765DD4D4E2A6E735DB1419FE897177F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ExternalCreditRatingStandardPoorsMember_BF3199CAB901164823DA419FE897CE31" xlink:to="loc_us-gaap_StandardPoorsAMinusRatingMember_8765DD4D4E2A6E735DB1419FE897177F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8D1B7E7411F505A321A9419FE8971265" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesTable_A3BECBCCD18DC019FAE1419FE8976A4F" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8D1B7E7411F505A321A9419FE8971265" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_28748922519FF9BE00AD419FE897DA75_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8D1B7E7411F505A321A9419FE8971265" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_28748922519FF9BE00AD419FE897DA75_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_28748922519FF9BE00AD419FE897DA75" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_8D1B7E7411F505A321A9419FE8971265" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_28748922519FF9BE00AD419FE897DA75" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtSecuritiesMember" xlink:label="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_28748922519FF9BE00AD419FE897DA75" xlink:to="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AuctionRateSecuritiesMember" xlink:label="loc_us-gaap_AuctionRateSecuritiesMember_B3D09978669BD6DB6D26419FE898E20B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:to="loc_us-gaap_AuctionRateSecuritiesMember_B3D09978669BD6DB6D26419FE898E20B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AssetBackedSecuritiesMember" xlink:label="loc_us-gaap_AssetBackedSecuritiesMember_FA89430F8A82A80D2B79419FE8987225" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:to="loc_us-gaap_AssetBackedSecuritiesMember_FA89430F8A82A80D2B79419FE8987225" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CorporateDebtSecuritiesMember" xlink:label="loc_us-gaap_CorporateDebtSecuritiesMember_8E532D1953ADCB2D9C7C419FE898A2F3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:to="loc_us-gaap_CorporateDebtSecuritiesMember_8E532D1953ADCB2D9C7C419FE898A2F3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgageBackedSecuritiesMember" xlink:label="loc_us-gaap_MortgageBackedSecuritiesMember_8D2FFFCAE31BD8C16577419FE898B7CE" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:to="loc_us-gaap_MortgageBackedSecuritiesMember_8D2FFFCAE31BD8C16577419FE898B7CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubordinatedDebtMember" xlink:label="loc_us-gaap_SubordinatedDebtMember_B9750213BCA8A7CA7B09419FE898C026" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:to="loc_us-gaap_SubordinatedDebtMember_B9750213BCA8A7CA7B09419FE898C026" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USTreasurySecuritiesMember" xlink:label="loc_us-gaap_USTreasurySecuritiesMember_C23C1D8427277943167A419FE8982E78" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtSecuritiesMember_482EAEC28590F04F7256419FE898F51E" xlink:to="loc_us-gaap_USTreasurySecuritiesMember_C23C1D8427277943167A419FE8982E78" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract_DF025E9F83DA740C7089419FE898CC3A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2548C95C3321A971ACFE419FE8986209" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract_DF025E9F83DA740C7089419FE898CC3A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_372A5F95F5F33F3F9F7C419FE898680E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract_DF025E9F83DA740C7089419FE898CC3A" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_372A5F95F5F33F3F9F7C419FE898680E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_CD0759513DE8EDE531AB419FE8984558" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_372A5F95F5F33F3F9F7C419FE898680E" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThanTwelveMonthsFairValue_CD0759513DE8EDE531AB419FE8984558" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_F8B0718E739156EAE3D6419FE8984AA3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionFairValueAbstract_372A5F95F5F33F3F9F7C419FE898680E" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionTwelveMonthsOrLongerFairValue_F8B0718E739156EAE3D6419FE8984AA3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesAbstract_C1BA16E717D2AD5F2F96419FE898B300" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract_DF025E9F83DA740C7089419FE898CC3A" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesAbstract_C1BA16E717D2AD5F2F96419FE898B300" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_FA614180A1A466C20414419FE898D7CD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesAbstract_C1BA16E717D2AD5F2F96419FE898B300" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionLessThan12MonthsAccumulatedLoss_FA614180A1A466C20414419FE898D7CD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_EF124683494A3B728FB5419FE8999361" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAggregateLossesAbstract_C1BA16E717D2AD5F2F96419FE898B300" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPosition12MonthsOrLongerAccumulatedLoss_EF124683494A3B728FB5419FE8999361" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract" xlink:label="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_CC1DD4CAD7A22D882332419FE89948C3" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionAbstract_DF025E9F83DA740C7089419FE898CC3A" xlink:to="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_CC1DD4CAD7A22D882332419FE89948C3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1_196165DDCB03A29548A9419FE8992F1E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_CC1DD4CAD7A22D882332419FE89948C3" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositions1_196165DDCB03A29548A9419FE8992F1E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AvailableForSaleSecuritiesInLossPositionForMoreThan12MonthsQualitativeDisclosurePercentOfAmortizedCost" xlink:label="loc_agm_AvailableForSaleSecuritiesInLossPositionForMoreThan12MonthsQualitativeDisclosurePercentOfAmortizedCost_69D08BC69C9E3DCCFE59419FE8990A8A" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AvailableForSaleSecuritiesContinuousUnrealizedLossPositionQualitativeDisclosureAbstract_CC1DD4CAD7A22D882332419FE89948C3" xlink:to="loc_agm_AvailableForSaleSecuritiesInLossPositionForMoreThan12MonthsQualitativeDisclosurePercentOfAmortizedCost_69D08BC69C9E3DCCFE59419FE8990A8A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear" xlink:label="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear_F67EE6DD144D00F8E7D9419FE8997DF3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ScheduleOfAvailableForSaleSecuritiesLineItems_2548C95C3321A971ACFE419FE8986209" xlink:to="loc_us-gaap_AvailableforsaleSecuritiesInUnrealizedLossPositionsQualitativeDisclosureNumberOfPositionsGreaterThanOrEqualToOneYear_F67EE6DD144D00F8E7D9419FE8997DF3" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRisk" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForCreditLossesRollForwardDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_A6F944BF613A95EF67C03D3113ABEC38" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_1598AD165D1114A0F1413D3113A98E43" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_A6F944BF613A95EF67C03D3113ABEC38" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_1598AD165D1114A0F1413D3113A98E43" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_9D08A6F1995582015C833D3113A9EF66" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_1598AD165D1114A0F1413D3113A98E43" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_9D08A6F1995582015C833D3113A9EF66" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_509A548BD839ED5271CA3D3113AABB7C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_9D08A6F1995582015C833D3113A9EF66" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_509A548BD839ED5271CA3D3113AABB7C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_509A548BD839ED5271CA3D3113AABB7C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_9D08A6F1995582015C833D3113A9EF66" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_509A548BD839ED5271CA3D3113AABB7C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_EligibleLoansMember" xlink:label="loc_agm_EligibleLoansMember_2364B91AE1969456B7073D3113AA87A0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_509A548BD839ED5271CA3D3113AABB7C" xlink:to="loc_agm_EligibleLoansMember_2364B91AE1969456B7073D3113AA87A0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowancesAndReservesTypeAxis" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_C6D4FEDAA3681F4660363D3113AA1BC0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_1598AD165D1114A0F1413D3113A98E43" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_C6D4FEDAA3681F4660363D3113AA1BC0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_AB723ED31A8F899A29663D3113AA2213_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_C6D4FEDAA3681F4660363D3113AA1BC0" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_AB723ED31A8F899A29663D3113AA2213_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ValuationAllowancesAndReservesDomain" xlink:label="loc_us-gaap_ValuationAllowancesAndReservesDomain_AB723ED31A8F899A29663D3113AA2213" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesTypeAxis_C6D4FEDAA3681F4660363D3113AA1BC0" xlink:to="loc_us-gaap_ValuationAllowancesAndReservesDomain_AB723ED31A8F899A29663D3113AA2213" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesMember" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesMember_1623597EEC47A79A3BDC3D3113AA305B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_AB723ED31A8F899A29663D3113AA2213" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesMember_1623597EEC47A79A3BDC3D3113AA305B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ReserveForOffBalanceSheetActivitiesMember" xlink:label="loc_us-gaap_ReserveForOffBalanceSheetActivitiesMember_40B569C23326FDA979EB3D3113AA2163" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ValuationAllowancesAndReservesDomain_AB723ED31A8F899A29663D3113AA2213" xlink:to="loc_us-gaap_ReserveForOffBalanceSheetActivitiesMember_40B569C23326FDA979EB3D3113AA2163" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeAxis" xlink:label="loc_agm_CommodityByTypeAxis_AC839B443F8BE796A0043D3113AAFDED" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_1598AD165D1114A0F1413D3113A98E43" xlink:to="loc_agm_CommodityByTypeAxis_AC839B443F8BE796A0043D3113AAFDED" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_CommodityByTypeAxis_AC839B443F8BE796A0043D3113AAFDED" xlink:to="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_CommodityByTypeAxis_AC839B443F8BE796A0043D3113AAFDED" xlink:to="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CropsMember" xlink:label="loc_agm_CropsMember_847211E968DBDEC673303D3113AA5E5E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:to="loc_agm_CropsMember_847211E968DBDEC673303D3113AA5E5E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PermanentPlantingsMember" xlink:label="loc_agm_PermanentPlantingsMember_F416BC1979446474935B3D3113AA67CB" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:to="loc_agm_PermanentPlantingsMember_F416BC1979446474935B3D3113AA67CB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LivestockMember" xlink:label="loc_agm_LivestockMember_5AFEDF8EF1FB8540B9E03D3113AA4842" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:to="loc_agm_LivestockMember_5AFEDF8EF1FB8540B9E03D3113AA4842" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PartTimeFarmMember" xlink:label="loc_agm_PartTimeFarmMember_452BAFEAB972710224E93D3113AB86A4" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:to="loc_agm_PartTimeFarmMember_452BAFEAB972710224E93D3113AB86A4" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgricultureStorageAndProcessingMember" xlink:label="loc_agm_AgricultureStorageAndProcessingMember_E3F6B0949D4B7611F7163D3113ABBF06" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:to="loc_agm_AgricultureStorageAndProcessingMember_E3F6B0949D4B7611F7163D3113ABBF06" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherCommodityMember" xlink:label="loc_agm_OtherCommodityMember_0FFE73FE3A2A18ACFF423D3113AB16BC" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_A4A4B7AE5E29728EC40E3D3113AA25DB" xlink:to="loc_agm_OtherCommodityMember_0FFE73FE3A2A18ACFF423D3113AB16BC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_A6F944BF613A95EF67C03D3113ABEC38" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRealEstate" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_2AFE56DB674A956306263D3113AB3C12" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_2AFE56DB674A956306263D3113AB3C12" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ReserveForLosses" xlink:label="loc_agm_ReserveForLosses_97E3702EE8E1D543D5563D3113ABD17E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_agm_ReserveForLosses_97E3702EE8E1D543D5563D3113ABD17E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_1BA57879025AC99805523D3113AB4D94" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_1BA57879025AC99805523D3113AB4D94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLossesExpensed" xlink:label="loc_us-gaap_ProvisionForLoanLossesExpensed_DF07FBDF7492839C7AFE3D3113ABFF45" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_ProvisionForLoanLossesExpensed_DF07FBDF7492839C7AFE3D3113ABFF45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForOtherCreditLosses" xlink:label="loc_us-gaap_ProvisionForOtherCreditLosses_D55A11FB1132417944D73D3113ABA27F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_ProvisionForOtherCreditLosses_D55A11FB1132417944D73D3113ABA27F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProvisionForLoanLeaseAndOtherLosses" xlink:label="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_2A556CA4025E6FF54E983D3113ABC180" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_ProvisionForLoanLeaseAndOtherLosses_2A556CA4025E6FF54E983D3113ABC180" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs_F968B026B70146D07B743D3113AC7A84" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesWriteOffs_F968B026B70146D07B743D3113AC7A84" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_4F76ADD3F9BF5FB598343D3113AC0223" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRollForward_703840CD1C98CEF810D73D3113AB7599" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesRecovery_4F76ADD3F9BF5FB598343D3113AC0223" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskAllowanceForLossesByImpairmentMethodAndCommodityDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_AE7C5245123E72EAC653B698A85C9530" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_F42629DD637A98D8DA7BB698A85C8F81" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_AE7C5245123E72EAC653B698A85C9530" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_F42629DD637A98D8DA7BB698A85C8F81" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_EEDF9B24473756580D47B698A85C15F2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_F42629DD637A98D8DA7BB698A85C8F81" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_EEDF9B24473756580D47B698A85C15F2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_493A9FA09E34AE8E1FFBB698A85CDC61_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_EEDF9B24473756580D47B698A85C15F2" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_493A9FA09E34AE8E1FFBB698A85CDC61_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_493A9FA09E34AE8E1FFBB698A85CDC61" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_EEDF9B24473756580D47B698A85C15F2" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_493A9FA09E34AE8E1FFBB698A85CDC61" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_3ACDA39EB72C8ABBDF48B698A85C0183" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_493A9FA09E34AE8E1FFBB698A85CDC61" xlink:to="loc_agm_OnBalanceSheetMember_3ACDA39EB72C8ABBDF48B698A85C0183" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OffBalanceSheetMember" xlink:label="loc_agm_OffBalanceSheetMember_8B4D04E65E7DF43AA1C8B698A85CC7FC" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_493A9FA09E34AE8E1FFBB698A85CDC61" xlink:to="loc_agm_OffBalanceSheetMember_8B4D04E65E7DF43AA1C8B698A85CC7FC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeAxis" xlink:label="loc_agm_CommodityByTypeAxis_F6F4FFACBCE8457B5546B698A85C110E" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableAllowanceForCreditLossesTable_F42629DD637A98D8DA7BB698A85C8F81" xlink:to="loc_agm_CommodityByTypeAxis_F6F4FFACBCE8457B5546B698A85C110E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_CommodityByTypeAxis_F6F4FFACBCE8457B5546B698A85C110E" xlink:to="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_CommodityByTypeAxis_F6F4FFACBCE8457B5546B698A85C110E" xlink:to="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CropsMember" xlink:label="loc_agm_CropsMember_E38474FBA4C85E56121AB698A85CF198" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:to="loc_agm_CropsMember_E38474FBA4C85E56121AB698A85CF198" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PermanentPlantingsMember" xlink:label="loc_agm_PermanentPlantingsMember_7ADA1B32920AB47C7F4CB698A85C0CCE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:to="loc_agm_PermanentPlantingsMember_7ADA1B32920AB47C7F4CB698A85C0CCE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LivestockMember" xlink:label="loc_agm_LivestockMember_462A7C1B593E46EAAAE1B698A85C8AE9" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:to="loc_agm_LivestockMember_462A7C1B593E46EAAAE1B698A85C8AE9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PartTimeFarmMember" xlink:label="loc_agm_PartTimeFarmMember_FA808A013F89FA96A1E4B698A85C838E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:to="loc_agm_PartTimeFarmMember_FA808A013F89FA96A1E4B698A85C838E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgricultureStorageAndProcessingMember" xlink:label="loc_agm_AgricultureStorageAndProcessingMember_966A21A29B4AD451BA93B698A85CAD7E" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:to="loc_agm_AgricultureStorageAndProcessingMember_966A21A29B4AD451BA93B698A85CAD7E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherCommodityMember" xlink:label="loc_agm_OtherCommodityMember_BF19CDC25EF3AD1BBE88B698A85C267E" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_D1B8279279E1A08B613FB698A85C600D" xlink:to="loc_agm_OtherCommodityMember_BF19CDC25EF3AD1BBE88B698A85C267E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesLineItems_AE7C5245123E72EAC653B698A85C9530" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_40A02105360BB03AC1B3B698A85C56AE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:to="loc_us-gaap_FinancingReceivableCollectivelyEvaluatedForImpairment_40A02105360BB03AC1B3B698A85C56AE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_E05AF89C25FD8D037429B698A85CEF77" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:to="loc_us-gaap_FinancingReceivableIndividuallyEvaluatedForImpairment_E05AF89C25FD8D037429B698A85CEF77" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_EA62730AAEE5C5C16A8FB698A85C364E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:to="loc_us-gaap_NotesReceivableGross_EA62730AAEE5C5C16A8FB698A85C364E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_FBFF35CFABE6225C0C3AB698A85C5B87" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesCollectivelyEvaluatedForImpairment_FBFF35CFABE6225C0C3AB698A85C5B87" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_0E294EA16A8571B109A2B698A85CBC80" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLossesIndividuallyEvaluatedForImpairment1_0E294EA16A8571B109A2B698A85CBC80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableAllowanceForCreditLosses" xlink:label="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_AE14C8DF560576C39569B698A85C4BDB" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableAllowanceForCreditLossAdditionalInformationAbstract_F2DBB14162F3B7A2ECD1B698A85CE4BA" xlink:to="loc_us-gaap_FinancingReceivableAllowanceForCreditLosses_AE14C8DF560576C39569B698A85C4BDB" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredDelinquenciesAndNetCreditLossesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_A989E0D486032FA7ED302E188E4FBBBC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivablesPastDueTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_3FFEC5A099507F80C1292E188E4E2F20" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_A989E0D486032FA7ED302E188E4FBBBC" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_3FFEC5A099507F80C1292E188E4E2F20" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_8925639A6A98CE71658A2E188E4F549F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivablesPastDueTable_3FFEC5A099507F80C1292E188E4E2F20" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_8925639A6A98CE71658A2E188E4F549F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_E83E7D8B5410BD963C5E2E188E4FA198_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_8925639A6A98CE71658A2E188E4F549F" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_E83E7D8B5410BD963C5E2E188E4FA198_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_E83E7D8B5410BD963C5E2E188E4FA198" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_8925639A6A98CE71658A2E188E4F549F" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_E83E7D8B5410BD963C5E2E188E4FA198" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_523001803A0189BF1E302E188E4FBC81" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E83E7D8B5410BD963C5E2E188E4FA198" xlink:to="loc_agm_OnBalanceSheetMember_523001803A0189BF1E302E188E4FBC81" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OffBalanceSheetMember" xlink:label="loc_agm_OffBalanceSheetMember_76DA7409B386CF5BD4BA2E188E4F0F50" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_E83E7D8B5410BD963C5E2E188E4FA198" xlink:to="loc_agm_OffBalanceSheetMember_76DA7409B386CF5BD4BA2E188E4F0F50" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_BA6941157662B4A51D692E188E4FAE41" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_A989E0D486032FA7ED302E188E4FBBBC" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_BA6941157662B4A51D692E188E4FAE41" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NetCreditLossesRecoveries" xlink:label="loc_agm_NetCreditLossesRecoveries_15DB7DF8C9373B7BF9602E188E4F45CE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_A989E0D486032FA7ED302E188E4FBBBC" xlink:to="loc_agm_NetCreditLossesRecoveries_15DB7DF8C9373B7BF9602E188E4F45CE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesSubjectToBePurchased" xlink:label="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesSubjectToBePurchased_D50C566CAD85916F15C22E188E4FE9D4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDueLineItems_A989E0D486032FA7ED302E188E4FBBBC" xlink:to="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesSubjectToBePurchased_D50C566CAD85916F15C22E188E4FE9D4" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskCertainLoansAcquiredInTransferDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTable" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTable_C6E63737EDB4F0B28E04574D5A40E6E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTable_C6E63737EDB4F0B28E04574D5A40E6E8" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_D841C2FF69B37897C39B574D5A405FB0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTable_C6E63737EDB4F0B28E04574D5A40E6E8" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_D841C2FF69B37897C39B574D5A405FB0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A4DDB0071C6697BC6FF4574D5A40A8B3_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D841C2FF69B37897C39B574D5A405FB0" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A4DDB0071C6697BC6FF4574D5A40A8B3_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A4DDB0071C6697BC6FF4574D5A40A8B3" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_D841C2FF69B37897C39B574D5A405FB0" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A4DDB0071C6697BC6FF4574D5A40A8B3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_94039F38DCF1F59BF43A574D5A404DE2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_A4DDB0071C6697BC6FF4574D5A40A8B3" xlink:to="loc_agm_OnBalanceSheetMember_94039F38DCF1F59BF43A574D5A404DE2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_2A844CF96BF07680AA74574D5A409637" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodTable_C6E63737EDB4F0B28E04574D5A40E6E8" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_2A844CF96BF07680AA74574D5A409637" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_D2AA1A375D7F322AD1D7574D5A4033C0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_2A844CF96BF07680AA74574D5A409637" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_D2AA1A375D7F322AD1D7574D5A4033C0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_D2AA1A375D7F322AD1D7574D5A4033C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_2A844CF96BF07680AA74574D5A409637" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_D2AA1A375D7F322AD1D7574D5A4033C0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LongTermStandbyPurchaseCommitmentsMember" xlink:label="loc_agm_LongTermStandbyPurchaseCommitmentsMember_093F8EE4603D8C746525574D5A40BCDB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_D2AA1A375D7F322AD1D7574D5A4033C0" xlink:to="loc_agm_LongTermStandbyPurchaseCommitmentsMember_093F8EE4603D8C746525574D5A40BCDB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmerMacGuaranteedSecuritiesMember" xlink:label="loc_agm_FarmerMacGuaranteedSecuritiesMember_BB42825EFF0BBF501AF2574D5A40D569" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_D2AA1A375D7F322AD1D7574D5A4033C0" xlink:to="loc_agm_FarmerMacGuaranteedSecuritiesMember_BB42825EFF0BBF501AF2574D5A40D569" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNumberDefaulted" xlink:label="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNumberDefaulted_0C0FFF0EABE2E8354514574D5A409006" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesNumberDefaulted_0C0FFF0EABE2E8354514574D5A409006" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireOtherLoansAndLeasesHeldForInvestment" xlink:label="loc_us-gaap_PaymentsToAcquireOtherLoansAndLeasesHeldForInvestment_7B16917EC682831719D2577FA7A72948" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_us-gaap_PaymentsToAcquireOtherLoansAndLeasesHeldForInvestment_7B16917EC682831719D2577FA7A72948" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesBalanceDuringPeriod" xlink:label="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesBalanceDuringPeriod_8ABB8C9DDC66CCE475D3574D5A407CCD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesBalanceDuringPeriod_8ABB8C9DDC66CCE475D3574D5A407CCD" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisitionDuringPeriod" xlink:label="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisitionDuringPeriod_3CDC718C0606CECB8930574D5A40AEC5" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_agm_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodContractuallyRequiredPaymentsReceivableAtAcquisitionDuringPeriod_3CDC718C0606CECB8930574D5A40AEC5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesProvisionForLoanLosses1" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesProvisionForLoanLosses1_A87E13A66D5D176B11B0574D5A40B663" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesProvisionForLoanLosses1_A87E13A66D5D176B11B0574D5A40B663" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAllowanceForLoanLossesDecreases1" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAllowanceForLoanLossesDecreases1_ED7E6B5E017E1AD5FF2A574D5A40F41A" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAllowanceForLoanLossesDecreases1_ED7E6B5E017E1AD5FF2A574D5A40F41A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance_4A7F735A91102D174DA9574D5A4060DE" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesOutstandingBalance_4A7F735A91102D174DA9574D5A4060DE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet" xlink:label="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet_51779DB3A298DBB0B0C3574D5A408B53" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesAcquiredDuringPeriodLineItems_EF2C5C65F565499977C6574D5A4015BF" xlink:to="loc_us-gaap_CertainLoansAcquiredInTransferNotAccountedForAsDebtSecuritiesCarryingAmountNet_51779DB3A298DBB0B0C3574D5A408B53" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskConcentrationsOfCreditRiskDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F09A385EB091A48E08CB698A7DFAF55" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_0192C53B4E4BCBD6932BB698A7D5A6AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F09A385EB091A48E08CB698A7DFAF55" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_0192C53B4E4BCBD6932BB698A7D5A6AC" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeAxis" xlink:label="loc_agm_CommodityByTypeAxis_BB42F4788DEF0E9DDF13B698A7D53B09" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_0192C53B4E4BCBD6932BB698A7D5A6AC" xlink:to="loc_agm_CommodityByTypeAxis_BB42F4788DEF0E9DDF13B698A7D53B09" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_CommodityByTypeAxis_BB42F4788DEF0E9DDF13B698A7D53B09" xlink:to="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_CommodityByTypeAxis_BB42F4788DEF0E9DDF13B698A7D53B09" xlink:to="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CropsMember" xlink:label="loc_agm_CropsMember_2C502A6D1835D2264DCEB698A7D55F91" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:to="loc_agm_CropsMember_2C502A6D1835D2264DCEB698A7D55F91" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PermanentPlantingsMember" xlink:label="loc_agm_PermanentPlantingsMember_1842153681B054D094CAB698A7D50B7C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:to="loc_agm_PermanentPlantingsMember_1842153681B054D094CAB698A7D50B7C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LivestockMember" xlink:label="loc_agm_LivestockMember_9DB23E61CE6111F94288B698A7D5273C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:to="loc_agm_LivestockMember_9DB23E61CE6111F94288B698A7D5273C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PartTimeFarmMember" xlink:label="loc_agm_PartTimeFarmMember_3F1F09EC73941EE5CF3FB698A7D540C6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:to="loc_agm_PartTimeFarmMember_3F1F09EC73941EE5CF3FB698A7D540C6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgricultureStorageAndProcessingMember" xlink:label="loc_agm_AgricultureStorageAndProcessingMember_35D742B4D8803A2A2201B698A7D56F4F" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:to="loc_agm_AgricultureStorageAndProcessingMember_35D742B4D8803A2A2201B698A7D56F4F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherCommodityMember" xlink:label="loc_agm_OtherCommodityMember_3BA928C460297C773E2CB698A7D5C1B9" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_009CD2A3D9B4B89581D5B698A7D5808E" xlink:to="loc_agm_OtherCommodityMember_3BA928C460297C773E2CB698A7D5C1B9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OriginalLoanToValueRatioRangeAxis" xlink:label="loc_agm_OriginalLoanToValueRatioRangeAxis_FADACD7FC8726F98F336B698A7D5162F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_0192C53B4E4BCBD6932BB698A7D5A6AC" xlink:to="loc_agm_OriginalLoanToValueRatioRangeAxis_FADACD7FC8726F98F336B698A7D5162F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_OriginalLoanToValueRatioRangeAxis_FADACD7FC8726F98F336B698A7D5162F" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_OriginalLoanToValueRatioRangeAxis_FADACD7FC8726F98F336B698A7D5162F" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeOneMember" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeOneMember_B195A87FBBCD4201AC2DB698A7D55293" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeOneMember_B195A87FBBCD4201AC2DB698A7D55293" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeTwoMember" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeTwoMember_60088560B1F1B8D8AD42B698A7DF8909" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeTwoMember_60088560B1F1B8D8AD42B698A7DF8909" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeThreeMember" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeThreeMember_C892981E2457C03B9706B698A7DF8A13" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeThreeMember_C892981E2457C03B9706B698A7DF8A13" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeFourMember" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeFourMember_A772850A16634AB354A3B698A7DFF41F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeFourMember_A772850A16634AB354A3B698A7DFF41F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeFiveMember" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeFiveMember_EA32C1B578C7177EDB3FB698A7DF7578" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeFiveMember_EA32C1B578C7177EDB3FB698A7DF7578" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesOriginalLoanToValueRatioRangeSixMember" xlink:label="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeSixMember_ADFA96DCBB570F0C257CB698A7DF0849" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeDomain_08B21623455DBC846215B698A7D514EF" xlink:to="loc_agm_FinancingReceivablesOriginalLoanToValueRatioRangeSixMember_ADFA96DCBB570F0C257CB698A7DF0849" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementGeographicalAxis" xlink:label="loc_us-gaap_StatementGeographicalAxis_5F6518A609C5A958FA73B698A7DFBA53" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_0192C53B4E4BCBD6932BB698A7D5A6AC" xlink:to="loc_us-gaap_StatementGeographicalAxis_5F6518A609C5A958FA73B698A7DFBA53" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementGeographicalAxis_5F6518A609C5A958FA73B698A7DFBA53" xlink:to="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentGeographicalDomain" xlink:label="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementGeographicalAxis_5F6518A609C5A958FA73B698A7DFBA53" xlink:to="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NorthwestMember" xlink:label="loc_agm_NorthwestMember_37A2ED140694C1C00E27B698A7DF6F05" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:to="loc_agm_NorthwestMember_37A2ED140694C1C00E27B698A7DF6F05" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SouthwestMember" xlink:label="loc_agm_SouthwestMember_FF4CCC32D10D5761EB20B698A7DF8D31" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:to="loc_agm_SouthwestMember_FF4CCC32D10D5761EB20B698A7DF8D31" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MidNorthMember" xlink:label="loc_agm_MidNorthMember_6FD3860B28C5E00A0660B698A7DF5187" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:to="loc_agm_MidNorthMember_6FD3860B28C5E00A0660B698A7DF5187" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MidSouthMember" xlink:label="loc_agm_MidSouthMember_06DAFE7F669E43649A93B698A7DF44DB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:to="loc_agm_MidSouthMember_06DAFE7F669E43649A93B698A7DF44DB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_NortheastMember" xlink:label="loc_agm_NortheastMember_1F2BA9CD900CB7B8E00EB698A7DF82E9" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:to="loc_agm_NortheastMember_1F2BA9CD900CB7B8E00EB698A7DF82E9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SoutheastMember" xlink:label="loc_agm_SoutheastMember_3B59166C0E256A07F50AB698A7DF79D2" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentGeographicalDomain_D7E665D6CD47CBB2E17DB698A7DF3C33" xlink:to="loc_agm_SoutheastMember_3B59166C0E256A07F50AB698A7DF79D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_DB5AAFFA1B09595C4D98B698A7DF395F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F09A385EB091A48E08CB698A7DFAF55" xlink:to="loc_us-gaap_NotesReceivableGross_DB5AAFFA1B09595C4D98B698A7DF395F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesLoanToValueRatioRangeLowerRangeLimit" xlink:label="loc_agm_FinancingReceivablesLoanToValueRatioRangeLowerRangeLimit_4950E615C20876F2AB19B698A7DF1C70" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F09A385EB091A48E08CB698A7DFAF55" xlink:to="loc_agm_FinancingReceivablesLoanToValueRatioRangeLowerRangeLimit_4950E615C20876F2AB19B698A7DF1C70" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FinancingReceivablesLoanToValueRatioRangeUpperRangeLimit" xlink:label="loc_agm_FinancingReceivablesLoanToValueRatioRangeUpperRangeLimit_7AE75EF14A40451F81D9B698A7DF9259" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_3F09A385EB091A48E08CB698A7DFAF55" xlink:to="loc_agm_FinancingReceivablesLoanToValueRatioRangeUpperRangeLimit_7AE75EF14A40451F81D9B698A7DF9259" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskFinancingReceivablesCreditQualityIndicatorsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentLineItems" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_5EFB9664A87AFC77B4C73829673A7A24" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable" xlink:label="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_38E8BE523C7D85F76D763829673AC6CA" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_5EFB9664A87AFC77B4C73829673A7A24" xlink:to="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_38E8BE523C7D85F76D763829673AC6CA" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_EF5202B77B1999F7BEE33829673A3AA2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_38E8BE523C7D85F76D763829673AC6CA" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_EF5202B77B1999F7BEE33829673A3AA2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_3614774526EFDCBC856F3829673AC239_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_EF5202B77B1999F7BEE33829673A3AA2" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_3614774526EFDCBC856F3829673AC239_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_3614774526EFDCBC856F3829673AC239" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_EF5202B77B1999F7BEE33829673A3AA2" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_3614774526EFDCBC856F3829673AC239" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_3A428AEA22FDC3CAEB6E3829673A9438" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_3614774526EFDCBC856F3829673AC239" xlink:to="loc_agm_OnBalanceSheetMember_3A428AEA22FDC3CAEB6E3829673A9438" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OffBalanceSheetMember" xlink:label="loc_agm_OffBalanceSheetMember_5FD46B3A38588CE6EA0F3829673ACB95" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_3614774526EFDCBC856F3829673AC239" xlink:to="loc_agm_OffBalanceSheetMember_5FD46B3A38588CE6EA0F3829673ACB95" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeAxis" xlink:label="loc_agm_CommodityByTypeAxis_8DCF0F33CF1979D5E94A3829673A391F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_38E8BE523C7D85F76D763829673AC6CA" xlink:to="loc_agm_CommodityByTypeAxis_8DCF0F33CF1979D5E94A3829673A391F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_CommodityByTypeAxis_8DCF0F33CF1979D5E94A3829673A391F" xlink:to="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_CommodityByTypeAxis_8DCF0F33CF1979D5E94A3829673A391F" xlink:to="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CropsMember" xlink:label="loc_agm_CropsMember_8242745ED3CE26A8D1243829673AF9C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:to="loc_agm_CropsMember_8242745ED3CE26A8D1243829673AF9C0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PermanentPlantingsMember" xlink:label="loc_agm_PermanentPlantingsMember_85530A63E769112E534F3829673AF1D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:to="loc_agm_PermanentPlantingsMember_85530A63E769112E534F3829673AF1D3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LivestockMember" xlink:label="loc_agm_LivestockMember_A1EDCCBE315CC49023793829673A3276" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:to="loc_agm_LivestockMember_A1EDCCBE315CC49023793829673A3276" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PartTimeFarmMember" xlink:label="loc_agm_PartTimeFarmMember_DCC6B81C256D170DE8973829673A83AC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:to="loc_agm_PartTimeFarmMember_DCC6B81C256D170DE8973829673A83AC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgricultureStorageAndProcessingMember" xlink:label="loc_agm_AgricultureStorageAndProcessingMember_23D634ECFCA3DA9E6D333829673A9296" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:to="loc_agm_AgricultureStorageAndProcessingMember_23D634ECFCA3DA9E6D333829673A9296" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherCommodityMember" xlink:label="loc_agm_OtherCommodityMember_34AD59A283187699D24D3829673AFE11" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_1FA9E45387C33D97B5DA3829673ADA1C" xlink:to="loc_agm_OtherCommodityMember_34AD59A283187699D24D3829673AFE11" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalCreditAssessmentAxis" xlink:label="loc_us-gaap_InternalCreditAssessmentAxis_5D8B2C1135F6F67B7BD93829673AAD94" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfFinancingReceivableRecordedInvestmentCreditQualityIndicatorTable_38E8BE523C7D85F76D763829673AC6CA" xlink:to="loc_us-gaap_InternalCreditAssessmentAxis_5D8B2C1135F6F67B7BD93829673AAD94" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_5D8B2C1135F6F67B7BD93829673AAD94" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InternalCreditAssessmentDomain" xlink:label="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InternalCreditAssessmentAxis_5D8B2C1135F6F67B7BD93829673AAD94" xlink:to="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PassMember" xlink:label="loc_us-gaap_PassMember_557BA2BDDED7BAA4FE973829673A3F60" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255" xlink:to="loc_us-gaap_PassMember_557BA2BDDED7BAA4FE973829673A3F60" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SpecialMentionMember" xlink:label="loc_us-gaap_SpecialMentionMember_1886E36B25ADD61FFB313829673AB000" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255" xlink:to="loc_us-gaap_SpecialMentionMember_1886E36B25ADD61FFB313829673AB000" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubstandardMember" xlink:label="loc_us-gaap_SubstandardMember_83FE238E4250F2B232A73829673A1FE4" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InternalCreditAssessmentDomain_C10477BA83AB7397EB843829673AE255" xlink:to="loc_us-gaap_SubstandardMember_83FE238E4250F2B232A73829673A1FE4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesReceivableGross" xlink:label="loc_us-gaap_NotesReceivableGross_18A2350888DF7706EAF93829673AD7ED" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_5EFB9664A87AFC77B4C73829673A7A24" xlink:to="loc_us-gaap_NotesReceivableGross_18A2350888DF7706EAF93829673AD7ED" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentPastDue" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_F8833E02434CBE3DC8583829673A6265" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentLineItems_5EFB9664A87AFC77B4C73829673A7A24" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentPastDue_F8833E02434CBE3DC8583829673A6265" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskImpairedFinancingReceivablesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableImpairedLineItems" xlink:label="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfImpairedFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_D33282274EF4C234F2283D2117EA4E38" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_D33282274EF4C234F2283D2117EA4E38" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_10D05FE2BDE73ACCDD633D2117EA19F1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_D33282274EF4C234F2283D2117EA4E38" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_10D05FE2BDE73ACCDD633D2117EA19F1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A489B3810C9C47D493863D2117EAE61A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_10D05FE2BDE73ACCDD633D2117EA19F1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A489B3810C9C47D493863D2117EAE61A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_A489B3810C9C47D493863D2117EAE61A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_10D05FE2BDE73ACCDD633D2117EA19F1" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_A489B3810C9C47D493863D2117EAE61A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_5B78270D1AD97A7E2A8D3D2117EA3E7F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_A489B3810C9C47D493863D2117EAE61A" xlink:to="loc_agm_OnBalanceSheetMember_5B78270D1AD97A7E2A8D3D2117EA3E7F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OffBalanceSheetMember" xlink:label="loc_agm_OffBalanceSheetMember_5AAA2822DFB6EB98F1AB3D2117EA4846" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_A489B3810C9C47D493863D2117EAE61A" xlink:to="loc_agm_OffBalanceSheetMember_5AAA2822DFB6EB98F1AB3D2117EA4846" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesAxis" xlink:label="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesAxis_D1E1F5EBC5EDCA9CBC3A3D2117EB5585" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_D33282274EF4C234F2283D2117EA4E38" xlink:to="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesAxis_D1E1F5EBC5EDCA9CBC3A3D2117EB5585" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain" xlink:label="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain_2644E1FE1A2C998506243D2117EB8D00_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesAxis_D1E1F5EBC5EDCA9CBC3A3D2117EB5585" xlink:to="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain_2644E1FE1A2C998506243D2117EB8D00_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain" xlink:label="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain_2644E1FE1A2C998506243D2117EB8D00" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesAxis_D1E1F5EBC5EDCA9CBC3A3D2117EB5585" xlink:to="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain_2644E1FE1A2C998506243D2117EB8D00" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LessThan90DaysPastDueMember" xlink:label="loc_agm_LessThan90DaysPastDueMember_7C19B975AC2F178618C53D2117EBA33F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_PaymentStatusOfLoanOrLoansHeldInSecuritiesDomain_2644E1FE1A2C998506243D2117EB8D00" xlink:to="loc_agm_LessThan90DaysPastDueMember_7C19B975AC2F178618C53D2117EBA33F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ImpairmentAnalysisAxis" xlink:label="loc_agm_ImpairmentAnalysisAxis_C5615387F5016EDDEFBB3D2117EB8FCE" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_D33282274EF4C234F2283D2117EA4E38" xlink:to="loc_agm_ImpairmentAnalysisAxis_C5615387F5016EDDEFBB3D2117EB8FCE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ImpairmentAnalysisDomain" xlink:label="loc_agm_ImpairmentAnalysisDomain_6090499D39D1D57400F43D2117EB2598_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_ImpairmentAnalysisAxis_C5615387F5016EDDEFBB3D2117EB8FCE" xlink:to="loc_agm_ImpairmentAnalysisDomain_6090499D39D1D57400F43D2117EB2598_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ImpairmentAnalysisDomain" xlink:label="loc_agm_ImpairmentAnalysisDomain_6090499D39D1D57400F43D2117EB2598" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_ImpairmentAnalysisAxis_C5615387F5016EDDEFBB3D2117EB8FCE" xlink:to="loc_agm_ImpairmentAnalysisDomain_6090499D39D1D57400F43D2117EB2598" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CollateralDependentNotIndividuallyAnalyzedMember" xlink:label="loc_agm_CollateralDependentNotIndividuallyAnalyzedMember_A9A6F7A1BF37B3E9F1B73D2117EBBB01" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ImpairmentAnalysisDomain_6090499D39D1D57400F43D2117EB2598" xlink:to="loc_agm_CollateralDependentNotIndividuallyAnalyzedMember_A9A6F7A1BF37B3E9F1B73D2117EBBB01" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeAxis" xlink:label="loc_agm_CommodityByTypeAxis_0DAD37785EABFDCECADA3D2117EB5009" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfImpairedFinancingReceivableTable_D33282274EF4C234F2283D2117EA4E38" xlink:to="loc_agm_CommodityByTypeAxis_0DAD37785EABFDCECADA3D2117EB5009" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_CommodityByTypeAxis_0DAD37785EABFDCECADA3D2117EB5009" xlink:to="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommodityByTypeDomain" xlink:label="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_CommodityByTypeAxis_0DAD37785EABFDCECADA3D2117EB5009" xlink:to="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CropsMember" xlink:label="loc_agm_CropsMember_F9943F9ED05D1114F0153D2117EB0381" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:to="loc_agm_CropsMember_F9943F9ED05D1114F0153D2117EB0381" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PermanentPlantingsMember" xlink:label="loc_agm_PermanentPlantingsMember_1177FF1B6759087E92163D2117EB77DE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:to="loc_agm_PermanentPlantingsMember_1177FF1B6759087E92163D2117EB77DE" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LivestockMember" xlink:label="loc_agm_LivestockMember_8B0A6A6F4F89D6DDCD3D3D2117EBB2B2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:to="loc_agm_LivestockMember_8B0A6A6F4F89D6DDCD3D3D2117EBB2B2" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_PartTimeFarmMember" xlink:label="loc_agm_PartTimeFarmMember_86330D36EC9BC4AE865D3D2117EB7626" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:to="loc_agm_PartTimeFarmMember_86330D36EC9BC4AE865D3D2117EB7626" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgricultureStorageAndProcessingMember" xlink:label="loc_agm_AgricultureStorageAndProcessingMember_A5D25EC9C1E9226970433D2117EC7350" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:to="loc_agm_AgricultureStorageAndProcessingMember_A5D25EC9C1E9226970433D2117EC7350" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OtherCommodityMember" xlink:label="loc_agm_OtherCommodityMember_195B4406AD000727EF483D2117ECA4FE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_CommodityByTypeDomain_AF69ECCA831CE15BA5033D2117EB2DEF" xlink:to="loc_agm_OtherCommodityMember_195B4406AD000727EF483D2117ECA4FE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_D8C988508637F755400E3D2117EC3554" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceRecordedInvestment_D8C988508637F755400E3D2117EC3554" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_5F492C8691702D2F423F3D2117ECE9C0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithNoRelatedAllowanceUnpaidPrincipalBalance_5F492C8691702D2F423F3D2117ECE9C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_454D8C81390A4278405C3D2117EC12DD" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceRecordedInvestment_454D8C81390A4278405C3D2117EC12DD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_6B94E9AF9EF963C759B43D2117EC7077" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableWithRelatedAllowanceUnpaidPrincipalBalance_6B94E9AF9EF963C759B43D2117EC7077" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_793D42E8331843B1CD613D2117EC7E6D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRecordedInvestment_793D42E8331843B1CD613D2117EC7E6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_859D38BC83A8D19AD73D3D2117EC2D1D" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableUnpaidPrincipalBalance_859D38BC83A8D19AD73D3D2117EC2D1D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableRelatedAllowance" xlink:label="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_37A6B0AE49DD687D8C893D2117EC92AD" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableRelatedAllowance_37A6B0AE49DD687D8C893D2117EC92AD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_0AF78CB56D80DB63F8913D2117ECB3C1" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentNonaccrualStatus_0AF78CB56D80DB63F8913D2117ECB3C1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ImpairedFinancingReceivableImpairmentAnalysisPerformedPercent" xlink:label="loc_agm_ImpairedFinancingReceivableImpairmentAnalysisPerformedPercent_922904385D51C118A9653D2117ECF9CA" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_agm_ImpairedFinancingReceivableImpairmentAnalysisPerformedPercent_922904385D51C118A9653D2117ECF9CA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment" xlink:label="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_4361991D5E1FEE5297423D2117ECA339" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableAverageRecordedInvestment_4361991D5E1FEE5297423D2117ECA339" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod" xlink:label="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_2919BA81EB6B9796AC983D2117EC012C" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableImpairedLineItems_6838B1932209DA5923233D2117EC05F4" xlink:to="loc_us-gaap_ImpairedFinancingReceivableInterestIncomeCashBasisMethod_2919BA81EB6B9796AC983D2117EC012C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoanDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsNotesAndLoansReceivableLineItems" xlink:label="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable" xlink:label="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3014F0CD4F947FDFCF94574D55049F02" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:to="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3014F0CD4F947FDFCF94574D55049F02" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F237D4A5601829C48D4C574D550493A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3014F0CD4F947FDFCF94574D55049F02" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F237D4A5601829C48D4C574D550493A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_270A49E6E49A8573DA55574D5504FFE9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F237D4A5601829C48D4C574D550493A2" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_270A49E6E49A8573DA55574D5504FFE9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_270A49E6E49A8573DA55574D5504FFE9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F237D4A5601829C48D4C574D550493A2" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_270A49E6E49A8573DA55574D5504FFE9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_7F63281D4EF3508036E8574D550417C0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_270A49E6E49A8573DA55574D5504FFE9" xlink:to="loc_us-gaap_RealEstateLoanMember_7F63281D4EF3508036E8574D550417C0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_E760B9B990381A30BA57574D55049D8D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3014F0CD4F947FDFCF94574D55049F02" xlink:to="loc_us-gaap_ProductOrServiceAxis_E760B9B990381A30BA57574D55049D8D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_C44F3136E9BFB9FE55DB574D5504BFC0_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_E760B9B990381A30BA57574D55049D8D" xlink:to="loc_us-gaap_ProductsAndServicesDomain_C44F3136E9BFB9FE55DB574D5504BFC0_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_C44F3136E9BFB9FE55DB574D5504BFC0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_E760B9B990381A30BA57574D55049D8D" xlink:to="loc_us-gaap_ProductsAndServicesDomain_C44F3136E9BFB9FE55DB574D5504BFC0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnsecuritizedMember" xlink:label="loc_agm_UnsecuritizedMember_DE1A394D5BEA6E61B8B7574D5504CF5D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_C44F3136E9BFB9FE55DB574D5504BFC0" xlink:to="loc_agm_UnsecuritizedMember_DE1A394D5BEA6E61B8B7574D5504CF5D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityPrimaryBeneficiaryMember" xlink:label="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_BA826B109A26E627CC29574D550412E2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_C44F3136E9BFB9FE55DB574D5504BFC0" xlink:to="loc_us-gaap_VariableInterestEntityPrimaryBeneficiaryMember_BA826B109A26E627CC29574D550412E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_77E8A6B972BFEDA2C3A6574D55042988" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfAccountsNotesLoansAndFinancingReceivableTable_3014F0CD4F947FDFCF94574D55049F02" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_77E8A6B972BFEDA2C3A6574D55042988" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_59BA12428CCD52CD4894574D5504670A_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_77E8A6B972BFEDA2C3A6574D55042988" xlink:to="loc_us-gaap_SegmentDomain_59BA12428CCD52CD4894574D5504670A_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_59BA12428CCD52CD4894574D5504670A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_77E8A6B972BFEDA2C3A6574D55042988" xlink:to="loc_us-gaap_SegmentDomain_59BA12428CCD52CD4894574D5504670A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_1B2B80EB0ED0C79A658F574D550408C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_59BA12428CCD52CD4894574D5504670A" xlink:to="loc_agm_FarmRanchMember_1B2B80EB0ED0C79A658F574D550408C5" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RuralUtilitiesMember" xlink:label="loc_agm_RuralUtilitiesMember_0FDF953A19ADF21775BD574D550477B2" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_59BA12428CCD52CD4894574D5504670A" xlink:to="loc_agm_RuralUtilitiesMember_0FDF953A19ADF21775BD574D550477B2" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LoansandLeaseReceivableUnpaidPrincipalBalance" xlink:label="loc_agm_LoansandLeaseReceivableUnpaidPrincipalBalance_6B5D250CD17B27C40CFB574D55049DA0" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:to="loc_agm_LoansandLeaseReceivableUnpaidPrincipalBalance_6B5D250CD17B27C40CFB574D55049DA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums" xlink:label="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_55A960016419830AD580574D55041C2B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:to="loc_us-gaap_UnamortizedLoanCommitmentAndOriginationFeesAndUnamortizedDiscountsOrPremiums_55A960016419830AD580574D55041C2B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableGrossCarryingAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_25922825484AAB1BB7CF574D55044241" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:to="loc_us-gaap_LoansAndLeasesReceivableGrossCarryingAmount_25922825484AAB1BB7CF574D55044241" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AllowanceForLoanAndLeaseLossesRealEstate" xlink:label="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_C555C61EBD8E85870719574D55047654" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:to="loc_us-gaap_AllowanceForLoanAndLeaseLossesRealEstate_C555C61EBD8E85870719574D55047654" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableNetReportedAmount" xlink:label="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_F1EF8CAF8058AB49A783574D55049C41" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_AccountsNotesAndLoansReceivableLineItems_67A65896A0FFC93E5C95574D550479B0" xlink:to="loc_us-gaap_LoansAndLeasesReceivableNetReportedAmount_F1EF8CAF8058AB49A783574D55049C41" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskLoansAndAllowanceForLossesAndConcentrationsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/LoansAndAllowanceForLossesAndConcentrationsOfCreditRiskTroubledDebtRestructuringsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/NotesPayableAuthorityToBorrowFromUSTreasuryDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/NotesPayableBorrowingsAndCallableDebtdetails" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems" xlink:label="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfShortTermAndLongTermBorrowingsTable" xlink:label="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_604D7C781187239222BD419FE82CB85F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_604D7C781187239222BD419FE82CB85F" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_29544F681CA5DD5152B3419FE82C784C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_604D7C781187239222BD419FE82CB85F" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_29544F681CA5DD5152B3419FE82C784C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_29544F681CA5DD5152B3419FE82C784C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_29544F681CA5DD5152B3419FE82C784C" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearTwoMember" xlink:label="loc_agm_DueYearTwoMember_70904D01EC40D24A3E33419FE82C7F40" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:to="loc_agm_DueYearTwoMember_70904D01EC40D24A3E33419FE82C7F40" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearThreeMember" xlink:label="loc_agm_DueYearThreeMember_F8FC95BB32B2B3285C89419FE82C9CE5" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:to="loc_agm_DueYearThreeMember_F8FC95BB32B2B3285C89419FE82C9CE5" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearFourMember" xlink:label="loc_agm_DueYearFourMember_D68610E8E9E732507082419FE82CBEBB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:to="loc_agm_DueYearFourMember_D68610E8E9E732507082419FE82CBEBB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearFiveMember" xlink:label="loc_agm_DueYearFiveMember_6F257CA363FC2BC865E7419FE82C9C1F" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:to="loc_agm_DueYearFiveMember_6F257CA363FC2BC865E7419FE82C9C1F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueAfterFiveYearsMember" xlink:label="loc_agm_DueAfterFiveYearsMember_58ADC251166E43F69090419FE82D983D" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_483B71694D63C7C31463419FE82C1DCB" xlink:to="loc_agm_DueAfterFiveYearsMember_58ADC251166E43F69090419FE82D983D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentAxis" xlink:label="loc_us-gaap_DebtInstrumentAxis_4DE79E1931082A9300B9419FE82D8594" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_604D7C781187239222BD419FE82CB85F" xlink:to="loc_us-gaap_DebtInstrumentAxis_4DE79E1931082A9300B9419FE82D8594" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_DebtInstrumentAxis_4DE79E1931082A9300B9419FE82D8594" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentNameDomain" xlink:label="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_DebtInstrumentAxis_4DE79E1931082A9300B9419FE82D8594" xlink:to="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayableToBanksMember" xlink:label="loc_us-gaap_NotesPayableToBanksMember_B6146B2D1434EDB54D41419FE82D1E1F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1" xlink:to="loc_us-gaap_NotesPayableToBanksMember_B6146B2D1434EDB54D41419FE82D1E1F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MediumTermNotesMember" xlink:label="loc_us-gaap_MediumTermNotesMember_A3DADE1EC3CC3CE4233B419FE82DAE4B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1" xlink:to="loc_us-gaap_MediumTermNotesMember_A3DADE1EC3CC3CE4233B419FE82DAE4B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMember" xlink:label="loc_us-gaap_LongTermDebtMember_2B03A7F41773BFBCBCF7419FE82DAECA" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1" xlink:to="loc_us-gaap_LongTermDebtMember_2B03A7F41773BFBCBCF7419FE82DAECA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CallOptionMember" xlink:label="loc_us-gaap_CallOptionMember_697DC7A9A61F46B42222419FE82DD934" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_DebtInstrumentNameDomain_9097459CA6EC1F221324419FE82D72D1" xlink:to="loc_us-gaap_CallOptionMember_697DC7A9A61F46B42222419FE82DD934" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_CCE5AFEE4ED8284FCA1C419FE82DBF97" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_ShortTermBorrowings_CCE5AFEE4ED8284FCA1C419FE82DBF97" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_4031276D4F2AC83AE9AC419FE82D6E74" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_4031276D4F2AC83AE9AC419FE82D6E74" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShorttermDebtAverageOutstandingAmount" xlink:label="loc_us-gaap_ShorttermDebtAverageOutstandingAmount_8C02F784F61E804B664A419FE82D68F7" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_ShorttermDebtAverageOutstandingAmount_8C02F784F61E804B664A419FE82D68F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtInstrumentInterestRateDuringPeriod" xlink:label="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_8717F1C664B56EB1808E419FE82E03BF" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_DebtInstrumentInterestRateDuringPeriod_8717F1C664B56EB1808E419FE82E03BF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtCurrent" xlink:label="loc_us-gaap_LongTermDebtCurrent_F8D3BA49FF8DCA282EC9419FE82E0973" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtCurrent_F8D3BA49FF8DCA282EC9419FE82E0973" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_1898B2C671D28DD347C4419FE82E884B" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_1898B2C671D28DD347C4419FE82E884B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_852905471A3EA4C3CF3A419FE82E9D17" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_852905471A3EA4C3CF3A419FE82E9D17" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_A353BCE4F25E4433A930419FE82ED50D" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_A353BCE4F25E4433A930419FE82ED50D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_D6484015D7C5FFC65ED5419FE82ECEE5" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_D6484015D7C5FFC65ED5419FE82ECEE5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_893CC4ED51FC07A646A5419FE82E6ADA" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_893CC4ED51FC07A646A5419FE82E6ADA" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_CFA63AFA4E9D3A8835BA419FE82E9195" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_CFA63AFA4E9D3A8835BA419FE82E9195" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtNoncurrent" xlink:label="loc_us-gaap_LongTermDebtNoncurrent_D25332A6DAB35D98A6D2419FE82E34CE" xlink:type="locator" />
    <definitionArc order="12" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebtNoncurrent_D25332A6DAB35D98A6D2419FE82E34CE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_FE01BBB428B1179DBF01419FE82E71C5" xlink:type="locator" />
    <definitionArc order="13" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_FE01BBB428B1179DBF01419FE82E71C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_2E0D580B1B5B64BA3AA9419FE82E36CB" xlink:type="locator" />
    <definitionArc order="14" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_2E0D580B1B5B64BA3AA9419FE82E36CB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShorttermDebtMaximumMonthendOutstandingAmount" xlink:label="loc_us-gaap_ShorttermDebtMaximumMonthendOutstandingAmount_2D453E7A34083D0917DF419FE82D57B8" xlink:type="locator" />
    <definitionArc order="15" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_ShorttermDebtMaximumMonthendOutstandingAmount_2D453E7A34083D0917DF419FE82D57B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebt" xlink:label="loc_us-gaap_LongTermDebt_DBC99DFC8EF90CD9D3B4419FE82E2BBB" xlink:type="locator" />
    <definitionArc order="16" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_807BF5BB0088EF8DE13E419FE82D5090" xlink:to="loc_us-gaap_LongTermDebt_DBC99DFC8EF90CD9D3B4419FE82E2BBB" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/NotesPayableEarliestInterestResetDateOfBorrowingOutstandingDetails" xlink:type="extended">
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems" xlink:label="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:type="locator" />
    <loc xlink:href="agm-20151231.xsd#agm_ScheduleOfShortTermAndLongTermBorrowingsTable" xlink:label="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_50A45BD9848F0FB329FB38296788D10B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_50A45BD9848F0FB329FB38296788D10B" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestRateResetDateAxis" xlink:label="loc_agm_InterestRateResetDateAxis_C47B1CE1ACEFB0A562D338296788C7BC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsTable_50A45BD9848F0FB329FB38296788D10B" xlink:to="loc_agm_InterestRateResetDateAxis_C47B1CE1ACEFB0A562D338296788C7BC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestRateResetDateDomain" xlink:label="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_InterestRateResetDateAxis_C47B1CE1ACEFB0A562D338296788C7BC" xlink:to="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InterestRateResetDateDomain" xlink:label="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_InterestRateResetDateAxis_C47B1CE1ACEFB0A562D338296788C7BC" xlink:to="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueWithinOneYearMember" xlink:label="loc_agm_DueWithinOneYearMember_C3D952C9EA7BC23799D7382967883745" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:to="loc_agm_DueWithinOneYearMember_C3D952C9EA7BC23799D7382967883745" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearTwoMember" xlink:label="loc_agm_DueYearTwoMember_62594F284FF51D88B039382967887FA6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:to="loc_agm_DueYearTwoMember_62594F284FF51D88B039382967887FA6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearThreeMember" xlink:label="loc_agm_DueYearThreeMember_C10788964042F400486C38296788179A" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:to="loc_agm_DueYearThreeMember_C10788964042F400486C38296788179A" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearFourMember" xlink:label="loc_agm_DueYearFourMember_34C5B587C6F177C8F2F5382967887031" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:to="loc_agm_DueYearFourMember_34C5B587C6F177C8F2F5382967887031" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueYearFiveMember" xlink:label="loc_agm_DueYearFiveMember_12C44E8D74E36131CF703829678882C1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:to="loc_agm_DueYearFiveMember_12C44E8D74E36131CF703829678882C1" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_DueAfterFiveYearsMember" xlink:label="loc_agm_DueAfterFiveYearsMember_299F20C480CA82EF494438296788B1FF" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_InterestRateResetDateDomain_5E31594A88BD836BFA6F382967884076" xlink:to="loc_agm_DueAfterFiveYearsMember_299F20C480CA82EF494438296788B1FF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_MeduimTermNotesCalledDuringPeriod" xlink:label="loc_agm_MeduimTermNotesCalledDuringPeriod_07E11B981FA4A7F697BC3829678843E5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_agm_MeduimTermNotesCalledDuringPeriod_07E11B981FA4A7F697BC3829678843E5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermBorrowings" xlink:label="loc_us-gaap_ShortTermBorrowings_64F9AD53864B6A266EAC382967886D71" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_ShortTermBorrowings_64F9AD53864B6A266EAC382967886D71" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_C5B12FC5724795D42E6738296788ACAC" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_ShortTermDebtWeightedAverageInterestRate_C5B12FC5724795D42E6738296788ACAC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9225A9377FF838FE2C2938296788FDFC" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearTwo_9225A9377FF838FE2C2938296788FDFC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4B9C3F971A2D8C6BE5DA38296788C56C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearThree_4B9C3F971A2D8C6BE5DA38296788C56C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_B869D7E04B46DF9DBF28382967887610" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFour_B869D7E04B46DF9DBF28382967887610" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_466627B611EE8B42499738296788474E" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalInYearFive_466627B611EE8B42499738296788474E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive" xlink:label="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_2375BB65EE18A50B230E3829678888C5" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_LongTermDebtMaturitiesRepaymentsOfPrincipalAfterYearFive_2375BB65EE18A50B230E3829678888C5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtAndCapitalLeaseObligations" xlink:label="loc_us-gaap_DebtAndCapitalLeaseObligations_F04633593E22F0F6C9F73829678898FF" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_DebtAndCapitalLeaseObligations_F04633593E22F0F6C9F73829678898FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_3E04D67E618DAD57400A38296788B3D0" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_LongtermDebtWeightedAverageInterestRate_3E04D67E618DAD57400A38296788B3D0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DebtWeightedAverageInterestRate" xlink:label="loc_us-gaap_DebtWeightedAverageInterestRate_B682A0762E95D9E5F7AD38296788CAA1" xlink:type="locator" />
    <definitionArc order="11" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_ScheduleOfShortTermAndLongTermBorrowingsLineItems_1AEA45C14E5AEC2A835238296788F2D3" xlink:to="loc_us-gaap_DebtWeightedAverageInterestRate_B682A0762E95D9E5F7AD38296788CAA1" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/NotesPayableGainsOnRepurchaseOfOutstandingDebtDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/NotesPayableNotesPayable" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/NotesPayableNotesPayableTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitments" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsCashFlowsFromOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_ADC0DCB4491545A5EFC538DE055A0F36" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_ADC0DCB4491545A5EFC538DE055A0F36" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3D19AA5B63210F26DEE738DE055A9D6A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_ADC0DCB4491545A5EFC538DE055A0F36" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3D19AA5B63210F26DEE738DE055A9D6A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_6629571CCDC8D3B5E22E38DE055A8F63_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3D19AA5B63210F26DEE738DE055A9D6A" xlink:to="loc_us-gaap_SegmentDomain_6629571CCDC8D3B5E22E38DE055A8F63_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_6629571CCDC8D3B5E22E38DE055A8F63" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3D19AA5B63210F26DEE738DE055A9D6A" xlink:to="loc_us-gaap_SegmentDomain_6629571CCDC8D3B5E22E38DE055A8F63" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_49107A85671F3FEA8A6B38DE055AD0B5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_6629571CCDC8D3B5E22E38DE055A8F63" xlink:to="loc_agm_InstitutionalCreditMemberMember_49107A85671F3FEA8A6B38DE055AD0B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_C92937829DA414DE37D138DE055A1500" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_ADC0DCB4491545A5EFC538DE055A0F36" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_C92937829DA414DE37D138DE055A1500" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_E8DC94D99A9EC45816DF38DE055A0987_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C92937829DA414DE37D138DE055A1500" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_E8DC94D99A9EC45816DF38DE055A0987_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_E8DC94D99A9EC45816DF38DE055A0987" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C92937829DA414DE37D138DE055A1500" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_E8DC94D99A9EC45816DF38DE055A0987" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmerMacGuaranteedSecuritiesMember" xlink:label="loc_agm_FarmerMacGuaranteedSecuritiesMember_44C6A4FCA6E0268D578E38DE055A3FDB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_E8DC94D99A9EC45816DF38DE055A0987" xlink:to="loc_agm_FarmerMacGuaranteedSecuritiesMember_44C6A4FCA6E0268D578E38DE055A3FDB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_28386D41B28A2438F54138DE055A082E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_ADC0DCB4491545A5EFC538DE055A0F36" xlink:to="loc_dei_LegalEntityAxis_28386D41B28A2438F54138DE055A082E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_E00935F681BEDF9712E238DE055A12FF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_28386D41B28A2438F54138DE055A082E" xlink:to="loc_dei_EntityDomain_E00935F681BEDF9712E238DE055A12FF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_E00935F681BEDF9712E238DE055A12FF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_28386D41B28A2438F54138DE055A082E" xlink:to="loc_dei_EntityDomain_E00935F681BEDF9712E238DE055A12FF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_50C815260ED525D5D71938DE055A5AB4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_E00935F681BEDF9712E238DE055A12FF" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_50C815260ED525D5D71938DE055A5AB4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromSaleOfOtherInvestments" xlink:label="loc_us-gaap_ProceedsFromSaleOfOtherInvestments_F0D965E3508273B80B5F38DE055AC89A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:to="loc_us-gaap_ProceedsFromSaleOfOtherInvestments_F0D965E3508273B80B5F38DE055AC89A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProceedsFromFeesReceived" xlink:label="loc_us-gaap_ProceedsFromFeesReceived_927300922339F000AA7638DE055A0C73" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:to="loc_us-gaap_ProceedsFromFeesReceived_927300922339F000AA7638DE055A0C73" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PaymentsToAcquireLoansAndLeasesHeldForInvestment" xlink:label="loc_us-gaap_PaymentsToAcquireLoansAndLeasesHeldForInvestment_609436EDEC95223E1D7C38DE055AE732" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:to="loc_us-gaap_PaymentsToAcquireLoansAndLeasesHeldForInvestment_609436EDEC95223E1D7C38DE055AE732" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:label="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_8BFC8266939A251570D938DE055A7F56" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:to="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_8BFC8266939A251570D938DE055A7F56" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor" xlink:label="loc_agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor_FEC21DD7B2505A4EECB638DE055A7327" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_DFDBE9AC8F63E01F7F5138DE055AD218" xlink:to="loc_agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor_FEC21DD7B2505A4EECB638DE055A7327" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsFutureMinimumLeasePaymentsDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsLongTermStandbyPurchaseCommitmentsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermPurchaseCommitmentLineItems" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentLineItems_B543D69C98856062E1BAB698A78F6228" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongTermPurchaseCommitmentTable" xlink:label="loc_us-gaap_LongTermPurchaseCommitmentTable_1825E5B3FD38520CEB73B698A78F7278" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_B543D69C98856062E1BAB698A78F6228" xlink:to="loc_us-gaap_LongTermPurchaseCommitmentTable_1825E5B3FD38520CEB73B698A78F7278" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_CE1849F16E0BBBF286DEB698A78F30D4" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_1825E5B3FD38520CEB73B698A78F7278" xlink:to="loc_us-gaap_ProductOrServiceAxis_CE1849F16E0BBBF286DEB698A78F30D4" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_193FB61DC0FC273B28EAB698A78FA773_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_CE1849F16E0BBBF286DEB698A78F30D4" xlink:to="loc_us-gaap_ProductsAndServicesDomain_193FB61DC0FC273B28EAB698A78FA773_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_193FB61DC0FC273B28EAB698A78FA773" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_CE1849F16E0BBBF286DEB698A78F30D4" xlink:to="loc_us-gaap_ProductsAndServicesDomain_193FB61DC0FC273B28EAB698A78FA773" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchLoansandUSDAGuaranteesMember" xlink:label="loc_agm_FarmRanchLoansandUSDAGuaranteesMember_C02AEA2B1152E40A759FB698A78FF634" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_193FB61DC0FC273B28EAB698A78FA773" xlink:to="loc_agm_FarmRanchLoansandUSDAGuaranteesMember_C02AEA2B1152E40A759FB698A78FF634" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RuralUtilitiesLoansMember" xlink:label="loc_agm_RuralUtilitiesLoansMember_05FC2F37FECE5209EBD5B698A78FD99D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_193FB61DC0FC273B28EAB698A78FA773" xlink:to="loc_agm_RuralUtilitiesLoansMember_05FC2F37FECE5209EBD5B698A78FD99D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis" xlink:label="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_A968B144302911859DBDB698A78FCA0B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_1825E5B3FD38520CEB73B698A78F7278" xlink:to="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_A968B144302911859DBDB698A78FCA0B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain" xlink:label="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_E6D1E759E04C50D9028EB698A78FF47D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_A968B144302911859DBDB698A78FCA0B" xlink:to="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_E6D1E759E04C50D9028EB698A78FF47D_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain" xlink:label="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_E6D1E759E04C50D9028EB698A78FF47D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_A968B144302911859DBDB698A78FCA0B" xlink:to="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_E6D1E759E04C50D9028EB698A78FF47D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_GuaranteeobligationsissuedafterJanuary12003Member" xlink:label="loc_agm_GuaranteeobligationsissuedafterJanuary12003Member_71C47428F77B63624E86B698A78F8138" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_E6D1E759E04C50D9028EB698A78FF47D" xlink:to="loc_agm_GuaranteeobligationsissuedafterJanuary12003Member_71C47428F77B63624E86B698A78F8138" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_3E78D102D6D9876FD899B698A78F85E8" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentTable_1825E5B3FD38520CEB73B698A78F7278" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_3E78D102D6D9876FD899B698A78F85E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_A8011B13CBA04205AF6CB698A78FBEF9_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_3E78D102D6D9876FD899B698A78F85E8" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_A8011B13CBA04205AF6CB698A78FBEF9_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_A8011B13CBA04205AF6CB698A78FBEF9" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_3E78D102D6D9876FD899B698A78F85E8" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_A8011B13CBA04205AF6CB698A78FBEF9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_LongTermStandbyPurchaseCommitmentsMember" xlink:label="loc_agm_LongTermStandbyPurchaseCommitmentsMember_0FAB6855617454AD1EFCB698A78FDB49" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_A8011B13CBA04205AF6CB698A78FBEF9" xlink:to="loc_agm_LongTermStandbyPurchaseCommitmentsMember_0FAB6855617454AD1EFCB698A78FDB49" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_273621713D8E0EEF0994B698A78F760B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_B543D69C98856062E1BAB698A78F6228" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_273621713D8E0EEF0994B698A78F760B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor" xlink:label="loc_agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor_28228868B9BA7CA25951B698A78F3A21" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_B543D69C98856062E1BAB698A78F6228" xlink:to="loc_agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor_28228868B9BA7CA25951B698A78F3A21" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsCurrentCarryingValue" xlink:label="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_F8D426AB7FA720078C3CB698A78FF56E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_B543D69C98856062E1BAB698A78F6228" xlink:to="loc_us-gaap_GuaranteeObligationsCurrentCarryingValue_F8D426AB7FA720078C3CB698A78FF56E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LoansAndLeasesReceivableCommitmentsToPurchaseOrSell" xlink:label="loc_us-gaap_LoansAndLeasesReceivableCommitmentsToPurchaseOrSell_0A0E196A8EC9954CE905B698A78F1C4E" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongTermPurchaseCommitmentLineItems_B543D69C98856062E1BAB698A78F6228" xlink:to="loc_us-gaap_LoansAndLeasesReceivableCommitmentsToPurchaseOrSell_0A0E196A8EC9954CE905B698A78F1C4E" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteedSecuritiesDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsLineItems" xlink:label="loc_us-gaap_GuaranteeObligationsLineItems_4F00C6E7E6E307B5F1033D211766F3E4" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfGuaranteeObligationsTable" xlink:label="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_B01018A29FB4B776434B3D211765771A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4F00C6E7E6E307B5F1033D211766F3E4" xlink:to="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_B01018A29FB4B776434B3D211765771A" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductOrServiceAxis" xlink:label="loc_us-gaap_ProductOrServiceAxis_9B7AEA3CC6B0C398E9793D211765A943" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_B01018A29FB4B776434B3D211765771A" xlink:to="loc_us-gaap_ProductOrServiceAxis_9B7AEA3CC6B0C398E9793D211765A943" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_7144DBBAAC1CE3D6247C3D211765E766_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ProductOrServiceAxis_9B7AEA3CC6B0C398E9793D211765A943" xlink:to="loc_us-gaap_ProductsAndServicesDomain_7144DBBAAC1CE3D6247C3D211765E766_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductsAndServicesDomain" xlink:label="loc_us-gaap_ProductsAndServicesDomain_7144DBBAAC1CE3D6247C3D211765E766" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ProductOrServiceAxis_9B7AEA3CC6B0C398E9793D211765A943" xlink:to="loc_us-gaap_ProductsAndServicesDomain_7144DBBAAC1CE3D6247C3D211765E766" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_9283A8069339F0B8AF5B3D2117669E95" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductsAndServicesDomain_7144DBBAAC1CE3D6247C3D211765E766" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_9283A8069339F0B8AF5B3D2117669E95" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_BA2CCBCE1C667CFB4A2F3D21176602CF" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_B01018A29FB4B776434B3D211765771A" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_BA2CCBCE1C667CFB4A2F3D21176602CF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_BA2CCBCE1C667CFB4A2F3D21176602CF" xlink:to="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_BA2CCBCE1C667CFB4A2F3D21176602CF" xlink:to="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_FC048BC0A1359A95DA9F3D21176692C5" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D" xlink:to="loc_agm_FarmRanchMember_FC048BC0A1359A95DA9F3D21176692C5" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_00653644AC7B9D56E0573D2117661CC0" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D" xlink:to="loc_agm_USDAGuaranteesMember_00653644AC7B9D56E0573D2117661CC0" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_9C8A6743C6A89FF875B33D21176690E0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BB971079A1D93A4DDB683D211766D82D" xlink:to="loc_agm_InstitutionalCreditMemberMember_9C8A6743C6A89FF875B33D21176690E0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_LegalEntityAxis" xlink:label="loc_dei_LegalEntityAxis_A47771F5D98889B5167B3D2117661B45" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfGuaranteeObligationsTable_B01018A29FB4B776434B3D211765771A" xlink:to="loc_dei_LegalEntityAxis_A47771F5D98889B5167B3D2117661B45" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_27C55AC91BDB8C8D75E73D2117661425_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_dei_LegalEntityAxis_A47771F5D98889B5167B3D2117661B45" xlink:to="loc_dei_EntityDomain_27C55AC91BDB8C8D75E73D2117661425_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.sec.gov/dei/2014/dei-2014-01-31.xsd#dei_EntityDomain" xlink:label="loc_dei_EntityDomain_27C55AC91BDB8C8D75E73D2117661425" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_dei_LegalEntityAxis_A47771F5D98889B5167B3D2117661B45" xlink:to="loc_dei_EntityDomain_27C55AC91BDB8C8D75E73D2117661425" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember" xlink:label="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_65305BC0BA2FF8D1EB9A3D211766BFEB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_dei_EntityDomain_27C55AC91BDB8C8D75E73D2117661425" xlink:to="loc_us-gaap_VariableInterestEntityNotPrimaryBeneficiaryMember_65305BC0BA2FF8D1EB9A3D211766BFEB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_E1A03F3A903022DC3B223D211766BCF8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsLineItems_4F00C6E7E6E307B5F1033D211766F3E4" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_E1A03F3A903022DC3B223D211766BCF8" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsOffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/OffBalanceSheetGuaranteesAndLongTermStandbyPurchaseCommitmentsScheduleOfGuaranteeAndCommitmentObligationsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LossContingenciesLineItems" xlink:label="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LossContingenciesTable" xlink:label="loc_us-gaap_LossContingenciesTable_85663D219CB6AD748AFF38E4DE32ED21" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_us-gaap_LossContingenciesTable_85663D219CB6AD748AFF38E4DE32ED21" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="agm-20151231.xsd#agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis" xlink:label="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_98A280FD5F4F4215F0FE38E4E40FF070" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_LossContingenciesTable_85663D219CB6AD748AFF38E4DE32ED21" xlink:to="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_98A280FD5F4F4215F0FE38E4E40FF070" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain" xlink:label="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_B5DADB82873A9AC4C65138E4E5DBFE7C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_98A280FD5F4F4215F0FE38E4E40FF070" xlink:to="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_B5DADB82873A9AC4C65138E4E5DBFE7C_default" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain" xlink:label="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_B5DADB82873A9AC4C65138E4E5DBFE7C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis_98A280FD5F4F4215F0FE38E4E40FF070" xlink:to="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_B5DADB82873A9AC4C65138E4E5DBFE7C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_GuaranteeobligationsissuedafterJanuary12003Member" xlink:label="loc_agm_GuaranteeobligationsissuedafterJanuary12003Member_79E74552C6452244DBF738E4E6AD194E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_B5DADB82873A9AC4C65138E4E5DBFE7C" xlink:to="loc_agm_GuaranteeobligationsissuedafterJanuary12003Member_79E74552C6452244DBF738E4E6AD194E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_GuaranteeObligationsIssuedPriorToJanuary12003Member" xlink:label="loc_agm_GuaranteeObligationsIssuedPriorToJanuary12003Member_6EF07A74618CFF40978438E4E7CF6756" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain_B5DADB82873A9AC4C65138E4E5DBFE7C" xlink:to="loc_agm_GuaranteeObligationsIssuedPriorToJanuary12003Member_6EF07A74618CFF40978438E4E7CF6756" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TermOfGuaranteesMinimum" xlink:label="loc_agm_TermOfGuaranteesMinimum_2E4BB2C52F1D59043D9238E4E0445E0C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_agm_TermOfGuaranteesMinimum_2E4BB2C52F1D59043D9238E4E0445E0C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_TermOfGuaranteesMaximum" xlink:label="loc_agm_TermOfGuaranteesMaximum_8E612E784E0B1AF0C81038E4E18F8E2C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_agm_TermOfGuaranteesMaximum_8E612E784E0B1AF0C81038E4E18F8E2C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMaximumExposure" xlink:label="loc_us-gaap_GuaranteeObligationsMaximumExposure_B5FE9FCB0150C499E05F38E4E261A5A2" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_us-gaap_GuaranteeObligationsMaximumExposure_B5FE9FCB0150C499E05F38E4E261A5A2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuarantyLiabilities" xlink:label="loc_us-gaap_GuarantyLiabilities_95DC5417D0FEE8A4A2BC38DE05640EC9" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_us-gaap_GuarantyLiabilities_95DC5417D0FEE8A4A2BC38DE05640EC9" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AdditionsToGuaranteeAndCommitmentObligations" xlink:label="loc_agm_AdditionsToGuaranteeAndCommitmentObligations_93A19F801180B8E2627A38DE056474BD" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_agm_AdditionsToGuaranteeAndCommitmentObligations_93A19F801180B8E2627A38DE056474BD" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AmortizationOfGuaranteeAndCommitmentObligation" xlink:label="loc_agm_AmortizationOfGuaranteeAndCommitmentObligation_EEEB6B2C6E7B9C9EAAB738DE05647E77" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LossContingenciesLineItems_FA199602FC0D6C2EF03038E4DE82DB6E" xlink:to="loc_agm_AmortizationOfGuaranteeAndCommitmentObligation_EEEB6B2C6E7B9C9EAAB738DE05647E77" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/OrganizationOrganization" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/OrganizationOrganizationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ProductInformationLineItems" xlink:label="loc_us-gaap_ProductInformationLineItems_3696D18F63C79733906D38296BAD10F8" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfProductInformationTable" xlink:label="loc_us-gaap_ScheduleOfProductInformationTable_992168FC20F3FDF1208B38296B9EE73E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_ProductInformationLineItems_3696D18F63C79733906D38296BAD10F8" xlink:to="loc_us-gaap_ScheduleOfProductInformationTable_992168FC20F3FDF1208B38296B9EE73E" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeAxis" xlink:label="loc_us-gaap_ShortTermDebtTypeAxis_97AE5B40374F6BFF1BB038296BADF5EF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_992168FC20F3FDF1208B38296B9EE73E" xlink:to="loc_us-gaap_ShortTermDebtTypeAxis_97AE5B40374F6BFF1BB038296BADF5EF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_430570620D4F1461FECE38296BAD3208_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_97AE5B40374F6BFF1BB038296BADF5EF" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_430570620D4F1461FECE38296BAD3208_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ShortTermDebtTypeDomain" xlink:label="loc_us-gaap_ShortTermDebtTypeDomain_430570620D4F1461FECE38296BAD3208" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_ShortTermDebtTypeAxis_97AE5B40374F6BFF1BB038296BADF5EF" xlink:to="loc_us-gaap_ShortTermDebtTypeDomain_430570620D4F1461FECE38296BAD3208" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayableToBanksMember" xlink:label="loc_us-gaap_NotesPayableToBanksMember_869B2240D4350157FF7138296BAD02E6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ShortTermDebtTypeDomain_430570620D4F1461FECE38296BAD3208" xlink:to="loc_us-gaap_NotesPayableToBanksMember_869B2240D4350157FF7138296BAD02E6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_3470CC06E325CCD8DE8038296BADAB68" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_992168FC20F3FDF1208B38296B9EE73E" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_3470CC06E325CCD8DE8038296BADAB68" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3470CC06E325CCD8DE8038296BADAB68" xlink:to="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_3470CC06E325CCD8DE8038296BADAB68" xlink:to="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_A6845AA54A2176B1A93038296BAD35A8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364" xlink:to="loc_agm_FarmRanchMember_A6845AA54A2176B1A93038296BAD35A8" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_USDAGuaranteesMember" xlink:label="loc_agm_USDAGuaranteesMember_7EC9BEEC1CE5CCF124F738296BAD58D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364" xlink:to="loc_agm_USDAGuaranteesMember_7EC9BEEC1CE5CCF124F738296BAD58D3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RuralUtilitiesMember" xlink:label="loc_agm_RuralUtilitiesMember_7676843F33121CD97EA338296BAD5070" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364" xlink:to="loc_agm_RuralUtilitiesMember_7676843F33121CD97EA338296BAD5070" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_30EBEACA430C2ED1F0E938296BAD1089" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_962B8FF2E02186FF85D938296BAD5364" xlink:to="loc_agm_InstitutionalCreditMemberMember_30EBEACA430C2ED1F0E938296BAD1089" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeAxis" xlink:label="loc_us-gaap_LongtermDebtTypeAxis_1AD25D4A85A3DF747F4C38296BAD9FCF" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfProductInformationTable_992168FC20F3FDF1208B38296B9EE73E" xlink:to="loc_us-gaap_LongtermDebtTypeAxis_1AD25D4A85A3DF747F4C38296BAD9FCF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_B0AA9A15EBC1DBDBD9A338296BAD6904_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_1AD25D4A85A3DF747F4C38296BAD9FCF" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_B0AA9A15EBC1DBDBD9A338296BAD6904_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_LongtermDebtTypeDomain" xlink:label="loc_us-gaap_LongtermDebtTypeDomain_B0AA9A15EBC1DBDBD9A338296BAD6904" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_LongtermDebtTypeAxis_1AD25D4A85A3DF747F4C38296BAD9FCF" xlink:to="loc_us-gaap_LongtermDebtTypeDomain_B0AA9A15EBC1DBDBD9A338296BAD6904" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MediumTermNotesMember" xlink:label="loc_us-gaap_MediumTermNotesMember_F607BB0C50610C0224F738296BADF21F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_LongtermDebtTypeDomain_B0AA9A15EBC1DBDBD9A338296BAD6904" xlink:to="loc_us-gaap_MediumTermNotesMember_F607BB0C50610C0224F738296BADF21F" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance" xlink:label="loc_agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance_E4497838AC0B2CFB551B38296BAD035E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_3696D18F63C79733906D38296BAD10F8" xlink:to="loc_agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance_E4497838AC0B2CFB551B38296BAD035E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesPayable" xlink:label="loc_us-gaap_NotesPayable_730F21BCFF3F395FDAA138296BAD3477" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ProductInformationLineItems_3696D18F63C79733906D38296BAD10F8" xlink:to="loc_us-gaap_NotesPayable_730F21BCFF3F395FDAA138296BAD3477" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/OrganizationOrganizationTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnaudited" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedDetails" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/QuarterlyFinancialInformationUnauditedQuarterlyFinancialInformationUnauditedTables" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsAgfirstFarmCreditBankDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D2F49F372346F32262A6419FE8C6C0BB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D2F49F372346F32262A6419FE8C6C0BB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_F4AE4AEB7FC70748AE3A419FE8C66724" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D2F49F372346F32262A6419FE8C6C0BB" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_F4AE4AEB7FC70748AE3A419FE8C66724" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_C8B67651FCFBEB303442419FE8C65B2F_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_F4AE4AEB7FC70748AE3A419FE8C66724" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_C8B67651FCFBEB303442419FE8C65B2F_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_C8B67651FCFBEB303442419FE8C65B2F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_F4AE4AEB7FC70748AE3A419FE8C66724" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_C8B67651FCFBEB303442419FE8C65B2F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_PerformanceGuaranteeMember" xlink:label="loc_us-gaap_PerformanceGuaranteeMember_25F9F62BE7B73F967CED419FE8C665EB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_C8B67651FCFBEB303442419FE8C65B2F" xlink:to="loc_us-gaap_PerformanceGuaranteeMember_25F9F62BE7B73F967CED419FE8C665EB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMember" xlink:label="loc_us-gaap_GuaranteeObligationsMember_F1652786112F83130533419FE8C765F6" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_C8B67651FCFBEB303442419FE8C65B2F" xlink:to="loc_us-gaap_GuaranteeObligationsMember_F1652786112F83130533419FE8C765F6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_A07D2EF6F9C362E656BA419FE8C75E80" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D2F49F372346F32262A6419FE8C6C0BB" xlink:to="loc_us-gaap_StatementClassOfStockAxis_A07D2EF6F9C362E656BA419FE8C75E80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B3BD0327E75D751EA088419FE8C7525B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_A07D2EF6F9C362E656BA419FE8C75E80" xlink:to="loc_us-gaap_ClassOfStockDomain_B3BD0327E75D751EA088419FE8C7525B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B3BD0327E75D751EA088419FE8C7525B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_A07D2EF6F9C362E656BA419FE8C75E80" xlink:to="loc_us-gaap_ClassOfStockDomain_B3BD0327E75D751EA088419FE8C7525B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_E0BB982507E11595617B419FE8C7A367" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_B3BD0327E75D751EA088419FE8C7525B" xlink:to="loc_us-gaap_CommonClassBMember_E0BB982507E11595617B419FE8C7A367" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D29AA17B40E9C4E07B78419FE8C719C6" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D2F49F372346F32262A6419FE8C6C0BB" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D29AA17B40E9C4E07B78419FE8C719C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_2B0C2E6BD2BE73709B83419FE8C736AF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D29AA17B40E9C4E07B78419FE8C719C6" xlink:to="loc_us-gaap_RelatedPartyDomain_2B0C2E6BD2BE73709B83419FE8C736AF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_2B0C2E6BD2BE73709B83419FE8C736AF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_D29AA17B40E9C4E07B78419FE8C719C6" xlink:to="loc_us-gaap_RelatedPartyDomain_2B0C2E6BD2BE73709B83419FE8C736AF" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgfirstFarmCreditBankMember" xlink:label="loc_agm_AgfirstFarmCreditBankMember_9BA6BDEAF9B505AF13F5419FE8C72972" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_2B0C2E6BD2BE73709B83419FE8C736AF" xlink:to="loc_agm_AgfirstFarmCreditBankMember_9BA6BDEAF9B505AF13F5419FE8C72972" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommonStockOwnershipPercentageByRelatedParty" xlink:label="loc_agm_CommonStockOwnershipPercentageByRelatedParty_03558EF568FB16CBF759419FE8C76C66" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_agm_CommonStockOwnershipPercentageByRelatedParty_03558EF568FB16CBF759419FE8C76C66" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_2DCFD9C7FFC992D4924F419FE8C79579" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_2DCFD9C7FFC992D4924F419FE8C79579" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartyTransactionsOutstandingBalance" xlink:label="loc_agm_RelatedPartyTransactionsOutstandingBalance_DCBB89E5DA4A467DA9B0419FE8C7BFA0" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_agm_RelatedPartyTransactionsOutstandingBalance_DCBB89E5DA4A467DA9B0419FE8C7BFA0" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevenueFromRelatedParties" xlink:label="loc_us-gaap_RevenueFromRelatedParties_7F2664C6E00CA5BBE3C8419FE8C89563" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_us-gaap_RevenueFromRelatedParties_7F2664C6E00CA5BBE3C8419FE8C89563" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsReceivableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_2474AAB48C38EA3AC4BC419FE8C82985" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_2474AAB48C38EA3AC4BC419FE8C82985" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_3509D5F9FEEDD45AFCEB419FE8C752CE" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_CC41FC3BD484642259C9419FE8C746BB" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_3509D5F9FEEDD45AFCEB419FE8C752CE" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsFarmCreditBankOfTexasDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_E20036477BFCCF407E5C382968C0E736" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_B0CBBA1F09ECDA55B2BB382968C0D62D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_E20036477BFCCF407E5C382968C0E736" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_B0CBBA1F09ECDA55B2BB382968C0D62D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_C121A0529079632ACDA7382968C0028B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_B0CBBA1F09ECDA55B2BB382968C0D62D" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_C121A0529079632ACDA7382968C0028B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_2A7D1BB4D7242F45DDC2382968C0ADEF_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C121A0529079632ACDA7382968C0028B" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_2A7D1BB4D7242F45DDC2382968C0ADEF_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_2A7D1BB4D7242F45DDC2382968C0ADEF" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_C121A0529079632ACDA7382968C0028B" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_2A7D1BB4D7242F45DDC2382968C0ADEF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMember" xlink:label="loc_us-gaap_GuaranteeObligationsMember_08EA036D61D69C35EF58382968C0EB00" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_2A7D1BB4D7242F45DDC2382968C0ADEF" xlink:to="loc_us-gaap_GuaranteeObligationsMember_08EA036D61D69C35EF58382968C0EB00" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_60C8B3CE8644A53DA578382968C0A955" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_B0CBBA1F09ECDA55B2BB382968C0D62D" xlink:to="loc_us-gaap_StatementClassOfStockAxis_60C8B3CE8644A53DA578382968C0A955" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_63AE2AA52FCA9D2B860F382968C01853_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_60C8B3CE8644A53DA578382968C0A955" xlink:to="loc_us-gaap_ClassOfStockDomain_63AE2AA52FCA9D2B860F382968C01853_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_63AE2AA52FCA9D2B860F382968C01853" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_60C8B3CE8644A53DA578382968C0A955" xlink:to="loc_us-gaap_ClassOfStockDomain_63AE2AA52FCA9D2B860F382968C01853" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_425ABB97DDD9C39F58C9382968C05A07" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_63AE2AA52FCA9D2B860F382968C01853" xlink:to="loc_us-gaap_CommonClassBMember_425ABB97DDD9C39F58C9382968C05A07" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39496AD252E0ACD85E00382968C0E75C" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_B0CBBA1F09ECDA55B2BB382968C0D62D" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39496AD252E0ACD85E00382968C0E75C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_8186A667C47D7754FF66382968C05C49_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39496AD252E0ACD85E00382968C0E75C" xlink:to="loc_us-gaap_RelatedPartyDomain_8186A667C47D7754FF66382968C05C49_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_8186A667C47D7754FF66382968C05C49" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_39496AD252E0ACD85E00382968C0E75C" xlink:to="loc_us-gaap_RelatedPartyDomain_8186A667C47D7754FF66382968C05C49" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmCreditBankOfTexasMember" xlink:label="loc_agm_FarmCreditBankOfTexasMember_1E4B9DA78E7002EC8511382968C00B48" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_8186A667C47D7754FF66382968C05C49" xlink:to="loc_agm_FarmCreditBankOfTexasMember_1E4B9DA78E7002EC8511382968C00B48" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommonStockOwnershipPercentageByRelatedParty" xlink:label="loc_agm_CommonStockOwnershipPercentageByRelatedParty_78E2FCD0401CEC141806382968C0C984" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_E20036477BFCCF407E5C382968C0E736" xlink:to="loc_agm_CommonStockOwnershipPercentageByRelatedParty_78E2FCD0401CEC141806382968C0C984" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevenueFromRelatedParties" xlink:label="loc_us-gaap_RevenueFromRelatedParties_7789804A05130A9FBF68382968C0D43C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_E20036477BFCCF407E5C382968C0E736" xlink:to="loc_us-gaap_RevenueFromRelatedParties_7789804A05130A9FBF68382968C0D43C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartyTransactionsOutstandingBalance" xlink:label="loc_agm_RelatedPartyTransactionsOutstandingBalance_4F54F859EC6E424AEC49382968C0AACB" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_E20036477BFCCF407E5C382968C0E736" xlink:to="loc_agm_RelatedPartyTransactionsOutstandingBalance_4F54F859EC6E424AEC49382968C0AACB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_B5D74EF4F8207AEF2FCE382968C0DD7C" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_E20036477BFCCF407E5C382968C0E736" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_B5D74EF4F8207AEF2FCE382968C0DD7C" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsNationalRuralUtilitiesCooperativeFinancialCorporationDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_CC1EC00BBD51F1A07A8B41C97FB8280C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_CC1EC00BBD51F1A07A8B41C97FB8280C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_7E4130357B46732F374F41C97FB8993B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_CC1EC00BBD51F1A07A8B41C97FB8280C" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_7E4130357B46732F374F41C97FB8993B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_7E4130357B46732F374F41C97FB8993B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_CC1EC00BBD51F1A07A8B41C97FB8280C" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_7E4130357B46732F374F41C97FB8993B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMember" xlink:label="loc_us-gaap_GuaranteeObligationsMember_354D6C0CDBD6ACDA674D41C97FB8B5E2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_7E4130357B46732F374F41C97FB8993B" xlink:to="loc_us-gaap_GuaranteeObligationsMember_354D6C0CDBD6ACDA674D41C97FB8B5E2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_EDF01880F1BCEFC4AE0241C97FB955EE" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_StatementClassOfStockAxis_EDF01880F1BCEFC4AE0241C97FB955EE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B4968DE15AE20C77D8C241C97FB9FC1C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_EDF01880F1BCEFC4AE0241C97FB955EE" xlink:to="loc_us-gaap_ClassOfStockDomain_B4968DE15AE20C77D8C241C97FB9FC1C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_B4968DE15AE20C77D8C241C97FB9FC1C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_EDF01880F1BCEFC4AE0241C97FB955EE" xlink:to="loc_us-gaap_ClassOfStockDomain_B4968DE15AE20C77D8C241C97FB9FC1C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_200FF3AA26DCEEAD413B41C97FB9F631" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_B4968DE15AE20C77D8C241C97FB9FC1C" xlink:to="loc_us-gaap_CommonClassAMember_200FF3AA26DCEEAD413B41C97FB9F631" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_4FD5030ADE6F633D457D41C97FB97684" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_4FD5030ADE6F633D457D41C97FB97684" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_43FE11D6416786E886ED41C97FB9A27B_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_4FD5030ADE6F633D457D41C97FB97684" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_43FE11D6416786E886ED41C97FB9A27B_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_43FE11D6416786E886ED41C97FB9A27B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_4FD5030ADE6F633D457D41C97FB97684" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_43FE11D6416786E886ED41C97FB9A27B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_9049574D8FBFB361748241C97FB9EC30" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_43FE11D6416786E886ED41C97FB9A27B" xlink:to="loc_agm_OnBalanceSheetMember_9049574D8FBFB361748241C97FB9EC30" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OffBalanceSheetMember" xlink:label="loc_agm_OffBalanceSheetMember_210CB49D9AFC533A9D9441C97FB9FA6D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_43FE11D6416786E886ED41C97FB9A27B" xlink:to="loc_agm_OffBalanceSheetMember_210CB49D9AFC533A9D9441C97FB9FA6D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_087A77B42368A5B1776741C97FB97199" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_087A77B42368A5B1776741C97FB97199" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F498613ADFCEE09BD95A41C97FB9F796_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_087A77B42368A5B1776741C97FB97199" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F498613ADFCEE09BD95A41C97FB9F796_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F498613ADFCEE09BD95A41C97FB9F796" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_087A77B42368A5B1776741C97FB97199" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F498613ADFCEE09BD95A41C97FB9F796" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_60D8A1C59D47A1F015B541C97FB9BC3B" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F498613ADFCEE09BD95A41C97FB9F796" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_60D8A1C59D47A1F015B541C97FB9BC3B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevolvingCreditFacilityMember" xlink:label="loc_us-gaap_RevolvingCreditFacilityMember_05AFE11BF813C32B084E41C97FB9C9A9" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_F498613ADFCEE09BD95A41C97FB9F796" xlink:to="loc_us-gaap_RevolvingCreditFacilityMember_05AFE11BF813C32B084E41C97FB9C9A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_5078B0EB108D3C998A5741C97FB9F4D1" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_5078B0EB108D3C998A5741C97FB9F4D1" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BBF237E57837BD5140A941C97FB966BB_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_5078B0EB108D3C998A5741C97FB9F4D1" xlink:to="loc_us-gaap_SegmentDomain_BBF237E57837BD5140A941C97FB966BB_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_BBF237E57837BD5140A941C97FB966BB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_5078B0EB108D3C998A5741C97FB9F4D1" xlink:to="loc_us-gaap_SegmentDomain_BBF237E57837BD5140A941C97FB966BB" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RuralUtilitiesMember" xlink:label="loc_agm_RuralUtilitiesMember_C37DE1A795840960C8BC41C97FBAC7AC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BBF237E57837BD5140A941C97FB966BB" xlink:to="loc_agm_RuralUtilitiesMember_C37DE1A795840960C8BC41C97FBAC7AC" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_DFDC8205CCD6587C5E4641C97FBAB1D3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_BBF237E57837BD5140A941C97FB966BB" xlink:to="loc_agm_InstitutionalCreditMemberMember_DFDC8205CCD6587C5E4641C97FBAB1D3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_57B04F4B3208FE6B442641C97FBA77C6" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_57B04F4B3208FE6B442641C97FBA77C6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E2C503A7991422CEF44741C97FBA33D2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_57B04F4B3208FE6B442641C97FBA77C6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E2C503A7991422CEF44741C97FBA33D2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E2C503A7991422CEF44741C97FBA33D2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_57B04F4B3208FE6B442641C97FBA77C6" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E2C503A7991422CEF44741C97FBA33D2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RealEstateLoanMember" xlink:label="loc_us-gaap_RealEstateLoanMember_D546F81738C3CC7ACC3D41C97FBAAA98" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E2C503A7991422CEF44741C97FBA33D2" xlink:to="loc_us-gaap_RealEstateLoanMember_D546F81738C3CC7ACC3D41C97FBAAA98" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMember" xlink:label="loc_us-gaap_GuaranteeObligationsMember_2917823F2943FFCC109941C97FBA219F" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_E2C503A7991422CEF44741C97FBA33D2" xlink:to="loc_us-gaap_GuaranteeObligationsMember_2917823F2943FFCC109941C97FBA219F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AD7907441798FF0AF25F41C97FBA8E80" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_FBF1466F26B087D5ADC441C97FB81763" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AD7907441798FF0AF25F41C97FBA8E80" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_7D34713CF876474F465F41C97FBAEA80_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AD7907441798FF0AF25F41C97FBA8E80" xlink:to="loc_us-gaap_RelatedPartyDomain_7D34713CF876474F465F41C97FBAEA80_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_7D34713CF876474F465F41C97FBAEA80" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_AD7907441798FF0AF25F41C97FBA8E80" xlink:to="loc_us-gaap_RelatedPartyDomain_7D34713CF876474F465F41C97FBAEA80" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CfcMember" xlink:label="loc_agm_CfcMember_3F2756101F2B0A34674241C97FBA713C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_7D34713CF876474F465F41C97FBAEA80" xlink:to="loc_agm_CfcMember_3F2756101F2B0A34674241C97FBA713C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommonStockOwnershipPercentageByRelatedParty" xlink:label="loc_agm_CommonStockOwnershipPercentageByRelatedParty_6F075A05CA43905C81AD41C97FBA93B8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_agm_CommonStockOwnershipPercentageByRelatedParty_6F075A05CA43905C81AD41C97FBA93B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_7015CEAD2118E941B01C41C97FBA0D46" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_7015CEAD2118E941B01C41C97FBA0D46" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram" xlink:label="loc_agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram_C46833979E2A56BADEB441C97FBA5B3B" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram_C46833979E2A56BADEB441C97FBA5B3B" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness" xlink:label="loc_agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness_71BF528DA53F1FC17F9E41C97FBB4CAB" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness_71BF528DA53F1FC17F9E41C97FBB4CAB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_742371B70891F39C114A41C97FBBD58A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_RelatedPartyTransactionOtherRevenuesFromTransactionsWithRelatedParty_742371B70891F39C114A41C97FBBD58A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_DueFromRelatedParties" xlink:label="loc_us-gaap_DueFromRelatedParties_BBF4AF69EF329F2706D341C97FBB7CDB" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_DueFromRelatedParties_BBF4AF69EF329F2706D341C97FBB7CDB" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InterestIncomeRelatedParty" xlink:label="loc_us-gaap_InterestIncomeRelatedParty_1C6D9D88C6AC99DFFA4641C97FBB40B5" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_InterestIncomeRelatedParty_1C6D9D88C6AC99DFFA4641C97FBB40B5" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsReceivableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_998A06DB119847D5C69641C97FBB5D9E" xlink:type="locator" />
    <definitionArc order="8" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_998A06DB119847D5C69641C97FBB5D9E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevenueFromRelatedParties" xlink:label="loc_us-gaap_RevenueFromRelatedParties_8904E4AF4697864CAFBA41C97FBBC9A9" xlink:type="locator" />
    <definitionArc order="9" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_RevenueFromRelatedParties_8904E4AF4697864CAFBA41C97FBBC9A9" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_EF0E6DE7AA9A2B86E68E41C97FBBF65F" xlink:type="locator" />
    <definitionArc order="10" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_B4A7199218DDBBC6E23C41C97FBA5C1F" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_EF0E6DE7AA9A2B86E68E41C97FBBF65F" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsOtherRelatedPartyTransactionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_DDA5B1313EDE096BDF7C419FE8BA4B62" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_StatementClassOfStockAxis_DDA5B1313EDE096BDF7C419FE8BA4B62" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6A3241007AF04D8EADD8419FE8BA32F7_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_DDA5B1313EDE096BDF7C419FE8BA4B62" xlink:to="loc_us-gaap_ClassOfStockDomain_6A3241007AF04D8EADD8419FE8BA32F7_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_6A3241007AF04D8EADD8419FE8BA32F7" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_DDA5B1313EDE096BDF7C419FE8BA4B62" xlink:to="loc_us-gaap_ClassOfStockDomain_6A3241007AF04D8EADD8419FE8BA32F7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassBMember" xlink:label="loc_us-gaap_CommonClassBMember_620130D11059B88E6010419FE8BA9307" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_6A3241007AF04D8EADD8419FE8BA32F7" xlink:to="loc_us-gaap_CommonClassBMember_620130D11059B88E6010419FE8BA9307" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentTypeAxis" xlink:label="loc_us-gaap_InvestmentTypeAxis_880DDDC298B5D33C38A0419FE8BAAC0B" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_InvestmentTypeAxis_880DDDC298B5D33C38A0419FE8BAAC0B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1AA3AAB9B8E8D6BBEA6F419FE8BA97A2_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_InvestmentTypeAxis_880DDDC298B5D33C38A0419FE8BAAC0B" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1AA3AAB9B8E8D6BBEA6F419FE8BA97A2_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_InvestmentTypeCategorizationMember" xlink:label="loc_us-gaap_InvestmentTypeCategorizationMember_1AA3AAB9B8E8D6BBEA6F419FE8BA97A2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_InvestmentTypeAxis_880DDDC298B5D33C38A0419FE8BAAC0B" xlink:to="loc_us-gaap_InvestmentTypeCategorizationMember_1AA3AAB9B8E8D6BBEA6F419FE8BA97A2" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FloatingInterestRateMember" xlink:label="loc_agm_FloatingInterestRateMember_89BB6FCF02A135CD9B56419FE8BA7F57" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_InvestmentTypeCategorizationMember_1AA3AAB9B8E8D6BBEA6F419FE8BA97A2" xlink:to="loc_agm_FloatingInterestRateMember_89BB6FCF02A135CD9B56419FE8BA7F57" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_CF6CA79CBDF9BCC5D2F5419FE8BA1515" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_CF6CA79CBDF9BCC5D2F5419FE8BA1515" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D693D0C2B9A4FF29B572419FE8BA5AC6_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_CF6CA79CBDF9BCC5D2F5419FE8BA1515" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D693D0C2B9A4FF29B572419FE8BA5AC6_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D693D0C2B9A4FF29B572419FE8BA5AC6" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_CF6CA79CBDF9BCC5D2F5419FE8BA1515" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D693D0C2B9A4FF29B572419FE8BA5AC6" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C779AD650C8CC15F9C94419FE8BAFB03" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D693D0C2B9A4FF29B572419FE8BA5AC6" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_C779AD650C8CC15F9C94419FE8BAFB03" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SubordinatedDebtMember" xlink:label="loc_us-gaap_SubordinatedDebtMember_7F6E340AC6EAF82A2020419FE8BA3E02" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_D693D0C2B9A4FF29B572419FE8BA5AC6" xlink:to="loc_us-gaap_SubordinatedDebtMember_7F6E340AC6EAF82A2020419FE8BA3E02" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsByNatureAxis" xlink:label="loc_us-gaap_GuaranteeObligationsByNatureAxis_84A4C4C5159017936570419FE8BB8868" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_GuaranteeObligationsByNatureAxis_84A4C4C5159017936570419FE8BB8868" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_953B0532943BCFDBD38D419FE8BBE321_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_84A4C4C5159017936570419FE8BB8868" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_953B0532943BCFDBD38D419FE8BBE321_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsNatureDomain" xlink:label="loc_us-gaap_GuaranteeObligationsNatureDomain_953B0532943BCFDBD38D419FE8BBE321" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_GuaranteeObligationsByNatureAxis_84A4C4C5159017936570419FE8BB8868" xlink:to="loc_us-gaap_GuaranteeObligationsNatureDomain_953B0532943BCFDBD38D419FE8BBE321" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_GuaranteeObligationsMember" xlink:label="loc_us-gaap_GuaranteeObligationsMember_ABD29360B4A22F260708419FE8BBED29" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_GuaranteeObligationsNatureDomain_953B0532943BCFDBD38D419FE8BBE321" xlink:to="loc_us-gaap_GuaranteeObligationsMember_ABD29360B4A22F260708419FE8BBED29" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_78D127459E7A66116982419FE8BB695B" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_78D127459E7A66116982419FE8BB695B" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6161169CD83A5704F323419FE8BBA94C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_78D127459E7A66116982419FE8BB695B" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6161169CD83A5704F323419FE8BBA94C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6161169CD83A5704F323419FE8BBA94C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_78D127459E7A66116982419FE8BB695B" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6161169CD83A5704F323419FE8BBA94C" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgagesMember" xlink:label="loc_us-gaap_MortgagesMember_CBC7F8C05315EA493026419FE8BBADFD" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_6161169CD83A5704F323419FE8BBA94C" xlink:to="loc_us-gaap_MortgagesMember_CBC7F8C05315EA493026419FE8BBADFD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_0D596BCFCC9F0F97CDAB419FE8BBBE08" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_0D596BCFCC9F0F97CDAB419FE8BBBE08" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_2B5085DBB20BB3B976C5419FE8BB495C_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_0D596BCFCC9F0F97CDAB419FE8BBBE08" xlink:to="loc_us-gaap_SegmentDomain_2B5085DBB20BB3B976C5419FE8BB495C_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_2B5085DBB20BB3B976C5419FE8BB495C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_0D596BCFCC9F0F97CDAB419FE8BBBE08" xlink:to="loc_us-gaap_SegmentDomain_2B5085DBB20BB3B976C5419FE8BB495C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_B7582B631735A59D5B8A419FE8BB5A3C" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_2B5085DBB20BB3B976C5419FE8BB495C" xlink:to="loc_agm_FarmRanchMember_B7582B631735A59D5B8A419FE8BB5A3C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UsdaGuaranteeMember" xlink:label="loc_agm_UsdaGuaranteeMember_0E55204BDBD5AFDD92C9419FE8BB5199" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_2B5085DBB20BB3B976C5419FE8BB495C" xlink:to="loc_agm_UsdaGuaranteeMember_0E55204BDBD5AFDD92C9419FE8BB5199" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_F7235A59645DCCC4A936419FE8BB05D7" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_D5D9C74486B22DF854BA419FE8BAA0BD" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_F7235A59645DCCC4A936419FE8BB05D7" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_F7235A59645DCCC4A936419FE8BB05D7" xlink:to="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_F7235A59645DCCC4A936419FE8BB05D7" xlink:to="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AgfirstFarmCreditBankMember" xlink:label="loc_agm_AgfirstFarmCreditBankMember_ACEF4482C03CB2E53763419FE8BBBA32" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:to="loc_agm_AgfirstFarmCreditBankMember_ACEF4482C03CB2E53763419FE8BBBA32" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FirstDakotaBankMember" xlink:label="loc_agm_FirstDakotaBankMember_47D7247F1774AE3749F9419FE8BBC131" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:to="loc_agm_FirstDakotaBankMember_47D7247F1774AE3749F9419FE8BBC131" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_BathStateBankMember" xlink:label="loc_agm_BathStateBankMember_6F0187BD38AC0DA466F6419FE8BC255E" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:to="loc_agm_BathStateBankMember_6F0187BD38AC0DA466F6419FE8BC255E" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_AggeorgiaMember" xlink:label="loc_agm_AggeorgiaMember_CD69BC40A8114378C7CC419FE8BCC4B6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:to="loc_agm_AggeorgiaMember_CD69BC40A8114378C7CC419FE8BCC4B6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CobankAcbMember" xlink:label="loc_agm_CobankAcbMember_9715310623634BE8C561419FE8BC860A" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_25912E1B69DF90626BB6419FE8BB4C26" xlink:to="loc_agm_CobankAcbMember_9715310623634BE8C561419FE8BC860A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_AccountsReceivableRelatedPartiesCurrent" xlink:label="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_D82B49C5C52355DE2E58419FE8BC230F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_us-gaap_AccountsReceivableRelatedPartiesCurrent_D82B49C5C52355DE2E58419FE8BC230F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_CF7618512B1FEAD38C49419FE8BCBA3D" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_CF7618512B1FEAD38C49419FE8BCBA3D" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_BBBEC2864DFF33CA7779419FE8BC6482" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_BBBEC2864DFF33CA7779419FE8BC6482" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RevenueFromRelatedParties" xlink:label="loc_us-gaap_RevenueFromRelatedParties_C62931F5F2B05536D681419FE8BCE1B2" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_us-gaap_RevenueFromRelatedParties_C62931F5F2B05536D681419FE8BCE1B2" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_NotesReceivableRelatedParties" xlink:label="loc_us-gaap_NotesReceivableRelatedParties_6965AD0074B7D72C9302419FE8BC31F7" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_us-gaap_NotesReceivableRelatedParties_6965AD0074B7D72C9302419FE8BC31F7" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommonStockOwnershipPercentageByRelatedParty" xlink:label="loc_agm_CommonStockOwnershipPercentageByRelatedParty_5B1DBD93205C881AA04B419FE8BCAE18" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_6FA61F16C1D56232A03C419FE8BCB4FC" xlink:to="loc_agm_CommonStockOwnershipPercentageByRelatedParty_5B1DBD93205C881AA04B419FE8BCAE18" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactions" xlink:type="extended" />
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsRelatedPartyTransactionsTables" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_91C4AC43F3E9766DD657419FE91E9D46" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9EDD7EC1C2EE30B9CE20419FE91E4BDB" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_91C4AC43F3E9766DD657419FE91E9D46" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9EDD7EC1C2EE30B9CE20419FE91E4BDB" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B27D8A2FC90DE73F5127419FE91E1040" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_9EDD7EC1C2EE30B9CE20419FE91E4BDB" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B27D8A2FC90DE73F5127419FE91E1040" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_EA6DEA5F6B60B4ECB0B7419FE91E0D78_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B27D8A2FC90DE73F5127419FE91E1040" xlink:to="loc_us-gaap_RelatedPartyDomain_EA6DEA5F6B60B4ECB0B7419FE91E0D78_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_EA6DEA5F6B60B4ECB0B7419FE91E0D78" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B27D8A2FC90DE73F5127419FE91E1040" xlink:to="loc_us-gaap_RelatedPartyDomain_EA6DEA5F6B60B4ECB0B7419FE91E0D78" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ZionsFirstNationalBankMember" xlink:label="loc_agm_ZionsFirstNationalBankMember_2DA3D35E6632685C74DF419FE91E8589" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_EA6DEA5F6B60B4ECB0B7419FE91E0D78" xlink:to="loc_agm_ZionsFirstNationalBankMember_2DA3D35E6632685C74DF419FE91E8589" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CfcMember" xlink:label="loc_agm_CfcMember_807198D02F1195F49D33419FE91E95FD" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_EA6DEA5F6B60B4ECB0B7419FE91E0D78" xlink:to="loc_agm_CfcMember_807198D02F1195F49D33419FE91E95FD" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_CE9F3762B25550395FD5419FE91E8AF2" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_91C4AC43F3E9766DD657419FE91E9D46" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsTableTextBlock_CE9F3762B25550395FD5419FE91E8AF2" xlink:type="arc" />
  </definitionLink>
  <definitionLink xlink:role="http://www.farmermac.com/role/RelatedPartyTransactionsZionsDetails" xlink:type="extended">
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionLineItems" xlink:label="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:type="locator" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable" xlink:label="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/all" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:type="arc" xbrldt:closed="true" xbrldt:contextElement="segment" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementClassOfStockAxis" xlink:label="loc_us-gaap_StatementClassOfStockAxis_7468F10BFA2A5CD970D9419FE9185B2E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_StatementClassOfStockAxis_7468F10BFA2A5CD970D9419FE9185B2E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_82F44F3EAC284653A317419FE918CB6E_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7468F10BFA2A5CD970D9419FE9185B2E" xlink:to="loc_us-gaap_ClassOfStockDomain_82F44F3EAC284653A317419FE918CB6E_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_ClassOfStockDomain" xlink:label="loc_us-gaap_ClassOfStockDomain_82F44F3EAC284653A317419FE918CB6E" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementClassOfStockAxis_7468F10BFA2A5CD970D9419FE9185B2E" xlink:to="loc_us-gaap_ClassOfStockDomain_82F44F3EAC284653A317419FE918CB6E" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_CommonClassAMember" xlink:label="loc_us-gaap_CommonClassAMember_FFE498E0CE0D54745EDA419FE918277F" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_ClassOfStockDomain_82F44F3EAC284653A317419FE918CB6E" xlink:to="loc_us-gaap_CommonClassAMember_FFE498E0CE0D54745EDA419FE918277F" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationAxis" xlink:label="loc_us-gaap_BalanceSheetLocationAxis_8FD00480FB6D8F5B492B419FE9183995" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_BalanceSheetLocationAxis_8FD00480FB6D8F5B492B419FE9183995" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_3B9DAA57AFB6C6C3C241419FE918F431_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_8FD00480FB6D8F5B492B419FE9183995" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_3B9DAA57AFB6C6C3C241419FE918F431_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_BalanceSheetLocationDomain" xlink:label="loc_us-gaap_BalanceSheetLocationDomain_3B9DAA57AFB6C6C3C241419FE918F431" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_BalanceSheetLocationAxis_8FD00480FB6D8F5B492B419FE9183995" xlink:to="loc_us-gaap_BalanceSheetLocationDomain_3B9DAA57AFB6C6C3C241419FE918F431" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_OnBalanceSheetMember" xlink:label="loc_agm_OnBalanceSheetMember_7B2744FDB3A69D86213B419FE919D082" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_BalanceSheetLocationDomain_3B9DAA57AFB6C6C3C241419FE918F431" xlink:to="loc_agm_OnBalanceSheetMember_7B2744FDB3A69D86213B419FE919D082" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9B5DE5AFDF1B0F037D66419FE919A849" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9B5DE5AFDF1B0F037D66419FE919A849" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8B2E6408C2BB57A8F162419FE9197959_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9B5DE5AFDF1B0F037D66419FE919A849" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8B2E6408C2BB57A8F162419FE9197959_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain" xlink:label="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8B2E6408C2BB57A8F162419FE9197959" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesAxis_9B5DE5AFDF1B0F037D66419FE919A849" xlink:to="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8B2E6408C2BB57A8F162419FE9197959" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_719C90A1DBB72BF5AF11419FE919C487" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8B2E6408C2BB57A8F162419FE9197959" xlink:to="loc_us-gaap_USGovernmentSponsoredEnterprisesDebtSecuritiesMember_719C90A1DBB72BF5AF11419FE919C487" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_USGovernmentAgenciesDebtSecuritiesMember" xlink:label="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_387711AF389AB7729F1A419FE91918A3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_MajorTypesOfDebtAndEquitySecuritiesDomain_8B2E6408C2BB57A8F162419FE9197959" xlink:to="loc_us-gaap_USGovernmentAgenciesDebtSecuritiesMember_387711AF389AB7729F1A419FE91918A3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F84B59097A9AA3DA452E419FE919F3B8" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F84B59097A9AA3DA452E419FE919F3B8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_678D35173BFBE2F27225419FE919FCFE_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F84B59097A9AA3DA452E419FE919F3B8" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_678D35173BFBE2F27225419FE919FCFE_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain" xlink:label="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_678D35173BFBE2F27225419FE919FCFE" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentByClassOfFinancingReceivableAxis_F84B59097A9AA3DA452E419FE919F3B8" xlink:to="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_678D35173BFBE2F27225419FE919FCFE" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MortgagesMember" xlink:label="loc_us-gaap_MortgagesMember_028496BE52B81008BFCE419FE9199D4A" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_FinancingReceivableRecordedInvestmentClassOfFinancingReceivableDomain_678D35173BFBE2F27225419FE919FCFE" xlink:to="loc_us-gaap_MortgagesMember_028496BE52B81008BFCE419FE9199D4A" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_StatementBusinessSegmentsAxis" xlink:label="loc_us-gaap_StatementBusinessSegmentsAxis_8727DDD4391CBC1074CA419FE9193AD3" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_StatementBusinessSegmentsAxis_8727DDD4391CBC1074CA419FE9193AD3" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8727DDD4391CBC1074CA419FE9193AD3" xlink:to="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_SegmentDomain" xlink:label="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_StatementBusinessSegmentsAxis_8727DDD4391CBC1074CA419FE9193AD3" xlink:to="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_FarmRanchMember" xlink:label="loc_agm_FarmRanchMember_AC17BD7001D47D953BB8419FE919A603" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145" xlink:to="loc_agm_FarmRanchMember_AC17BD7001D47D953BB8419FE919A603" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_UsdaGuaranteeMember" xlink:label="loc_agm_UsdaGuaranteeMember_8C91D77D4C5E0AD7EB03419FE919F87C" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145" xlink:to="loc_agm_UsdaGuaranteeMember_8C91D77D4C5E0AD7EB03419FE919F87C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_InstitutionalCreditMemberMember" xlink:label="loc_agm_InstitutionalCreditMemberMember_5B90E80BEB4422E7AAF1419FE9193E41" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_SegmentDomain_9855EDD44CA0854DED9D419FE9195145" xlink:to="loc_agm_InstitutionalCreditMemberMember_5B90E80BEB4422E7AAF1419FE9193E41" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionsByRelatedPartyAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B4B5F3C8E38799C1C8D0419FE9194725" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B4B5F3C8E38799C1C8D0419FE9194725" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_0B346F0E91784D421933419FE91A7C95_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B4B5F3C8E38799C1C8D0419FE9194725" xlink:to="loc_us-gaap_RelatedPartyDomain_0B346F0E91784D421933419FE91A7C95_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyDomain" xlink:label="loc_us-gaap_RelatedPartyDomain_0B346F0E91784D421933419FE91A7C95" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionsByRelatedPartyAxis_B4B5F3C8E38799C1C8D0419FE9194725" xlink:to="loc_us-gaap_RelatedPartyDomain_0B346F0E91784D421933419FE91A7C95" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_ZionsFirstNationalBankMember" xlink:label="loc_agm_ZionsFirstNationalBankMember_0349D44D6742E097F9FF419FE91A4BAC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyDomain_0B346F0E91784D421933419FE91A7C95" xlink:to="loc_agm_ZionsFirstNationalBankMember_0349D44D6742E097F9FF419FE91A4BAC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionAxis" xlink:label="loc_us-gaap_RelatedPartyTransactionAxis_6B3A9ACD152F8CDAF2E3419FE91A5231" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/hypercube-dimension" xlink:from="loc_us-gaap_ScheduleOfRelatedPartyTransactionsByRelatedPartyTable_1607A786F31BFEF52653419FE9182A8D" xlink:to="loc_us-gaap_RelatedPartyTransactionAxis_6B3A9ACD152F8CDAF2E3419FE91A5231" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_06A0665C5D34ACE77E76419FE91A9C08_default" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-default" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_6B3A9ACD152F8CDAF2E3419FE91A5231" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_06A0665C5D34ACE77E76419FE91A9C08_default" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionDomain" xlink:label="loc_us-gaap_RelatedPartyTransactionDomain_06A0665C5D34ACE77E76419FE91A9C08" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/dimension-domain" xlink:from="loc_us-gaap_RelatedPartyTransactionAxis_6B3A9ACD152F8CDAF2E3419FE91A5231" xlink:to="loc_us-gaap_RelatedPartyTransactionDomain_06A0665C5D34ACE77E76419FE91A9C08" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_SaleOfFarmerMacGuaranteedSecuritiesMember" xlink:label="loc_agm_SaleOfFarmerMacGuaranteedSecuritiesMember_F3B5554D0B267DA359B8419FE91A77EC" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_06A0665C5D34ACE77E76419FE91A9C08" xlink:to="loc_agm_SaleOfFarmerMacGuaranteedSecuritiesMember_F3B5554D0B267DA359B8419FE91A77EC" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_MediumTermNotesMember" xlink:label="loc_us-gaap_MediumTermNotesMember_EC0014C68ED16F7E455F419FE91A74C3" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionDomain_06A0665C5D34ACE77E76419FE91A9C08" xlink:to="loc_us-gaap_MediumTermNotesMember_EC0014C68ED16F7E455F419FE91A74C3" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_CommonStockOwnershipPercentageByRelatedParty" xlink:label="loc_agm_CommonStockOwnershipPercentageByRelatedParty_D510CEE6453B7FC58C4B419FE91AB5E8" xlink:type="locator" />
    <definitionArc order="1" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_agm_CommonStockOwnershipPercentageByRelatedParty_D510CEE6453B7FC58C4B419FE91AB5E8" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_961ED992A62CF8D3AF98419FE91ABF38" xlink:type="locator" />
    <definitionArc order="2" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_us-gaap_RelatedPartyTransactionPurchasesFromRelatedParty_961ED992A62CF8D3AF98419FE91ABF38" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionAmountsOfTransaction" xlink:label="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_1A4050A68BBD3CEB6533419FE91A1759" xlink:type="locator" />
    <definitionArc order="3" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_us-gaap_RelatedPartyTransactionAmountsOfTransaction_1A4050A68BBD3CEB6533419FE91A1759" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgramLoans" xlink:label="loc_agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgramLoans_9B02FBC9B6806CED8112419FE91AFAD6" xlink:type="locator" />
    <definitionArc order="4" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgramLoans_9B02FBC9B6806CED8112419FE91AFAD6" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram" xlink:label="loc_agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram_ABC32D314F04B7187D3C419FE91A520C" xlink:type="locator" />
    <definitionArc order="5" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_agm_RelatedPartyTransactionRelatedPartysPercentOfTotalProgram_ABC32D314F04B7187D3C419FE91A520C" xlink:type="arc" />
    <loc xlink:href="agm-20151231.xsd#agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness" xlink:label="loc_agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness_15CFC843FC03CD4B769C419FE91A8DFF" xlink:type="locator" />
    <definitionArc order="6" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_agm_RelatedPartysPercentOfFarmerMacTotalOutstandingBookOfBusiness_15CFC843FC03CD4B769C419FE91A8DFF" xlink:type="arc" />
    <loc xlink:href="http://xbrl.fasb.org/us-gaap/2015/elts/us-gaap-2015-01-31.xsd#us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty" xlink:label="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_4A3FD4A4FDD751FCB116419FE91A8FC0" xlink:type="locator" />
    <definitionArc order="7" xlink:arcrole="http://xbrl.org/int/dim/arcrole/domain-member" xlink:from="loc_us-gaap_RelatedPartyTransactionLineItems_97352E80CFAFBE479B3F419FE91A1FDE" xlink:to="loc_us-gaap_RelatedPartyTransactionExpensesFromTransactionsWithRelatedParty_4A3FD4A4FDD751FCB116419FE91A8FC0" xlink:type="arc" />
  </definitionLink>
</linkbase>


