XML 11 R1.htm IDEA: XBRL DOCUMENT v3.19.2
Document and Entity Information - shares
6 Months Ended
Jun. 30, 2019
Aug. 13, 2019
Entity [Abstract]    
Entity Registrant Name Security Federal Corporation  
Document Type 10-Q  
Document Period End Date Jun. 30, 2019  
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   2,955,925
Entity Filer Category Non-accelerated Filer  
Document Fiscal Year Focus 2019  
Document Fiscal Period Focus Q2  
Entity Shell Company false  
Entity Current Reporting Status Yes