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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2024-12-16</periodOfReport>

    <issuer>
        <issuerCik>0001631596</issuerCik>
        <issuerName>KKR Real Estate Finance Trust Inc.</issuerName>
        <issuerTradingSymbol>KREF</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001704710</rptOwnerCik>
            <rptOwnerName>Salem Matthew A</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>C/O KKR REAL ESTATE FINANCE TRUST INC.</rptOwnerStreet1>
            <rptOwnerStreet2>30 HUDSON YARDS, SUITE 7500</rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10001</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <officerTitle>Chief Executive Officer</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2024-12-16</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>81250</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>0</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>529825</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Represents a grant of restricted stock units which will vest in three equal annual installments beginning on October 1, 2025. The reporting person has elected to defer receipt of all of the shares of Common Stock issuable upon the vesting of the restricted stock units until the earlier of (i) five years after the vesting date of the restricted stock units, or (ii) the date of the reporting person's Termination (as defined in the Amended and Restated KKR Real Estate Finance Trust Inc. 2016 Omnibus Incentive Plan).</footnote>
    </footnotes>

    <remarks>Exhibit List: Exhibit 24 - Power of Attorney</remarks>

    <ownerSignature>
        <signatureName>/s/ Kelly Galligan, as Attorney-in-Fact</signatureName>
        <signatureDate>2024-12-18</signatureDate>
    </ownerSignature>
</ownershipDocument>
