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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-07-29</periodOfReport>

    <issuer>
        <issuerCik>0001690680</issuerCik>
        <issuerName>NEWMARK GROUP, INC.</issuerName>
        <issuerTradingSymbol>NMRK</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001388845</rptOwnerCik>
            <rptOwnerName>Gosin Barry M</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O NEWMARK GROUP, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>125 PARK AVENUE</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10017</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>Chief Executive Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Class A Common Stock, par value $0.01 per share</value>
            </securityTitle>
            <transactionDate>
                <value>2026-07-29</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>300000</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <value>14.89</value>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>3599995</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">On July 29, 2026, Newmark Group, Inc. (the &quot;Company&quot;) repurchased an aggregate of 300,000 shares of its Class A common stock, par value $0.01 per share (&quot;Class A Common Stock&quot;) beneficially owned by the reporting person. The sale price per share was the closing price per share of a share of the Class A Common Stock on the Nasdaq Global Select Market on July 29, 2026. The transaction was approved by the Audit Committee and Compensation Committee of the Company pursuant to the Company's stock buyback authorization and is exempt pursuant to Rule 16b-3 under the Securities Exchange Act of 1934, as amended. The shares were held by the Gosin Family Foundation and the proceeds are expected to be used for the foundation's charitable purposes.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Barry M. Gosin</signatureName>
        <signatureDate>2026-07-30</signatureDate>
    </ownerSignature>
</ownershipDocument>
