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

    <schemaVersion>X0609</schemaVersion>

    <documentType>4</documentType>

    <periodOfReport>2026-04-23</periodOfReport>

    <issuer>
        <issuerCik>0001144967</issuerCik>
        <issuerName>HDFC BANK LTD</issuerName>
        <issuerTradingSymbol>HDB</issuerTradingSymbol>
        <issuerForeignTradingSymbol>HDFCBANK</issuerForeignTradingSymbol>
    </issuer>

    <reportingOwner>
        <reportingOwnerId>
            <rptOwnerCik>0002117498</rptOwnerCik>
            <rptOwnerName>Bhavnani Anil</rptOwnerName>
        </reportingOwnerId>
        <reportingOwnerAddress>
            <rptOwnerNonUSAddressFlag>true</rptOwnerNonUSAddressFlag>
            <rptOwnerStreet1>HDFC BANK LIMITED, HDFC BANK HOUSE</rptOwnerStreet1>
            <rptOwnerStreet2>SENAPATI BAPAT MARG, LOWER PAREL WEST</rptOwnerStreet2>
            <rptOwnerCity>MUMBAI</rptOwnerCity>
            <rptOwnerNonUSStateTerritory>INDIA</rptOwnerNonUSStateTerritory>
            <rptOwnerCountry>K7</rptOwnerCountry>
            <rptOwnerZipCode>400013</rptOwnerZipCode>
            <rptOwnerStateDescription>INDIA</rptOwnerStateDescription>
        </reportingOwnerAddress>
        <reportingOwnerRelationship>
            <isDirector>false</isDirector>
            <isOfficer>true</isOfficer>
            <isTenPercentOwner>false</isTenPercentOwner>
            <isOther>false</isOther>
            <officerTitle>Group Head - Transportation</officerTitle>
        </reportingOwnerRelationship>
    </reportingOwner>

    <aff10b5One>false</aff10b5One>

    <nonDerivativeTable>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Equity Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2026-04-23</value>
                <footnoteId id="F1"/>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>X</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>6.8</value>
                    <footnoteId id="F3"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>700436</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
        <nonDerivativeTransaction>
            <securityTitle>
                <value>Equity Shares</value>
            </securityTitle>
            <transactionDate>
                <value>2026-04-23</value>
                <footnoteId id="F1"/>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>X</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.85</value>
                    <footnoteId id="F4"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>A</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>703436</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </nonDerivativeTransaction>
    </nonDerivativeTable>

    <derivativeTable>
        <derivativeTransaction>
            <securityTitle>
                <value>EmployeeStockOption (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>6.8</value>
                <footnoteId id="F3"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-04-23</value>
                <footnoteId id="F1"/>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>X</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>6.8</value>
                    <footnoteId id="F3"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2024-10-24</value>
            </exerciseDate>
            <expirationDate>
                <value>2026-10-24</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Equity Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>51400</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
        <derivativeTransaction>
            <securityTitle>
                <value>EmployeeStockOption (Right to Buy)</value>
            </securityTitle>
            <conversionOrExercisePrice>
                <value>7.85</value>
                <footnoteId id="F4"/>
            </conversionOrExercisePrice>
            <transactionDate>
                <value>2026-04-23</value>
                <footnoteId id="F1"/>
            </transactionDate>
            <transactionCoding>
                <transactionFormType>4</transactionFormType>
                <transactionCode>X</transactionCode>
                <equitySwapInvolved>false</equitySwapInvolved>
                <footnoteId id="F2"/>
            </transactionCoding>
            <transactionAmounts>
                <transactionShares>
                    <value>3000</value>
                </transactionShares>
                <transactionPricePerShare>
                    <value>7.85</value>
                    <footnoteId id="F4"/>
                </transactionPricePerShare>
                <transactionAcquiredDisposedCode>
                    <value>D</value>
                </transactionAcquiredDisposedCode>
            </transactionAmounts>
            <exerciseDate>
                <value>2024-07-31</value>
            </exerciseDate>
            <expirationDate>
                <value>2026-07-31</value>
            </expirationDate>
            <underlyingSecurity>
                <underlyingSecurityTitle>
                    <value>Equity Shares</value>
                </underlyingSecurityTitle>
                <underlyingSecurityShares>
                    <value>3000</value>
                </underlyingSecurityShares>
            </underlyingSecurity>
            <postTransactionAmounts>
                <sharesOwnedFollowingTransaction>
                    <value>18800</value>
                </sharesOwnedFollowingTransaction>
            </postTransactionAmounts>
            <ownershipNature>
                <directOrIndirectOwnership>
                    <value>D</value>
                </directOrIndirectOwnership>
            </ownershipNature>
        </derivativeTransaction>
    </derivativeTable>

    <footnotes>
        <footnote id="F1">The date entered is the Employee Stock Option (Right to Buy) Exercise Date</footnote>
        <footnote id="F2">X represents Exercise of Employee Stock Options (Right to Buy)</footnote>
        <footnote id="F3">The exercise price is Indian Rupees (INR) 617.90 which based on an exchange rate of INR 1.00 = USD $ 0.011 as of 04/23/2026 would correspond to an exercise price in USD $ 6.8</footnote>
        <footnote id="F4">The exercise price is Indian Rupees (INR) 713.23 which based on an exchange rate of INR 1.00 = USD $ 0.011 as of 04/23/2026 would correspond to an exercise price in USD $ 7.85</footnote>
    </footnotes>

    <remarks>The equity shares of the Bank are listed on NSE and BSE. The Trading symbol of NSE is HDFCBANK and is mentioned in the form under Foreign Trading Symbol. The Foreign Trading Symbol of BSE is 500180
Group Head - Transportation</remarks>

    <ownerSignature>
        <signatureName>/s/ Dhanjit Thaivalappil, Attorney in fact for Bhavnani Anil</signatureName>
        <signatureDate>2026-04-24</signatureDate>
    </ownerSignature>
</ownershipDocument>