> For AI agents: read the machine-readable documentation index at [https://corpuslaw.us/llms.txt](https://corpuslaw.us/llms.txt) or the single-file full reference at [https://corpuslaw.us/llms-full.txt](https://corpuslaw.us/llms-full.txt).

# Md. Code, Commercial Law § 9-340

- **Citation**: Md. Code, Commercial Law § 9-340
- **Node Type**: section
- **Jurisdiction**: Maryland (state)
- **Code Body**: Code of Maryland (Aug. 2026 snapshot) (Md. Code)
- **Official Source**: [https://mgaleg.maryland.gov/mgawebsite/Laws/StatuteText?article=gcl&section=9-340&enactments=false](https://mgaleg.maryland.gov/mgawebsite/Laws/StatuteText?article=gcl&section=9-340&enactments=false)
- **Canonical URL**: [https://corpuslaw.us/codes/maryland/commercial-law/title-9/section-9-340](https://corpuslaw.us/codes/maryland/commercial-law/title-9/section-9-340)
- **Semantic URL**: [https://corpuslaw.us/codes/maryland/commercial-law/title-9/section-9-340](https://corpuslaw.us/codes/maryland/commercial-law/title-9/section-9-340)

## Hierarchy

Article Commercial Law — Commercial Law > Title 9

## Text

(a) Except as otherwise provided in subsection (c), a bank with which a deposit account is maintained may exercise any right of recoupment or set-off against a secured party that holds a security interest in the deposit account.

(b) Except as otherwise provided in subsection (c), the application of this article to a security interest in a deposit account does not affect a right of recoupment or set-off of the secured party as to a deposit account maintained with the secured party.

(c) The exercise by a bank of a set-off against a deposit account is ineffective against a secured party that holds a security interest in the deposit account which is perfected by control under § 9-104(a)(3), if the set-off is based on a claim against the debtor.
