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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-11-25</periodOfReport>

    <issuer>
        <issuerCik>0001508655</issuerCik>
        <issuerName>Sixth Street Specialty Lending, Inc.</issuerName>
        <issuerTradingSymbol>TSLX</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001515134</rptOwnerCik>
            <rptOwnerName>Stiepleman David</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O SIXTH STREET SPECIALTY LENDING, INC.</rptOwnerStreet1>
            <rptOwnerStreet2>2100 MCKINNEY AVENUE, SUITE 1500</rptOwnerStreet2>
            <rptOwnerCity>DALLAS</rptOwnerCity>
            <rptOwnerState>TX</rptOwnerState>
            <rptOwnerZipCode>75201</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>true</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Vice President</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-11-25</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>J</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>6263.91</value>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>11808.02</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See Footnote</value>
                    <footnoteId id="F1"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeHolding>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>25735</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeHolding>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Sixth Street Specialty Lending Advisers, LLC (&quot;Advisers&quot;) directly holds 2,714,226 shares of common stock, $0.01 par value per share (the &quot;Common Stock&quot;) of Sixth Street Specialty Lending, Inc. (the &quot;Issuer&quot;), including shares of Common Stock indirectly beneficially owned by the Reporting Person (through his limited partnership interest in TSL Equity Partners, L.P. (&quot;TSL&quot;), which is a member of Sixth Street Specialty Lending Advisers Holdings, LLC, which in turn is a member of Advisers). This transaction reflects the acquisition by a trust for the benefit of certain of the Reporting Person's family members of limited partnership interests in TSL from an existing limited partner. The number of shares of Issuer Common Stock reported as acquired reflects the Reporting Person's indirect beneficial ownership in the shares acquired through such limited partnership interest in TSL. In connection with the acquisition by the trust, the trust paid the transferors an aggregate of $109,367.87.</footnote>
    </footnotes>

    <remarks>Pursuant to Rule 16a-1(a)(4) under the Securities Exchange Act of 1934, as amended, the Reporting Person states that this filing shall not be an admission that the Reporting Person is the beneficial owner of any of the securities reported herein as indirectly owned, and the Reporting Person disclaims beneficial ownership of such securities except to the extent of the Reporting Person's pecuniary interest therein. (A) Anton Brett is signing on behalf of David Stiepleman pursuant to a Power of Attorney dated March 3, 2026.</remarks>

    <ownerSignature>
        <signatureName>/s/ Anton Brett, attorney-in-fact (A)</signatureName>
        <signatureDate>2026-11-27</signatureDate>
    </ownerSignature>
</ownershipDocument>
