    <SEC-DOCUMENT>0000845877-23-000176-index.html : 20230807
    <SEC-HEADER>0000845877-23-000176.hdr.sgml : 20230807
    <ACCEPTANCE-DATETIME>20230807080145
    ACCESSION NUMBER:		0000845877-23-000176
    CONFORMED SUBMISSION TYPE:	8-K
    PUBLIC DOCUMENT COUNT:		45
    CONFORMED PERIOD OF REPORT:	20230807
    ITEM INFORMATION:		Results of Operations and Financial Condition
    ITEM INFORMATION:		Regulation FD Disclosure
    ITEM INFORMATION:		Financial Statements and Exhibits
    FILED AS OF DATE:		20230807
    DATE AS OF CHANGE:		20230807

    FILER:

    	COMPANY DATA:
    		COMPANY CONFORMED NAME:			FEDERAL AGRICULTURAL MORTGAGE CORP
    		CENTRAL INDEX KEY:			0000845877
    		STANDARD INDUSTRIAL CLASSIFICATION:	FEDERAL & FEDERALLY-SPONSORED CREDIT AGENCIES [6111]
    		IRS NUMBER:				521578738
    		FISCAL YEAR END:			1231

    	FILING VALUES:
    		FORM TYPE:		8-K
    		SEC ACT:		1934 Act
    		SEC FILE NUMBER:	001-14951
    		FILM NUMBER:		231145710

    	BUSINESS ADDRESS:
    		STREET 1:		1999 K STREET NW,
    		STREET 2:		4TH FLOOR
    		CITY:			WASHINGTON
    		STATE:			DC
    		ZIP:			20006
    		BUSINESS PHONE:		2028727700

    	MAIL ADDRESS:
    		STREET 1:		1999 K STREET NW,
    		STREET 2:		4TH FLOOR
    		CITY:			WASHINGTON
    		STATE:			DC
    		ZIP:			20006
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>8-K
    <SEQUENCE>1
    <FILENAME>agm-20230807.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: agm-20230807.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.1
    <SEQUENCE>2
    <FILENAME>a2023q2pressrelease.htm
    <DESCRIPTION>EX-99.1
    <TEXT>
    Document 2 - file: a2023q2pressrelease.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-99.2
    <SEQUENCE>3
    <FILENAME>a2q23equitypresentation.htm
    <DESCRIPTION>EX-99.2
    <TEXT>
    Document 3 - file: a2q23equitypresentation.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.SCH
    <SEQUENCE>4
    <FILENAME>agm-20230807.xsd
    <DESCRIPTION>XBRL TAXONOMY EXTENSION SCHEMA DOCUMENT
    <TEXT>
    Document 4 - file: agm-20230807.xsd

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.DEF
    <SEQUENCE>5
    <FILENAME>agm-20230807_def.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION DEFINITION LINKBASE DOCUMENT
    <TEXT>
    Document 5 - file: agm-20230807_def.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.LAB
    <SEQUENCE>6
    <FILENAME>agm-20230807_lab.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION LABEL LINKBASE DOCUMENT
    <TEXT>
    Document 6 - file: agm-20230807_lab.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EX-101.PRE
    <SEQUENCE>7
    <FILENAME>agm-20230807_pre.xml
    <DESCRIPTION>XBRL TAXONOMY EXTENSION PRESENTATION LINKBASE DOCUMENT
    <TEXT>
    Document 7 - file: agm-20230807_pre.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>8
    <FILENAME>a2q23equitypresentation001.jpg
    <TEXT>
    Document 8 - file: a2q23equitypresentation001.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>9
    <FILENAME>a2q23equitypresentation002.jpg
    <TEXT>
    Document 9 - file: a2q23equitypresentation002.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>10
    <FILENAME>a2q23equitypresentation003.jpg
    <TEXT>
    Document 10 - file: a2q23equitypresentation003.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>11
    <FILENAME>a2q23equitypresentation004.jpg
    <TEXT>
    Document 11 - file: a2q23equitypresentation004.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>12
    <FILENAME>a2q23equitypresentation005.jpg
    <TEXT>
    Document 12 - file: a2q23equitypresentation005.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>13
    <FILENAME>a2q23equitypresentation006.jpg
    <TEXT>
    Document 13 - file: a2q23equitypresentation006.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>14
    <FILENAME>a2q23equitypresentation007.jpg
    <TEXT>
    Document 14 - file: a2q23equitypresentation007.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>15
    <FILENAME>a2q23equitypresentation008.jpg
    <TEXT>
    Document 15 - file: a2q23equitypresentation008.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>16
    <FILENAME>a2q23equitypresentation009.jpg
    <TEXT>
    Document 16 - file: a2q23equitypresentation009.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>17
    <FILENAME>a2q23equitypresentation010.jpg
    <TEXT>
    Document 17 - file: a2q23equitypresentation010.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>18
    <FILENAME>a2q23equitypresentation011.jpg
    <TEXT>
    Document 18 - file: a2q23equitypresentation011.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>19
    <FILENAME>a2q23equitypresentation012.jpg
    <TEXT>
    Document 19 - file: a2q23equitypresentation012.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>20
    <FILENAME>a2q23equitypresentation013.jpg
    <TEXT>
    Document 20 - file: a2q23equitypresentation013.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>21
    <FILENAME>a2q23equitypresentation014.jpg
    <TEXT>
    Document 21 - file: a2q23equitypresentation014.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>22
    <FILENAME>a2q23equitypresentation015.jpg
    <TEXT>
    Document 22 - file: a2q23equitypresentation015.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>23
    <FILENAME>a2q23equitypresentation016.jpg
    <TEXT>
    Document 23 - file: a2q23equitypresentation016.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>24
    <FILENAME>a2q23equitypresentation017.jpg
    <TEXT>
    Document 24 - file: a2q23equitypresentation017.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>25
    <FILENAME>a2q23equitypresentation018.jpg
    <TEXT>
    Document 25 - file: a2q23equitypresentation018.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>26
    <FILENAME>a2q23equitypresentation019.jpg
    <TEXT>
    Document 26 - file: a2q23equitypresentation019.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>27
    <FILENAME>a2q23equitypresentation020.jpg
    <TEXT>
    Document 27 - file: a2q23equitypresentation020.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>28
    <FILENAME>a2q23equitypresentation021.jpg
    <TEXT>
    Document 28 - file: a2q23equitypresentation021.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>29
    <FILENAME>a2q23equitypresentation022.jpg
    <TEXT>
    Document 29 - file: a2q23equitypresentation022.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>30
    <FILENAME>a2q23equitypresentation023.jpg
    <TEXT>
    Document 30 - file: a2q23equitypresentation023.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>31
    <FILENAME>a2q23equitypresentation024.jpg
    <TEXT>
    Document 31 - file: a2q23equitypresentation024.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>32
    <FILENAME>a2q23equitypresentation025.jpg
    <TEXT>
    Document 32 - file: a2q23equitypresentation025.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>33
    <FILENAME>a2q23equitypresentation026.jpg
    <TEXT>
    Document 33 - file: a2q23equitypresentation026.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>34
    <FILENAME>a2q23equitypresentation027.jpg
    <TEXT>
    Document 34 - file: a2q23equitypresentation027.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>35
    <FILENAME>a2q23equitypresentation028.jpg
    <TEXT>
    Document 35 - file: a2q23equitypresentation028.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>36
    <FILENAME>a2q23equitypresentation029.jpg
    <TEXT>
    Document 36 - file: a2q23equitypresentation029.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>37
    <FILENAME>fmactaglinehorzlogo16a.jpg
    <TEXT>
    Document 37 - file: fmactaglinehorzlogo16a.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>38
    <FILENAME>R1.htm
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 38 - file: R1.htm

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>39
    <FILENAME>agm-20230807_htm.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 39 - file: agm-20230807_htm.html

    Document 39 - RAW XML: agm-20230807_htm.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>EXCEL
    <SEQUENCE>40
    <FILENAME>Financial_Report.xlsx
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 40 - file: Financial_Report.xlsx

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>41
    <FILENAME>Show.js
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 41 - file: Show.js

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>42
    <FILENAME>report.css
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 42 - file: report.css

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>XML
    <SEQUENCE>43
    <FILENAME>FilingSummary.xml
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 43 - file: FilingSummary.html

    Document 43 - RAW XML: FilingSummary.xml

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>JSON
    <SEQUENCE>46
    <FILENAME>MetaLinks.json
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 46 - file: MetaLinks.json

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>47
    <FILENAME>0000845877-23-000176-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 47 - file: 0000845877-23-000176-xbrl.zip

    </DOCUMENT>
    </SEC-DOCUMENT>