Document and Entity Information - USD ($)
12 Months Ended
Dec. 31, 2021
Mar. 01, 2022
Jun. 30, 2021
Document and Entity Information [Abstract]      
Amendment Flag false    
Document Period End Date Dec. 31, 2021    
Document Fiscal Year Focus 2021    
Document Fiscal Period Focus FY    
Trading Symbol ECOR    
Entity Registrant Name electroCore, Inc.    
Entity Central Index Key 0001560258    
Current Fiscal Year End Date --12-31    
Entity Well Known Seasoned Issuer No    
Entity Voluntary Filers No    
Entity Filer Category Non-accelerated Filer    
Entity Small Business true    
Entity Emerging Growth Company true    
Entity Ex Transition Period true    
Entity Shell Company false    
ICFR Auditor Attestation Flag false    
Entity Common Stock Shares Outstanding   70,718,191  
Entity Public Float     $ 51,984,860
Entity File Number 001-38538    
Entity Tax Identification Number 20-3454976    
Entity Address Address Line1 200 Forge Way    
Entity Address Address Line2 Suite 205    
Entity Address City Or Town Rockaway    
Document Type 10-K    
Entity Address State Or Province NJ    
Entity Address Postal Zip Code 07866    
City Area Code (973)    
Local Phone Number 290-0097    
Entity Interactive Data Current Yes    
Auditor Location New York    
Auditor Firm ID 688    
Auditor Name Marcum LLP    
Security12b Title Common Stock, Par Value $0.001 Per Share    
Security Exchange Name NASDAQ    
Entity Incorporation State Country Code DE    
Document Annual Report true    
Document Transition Report false    
Entity Current Reporting Status Yes