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

    <schemaVersion>X0306</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2022-06-13</periodOfReport>

    <issuer>
        <issuerCik>0001772704</issuerCik>
        <issuerName>Goldman Sachs Private Middle Market Credit II LLC</issuerName>
        <issuerTradingSymbol>NONE</issuerTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001768604</rptOwnerCik>
            <rptOwnerName>Mastropaolo Michael</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 Units of limited liability company interests</value>
            </securityTitle>
            <transactionDate>
                <value>2022-06-13</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>242.892</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">On the date hereof, Mr. Mastropaolo owns 242.892 Common Units of limited liability company interests (the &quot;Common Units&quot;) of Goldman Sachs Private Middle Market Credit II LLC (the &quot;Company&quot;). In addition, on June 13, 2022, the Company issued a capital call notice to its holders of Common Units. Pursuant to such capital call notice, Mr. Mastropaolo is obligated to make a capital contribution of $2,450 on June 15, 2022 out of his $35,000 aggregate capital commitment to the Company, and the Company is obligated to issue shares of Common Units to Mr. Mastropaolo, provided such capital contribution is funded timely. As of the date of this filing, the number of additional shares of Common Units that will be issued to Mr. Mastropaolo in respect of his $2,450 capital contribution is unknown. Mr. Mastropaolo will amend this Form 4 once the number of shares of Common Units has been determined.</footnote>
    </footnotes>

    <remarks>Executive Vice President</remarks>

    <ownerSignature>
        <signatureName>/s/ Edward Meehan, Attorney-in-fact</signatureName>
        <signatureDate>2022-06-15</signatureDate>
    </ownerSignature>
</ownershipDocument>
