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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-03-20</periodOfReport>

    <issuer>
        <issuerCik>0001802255</issuerCik>
        <issuerName>Guardian Pharmacy Services, Inc.</issuerName>
        <issuerTradingSymbol>GRDN</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001432819</rptOwnerCik>
            <rptOwnerName>Cardinal Equity Fund, L.P.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>401 PENNSYLVANIA PARKWAY, SUITE 115</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>INDIANAPOLIS</rptOwnerCity>
            <rptOwnerState>IN</rptOwnerState>
            <rptOwnerZipCode>46280</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>false</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>true</isOther>
            <otherText>Member of 10% owner group</otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-03-20</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>S</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>275728</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>29.6825</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>345123</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents shares of Class A common stock, par value $0.001 per share, of Guardian Pharmacy Services, Inc. (the &quot;Issuer&quot;), sold pursuant to the Underwriting Agreement, dated March 18, 2026, by and among the Issuer, the selling stockholders party thereto, and BofA Securities, Inc. and Jefferies LLC, as representatives of the several underwriters named therein.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Douglas Towns, Attorney-in-Fact</signatureName>
        <signatureDate>2026-03-24</signatureDate>
    </ownerSignature>
</ownershipDocument>
