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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2020-10-12</periodOfReport>

    <issuer>
        <issuerCik>0001683074</issuerCik>
        <issuerName>Goldman Sachs Middle Market Lending Corp.</issuerName>
        <issuerTradingSymbol>NONE</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001632093</rptOwnerCik>
            <rptOwnerName>Evans Carlos E</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>200 WEST STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10282</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

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

    <footnotes>
        <footnote id="F1">Disposed of upon the completion of and pursuant to the transactions contemplated by the Amended Restated Agreement and Plan of Merger, dated as of June 11, 2020, by and among Goldman Sachs BDC, Inc. (&quot;GSBD&quot;), the Issuer, Evergreen Merger Sub Inc., a wholly owned direct subsidiary of GSBD, and Goldman Sachs Asset Management, L.P. (the &quot;Transactions&quot;), following which the Issuer will have become merged with and into GSBD with GSBD continuing as the surviving company. Such shares of the Issuer's common stock are being exchanged pursuant to the terms of the Transactions for that number of shares of GSBD common stock with a net asset value (&quot;NAV&quot;) equal to the NAV per share of the Issuer's common stock, which calculation, as of the determination date of 10/9/20 equates to an exchange ratio of 1 to 1.1336.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Caroline Kraus, Attorney-in-fact</signatureName>
        <signatureDate>2020-10-14</signatureDate>
    </ownerSignature>
</ownershipDocument>
