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

    <schemaVersion>X0508</schemaVersion>

    <documentType>4</documentType>

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

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

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0001467634</rptOwnerCik>
            <rptOwnerName>Mulvaney Timothy J</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerStreet1>P. O. BOX 13007</rptOwnerStreet1>
            <rptOwnerStreet2></rptOwnerStreet2>
            <rptOwnerCity>ROANOKE</rptOwnerCity>
            <rptOwnerState>VA</rptOwnerState>
            <rptOwnerZipCode>24030</rptOwnerZipCode>
            <rptOwnerStateDescription></rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isOfficer>1</isOfficer>
            <officerTitle>VP, Treasurer and CFO</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>0</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Common Stock</value>
            </securityTitle>
            <transactionDate>
                <value>2026-01-02</value>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>A</transactionCode>
                <equitySwapInvolved>0</equitySwapInvolved>
                <footnoteId id="F1"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>5606</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>21.40</value>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>13242.707</value>
                    <footnoteId id="F2"/>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <footnotes>
        <footnote id="F1">Shares issued on 01/02/2026 to reporting person pursuant to an award under the Restricted Stock Plan to be vested over a three-year period with 1,868.667 shares vesting on 01/02/2026, 1,868.667 shares vesting on 01/04/2027, and 1,868.666 shares vesting on 01/03/2028.</footnote>
        <footnote id="F2">Total includes 7,153.333 shares of unvested restricted stock from current and prior grants. Also includes 6.166 shares purchased 11/03/2025 through dividends reinvested in the RGC Resources, Inc. Dividend Reinvestment Stock Purchase Plan and 68.908 restricted shares purchased 11/03/2025 through dividends reinvested in the RGC Resources, Inc. Restricted Stock Plan.</footnote>
    </footnotes>

    <ownerSignature>
        <signatureName>/s/ Timothy J. Mulvaney</signatureName>
        <signatureDate>2026-01-06</signatureDate>
    </ownerSignature>
</ownershipDocument>
