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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-03-29</periodOfReport>

    <issuer>
        <issuerCik>0001641614</issuerCik>
        <issuerName>CPI Card Group Inc.</issuerName>
        <issuerTradingSymbol>PMTS</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001751947</rptOwnerCik>
            <rptOwnerName>Mallela Ravi</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O CPI CARD GROUP INC.</rptOwnerStreet1>
            <rptOwnerStreet2>10368 WEST CENTENNIAL ROAD</rptOwnerStreet2>
            <rptOwnerCity>LITTLETON</rptOwnerCity>
            <rptOwnerState>CO</rptOwnerState>
            <rptOwnerZipCode>80127</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>0</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>Restricted Stock Units</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F2"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2024-03-29</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>1448</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F3"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F3"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common Stock</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>1448</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>1448</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">This line represents deferred restricted stock units (&quot;RSUs&quot;). The shares of Common Stock underlying these RSUs will be issued to the Reporting Person following the Reporting Person's separation from service with the Issuer.</footnote>
        <footnote id="F2">Each RSU represents the right to receive one common share of the Issuer upon vesting of such RSU.</footnote>
        <footnote id="F3">The 1,448 RSUs reported on this line vest on the first anniversary of the March 29, 2024 award date, subject to the reporting person's continued service through such date or as otherwise provided for in the applicable award agreement.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>Jessica Browne, attorney-in-fact</signatureName>
        <signatureDate>2024-04-02</signatureDate>
    </ownerSignature>
</ownershipDocument>
