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

    FILER:

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

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

    	BUSINESS ADDRESS:
    		STREET 1:		2100 PENNSYLVANIA AVE NW
    		STREET 2:		SUITE 450N
    		CITY:			WASHINGTON
    		STATE:			DC
    		ZIP:			20037
    		BUSINESS PHONE:		2028727700

    	MAIL ADDRESS:
    		STREET 1:		2100 PENNSYLVANIA AVE NW
    		STREET 2:		SUITE 450N
    		CITY:			WASHINGTON
    		STATE:			DC
    		ZIP:			20037
    </SEC-HEADER>
    <DOCUMENT>
    <TYPE>8-K
    <SEQUENCE>1
    <FILENAME>agm-20240805.htm
    <DESCRIPTION>8-K
    <TEXT>
    Document 1 - file: agm-20240805.htm

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>38
    <FILENAME>equitypresentationsecond031.jpg
    <TEXT>
    Document 38 - file: equitypresentationsecond031.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>39
    <FILENAME>equitypresentationsecond032.jpg
    <TEXT>
    Document 39 - file: equitypresentationsecond032.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>40
    <FILENAME>equitypresentationsecond033.jpg
    <TEXT>
    Document 40 - file: equitypresentationsecond033.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>41
    <FILENAME>equitypresentationsecond034.jpg
    <TEXT>
    Document 41 - file: equitypresentationsecond034.jpg

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>GRAPHIC
    <SEQUENCE>42
    <FILENAME>farmermaclogo.jpg
    <TEXT>
    Document 42 - file: farmermaclogo.jpg

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

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

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

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

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

    Document 49 - RAW XML: FilingSummary.xml

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

    </DOCUMENT>
    <DOCUMENT>
    <TYPE>ZIP
    <SEQUENCE>53
    <FILENAME>0000845877-24-000200-xbrl.zip
    <DESCRIPTION>IDEA: XBRL DOCUMENT
    <TEXT>
    Document 53 - file: 0000845877-24-000200-xbrl.zip

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

    Document 54 - RAW XML: agm-20240805_htm.xml

    </DOCUMENT>
    </SEC-DOCUMENT>