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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-07-22</periodOfReport>

    <notSubjectToSection16>1</notSubjectToSection16>

    <issuer>
        <issuerCik>0001618563</issuerCik>
        <issuerName>National Storage Affiliates Trust</issuerName>
        <issuerTradingSymbol>NSA</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001210694</rptOwnerCik>
            <rptOwnerName>FISCHER TAMARA D</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>C/O NATIONAL STORAGE AFFILIATES TRUST</rptOwnerStreet1>
            <rptOwnerStreet2>8400 EAST PRENTICE AVENUE, 9TH FLOOR</rptOwnerStreet2>
            <rptOwnerCity>GREENWOOD VILLAGE</rptOwnerCity>
            <rptOwnerState>CO</rptOwnerState>
            <rptOwnerZipCode>80111</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
            <isOfficer>1</isOfficer>
            <isTenPercentOwner>0</isTenPercentOwner>
            <isOther>0</isOther>
            <officerTitle>Executive Chairperson</officerTitle>
            <otherText></otherText>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common shares of beneficial interest, $0.01 par value</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <transactionDate>
                <value>2026-07-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>C</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>16670</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>34670</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common shares of beneficial interest, $0.01 par value</value>
                <footnoteId id="F1"/>
            </securityTitle>
            <transactionDate>
                <value>2026-07-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>34670</value>
                    <footnoteId id="F1"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                    <footnoteId id="F2"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Series A Preferred Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2026-07-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>1500</value>
                    <footnoteId id="F4"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F4"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                    <footnoteId id="F4"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>LTIP Units</value>
                <footnoteId id="F1"/>
                <footnoteId id="F5"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F1"/>
                <footnoteId id="F5"/>
                <footnoteId id="F6"/>
                <footnoteId id="F7"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-07-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>C</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>109828</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F5"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F1"/>
                    <footnoteId id="F5"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F1"/>
                <footnoteId id="F5"/>
                <footnoteId id="F6"/>
                <footnoteId id="F7"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F8"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Class A OP Units</value>
                    <footnoteId id="F6"/>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>109828</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F5"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                    <footnoteId id="F1"/>
                    <footnoteId id="F5"/>
                    <footnoteId id="F6"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>Class A OP Units</value>
                <footnoteId id="F6"/>
                <footnoteId id="F7"/>
            </securityTitle>
            <conversionOrExercisePrice>
                <footnoteId id="F7"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-07-22</value>
            </transactionDate>
            <deemedExecutionDate></deemedExecutionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>D</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
            </transactionCoding>
            <transactionTimeliness></transactionTimeliness>
            <transactionAmounts>
                <transactionShares>
                    <value>594737</value>
                    <footnoteId id="F6"/>
                    <footnoteId id="F7"/>
                    <footnoteId id="F9"/>
                </transactionShares>
                <transactionPricePerShare>
                    <footnoteId id="F6"/>
                    <footnoteId id="F7"/>
                    <footnoteId id="F9"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <footnoteId id="F7"/>
            </exerciseDate>
            <expirationDate>
                <footnoteId id="F8"/>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Common shares of beneficial interest, $0.01 par value</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>594737</value>
                    <footnoteId id="F6"/>
                    <footnoteId id="F7"/>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>0</value>
                    <footnoteId id="F6"/>
                    <footnoteId id="F7"/>
                    <footnoteId id="F9"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>See footnote</value>
                    <footnoteId id="F3"/>
                </natureOfOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">In connection with the transactions contemplated by the Agreement and Plan of Merger, dated as of March 16, 2026 (the &quot;Merger Agreement&quot;), between the Issuer, Public Storage and certain other parties, each outstanding time-based long term incentive plan unit (&quot;LTIP Unit&quot;) of NSA OP, LP (the &quot;Partnership&quot;) that was granted to the Reporting Person in 2026 (such LTIP Units, the &quot;2026 time-based LTIP Units&quot;) was converted on a one-for-one basis into an equal number of restricted common shares of beneficial interest, $0.01 par value, of the Issuer (&quot;Restricted Shares&quot;).</footnote>
        <footnote id="F2">Pursuant to the Merger Agreement, common shares of beneficial interest, $0.01 par value of the Issuer, inclusive of Restricted Shares, were converted into the right to receive 0.1400 (the &quot;Exchange Ratio&quot;) newly issued common shares of beneficial interest, par value $0.10 per share, of Public Storage and cash in lieu of any fractional shares. Certain Restricted Shares were surrendered to satisfy statutory minimum federal and state tax obligations associated with the vesting.</footnote>
        <footnote id="F3">Held by Tamara D. Fischer, trustee of the Tamara Diane Fischer Trust dated 01/20/2021 for which the Reporting Person has or shares voting and/or investment power. This filing shall not be deemed to be an admission that the Reporting Person is the beneficial owner of any of the securities reported herein, and the Reporting Person disclaims beneficial ownership of such securities except to the extent of the Reporting Person's pecuniary interest therein.</footnote>
        <footnote id="F4">Pursuant to the Merger Agreement, each issued and outstanding 6.000% Series A cumulative redeemable preferred share of beneficial interest, par value $0.01 per share, of the Issuer was converted into the right to receive one newly issued share of 6.000% Cumulative Preferred Shares of beneficial interest, Series T, par value $0.01 per share, of Public Storage.</footnote>
        <footnote id="F5">Except as otherwise described above in Footnote 1 above with respect to the 2026 time-based LTIP Units, pursuant to the terms of the Merger Agreement, each outstanding and unvested LTIP Unit (other than performance-based LTIP Units granted in 2026) vested in full immediately prior to the effective time of the merger of a subsidiary of Public Storage into the Partnership (the &quot;Partnership Merger&quot;), with any applicable performance-based vesting conditions deemed achieved at target performance levels. Performance-based LTIP Units granted in 2026 and any performance-based LTIP Units that would only vest at maximum performance levels were deemed forfeited.</footnote>
        <footnote id="F6">At the effective time of the Partnership Merger, each vested LTIP Unit that was eligible for conversion was converted into one Class A unit of limited partnership interest in the Partnership (&quot;Class A OP Unit&quot;) in accordance with the Merger Agreement.</footnote>
        <footnote id="F7">Pursuant to the Merger Agreement, each Class A OP Unit issued and outstanding immediately prior to the effective time of the Partnership Merger was (i) automatically converted into the right to receive a number of newly issued common units in Public Storage OP, L.P., equal to the Exchange Ratio or (ii), at the election of holders of Class A OP Units, redeemed in exchange for one newly issued unit in NSA OP JV, LLC which holds 80% of the equity of the joint venture with Public Storage that holds certain identified real estate assets contributed by the Partnership.</footnote>
        <footnote id="F8">N/A.</footnote>
        <footnote id="F9">Includes certain LTIP Units previously reported on a fully converted basis, as Class A OP Units, which were subsequently converted into Restricted Shares (as described in Footnote 1 above) or deemed forfeited (as described in Footnote 5 above).</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Tamara D. Fischer, by Zoya F. Afridi, her Attorney-in-fact</signatureName>
        <signatureDate>2026-07-22</signatureDate>
    </ownerSignature>
</ownershipDocument>
