v3.26.3
Cover - shares
3 Months Ended
Sep. 30, 2026
Nov. 09, 2026
Document Information [Line Items]    
Document Quarterly Report true  
Document Type 10-Q  
Document Transition Report false  
Entity Interactive Data Current Yes  
Amendment Flag false  
Document Period End Date Sep. 30, 2026  
Document Fiscal Year Focus 2027  
Document Fiscal Period Focus Q1  
Entity Registrant Name ESPEY MFG. & ELECTRONICS CORP.  
Entity Central Index Key 0000033533  
Entity Tax Identification Number 14-1387171  
Current Fiscal Year End Date --06-30  
Entity Current Reporting Status Yes  
Entity Filer Category Non-accelerated Filer  
Entity File Number 1-4383  
Entity Shell Company false  
Entity Emerging Growth Company false  
Entity Small Business true  
Entity Incorporation, State or Country Code NY  
Entity Address, Address Line One 233 Ballston Avenue  
Entity Address, City or Town Saratoga Springs  
Entity Address, State or Province NY  
Entity Address, Postal Zip Code 12866  
City Area Code 518  
Local Phone Number 245-4400  
Title of 12(b) Security Common Stock $.33-1/3 par value  
Trading Symbol ESP  
Security Exchange Name NYSEAMER  
Entity Common Stock, Shares Outstanding   3,039,672