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

<!--XBRL Document Created with the Workiva Platform-->
<!--Copyright 2026 Workiva-->
<!--r:019caf6e-897d-781d-8759-42ef7d04286a,g:0fa2f34b-f1e8-4351-b8e7-115e7d658f34-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:link="http://www.xbrl.org/2003/linkbase" xmlns:agm="http://www.farmermac.com/20260331" xmlns:xbrli="http://www.xbrl.org/2003/instance" xmlns:dtr-types="http://www.xbrl.org/dtr/type/2024-01-31" xmlns:xbrldt="http://xbrl.org/2005/xbrldt" attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://www.farmermac.com/20260331">
  <xs:import namespace="http://fasb.org/srt/2025" schemaLocation="https://xbrl.fasb.org/srt/2025/elts/srt-2025.xsd"/>
  <xs:import namespace="http://fasb.org/us-gaap/2025" schemaLocation="https://xbrl.fasb.org/us-gaap/2025/elts/us-gaap-2025.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/instance" schemaLocation="http://www.xbrl.org/2003/xbrl-instance-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/2003/linkbase" schemaLocation="http://www.xbrl.org/2003/xbrl-linkbase-2003-12-31.xsd"/>
  <xs:import namespace="http://www.xbrl.org/dtr/type/2024-01-31" schemaLocation="https://www.xbrl.org/dtr/type/2024-01-31/types.xsd"/>
  <xs:import namespace="http://xbrl.org/2005/xbrldt" schemaLocation="http://www.xbrl.org/2005/xbrldt-2005.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/dei/2025" schemaLocation="https://xbrl.sec.gov/dei/2025/dei-2025.xsd"/>
  <xs:import namespace="http://xbrl.sec.gov/ecd/2025" schemaLocation="https://xbrl.sec.gov/ecd/2025/ecd-2025.xsd"/>
  <xs:annotation>
    <xs:appinfo>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="agm-20260331_pre.xml" xlink:role="http://www.xbrl.org/2003/role/presentationLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="agm-20260331_def.xml" xlink:role="http://www.xbrl.org/2003/role/definitionLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="agm-20260331_lab.xml" xlink:role="http://www.xbrl.org/2003/role/labelLinkbaseRef" xlink:type="simple"/>
      <link:linkbaseRef xmlns:xlink="http://www.w3.org/1999/xlink" xlink:arcrole="http://www.w3.org/1999/xlink/properties/linkbase" xlink:href="agm-20260331_cal.xml" xlink:role="http://www.xbrl.org/2003/role/calculationLinkbaseRef" xlink:type="simple"/>
      <link:roleType id="COVERPAGE" roleURI="http://www.farmermac.com/role/COVERPAGE">
        <link:definition>0000001 - Document - COVER PAGE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETSunaudited" roleURI="http://www.farmermac.com/role/CONSOLIDATEDBALANCESHEETSunaudited">
        <link:definition>9952151 - Statement - CONSOLIDATED BALANCE SHEETS (unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDBALANCESHEETSunauditedParenthetical" roleURI="http://www.farmermac.com/role/CONSOLIDATEDBALANCESHEETSunauditedParenthetical">
        <link:definition>9952152 - Statement - CONSOLIDATED BALANCE SHEETS (unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited" roleURI="http://www.farmermac.com/role/CONSOLIDATEDSTATEMENTSOFOPERATIONSunaudited">
        <link:definition>9952153 - Statement - CONSOLIDATED STATEMENTS OF OPERATIONS (unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEunaudited" roleURI="http://www.farmermac.com/role/CONSOLIDATEDSTATEMENTSOFCOMPREHENSIVEINCOMEunaudited">
        <link:definition>9952154 - Statement - CONSOLIDATED STATEMENTS OF COMPREHENSIVE INCOME (unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFEQUITYunaudited" roleURI="http://www.farmermac.com/role/CONSOLIDATEDSTATEMENTSOFEQUITYunaudited">
        <link:definition>9952155 - Statement - CONSOLIDATED STATEMENTS OF EQUITY (unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFEQUITYunauditedParenthetical" roleURI="http://www.farmermac.com/role/CONSOLIDATEDSTATEMENTSOFEQUITYunauditedParenthetical">
        <link:definition>9952156 - Statement - CONSOLIDATED STATEMENTS OF EQUITY (unaudited) (Parenthetical)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="CONSOLIDATEDSTATEMENTSOFCASHFLOWSunaudited" roleURI="http://www.farmermac.com/role/CONSOLIDATEDSTATEMENTSOFCASHFLOWSunaudited">
        <link:definition>9952157 - Statement - CONSOLIDATED STATEMENTS OF CASH FLOWS (unaudited)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIES">
        <link:definition>9952158 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIES" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIES">
        <link:definition>9952159 - Disclosure - INVESTMENT SECURITIES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVES" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVES">
        <link:definition>9952160 - Disclosure - FINANCIAL DERIVATIVES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANS" roleURI="http://www.farmermac.com/role/LOANS">
        <link:definition>9952161 - Disclosure - LOANS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GUARANTEESANDCOMMITMENTS" roleURI="http://www.farmermac.com/role/GUARANTEESANDCOMMITMENTS">
        <link:definition>9952162 - Disclosure - GUARANTEES AND COMMITMENTS</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NOTESPAYABLE" roleURI="http://www.farmermac.com/role/NOTESPAYABLE">
        <link:definition>9952163 - Disclosure - NOTES PAYABLE</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EQUITY" roleURI="http://www.farmermac.com/role/EQUITY">
        <link:definition>9952164 - Disclosure - EQUITY</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FAIRVALUEDISCLOSURES" roleURI="http://www.farmermac.com/role/FAIRVALUEDISCLOSURES">
        <link:definition>9952165 - Disclosure - FAIR VALUE DISCLOSURES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BUSINESSSEGMENTREPORTING" roleURI="http://www.farmermac.com/role/BUSINESSSEGMENTREPORTING">
        <link:definition>9952166 - Disclosure - BUSINESS SEGMENT REPORTING</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INCOMETAXES" roleURI="http://www.farmermac.com/role/INCOMETAXES">
        <link:definition>9952167 - Disclosure - INCOME TAXES</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESPolicies">
        <link:definition>9955511 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Policies)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESTables">
        <link:definition>9955512 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIESTables" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIESTables">
        <link:definition>9955513 - Disclosure - INVESTMENT SECURITIES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVESTables" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVESTables">
        <link:definition>9955514 - Disclosure - FINANCIAL DERIVATIVES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSTables" roleURI="http://www.farmermac.com/role/LOANSTables">
        <link:definition>9955515 - Disclosure - LOANS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GUARANTEESANDCOMMITMENTSTables" roleURI="http://www.farmermac.com/role/GUARANTEESANDCOMMITMENTSTables">
        <link:definition>9955516 - Disclosure - GUARANTEES AND COMMITMENTS (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NOTESPAYABLETables" roleURI="http://www.farmermac.com/role/NOTESPAYABLETables">
        <link:definition>9955517 - Disclosure - NOTES PAYABLE (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FAIRVALUEDISCLOSURESTables" roleURI="http://www.farmermac.com/role/FAIRVALUEDISCLOSURESTables">
        <link:definition>9955518 - Disclosure - FAIR VALUE DISCLOSURES (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BUSINESSSEGMENTREPORTINGTables" roleURI="http://www.farmermac.com/role/BUSINESSSEGMENTREPORTINGTables">
        <link:definition>9955519 - Disclosure - BUSINESS SEGMENT REPORTING (Tables)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESNarrativeDetails">
        <link:definition>9955520 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofConsolidationofVariableInterestEntitiesDetails" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofConsolidationofVariableInterestEntitiesDetails">
        <link:definition>9955521 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Consolidation of Variable Interest Entities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofEarningsPerCommonShareDetails" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofEarningsPerCommonShareDetails">
        <link:definition>9955522 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Earnings Per Common Share (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccumulatedOtherComprehensiveIncomeNetofTaxDetails" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofAccumulatedOtherComprehensiveIncomeNetofTaxDetails">
        <link:definition>9955523 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Accumulated Other Comprehensive Income, Net of Tax (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofReclassificationoutofAccumulatedOtherComprehensiveIncomeDetails" roleURI="http://www.farmermac.com/role/SUMMARYOFSIGNIFICANTACCOUNTINGPOLICIESScheduleofReclassificationoutofAccumulatedOtherComprehensiveIncomeDetails">
        <link:definition>9955524 - Disclosure - SUMMARY OF SIGNIFICANT ACCOUNTING POLICIES - Schedule of Reclassification out of Accumulated Other Comprehensive Income (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIESScheduleofFarmerMacInvestmentSecuritiesDetails" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIESScheduleofFarmerMacInvestmentSecuritiesDetails">
        <link:definition>9955525 - Disclosure - INVESTMENT SECURITIES - Schedule of Farmer Mac Investment Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIESNarrativeDetails" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIESNarrativeDetails">
        <link:definition>9955526 - Disclosure - INVESTMENT SECURITIES - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIESScheduleofUnrealizedLossesonAvailableforSaleInvestmentSecuritiesDetails" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIESScheduleofUnrealizedLossesonAvailableforSaleInvestmentSecuritiesDetails">
        <link:definition>9955527 - Disclosure - INVESTMENT SECURITIES - Schedule of Unrealized Losses on Available-for-Sale Investment Securities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIESScheduleofAFSSecuritiesMaturitiesDetails" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIESScheduleofAFSSecuritiesMaturitiesDetails">
        <link:definition>9955528 - Disclosure - INVESTMENT SECURITIES - Schedule of AFS Securities Maturities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INVESTMENTSECURITIESScheduleofHTMSecuritiesMaturitiesDetails" roleURI="http://www.farmermac.com/role/INVESTMENTSECURITIESScheduleofHTMSecuritiesMaturitiesDetails">
        <link:definition>9955529 - Disclosure - INVESTMENT SECURITIES - Schedule of HTM Securities Maturities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVESNarrativeDetails" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVESNarrativeDetails">
        <link:definition>9955530 - Disclosure - FINANCIAL DERIVATIVES - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVESScheduleofDerivativeInstrumentsinStatementofFinancialPositionDetails" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVESScheduleofDerivativeInstrumentsinStatementofFinancialPositionDetails">
        <link:definition>9955531 - Disclosure - FINANCIAL DERIVATIVES - Schedule of Derivative Instruments in Statement of Financial Position (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVESScheduleofNetIncomeExpenseRecognizedDetails" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVESScheduleofNetIncomeExpenseRecognizedDetails">
        <link:definition>9955532 - Disclosure - FINANCIAL DERIVATIVES - Schedule of Net Income/(Expense) Recognized (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVESScheduleofHedgedItemsinFairValueHedgingRelationshipsDetails" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVESScheduleofHedgedItemsinFairValueHedgingRelationshipsDetails">
        <link:definition>9955533 - Disclosure - FINANCIAL DERIVATIVES - Schedule of Hedged Items in Fair Value Hedging Relationships (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FINANCIALDERIVATIVESScheduleofFairValueofFinancialAssetsandLiabilitiesDetails" roleURI="http://www.farmermac.com/role/FINANCIALDERIVATIVESScheduleofFairValueofFinancialAssetsandLiabilitiesDetails">
        <link:definition>9955534 - Disclosure - FINANCIAL DERIVATIVES - Schedule of Fair Value of Financial Assets and Liabilities (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSNarrativeDetails" roleURI="http://www.farmermac.com/role/LOANSNarrativeDetails">
        <link:definition>9955535 - Disclosure - LOANS - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSScheduleofCompositionofLoanBalancesDetails" roleURI="http://www.farmermac.com/role/LOANSScheduleofCompositionofLoanBalancesDetails">
        <link:definition>9955536 - Disclosure - LOANS - Schedule of Composition of Loan Balances (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSScheduleofAllowanceforLossesDetails" roleURI="http://www.farmermac.com/role/LOANSScheduleofAllowanceforLossesDetails">
        <link:definition>9955537 - Disclosure - LOANS - Schedule of Allowance for Losses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSSummaryofChangesinAllowanceforLossesDetails" roleURI="http://www.farmermac.com/role/LOANSSummaryofChangesinAllowanceforLossesDetails">
        <link:definition>9955538 - Disclosure - LOANS - Summary of Changes in Allowance for Losses (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSScheduleofUnpaidPrincipalBalancesbyDelinquencyStatusDetails" roleURI="http://www.farmermac.com/role/LOANSScheduleofUnpaidPrincipalBalancesbyDelinquencyStatusDetails">
        <link:definition>9955539 - Disclosure - LOANS - Schedule of Unpaid Principal Balances by Delinquency Status (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="LOANSScheduleofFinancingReceivablesCreditQualityIndicatorsDetails" roleURI="http://www.farmermac.com/role/LOANSScheduleofFinancingReceivablesCreditQualityIndicatorsDetails">
        <link:definition>9955540 - Disclosure - LOANS - Schedule of Financing Receivables Credit Quality Indicators (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="GUARANTEESANDCOMMITMENTSDetails" roleURI="http://www.farmermac.com/role/GUARANTEESANDCOMMITMENTSDetails">
        <link:definition>9955541 - Disclosure - GUARANTEES AND COMMITMENTS (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NOTESPAYABLENarrativeDetails" roleURI="http://www.farmermac.com/role/NOTESPAYABLENarrativeDetails">
        <link:definition>9955542 - Disclosure - NOTES PAYABLE - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NOTESPAYABLEBorrowingsDetails" roleURI="http://www.farmermac.com/role/NOTESPAYABLEBorrowingsDetails">
        <link:definition>9955543 - Disclosure - NOTES PAYABLE - Borrowings (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NOTESPAYABLECallableMediumTermNotesDetails" roleURI="http://www.farmermac.com/role/NOTESPAYABLECallableMediumTermNotesDetails">
        <link:definition>9955544 - Disclosure - NOTES PAYABLE - Callable Medium-Term Notes (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="NOTESPAYABLEEarliestInterestResetDateofBorrowingOutstandingDetails" roleURI="http://www.farmermac.com/role/NOTESPAYABLEEarliestInterestResetDateofBorrowingOutstandingDetails">
        <link:definition>9955545 - Disclosure - NOTES PAYABLE - Earliest Interest Reset Date of Borrowing Outstanding (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="EQUITYDetails" roleURI="http://www.farmermac.com/role/EQUITYDetails">
        <link:definition>9955546 - Disclosure - EQUITY (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FAIRVALUEDISCLOSURESScheduleofFairValueMeasurementsDetails" roleURI="http://www.farmermac.com/role/FAIRVALUEDISCLOSURESScheduleofFairValueMeasurementsDetails">
        <link:definition>9955547 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Fair Value Measurements (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FAIRVALUEDISCLOSURESScheduleofUnobservableInputReconciliationDetails" roleURI="http://www.farmermac.com/role/FAIRVALUEDISCLOSURESScheduleofUnobservableInputReconciliationDetails">
        <link:definition>9955548 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Unobservable Input Reconciliation (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FAIRVALUEDISCLOSURESScheduleofFairValueInputsAssetsandLiabilitiesQuantitativeInformationDetails" roleURI="http://www.farmermac.com/role/FAIRVALUEDISCLOSURESScheduleofFairValueInputsAssetsandLiabilitiesQuantitativeInformationDetails">
        <link:definition>9955549 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Fair Value Inputs, Assets and Liabilities, Quantitative Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="FAIRVALUEDISCLOSURESScheduleofFairValuebyBalanceSheetGroupingDetails" roleURI="http://www.farmermac.com/role/FAIRVALUEDISCLOSURESScheduleofFairValuebyBalanceSheetGroupingDetails">
        <link:definition>9955550 - Disclosure - FAIR VALUE DISCLOSURES - Schedule of Fair Value, by Balance Sheet Grouping (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BUSINESSSEGMENTREPORTINGNarrativeDetails" roleURI="http://www.farmermac.com/role/BUSINESSSEGMENTREPORTINGNarrativeDetails">
        <link:definition>9955551 - Disclosure - BUSINESS SEGMENT REPORTING - Narrative (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="BUSINESSSEGMENTREPORTINGScheduleofSegmentReportingInformationDetails" roleURI="http://www.farmermac.com/role/BUSINESSSEGMENTREPORTINGScheduleofSegmentReportingInformationDetails">
        <link:definition>9955552 - Disclosure - BUSINESS SEGMENT REPORTING - Schedule of Segment Reporting Information (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
      <link:roleType id="INCOMETAXESDetails" roleURI="http://www.farmermac.com/role/INCOMETAXESDetails">
        <link:definition>9955553 - Disclosure - INCOME TAXES (Details)</link:definition>
        <link:usedOn>link:presentationLink</link:usedOn>
        <link:usedOn>link:calculationLink</link:usedOn>
        <link:usedOn>link:definitionLink</link:usedOn>
      </link:roleType>
    </xs:appinfo>
  </xs:annotation>
  <xs:element id="agm_DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" abstract="false" name="DebtSecuritiesHeldToMaturityAmortizedCostExcludingAccruedInterestBeforeAllowanceForCreditLoss" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossHeldInTrust" abstract="false" name="FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossHeldInTrust" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtNetOfHedgingAdjustments" abstract="false" name="LongTermDebtNetOfHedgingAdjustments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LiabilitiesHeldInTrust" abstract="false" name="LiabilitiesHeldInTrust" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_RegulatoryFees" abstract="false" name="RegulatoryFees" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_NoninterestExpenseExcludingLoanLeaseAndOtherLosses" abstract="false" name="NoninterestExpenseExcludingLoanLeaseAndOtherLosses" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_OtherComprehensiveIncomeLossHeldToMaturitySecuritiesBeforeTax" abstract="false" name="OtherComprehensiveIncomeLossHeldToMaturitySecuritiesBeforeTax" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_FarmerMacAndUsdaGuaranteedSecuritiesMember" abstract="true" name="FarmerMacAndUsdaGuaranteedSecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_NetChangeInFairValueTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale" abstract="false" name="NetChangeInFairValueTradingSecuritiesHedgedAssetsFinancialDerivativesAndLoansHeldForSale" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_ProvisionForLoanLeaseAndOtherLossesNoncash" abstract="false" name="ProvisionForLoanLeaseAndOtherLossesNoncash" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_PaymentsToAcquireTaxCredits" abstract="false" name="PaymentsToAcquireTaxCredits" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_PaymentsToThirdPartiesOnDebtSecuritiesOfConsolidatedTrusts" abstract="false" name="PaymentsToThirdPartiesOnDebtSecuritiesOfConsolidatedTrusts" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_NoncashOrPartNoncashAcquisitionLoansAcquired" abstract="false" name="NoncashOrPartNoncashAcquisitionLoansAcquired" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_HedgedItemsInFairValueHedgingRelationshipsTableTextBlock" abstract="false" name="HedgedItemsInFairValueHedgingRelationshipsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="agm_ScheduleOfLongTermStandbyPurchaseCommitmentsTableTextBlock" abstract="false" name="ScheduleOfLongTermStandbyPurchaseCommitmentsTableTextBlock" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:textBlockItemType"/>
  <xs:element id="agm_NumberOfSubsidiaries" abstract="false" name="NumberOfSubsidiaries" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:integerItemType"/>
  <xs:element id="agm_WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor" abstract="false" name="WeightedAverageRemainingMaturityLoansUnderlyingGuaranteesNotHeldByTransferor" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:durationItemType"/>
  <xs:element id="agm_StockAppreciationRightsAndRestrictedStockMember" abstract="true" name="StockAppreciationRightsAndRestrictedStockMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements" abstract="false" name="EarningsPerShareOnIncrementalCommonSharesAttributableToShareBasedPaymentArrangements" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:perShareItemType"/>
  <xs:element id="agm_AOCIAccumulatedGainLossDebtSecuritiesHeldToMaturityParentMember" abstract="true" name="AOCIAccumulatedGainLossDebtSecuritiesHeldToMaturityParentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_ScheduleOfAvailableForSaleAndTradingSecuritiesTable" abstract="true" name="ScheduleOfAvailableForSaleAndTradingSecuritiesTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="agm_AgVantageSecuritiesMember" abstract="true" name="AgVantageSecuritiesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems" abstract="true" name="ScheduleOfAvailableForSaleAndTradingSecuritiesLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" abstract="true" name="AvailableforsaleSecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesYearSixThroughTenWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield" abstract="false" name="AvailableForSaleSecuritiesDebtMaturitiesWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_HeldToMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" abstract="true" name="HeldToMaturitySecuritiesDebtMaturitiesWeightedAverageYieldSingleMaturityDateAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_HeldToMaturitySecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" abstract="false" name="HeldToMaturitySecuritiesDebtMaturitiesNextTwelveMonthsWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_HeldToMaturitySecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" abstract="false" name="HeldToMaturitySecuritiesDebtMaturitiesYearTwoThroughFiveWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsWeightedAverageYield" abstract="false" name="HeldToMaturitySecuritiesDebtMaturitiesAfterFiveThroughTenYearsWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield" abstract="false" name="HeldToMaturitySecuritiesDebtMaturitiesAfterTenYearsWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_HeldToMaturitySecuritiesDebtMaturitiesWeightedAverageYield" abstract="false" name="HeldToMaturitySecuritiesDebtMaturitiesWeightedAverageYield" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_ClearedSwapsMember" abstract="true" name="ClearedSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_UnclearedSwapsMember" abstract="true" name="UnclearedSwapsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_FinanceReceivableAccruedInterestPayable" abstract="false" name="FinanceReceivableAccruedInterestPayable" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_InterestRateSwapReceiveFixedNonCallableMember" abstract="true" name="InterestRateSwapReceiveFixedNonCallableMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_InterestRateSwapPayFixedNonCallableMember" abstract="true" name="InterestRateSwapPayFixedNonCallableMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_InterestRateSwapReceiveFixedCallableMember" abstract="true" name="InterestRateSwapReceiveFixedCallableMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DerivativeWeightedAverageForwardPrice" abstract="false" name="DerivativeWeightedAverageForwardPrice" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:perShareItemType"/>
  <xs:element id="agm_InterestRevenueExpenseNetMember" abstract="true" name="InterestRevenueExpenseNetMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_TotalAmountsOfLineItemsPresentedInTheConsolidatedStatementOfIncome" abstract="false" name="TotalAmountsOfLineItemsPresentedInTheConsolidatedStatementOfIncome" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DerivativeNetInterestSettlements" abstract="false" name="DerivativeNetInterestSettlements" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_HedgedItemNetInterestSettlements" abstract="false" name="HedgedItemNetInterestSettlements" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_PremiumDiscountRecognizedOnHedgedInstrument" abstract="false" name="PremiumDiscountRecognizedOnHedgedInstrument" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_IncomeExpenseInterestSettlementsFairValueHedges" abstract="false" name="IncomeExpenseInterestSettlementsFairValueHedges" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DerivativeNetHedgeIneffectivenessGainLossComponentRecognizedOnHedgedItem" abstract="false" name="DerivativeNetHedgeIneffectivenessGainLossComponentRecognizedOnHedgedItem" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_HedgedItemsinFairValueHedgingRelationshipTable" abstract="true" name="HedgedItemsinFairValueHedgingRelationshipTable" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:hypercubeItem" type="xbrli:stringItemType"/>
  <xs:element id="agm_DebtSecuritiesAvailableForSaleMember" abstract="true" name="DebtSecuritiesAvailableForSaleMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_HedgedItemsinFairValueHedgingRelationshipLineItems" abstract="true" name="HedgedItemsinFairValueHedgingRelationshipLineItems" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_UnclearedDerivativesMember" abstract="true" name="UnclearedDerivativesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_ClearedDerivativesMember" abstract="true" name="ClearedDerivativesMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DerivativeLiabilityIncludingNotSubjectToMasterNettingArrangementAfterOffsetAndDeductionNetAmount" abstract="false" name="DerivativeLiabilityIncludingNotSubjectToMasterNettingArrangementAfterOffsetAndDeductionNetAmount" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DerivativeCollateralExceedingDerivativePositionAdditionalNetExposureToCounterparty" abstract="false" name="DerivativeCollateralExceedingDerivativePositionAdditionalNetExposureToCounterparty" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DerivativeCollateralExceedingDerivativePositionAdditionalNetExposureFromCounterparty" abstract="false" name="DerivativeCollateralExceedingDerivativePositionAdditionalNetExposureFromCounterparty" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_AgriculturalFinanceMember" abstract="true" name="AgriculturalFinanceMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_InfrastructureFinanceMember" abstract="true" name="InfrastructureFinanceMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_AgricultureFinanceFarmAndRanchSegmentMember" abstract="true" name="AgricultureFinanceFarmAndRanchSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_AgricultureFinanceCorporateAgFinanceSegmentMember" abstract="true" name="AgricultureFinanceCorporateAgFinanceSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_UnsecuritizedMember" abstract="true" name="UnsecuritizedMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_InConsolidatedTrustsMember" abstract="true" name="InConsolidatedTrustsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossAndLoansHeldForSaleFairValueDisclosure" abstract="false" name="FinancingReceivableExcludingAccruedInterestBeforeAllowanceForCreditLossAndLoansHeldForSaleFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_FinancingReceivableOriginatedInCurrentFiscalYearAbstract" abstract="true" name="FinancingReceivableOriginatedInCurrentFiscalYearAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearAbstract" abstract="true" name="FinancingReceivableOriginatedInFiscalYearBeforeLatestFiscalYearAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearAbstract" abstract="true" name="FinancingReceivableOriginatedTwoYearsBeforeLatestFiscalYearAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearAbstract" abstract="true" name="FinancingReceivableOriginatedThreeYearsBeforeLatestFiscalYearAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearAbstract" abstract="true" name="FinancingReceivableOriginatedFourYearsBeforeLatestFiscalYearAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearAbstract" abstract="true" name="FinancingReceivableOriginatedFiveOrMoreYearsBeforeLatestFiscalYearAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_FinancingReceivableRevolvingAbstract" abstract="true" name="FinancingReceivableRevolvingAbstract" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_UnrecordedMaximumPotentialExposureOnGuaranteesAxis" abstract="true" name="UnrecordedMaximumPotentialExposureOnGuaranteesAxis" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrldt:dimensionItem" type="xbrli:stringItemType"/>
  <xs:element id="agm_UnrecordedMaximumPotentialExposureOnGuaranteesDomain" abstract="true" name="UnrecordedMaximumPotentialExposureOnGuaranteesDomain" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_GuaranteeobligationsissuedafterJanuary12003Member" abstract="true" name="GuaranteeobligationsissuedafterJanuary12003Member" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_LongTermStandbyPurchaseCommitmentsMember" abstract="true" name="LongTermStandbyPurchaseCommitmentsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_ReserveForLosses" abstract="false" name="ReserveForLosses" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_MediumTermNotesCalledDuringThePeriod" abstract="false" name="MediumTermNotesCalledDuringThePeriod" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DebtInstrumentRedemptionAfterPeriodFiveMember" abstract="true" name="DebtInstrumentRedemptionAfterPeriodFiveMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DebtInstrumentRedemptionAfterOneYearMember" abstract="true" name="DebtInstrumentRedemptionAfterOneYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_LongTermDebtHedgingAdjustments" abstract="false" name="LongTermDebtHedgingAdjustments" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DueYearOneMember" abstract="true" name="DueYearOneMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DueYearTwoMember" abstract="true" name="DueYearTwoMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DueYearThreeMember" abstract="true" name="DueYearThreeMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DueYearFourMember" abstract="true" name="DueYearFourMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DueAfterYearFourMember" abstract="true" name="DueAfterYearFourMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_LongTermDebtMaturityAfterYearFour" abstract="false" name="LongTermDebtMaturityAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_DueWithinOneYearMember" abstract="true" name="DueWithinOneYearMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_DueAfterFourYearsMember" abstract="true" name="DueAfterFourYearsMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateResetMaturityReminderOfTheFiscalYear" abstract="false" name="LongTermDebtWithInterestRateResetMaturityReminderOfTheFiscalYear" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateResetMaturityYearOne" abstract="false" name="LongTermDebtWithInterestRateResetMaturityYearOne" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateResetMaturityYearTwo" abstract="false" name="LongTermDebtWithInterestRateResetMaturityYearTwo" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateResetMaturityYearThree" abstract="false" name="LongTermDebtWithInterestRateResetMaturityYearThree" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateResetMaturityYearFour" abstract="false" name="LongTermDebtWithInterestRateResetMaturityYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateResetMaturityAfterYearFour" abstract="false" name="LongTermDebtWithInterestRateResetMaturityAfterYearFour" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_LongTermDebtWithInterestRateReset" abstract="false" name="LongTermDebtWithInterestRateReset" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalAssets" abstract="false" name="FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalAssets" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalFinancialInstrumentsMeasuredAtFairValue" abstract="false" name="FairValueAssetsAndLiabilitiesFairValueAsPercentOfTotalFinancialInstrumentsMeasuredAtFairValue" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="dtr-types:percentItemType"/>
  <xs:element id="agm_FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAllowanceForCreditLoss" abstract="false" name="FairValueMeasurementWithUnobservableInputsReconciliationRecurringBasisAssetAllowanceForCreditLoss" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleListNotDisclosedFlag" abstract="false" name="FairValueRecurringBasisUnobservableInputReconciliationAssetGainLossStatementOfIncomeExtensibleListNotDisclosedFlag" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:stringItemType"/>
  <xs:element id="agm_OtherAssetMeasurementInput" abstract="false" name="OtherAssetMeasurementInput" nillable="true" xbrli:periodType="instant" substitutionGroup="xbrli:item" type="xbrli:decimalItemType"/>
  <xs:element id="agm_MarketableSecuritiesFairValueDisclosure" abstract="false" name="MarketableSecuritiesFairValueDisclosure" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_VariableInterestEntityConsolidatedFairValueDisclosureLiabilities" abstract="false" name="VariableInterestEntityConsolidatedFairValueDisclosureLiabilities" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_RuralInfrastructurePowerUtilitiesSegmentMember" abstract="true" name="RuralInfrastructurePowerUtilitiesSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_RuralInfrastructureBroadbandInfrastructureSegmentMember" abstract="true" name="RuralInfrastructureBroadbandInfrastructureSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_RuralInfrastructureFinanceRenewableEnergySegmentMember" abstract="true" name="RuralInfrastructureFinanceRenewableEnergySegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_TreasurySegmentMember" abstract="true" name="TreasurySegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_TreasuryFundingSegmentMember" abstract="true" name="TreasuryFundingSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_TreasuryInvestmentsSegmentMember" abstract="true" name="TreasuryInvestmentsSegmentMember" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="dtr-types:domainItemType"/>
  <xs:element id="agm_ReconcilingAdjustmentsFromNetInterestIncomeToNetEffectiveSpreadNet" abstract="false" name="ReconcilingAdjustmentsFromNetInterestIncomeToNetEffectiveSpreadNet" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_NetEffectiveSpread" abstract="false" name="NetEffectiveSpread" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissionsAdjusted" abstract="false" name="InvestmentBankingAdvisoryBrokerageAndUnderwritingFeesAndCommissionsAdjusted" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_OtherNonInterestIncomeExpenseAdjusted" abstract="false" name="OtherNonInterestIncomeExpenseAdjusted" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversalAdjusted" abstract="false" name="FinancingReceivableExcludingAccruedInterestCreditLossExpenseReversalAdjusted" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_NoninterestExpenseExcludingLoanLeaseAndOtherLossesAdjusted" abstract="false" name="NoninterestExpenseExcludingLoanLeaseAndOtherLossesAdjusted" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_IncomeTaxExpenseBenefitAdjusted" abstract="false" name="IncomeTaxExpenseBenefitAdjusted" nillable="true" xbrli:periodType="duration" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_SegmentCoreEarnings" abstract="false" name="SegmentCoreEarnings" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_NetEffectsOfDerivativesAndTradingSecurities" abstract="false" name="NetEffectsOfDerivativesAndTradingSecurities" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_IncomeTaxEffectRelatedToReconcilingItems" abstract="false" name="IncomeTaxEffectRelatedToReconcilingItems" nillable="true" xbrli:periodType="duration" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance" abstract="false" name="OnAndOffBalanceSheetProgramAssetsAtPrincipalBalance" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_OffBalanceSheetProgramAssets" abstract="false" name="OffBalanceSheetProgramAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="credit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_UnallocatedAssets" abstract="false" name="UnallocatedAssets" nillable="true" xbrli:periodType="instant" xbrli:balance="debit" substitutionGroup="xbrli:item" type="xbrli:monetaryItemType"/>
  <xs:element id="agm_InvestmentTaxCreditPricePerCredit" abstract="false" name="InvestmentTaxCreditPricePerCredit" nillable="true" xbrli:periodType="duration" substitutionGroup="xbrli:item" type="xbrli:decimalItemType"/>
</xs:schema>
