XML 13 R1.htm IDEA: XBRL DOCUMENT v3.23.3
Document And Entity Information - USD ($)
12 Months Ended
Jun. 30, 2023
Sep. 19, 2023
Dec. 31, 2022
Document Information Line Items      
Entity Registrant Name ESPEY MFG. & ELECTRONICS CORP.    
Trading Symbol ESP    
Document Type 10-K    
Current Fiscal Year End Date --06-30    
Entity Common Stock, Shares Outstanding   2,706,633  
Entity Public Float     $ 27,145,853
Amendment Flag false    
Entity Central Index Key 0000033533    
Entity Current Reporting Status Yes    
Entity Voluntary Filers No    
Entity Filer Category Non-accelerated Filer    
Entity Well-known Seasoned Issuer No    
Document Period End Date Jun. 30, 2023    
Document Fiscal Year Focus 2023    
Document Fiscal Period Focus FY    
Entity Small Business true    
Entity Emerging Growth Company false    
Entity Shell Company false    
ICFR Auditor Attestation Flag false    
Document Annual Report true    
Document Transition Report false    
Entity File Number 1-4383    
Entity Incorporation, State or Country Code NY    
Entity Tax Identification Number 14-1387171    
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 584-4100    
Title of 12(b) Security Common Stock $.33-1/3 par value    
Security Exchange Name NYSE    
Entity Interactive Data Current Yes    
Document Financial Statement Error Correction [Flag] false    
Auditor Firm ID 317    
Auditor Name Freed Maxick CPAs, P.C.    
Auditor Location Buffalo, New York