<?xml version="1.0"?>
<ownershipDocument>

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-01-01</periodOfReport>

    <issuer>
        <issuerCik>0001560258</issuerCik>
        <issuerName>electroCore, Inc.</issuerName>
        <issuerTradingSymbol>ECOR</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002003243</rptOwnerCik>
            <rptOwnerName>Theofilos Charles Steve</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>300 VILLAGE SQUARE XING</rptOwnerStreet1>
            <rptOwnerStreet2>SUITE 102</rptOwnerStreet2>
            <rptOwnerCity>PALM BEACH GARDENS</rptOwnerCity>
            <rptOwnerState>FL</rptOwnerState>
            <rptOwnerZipCode>33410</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-01-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>25210</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>437620</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>153168</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                    <footnoteId id="F2"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>790</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>6142</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                    <footnoteId id="F4"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>8556</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                    <footnoteId id="F5"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeHolding>
            <securityTitle>
                <value>Common Stock Warrants (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F6"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F6"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F6"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>283285</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>283285</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                    <footnoteId id="F6"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
        <derivativeHolding>
            <securityTitle>
                <value>Prefunded Common Stock Warrants (right to buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F7"/>
            </conversionOrExercisePrice>
            <exerciseDate>
                <footnoteId id="F7"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F7"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>113314</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>113314</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>By spouse</value>
                    <footnoteId id="F7"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeHolding>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">Represents a grant of Deferred Stock Units which vest (i) in 12 equal monthly installments commencing on the three-month anniversary of the grant date and (ii) in full on the date immediately prior to a change of control, in each case provided that the Reporting Person remains in continuous service with the Issuer or an affiliate through the applicable vesting date.</footnote>
        <footnote id="F2">These shares are held by Happy Holstein, LLLP, a Florida limited liability limited partnership, of which Happy Holstein Management, LLC is the general partner, of which Kathryn Theofilos, the reporting person's spouse, is the manager. The filing of this Form 3 shall not be deemed an admission that the reporting person is the beneficial owner of these shares of common stock.</footnote>
        <footnote id="F3">These shares are held by MCKT, LLC, a Florida limited liability company of which Kathryn Theofilos, the reporting person's spouse, is the manager. The filing of this Form 3 shall not be deemed an admission that the reporting person is the beneficial owner of these shares of common
stock.</footnote>
        <footnote id="F4">These shares are held by the reporting person's adult children, over which Kathryn Theofilos, the reporting person's spouse, shares voting and dispositive power. The filing of this Form 3 shall not be deemed an admission that the reporting person is the beneficial owner of these shares of
common stock.</footnote>
        <footnote id="F5">The filing of this Form 3 shall not be deemed an admission that the reporting person is the beneficial owner of these shares of common stock.</footnote>
        <footnote id="F6">The holder of the common stock warrants is Happy Holstein Management, LLC, of which Kathryn Theofilos, the reporting person's spouse, is the manager. These warrants will become exercisable on February 2, 2024 and will expire on February 2, 2029, subject to the Beneficial Ownership Limitation (as defined below). Pursuant to the terms of the warrants, the warrants may not be exercised if the holder, together with its affiliates and any persons who are members of a Section 13(d) group with the holder, would beneficially own more than 9.99% of the number of shares of common stock outstanding immediately after giving effect to such exercise (the &quot;Beneficial Ownership Limitation&quot;). The filing of this Form 3 shall not be deemed an admission that the reporting person is the beneficial owner of these common stock warrants.</footnote>
        <footnote id="F7">The holder of the prefunded common stock warrants is Happy Holstein Management, LLC, of which Kathryn Theofilos, the reporting person's spouse, is the manager. The prefunded common stock warrants are immediately exercisable and will expire on the date they are exercised in full, subject to the Beneficial Ownership Limitation. The filing of this Form 3 shall not be deemed an admission that the reporting person is the beneficial owner of these prefunded common stock warrants.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Charles Steve Theofilos</signatureName>
        <signatureDate>2024-01-03</signatureDate>
    </ownerSignature>
</ownershipDocument>
