XML 11 R1.htm IDEA: XBRL DOCUMENT v3.20.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2020
Aug. 13, 2020
Entity [Abstract]    
Entity Registrant Name Security Federal Corporation  
Document Type 10-Q  
Document Period End Date Jun. 30, 2020  
Amendment Flag false  
Entity Emerging Growth Company false  
Entity Small Business true  
Entity Central Index Key 0000818677  
Current Fiscal Year End Date --12-31  
Entity Common Stock, Shares Outstanding   3,252,884
Entity Filer Category Non-accelerated Filer  
Document Fiscal Year Focus 2020  
Document Fiscal Period Focus Q2  
Document Quarterly Report true  
Document Transition Report false