XML 13 R1.htm IDEA: XBRL DOCUMENT v3.21.1
Document and Entity Information - shares
9 Months Ended
Mar. 31, 2021
May 13, 2021
Document And Entity Information [Abstract]    
Entity Registrant Name ESPEY MFG & ELECTRONICS CORP  
Entity Central Index Key 0000033533  
Document Type 10-Q  
Document Period End Date Mar. 31, 2021  
Amendment Flag false  
Current Fiscal Year End Date --06-30  
Entity Filer Category Non-accelerated Filer  
Entity Small Business true  
Entity Emerging Growth Company false  
Document Fiscal Period Focus Q3  
Document Fiscal Year Focus 2021  
Entity Common Stock, Shares Outstanding   2,702,633
Entity Current Reporting Status Yes  
Entity Interactive Data Current Yes  
Entity File Number 1-4383  
Entity Incorportion, State or Country Code NY  
Entity Shell Company false