Consolidated Statements of Changes in Convertible Preferred Units, Members' (Deficit) and Stockholders' Equity (Unaudited) - USD ($) | Total | Electrocore, LLC | ElectroCore, Inc | Conversion Of Series A Preferred Units | Conversion of Series B Preferred Units | Series A Preferred Units | Series A Preferred UnitsConversion Of Series A Preferred Units | Series B Preferred Units | Series B Preferred UnitsConversion of Series B Preferred Units | Common Units | Common UnitsConversion of Member Common Units | Common Stock | Common StockConversion Of Series A Preferred Units | Common StockConversion of Series B Preferred Units | Common StockConversion of Member Common Units | Common StockProfits Interests | Additional Paid-in Capital | Additional Paid-in CapitalConversion Of Series A Preferred Units | Additional Paid-in CapitalConversion of Series B Preferred Units | Additional Paid-in CapitalConversion of Member Common Units | Accumulated Deficit | Accumulated DeficitElectrocore, LLC | Accumulated DeficitElectroCore, Inc | Accumulated Other Comprehensive Income | Accumulated Other Comprehensive IncomeElectrocore, LLC | (Deficit)/Equity attributable to Electrocore LLC and electroCore, Inc. subsidiaries and affiliate | (Deficit)/Equity attributable to Electrocore LLC and electroCore, Inc. subsidiaries and affiliateElectrocore, LLC | (Deficit)/Equity attributable to Electrocore LLC and electroCore, Inc. subsidiaries and affiliateElectroCore, Inc | (Deficit)/Equity attributable to Electrocore LLC and electroCore, Inc. subsidiaries and affiliateConversion Of Series A Preferred Units | (Deficit)/Equity attributable to Electrocore LLC and electroCore, Inc. subsidiaries and affiliateConversion of Series B Preferred Units | Noncontrolling Interest | Noncontrolling InterestElectrocore, LLC |
Balances, beginning of period at Dec. 31, 2017 | $ (89,467,556) | | | | | $ 53,518,463 | | $ 68,755,544 | | $ 40,180,619 | | | | | | | $ 22,596,485 | | | | $ (152,928,928) | | | $ 80,213 | | $ (90,071,611) | | | | | $ 604,055 | |
Balances, beginning of period, shares at Dec. 31, 2017 | | | | | | 70,918,506 | | 105,186,020 | | 218,982,140 | | | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | | $ (9,443,535) | | | | | | | | | | | | | | | | | | | | $ (9,498,540) | | | | | $ (9,498,540) | | | | | $ 55,005 |
Other comprehensive income | (139,261) | | | | | | | | | | | | | | | | | | | | | | | (139,261) | | (139,261) | | | | | | |
Noncontrolling interest distributions | (49,920) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (49,920) | |
Stock and Unit-based compensation (net of forfeitures) | 267,145 | | | | | | | | | | | | | | | | 267,145 | | | | | | | | | 267,145 | | | | | | |
Balances, end of period at Mar. 31, 2018 | (98,833,127) | | | | | $ 53,518,463 | | $ 68,755,544 | | $ 40,180,619 | | | | | | | 22,863,630 | | | | (162,427,468) | | | (59,048) | | (99,442,267) | | | | | 609,140 | |
Balances, end of period, shares at Mar. 31, 2018 | | | | | | 70,918,506 | | 105,186,020 | | 218,982,140 | | 0 | | | | | | | | | | | | | | | | | | | | |
Balances, beginning of period at Dec. 31, 2017 | (89,467,556) | | | | | $ 53,518,463 | | $ 68,755,544 | | $ 40,180,619 | | | | | | | 22,596,485 | | | | (152,928,928) | | | 80,213 | | (90,071,611) | | | | | 604,055 | |
Balances, beginning of period, shares at Dec. 31, 2017 | | | | | | 70,918,506 | | 105,186,020 | | 218,982,140 | | | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | (40,429,571) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Balances, end of period at Sep. 30, 2018 | 80,394,815 | | | | | | | | | | | $ 29,450 | | | | | 102,694,632 | | | | (22,995,331) | | | 30,454 | | 79,759,205 | | | | | 635,610 | |
Balances, end of period, shares at Sep. 30, 2018 | | | | | | | | | | | | 29,450,034 | | | | | | | | | | | | | | | | | | | | |
Balances, beginning of period at Mar. 31, 2018 | (98,833,127) | | | | | $ 53,518,463 | | $ 68,755,544 | | $ 40,180,619 | | | | | | | 22,863,630 | | | | (162,427,468) | | | (59,048) | | (99,442,267) | | | | | 609,140 | |
Balances, beginning of period, shares at Mar. 31, 2018 | | | | | | 70,918,506 | | 105,186,020 | | 218,982,140 | | 0 | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | | $ (11,619,797) | $ (6,162,299) | | | | | | | | | | | | | | | | | | | $ (11,619,797) | $ (6,162,299) | | $ (5,085) | | $ (11,624,882) | $ (6,162,299) | | | | $ 5,085 |
Reclass of accumulated deficit to APIC | | | | | | | | | | | | | | | | | (174,047,265) | | | | 174,047,265 | | | | | | | | | | | |
Other comprehensive income | 100,788 | | | | | | | | | | | | | | | | | | | | | | | 105,873 | | 105,873 | | | | | (5,085) | |
Temporary equity conversion of units to common stock | | | | $ 53,518,463 | $ 68,755,544 | | $ (53,518,463) | | $ (68,755,544) | | | | | | | | | $ 53,514,523 | $ 68,749,700 | | | | | | | | | | $ 53,518,463 | $ 68,755,544 | | |
Temporary equity conversion of units to common stock, shares | | | | | | | (70,918,506) | | (105,186,020) | | | | | | | | | | | | | | | | | | | | | | | |
Conversion of units to common stock, shares | | | | | | | | | | | (218,982,140) | 1,345,230 | 3,939,917 | 5,843,668 | 12,099,280 | 1,345,230 | | | | | | | | | | | | | | | | |
Conversion of units to common stock | 1,345 | | | | | | | | | | $ (40,180,619) | $ 1,345 | $ 3,940 | $ 5,844 | $ 12,099 | $ 1,345 | | | | $ 40,168,520 | | | | | | 1,345 | | | | | | |
Stock dividend issued to Series A preferred holders | | | | | | | | | | | | $ 242 | | | | | 3,628,850 | | | | (3,629,092) | | | | | | | | | | | |
Stock dividend issued to Series A preferred holders, shares | | | | | | | | | | | | 241,939 | | | | | | | | | | | | | | | | | | | | |
Common stock issued related to initial public offering | 89,698,655 | | | | | | | | | | | $ 5,980 | | | | | 89,692,675 | | | | | | | | | 89,698,655 | | | | | | |
Common stock issued related to initial public offering, shares | | | | | | | | | | | | 5,980,000 | | | | | | | | | | | | | | | | | | | | |
Issuance costs related to initial public offering | (12,012,086) | | | | | | | | | | | | | | | | (12,012,086) | | | | | | | | | (12,012,086) | | | | | | |
Reclass of warrant liability to equity | 4,110,467 | | | | | | | | | | | | | | | | 4,110,467 | | | | | | | | | 4,110,467 | | | | | | |
Noncontrolling interest distributions | 26,469 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 26,469 | |
Stock and Unit-based compensation (net of forfeitures) | 5,364,448 | | | | | | | | | | | | | | | | 5,364,448 | | | | | | | | | 5,364,448 | | | | | | |
Balances, end of period at Jun. 30, 2018 | 92,948,870 | | | | | | | | | | | $ 29,450 | | | | | 102,033,462 | | | | (9,791,391) | | | 41,740 | | 92,313,261 | | | | | 635,609 | |
Balances, end of period, shares at Jun. 30, 2018 | | | | | | | | | | | | 29,450,034 | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | (13,203,940) | | $ (13,203,940) | | | | | | | | | | | | | | | | | | | | $ (13,203,940) | | | | | $ (13,203,940) | | | | |
Other comprehensive income | (11,286) | | | | | | | | | | | | | | | | | | | | | | | (11,286) | | (11,286) | | | | | | |
Noncontrolling interest distributions | 1 | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1 | |
Stock and Unit-based compensation (net of forfeitures) | 661,170 | | | | | | | | | | | | | | | | 661,170 | | | | | | | | | 661,170 | | | | | | |
Balances, end of period at Sep. 30, 2018 | 80,394,815 | | | | | | | | | | | $ 29,450 | | | | | 102,694,632 | | | | (22,995,331) | | | 30,454 | | 79,759,205 | | | | | 635,610 | |
Balances, end of period, shares at Sep. 30, 2018 | | | | | | | | | | | | 29,450,034 | | | | | | | | | | | | | | | | | | | | |
Balances, beginning of period at Dec. 31, 2018 | 66,185,701 | | | | | | | | | | | $ 29,450 | | | | | 103,791,013 | | | | (38,331,215) | | | 60,843 | | 65,550,091 | | | | | 635,610 | |
Balances, beginning of period, shares at Dec. 31, 2018 | | | | | | | | | | | | 29,450,035 | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | (13,861,530) | | | | | | | | | | | | | | | | | | | | (13,861,530) | | | | | (13,861,530) | | | | | | |
Other comprehensive income | 83,713 | | | | | | | | | | | | | | | | | | | | | | | 83,713 | | 83,713 | | | | | | |
Issuance of warrants in settlement of lawsuit | 16,692 | | | | | | | | | | | | | | | | 16,692 | | | | | | | | | 16,692 | | | | | | |
Stock issuance | | | | | | | | | | | | $ 183 | | | | | (183) | | | | | | | | | | | | | | | |
Stock issuance, shares | | | | | | | | | | | | 183,205 | | | | | | | | | | | | | | | | | | | | |
Stock and Unit-based compensation (net of forfeitures) | 744,032 | | | | | | | | | | | | | | | | 744,032 | | | | | | | | | 744,032 | | | | | | |
Balances, end of period at Mar. 31, 2019 | 53,168,608 | | | | | | | | | | | $ 29,633 | | | | | 104,551,554 | | | | (52,192,745) | | | 144,556 | | 52,532,998 | | | | | 635,610 | |
Balances, end of period, shares at Mar. 31, 2019 | | | | | | | | | | | | 29,633,240 | | | | | | | | | | | | | | | | | | | | |
Balances, beginning of period at Dec. 31, 2018 | 66,185,701 | | | | | | | | | | | $ 29,450 | | | | | 103,791,013 | | | | (38,331,215) | | | 60,843 | | 65,550,091 | | | | | 635,610 | |
Balances, beginning of period, shares at Dec. 31, 2018 | | | | | | | | | | | | 29,450,035 | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | (36,649,794) | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
Balances, end of period at Sep. 30, 2019 | 32,294,514 | | | | | | | | | | | $ 29,468 | | | | | 106,498,093 | | | | (74,981,008) | | | 112,351 | | 31,658,904 | | | | | 635,610 | |
Balances, end of period, shares at Sep. 30, 2019 | | | | | | | | | | | | 29,468,966 | | | | | | | | | | | | | | | | | | | | |
Balances, beginning of period at Mar. 31, 2019 | 53,168,608 | | | | | | | | | | | $ 29,633 | | | | | 104,551,554 | | | | (52,192,745) | | | 144,556 | | 52,532,998 | | | | | 635,610 | |
Balances, beginning of period, shares at Mar. 31, 2019 | | | | | | | | | | | | 29,633,240 | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | (12,100,520) | | | | | | | | | | | | | | | | | | | | (12,100,520) | | | | | (12,100,520) | | | | | | |
Other comprehensive income | (39,098) | | | | | | | | | | | | | | | | | | | | | | | (39,098) | | (39,098) | | | | | | |
Stock cancellations | | | | | | | | | | | | $ (52) | | | | | 52 | | | | | | | | | | | | | | | |
Stock cancellations, shares | | | | | | | | | | | | (51,549) | | | | | | | | | | | | | | | | | | | | |
Stock and Unit-based compensation (net of forfeitures) | 726,799 | | | | | | | | | | | | | | | | 726,799 | | | | | | | | | 726,799 | | | | | | |
Balances, end of period at Jun. 30, 2019 | 41,755,789 | | | | | | | | | | | $ 29,581 | | | | | 105,278,405 | | | | (64,293,265) | | | 105,458 | | 41,120,179 | | | | | 635,610 | |
Balances, end of period, shares at Jun. 30, 2019 | | | | | | | | | | | | 29,581,691 | | | | | | | | | | | | | | | | | | | | |
Net loss attributable subsidiaries and affiliates | (10,687,743) | | | | | | | | | | | | | | | | | | | | (10,687,743) | | | | | (10,687,743) | | | | | | |
Other comprehensive income | 6,893 | | | | | | | | | | | | | | | | | | | | | | | 6,893 | | 6,893 | | | | | | |
Stock cancellations | | | | | | | | | | | | $ (141) | | | | | 141 | | | | | | | | | | | | | | | |
Stock cancellations, shares | | | | | | | | | | | | (140,927) | | | | | | | | | | | | | | | | | | | | |
Stock issuance under the employee stock purchase plan | | | | | | | | | | | | $ 28 | | | | | (28) | | | | | | | | | | | | | | | |
Stock issuance under the employee stock purchase plan, shares | | | | | | | | | | | | 28,202 | | | | | | | | | | | | | | | | | | | | |
Stock and Unit-based compensation (net of forfeitures) | 1,219,575 | | | | | | | | | | | | | | | | 1,219,575 | | | | | | | | | 1,219,575 | | | | | | |
Balances, end of period at Sep. 30, 2019 | $ 32,294,514 | | | | | | | | | | | $ 29,468 | | | | | $ 106,498,093 | | | | $ (74,981,008) | | | $ 112,351 | | $ 31,658,904 | | | | | $ 635,610 | |
Balances, end of period, shares at Sep. 30, 2019 | | | | | | | | | | | | 29,468,966 | | | | | | | | | | | | | | | | | | | | |