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

    <schemaVersion>X0609</schemaVersion>

    <documentType>5</documentType>

    <periodOfReport>2026-09-30</periodOfReport>

    <notSubjectToSection16>1</notSubjectToSection16>

    <form3HoldingsReported>0</form3HoldingsReported>

    <form4TransactionsReported>0</form4TransactionsReported>

    <issuer>
        <issuerCik>0001069533</issuerCik>
        <issuerName>RGC RESOURCES INC</issuerName>
        <issuerTradingSymbol>RGCO</issuerTradingSymbol>
        <issuerForeignTradingSymbol></issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001314626</rptOwnerCik>
            <rptOwnerName>AGEE NANCY H</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>false</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>P. O. BOX 13007</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>ROANOKE</rptOwnerCity>
            <rptOwnerState>VA</rptOwnerState>
            <rptOwnerZipCode>24030</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>1</isDirector>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-02-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>563.431</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>22.22</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>63186.037</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-05-01</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>5</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>518.114</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>24.40</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>63704.151</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>I</value>
                    <footnoteId id="F3"/>
                </directOrIndirectOwnership>
                <natureOfOwnership>
                    <value>Trust</value>
                </natureOfOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Reporting person has 54,313.348 shares in a revocable trust for which she serves as trustee, which includes 477.423 restricted shares purchased 02/02/2026 through dividends reinvested in the Restricted Stock Plan for Outside Directors of RGC Resources, Inc. Also includes 8,872.689 shares previously owned by her spouse, which have been transferred to a revocable trust for which the spouse serves as trustee and which includes 86.008 shares purchased 02/02/2026 through dividends reinvested in the Dividend Reinvestment and Stock Purchase Plan for RGC Resources, Inc.</footnote>
        <footnote id="F2">Reporting person has 54,752.371 shares in a revocable trust for which she serves as trustee, which includes 439.023 restricted shares purchased 05/01/2026 through dividends reinvested in the Restricted Stock Plan for Outside Directors of RGC Resources, Inc. Also includes 8,951.780 shares previously owned by her spouse, which have been transferred to a revocable trust for which the spouse serves as trustee and which includes 79.091 shares purchased 05/01/2026 through dividends reinvested in the Dividend Reinvestment and Stock Purchase Plan for RGC Resources, Inc.</footnote>
        <footnote id="F3">Reporting person ceased to be a director of RGC Resources, Inc. upon retirement from the board on January 26, 2026, and is no longer subject to Section 16 of the Securities Exchange Act of 1934.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Nancy H. Agee by Timothy J. Mulvaney, POA dated 02/05/2024</signatureName>
        <signatureDate>2026-11-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
