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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-02-02</periodOfReport>

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001801454</rptOwnerCik>
            <rptOwnerName>Archer Jacqueline L.</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <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>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>254.275</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>22.22</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>21098.1970</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares issued to reporting person pursuant to an election under the Restricted Stock Plan for Outside Directors of RGC Resources, Inc.</footnote>
        <footnote id="F2">Includes 172.972 restricted stock shares purchased 02/02/2026 through dividends reinvested in the Restricted Stock Plan for Outside Directors of RGC Resources, Inc.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Jacqueline L. Archer by Timothy J. Mulvaney, POA dated 02/05/2024</signatureName>
        <signatureDate>2026-02-04</signatureDate>
    </ownerSignature>
</ownershipDocument>
