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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2020-02-07</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001635531</rptOwnerCik>
            <rptOwnerName>Yu, David</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>200 WEST STREET</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>NEW YORK</rptOwnerCity>
            <rptOwnerState>NY</rptOwnerState>
            <rptOwnerZipCode>10282</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>true</isOfficer>
            <officerTitle>See Remarks</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

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

    <footnotes>
        <footnote id="F1">On the date hereof, Mr. Yu owns 1,218.897 shares of common stock of Goldman Sachs Middle Market Lending Corp. (the &quot;Company&quot;). In addition, on February 7, 2020, the Company issued a capital call notice to its holders of common stock. Pursuant to such capital call notice, Mr. Yu is obligated to make a capital contribution of $1,500 on February 14, 2020 out of his $25,000 aggregate capital commitment to the Company, and the Company is obligated to issue shares of common stock to Mr. Yu, provided such capital contribution is funded timely. As of the date of this filing, the number of additional shares of common stock that will be issued to Mr. Yu in respect of this $1,500 capital contribution is unknown. Mr. Yu will amend this Form 4 once the number of shares of common stock has been determined.</footnote>
    </footnotes>

    <remarks>Executive Vice President and Head of Research</remarks>

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