Vault App

Use the Vault App to explore vaults, manage withdrawals and market positions, claim rewards, and review permissions.

app.morpho.org

Lend through Morpho Vaults, borrow or lend in Morpho Variable Rate Markets, manage positions, and track vault performance and market conditions.

Vaults

Deposit one asset into a Morpho Vault V2 to earn yield from allocations managed by its curator. Adapters connect the vault to yield sources across Morpho protocols, including Variable Rate Markets and other supported protocols.

Choose a vault

Open the Morpho Vaults page to explore Morpho Vault V2.

Before choosing a vault, check:

  • Curator reputation: who manages it, their experience, and their track record.
  • Allocation strategy: the protocols and markets receiving deposits.
  • Risk profile: the collateral and market settings you are exposed to.
  • Fees: performance and management fees.
  • Current and historical APY: how performance has changed over time.
  • Security setup: timelock durations, the Sentinel, and how privileged roles are secured.

Review pending changes on the vault page. Timelocks give depositors time to react to many risky changes before they take effect.

For more on assessing the role, read Curators explained.

Risks include bad debt in underlying markets, limited withdrawal liquidity, decisions by the Owner, Curator, Allocator, and Sentinel, and the protocols reached through adapters. Gates can restrict deposits, withdrawals, and transfers. Bad debt can arise when collateral loses value before liquidation, and losses are shared among depositors. Research the role holders and their use of multisigs and timelocks.

See Morpho Vault V2 for vault mechanics, roles, adapters, and gates. Read the risks and Morpho Warnings before depositing.

Read the APY

APY changes with allocations, vault fees, rewards, and the curator's max APY setting.

Hover Net APY to see its breakdown:

  • Native APY: yield from allocations, after vault fees.
  • Donations: yield from donated assets, after fees, when the source is known.
  • Surplus boost: yield from excess assets, after fees, when the source is not known.
  • Rewards: rewards tokens, shown separately for each token.

These rows add up to Net APY. A sparkle marks rewards, donations, or a surplus boost. Donations and surplus boosts accrue through the share price, not as rewards tokens. The app does not show the size or duration of a donation.

Surplus boost is yield from assets above what the vault has already paid out. It can come from donations, yield retained above the max APY, or other gains. The app uses Donations when the source is known and Surplus boost otherwise.

An upward arrow pointing to a line marks an APY capped at the vault's max APY. Native APY and donations or surplus boost together cannot exceed that cap. Rewards are separate and uncapped. Yield above the cap stays in the vault for distribution over time.

At a max APY of 0%, the app shows Interest paused. Deposits earn no interest until the cap rises. Losses remain possible.

A vault can show several icons. If it shows none, Net APY equals Native APY.

Withdrawals

Available liquidity

Deposits are allocated to markets rather than held entirely idle. Withdrawals use idle assets and the curator's designated liquidity market.

The vault page's Liquidity value shows the amount currently available to withdraw. Hover it to see:

  • Liquidity adapter: liquidity from the curator's designated withdrawal market.
  • Idle liquidity: assets held directly by the vault.
  • Deallocatable liquidity: assets that can be moved back to the vault through forced deallocation.

The app uses forced deallocation automatically when the vault configuration allows it. A curator-defined penalty may apply.

Anyone can trigger forced deallocation to return assets from a supported market to the vault's idle balance. It does not depend on the curator submitting the transaction.

Total underlying liquidity measures liquidity across the markets the vault uses. It is not necessarily available for withdrawal from the vault. In allocation details, the raindrop marks the liquidity market. Each market's liquidity column does not guarantee that the vault can withdraw it.

High utilization can restrict withdrawals from Morpho Vault V1 and Morpho Vault V2. Morpho Vault V2 withdrawals can also be limited by the liquidity adapter or insufficient idle assets. Low liquidity alone does not establish bad debt. You can withdraw the available amount and return later.

When borrowers use most of a market's supplied assets, fewer assets are available for immediate withdrawal. Higher rates can encourage repayments and new deposits. See the interest rate model. A liquidity shortage differs from bad debt: assets may still be lent out and earning interest, rather than unrecoverable. Liquidity can return as utilization eases, but timing is not guaranteed.

For Vault V2, liquidity can also be limited when the liquidity adapter points to a highly utilized market, or when free assets in another market have not been routed back to the vault. You can wait, withdraw the available amount, or use in-kind redemption where supported. The app already attempts forced deallocation when the configuration allows it.

In-kind redemption

On eligible vaults and networks, in-kind redemption appears when a withdrawal exceeds available liquidity. It returns idle assets in the vault to your wallet and converts the remaining redeemed amount into a direct market lending position.

  1. Open the vault page, select the Withdraw tab, and enter an amount. If it exceeds available liquidity, a warning appears and the main button changes to Choose a Market. To receive only assets in your wallet, lower the amount to the available liquidity. Select the underlined amount in the warning to fill it exactly.

  2. Select Choose a Market. Compare each market's collateral, loan asset, APY, and capacity. Capacity is the maximum redemption through that market before fees, not its available withdrawal liquidity. Choose collateral and market settings you are comfortable with. The top of the window shows the lending position amount and a wallet summary.

  3. Select a market. Check To your wallet and As a [Market] position, which shows the position after fees. If capacity is insufficient, the app shows how much can be redeemed and how much stays in the vault. You can continue for that amount, then repeat with another market. The remainder stays deposited and keeps earning. If no market can take the full amount, the app warns you before selection.

  4. Select Review. Check the withdrawal amount, vault balance before and after, destination market, and both amounts under You receive. Hover the information icons for the fee breakdown. The review reminds you that later withdrawal of the lending position depends on market liquidity.

  5. Select Redeem and approve the requests in your wallet. The confirmation shows the final amounts and links to Portfolio.

  6. Open Portfolio > Variable Rate Markets > Lend positions to see the position amount and APY. Withdraw from Portfolio or the market page when the market has enough liquidity.

A vault-defined redemption fee may apply to the lending position. It stays in the vault for remaining depositors, not Morpho. The app shows it before confirmation.

For example, a 10,000 USDC redemption with 2,000 USDC in idle assets in the vault and a 0.5% fee on the resulting lending position converts the remaining 8,000 USDC into approximately 7,960.20 USDC in a lending position and a 39.80 USDC fee. The 2,000 USDC goes to your wallet, and the fee stays in the vault. These amounts are illustrative; review the actual fee and amounts before confirming.

If capacity is insufficient, only the displayed amount is redeemed. The remainder stays in the vault. You can repeat with another market. Wallet amounts appear as up to because liquidity can change before confirmation.

Find the resulting position under Portfolio > Variable Rate Markets > Lend positions. Withdraw when the market has liquidity. To avoid a market position, withdraw only the vault's available amount instead.

Variable Rate Markets

Borrow and repay

Choose a market on the Markets page. Check its collateral, loan asset, available liquidity, and liquidation loan-to-value (LLTV). See Variable Rate Market (Morpho Blue) for market mechanics, parameters, and core lending actions.

Markets can use any ERC-20 collateral and loan asset. A market must exist and have available liquidity for you to borrow. Borrowing is overcollateralized: deposit collateral worth more than the loan. Each market has a fixed LLTV. For example, at 90% LLTV, a loan worth more than 90% of the collateral value is eligible for liquidation. Your LTV is your current ratio, not the market's limit.

Supply collateral and choose a borrowing amount with a loan-to-value (LTV) you are comfortable monitoring. The app shows current and historical Borrow APY on market pages. You can repay partially or fully when your wallet holds the required loan asset.

The AdaptiveCurveIRM adjusts each market's borrow rate independently. Below 90% utilization, the rate decreases; above 90%, it increases; at 90%, it stays steady. The farther utilization is from that target, the faster the rate changes. Check current and historical Borrow APY on the Markets page or a market page before borrowing.

Monitor both LTV and the oracle. An oracle's security, update frequency, reliability, and susceptibility to manipulation can affect liquidations and bad debt. Interest accrual can also push a position toward liquidation.

The position details show Oracle liquidation price. Hover the LTV value to see it alongside LTV / Liquidation LTV. This price uses the market oracle, not necessarily a trading price. See liquidation for how positions become eligible for liquidation.

To repay, open your market position, choose a partial or full repayment, and hold enough of the loan asset in your wallet. Review and confirm the wallet requests.

Collateral is not lent to borrowers by default and does not earn Supply APY. This differs from assets supplied as a lending position.

Read Variable Rate Markets for protocol mechanics and the interest rate model for rate behavior. Review the risks before borrowing.

Check the oracle

Open the market's oracle details and follow its address to the block explorer. Check its price source and any assumptions about asset pegs.

An oracle prices the collateral against the loan asset. For cbBTC/USDC, it reports the value of cbBTC in USDC. That price and interest accrual determine LTV and liquidation eligibility. Markets choose their oracle at creation. Vaults do not use an oracle directly; their underlying markets do.

The Market tab shows oracle price information. Open Risk for more detail:

FieldMeaning
Oracle addressLink to the oracle on the block explorer
Oracle creationDeployment transaction
Created onDeployment date
ProvidersFeed providers
AdminsAddresses reported by the decoder as able to change a feed or setting
Trusted byCurators listing a market that uses this oracle
Oracle pricePrice used for position health and liquidation
DefiLlama priceInformational market price, not used for position health
Value securedCollateral and liquidity secured by this oracle across markets

Read the oracle decoder

The Oracle price construction section shows which feeds build the price, who provides them, and who can change them. It reports onchain data and providers' published information without rating or recommending an oracle.

ColumnMeaning
FeedPair priced, such as BTC/USD
TypeMarket price, exchange rate, or another price type
ProviderFeed publisher
AdminAddresses able to change the feed or settings; None means none were found, while Unknown means they could not be determined
UpdatesProvider-reported heartbeat and deviation threshold
Latest ValueLast observed value; hover for the feed's update time

Stale means the feed has not updated according to its update schedule, not that its price is necessarily wrong. Fixed 1:1 means a MorphoChainlinkOracleV2 slot has no feed and uses one. Feed 1 / Feed 2 identifies separate feed sets; Collateral / Loan identifies the side of the pair.

The decoder reads the oracle and its dependencies at the same block time. It checks Chainlink, Chronicle, and RedStone against their published feed lists and reads update settings from those lists. For API3, Pyth, and Stork, it checks feeds against official provider contracts on that chain. The data is displayed without modification.

Listed markets are read hourly. Values in one table share a timestamp, but the oracle reads its feeds live, so its current price may differ. Supported providers include Chainlink, Chronicle, RedStone, API3, Pyth, and Stork. Supported contract designs also include Pendle, Ojo, Lido wstETH, ERC-4626 vaults, Morpho vaults, Midas, Maple, Compound price feeds, and Steakhouse MetaOracles. Support for a design applies automatically to other oracles using it.

The decoder only shows a breakdown if it recognizes every dependency. Not supported means at least one design is not supported. Market not listed means the market is outside the listed-market coverage. Do not treat a missing breakdown as a partial assessment.

The decoder does not verify price accuracy, manipulation resistance, asset liquidity, providers' offchain operations, or suitability for a market. Use it as one input to your own research.

Features

Refinance

Refinance in Portfolio moves the entire borrow position, including debt and collateral, to another Variable Rate Market.

Both markets must be listed and use the same collateral and loan asset. The destination market must have enough liquidity, including any liquidity made available through reallocations. Select the destination market in the refinance flow. You remain responsible for monitoring the resulting position.

  1. Open Portfolio and find the borrow position.

  2. Select Refinance.

  3. Choose the destination market, review the resulting position, and confirm the requests in your wallet.

Using this feature is subject to the app's Terms of Use. Continue monitoring the destination position after refinancing.

Rewards

A blue sparkle marks vaults and markets with rewards. Hover the vault APY or market rate to see the breakdown.

For Morpho Vault V2, this icon can also indicate donations or a surplus boost. These accrue in the vault asset through its share price. See Read the APY.

Connect your wallet and open Portfolio. Select Claim to claim available rewards or Rewards for details.

Portfolio shows both claimable and accruing rewards. Review the available amounts, select Claim, and confirm the wallet requests.

Rewards are distributed through Merkl. You can also monitor and claim them in the Merkl app. If your claimable balance does not increase after an eight-hour cycle, check Merkl status for delays.

Merkl rewards expire one year after a campaign ends. Campaign creators can reallocate unclaimed rewards after a campaign ends, potentially sooner. Morpho governance rewards are reallocated six months after campaign end.

Reallocation can reduce your claimable balance shortly after a campaign ends. Claim in time rather than relying only on the one-year expiry.

Onchain and offchain signatures

The app selects a flow based on your wallet type.

  • Externally owned accounts use offchain signatures when available.
  • Smart wallets use onchain approvals and transactions. The toggle is unavailable for these wallets.

For an externally owned account, select your address at the top right. Switch Allow offchain signature flows on or off.

For Variable Rate Market token transfers, no token approval or permit is needed if your existing allowance covers the amount. Otherwise, when offchain signatures are enabled and the token supports ERC-2612, the app asks you to sign a permit message. Signing the message does not cost gas. If a permit is unavailable or offchain signatures are disabled, the app asks for an ERC-20 approval transaction, which costs gas.

The action transaction still requires gas. With a permit, the action transaction uses the signed message, so there is no separate approval transaction. In the classic flow, approve the token first and then confirm the action. Each transaction costs gas.

EOA wallets, such as MetaMask, Rabby, and Rainbow, can sign typed messages with a private key. Smart wallets, such as Safe, Argent, and Coinbase Smart Wallet, are contracts. The app uses onchain approvals and transactions for them rather than this offchain optimization. The toggle is unavailable for smart wallets. This describes the app's flow, not every signature scheme a smart wallet may support.

Morpho Warnings

Morpho warnings flag potential risks to markets or vaults. The Vault app displays some of these warnings.

The warning tables below summarize the types and criteria used by the API.

Warning TypeLevelDisplayed in Vault app?Criteria / ThresholdNotes
bad_debt_unrealized🔴 REDYesUnrealized bad debt / total supply assets >= 5% (500 bps), and at least USD 100Detects accumulating bad debt
not_whitelisted🟡 YELLOWYesMarket is not listedMarkets are automatically listed/delisted when listed/delisted from a listed vault
oracle_price_derivation🔴 REDYesOn-chain oracle price deviates from USD-derived price by >10xOnly for Morpho Chainlink / Chainlink V2 oracles with known pricing
oracle_unusable🔴 REDYesThe oracle returns a price of 0, or has been reverting for at least 10 minutesApplies to all oracle types; metadata.type is zero_price or reverted. Not raised when the market has no collateral asset or no oracle, or while the latest observation is stale
sustained_low_liquidity🔴 REDYesZero available liquidity for 5 full consecutive daysRequires total supply > 0 and total supply not greater than total borrows. Idle markets (no collateral asset) are excluded
custom🔴 RED
🟡 YELLOW
YesOperator-defined custom warning with arbitrary contentLevel configured per entry
Warning TypeLevelDisplayed in Vault app?Criteria / ThresholdNotes
not_whitelisted🟡 YELLOWYesVault is not listedIf vault was previously listed, will indicate a deprecation message
timelock🔴 REDYesProtected functions are below the minimum timelockGovernance security
deposit_disabled🔴 REDNoVault is on the curated deposit-disable listMetadata-driven only: Vault V2 has no cap-derived equivalent. Not displayed as a warning icon; it can disable deposits in the Vault app
low_liquidity🟡 YELLOWYesWithdrawable liquidity < 0.5% of total assetsWithdrawable counts liquidity + forceDeallocatableLiquidity, so a vault that can instantly reallocate is not flagged. Empty vaults (total assets = 0) are not flagged
bad_debt_unrealized🔴 REDYesExposure to markets with a RED bad_debt_unrealized exceeds 10% of total assetsExposure-gated
oracle_unusable🔴 REDYesExposure to markets with a RED oracle_unusable exceeds 10% of total assetsExposure-gated. On its own, it also disables deposits in the Vault app
oracle_price_derivation🔴 REDYesExposure to markets with a RED oracle_price_derivation exceeds 10% of total assetsExposure-gated
custom🔴 RED
🟡 YELLOW
YesOperator-defined custom warning with arbitrary contentLevel configured per entry
Warning TypeLevelDisplayed in Vault app?Criteria / ThresholdNotes
short_timelock🔴 REDYesTimelock < 3 daysGovernance security
not_whitelisted🟡 YELLOWYesVault is not listedIf vault was previously listed, will indicate a deprecation message
deposit_disabled🔴 REDNoNo supply-queue allocation has remaining cap, or the vault is on the curated deposit-disable listNot displayed as a warning icon; it can disable deposits in the Vault app
low_liquidity🟡 YELLOWYesWithdrawable liquidity < 0.5% of total assetsEmpty vaults (total assets = 0) are not flagged
oracle_unusable🔴 REDYesExposure to markets with a RED oracle_unusable exceeds 10% of total assetsExposure-gated. On its own, it also disables deposits in the Vault app
oracle_price_derivation🔴 REDYesExposure to markets with a RED oracle_price_derivation exceeds 10% of total assetsExposure-gated
custom🔴 RED
🟡 YELLOW
YesOperator-defined custom warning with arbitrary contentLevel configured per entry

Vault V1 has no bad-debt warning: bad debt is socialized across vault users as it is realized, so bad_debt_unrealized stays on the market.

Refer to this risk documentation to be sure you understand all the risks.

Tokens checks

Tokens are added to the Morpho database to enhance their use on the Morpho apps. Before being added to the token database, checks are performed to ensure compatibility.

Here are the checks performed:

  • Contract Existence - A valid smart contract exists at the provided address
  • ERC-20 Compliance - The contract implements the core ERC-20 interface (name, symbol, decimals)
  • Non-zero total supply - The token’s total supply is greater than 0
  • DefiLlama Price Data - The token has a recent price data available on DeFiLlama
  • Logo Availability - Token logo exists in Morpho database
  • Not already listed - The token is not already listed on the chain

Policy

Asset blocking policy

The Morpho protocol is a self-executing, permissionless, decentralized series of smart contracts that cannot be changed by anyone except the governance for given parameters.

Morpho Association maintains one of many ways to interact with the Protocol (the Morpho Interface for instance), and as a non-profit association based in France is subject to certain laws and regulations.

As such, there may be certain circumstances under which Morpho Association blocks access to certain markets and vaults through our the interface provided.

Criteria for Restricting Access on Morpho Association Interfaces
  1. Morpho Association will block some components of the Protocol for the following reasons:
    1. Risks to users. Morpho Association believes there are technical, fraud, or other risks that could significantly affect user safety.
    2. Legal and regulatory requirements.
    3. Fraud allegations.
  2. Morpho Association will block individual or smart contract addresses that are subject to U.S. government sanctions or associated with certain types of illegal activity.
  3. Morpho Association may block individual or smart contract addresses for any other reason at their discretion. For example, Morpho Association might have reason to believe that an address is associated with fraud, theft, or market manipulation, or that a smart contract has unacceptable security vulnerabilities.

Additional disclosures

Interface Warnings are created using information from third-party data providers. Morpho Association does not guarantee their accuracy and makes no representations or warranties about their relevance or currentness. The Morpho Protocol operates on a permissionless and decentralized basis, allowing Markets and Vaults to be established and administered by any third-party individual or entity. Any information provided by the Morpho Association on Vaults, Markets or any of their parameters does not constitute an endorsement of the Markets or Vaults and is provided solely for informational purposes. It does not represent an endorsement, recommendation, or any form of advice on how to engage with or utilize the Morpho Protocol.


Morpho Association Token Lists and Interface Warnings are not investment advice and should not be construed as such. Morpho Association strongly advise that before engaging in any financial, legal, technical, or other significant decisions related to the Morpho Protocol, you perform your own research (including, but not limited to, an analysis of the market or vault's structure, the assets involved, the parties responsible for its creation and management, and the potential risks and rewards associated with participation) and consult with an independent professional who is licensed and qualified in the relevant field. Such advice is crucial to ensure that your decisions are well-informed and take into account the specific nuances and complexities of your situation.

Slippage Considerations

The Vault app protects most Morpho Vault and Variable Rate Market transactions, such as vault deposits and withdrawals, against price moves. They include a limit with a fixed 0.03% tolerance: if the price moves beyond it before execution, the transaction reverts instead of going through at a worse price.

Before you sign, the app simulates the transaction and asks you to retry if the price has already moved beyond that tolerance.

Alternative access to Morpho contracts

A block explorer is an alternative interface, not a way around liquidity limits, gates, or contract restrictions.

Connect the wallet that owns the position on the correct network. Amounts use raw token units.

On Etherscan and similar explorers, open Contract > Read Contract to query state. Open Write Contract and select Connect to Web3 to connect your wallet before submitting a transaction. A proxy may use Read as Proxy or Write as Proxy instead. Check the contract and network again before connecting, and check each field's expected format.

Convert a human-readable asset amount by multiplying by 10^decimals using the relevant token's decimals. For WETH with 18 decimals, 1 WETH is 1000000000000000000, and 0.01 WETH is 10000000000000000. Entering 1 means one raw unit, not one WETH. Shares already returned by a contract are raw values and must not be scaled again.

Withdraw from Morpho Vault V2

Find your original deposit transaction on the block explorer for the correct network. Use the vault address that emitted the deposit event, not the transaction's recipient, which may be an intermediary contract. On that network's VaultV2Factory, check that isVaultV2(vaultAddress) returns true. As a shortcut, follow the block-explorer link on the vault page in the Morpho app. Check the address and network before interacting.

Check available liquidity, liquidity adapter limits, and gates. Your wallet must be allowed to send shares and receive assets. The explorer does not remove these restrictions.

Redeem the full position

  1. On the verified vault contract, open Contract > Read Contract and find balanceOf.

  2. Enter your wallet address as account and select Query. Copy the returned raw share balance unchanged. Do not multiply it by any decimals.

  3. Open Write Contract, connect your wallet, and find redeem.

  4. Fill in:

    • shares: the raw balanceOf(account) result.
    • receiver: your wallet address.
    • onBehalf: your wallet address, which owns the shares.
  5. Select Write. Review the transaction in your wallet and confirm only if the contract, function, and inputs match your intent. A successful full redemption leaves a zero vault-share balance and sends the underlying asset to the receiver.

Withdraw a specific asset amount

  1. Check that the amount does not exceed your position, that sufficient liquidity is available, and that no gate or other vault restriction prevents withdrawal.

  2. Call asset() on the vault. On that token contract, read decimals(). Multiply the asset amount by 10^decimals, not the vault's share decimals. For example, 0.0002 WETH with 18 decimals is 200000000000000 raw units.

  3. On the vault, open Write Contract and find withdraw.

  4. Fill in:

    • assets: the raw underlying asset amount, such as 200000000000000 for the WETH example.
    • receiver: your wallet address.
    • onBehalf: your wallet address.
  5. Select Write, review the wallet transaction, and confirm. The function burns the required shares and sends the specified asset amount to the receiver.

Manage Variable Rate Market positions

Use the Morpho Blue contract, not the vault contract. Find its address for your network in the contract addresses. Find a past supply, borrow, or supplyCollateral transaction for your position on that network's block explorer. Read the id field from its Supply, Borrow, or SupplyCollateral event emitted by the verified Morpho Blue contract, and use it as marketId. As a shortcut, the app's market page also has a market ID copy button.

On Morpho Blue, open Contract > Read Contract and find idToMarketParams. Enter marketId and select Query. Copy all five returned fields in this order: loanToken, collateralToken, oracle, irm, and lltv. Write functions use this marketParams tuple rather than the market ID. If the explorer presents a tuple as one field, follow its expected tuple format; if it expands the tuple, fill each named field.

For withdraw and repay, use shares to close the full position or assets for a specific amount. When using shares, set assets = 0; when using assets, set shares = 0. For asset amounts, use the loan token's decimals() for withdraw and repay, and the collateral token's decimals() for withdrawCollateral. Multiply the token amount by 10^decimals. Collateral uses assets only, with no shares field. Do not rescale raw values returned by position.

Withdraw supplied loan assets

Before starting, check that the withdrawal does not exceed your supplied position and that the market has enough liquidity.

  1. Open Read Contract on Morpho Blue and find position.

  2. Enter the market ID in the bytes32 field and your wallet address in the address field. Select Query. The result includes supplyShares, borrowShares, and collateral. Copy supplyShares for a full withdrawal.

  3. Open Write Contract, connect your wallet, and find withdraw.

  4. Fill in:

    • marketParams: the five fields from idToMarketParams.
    • assets: 0 for a full share-based withdrawal, or the raw loan asset amount for a partial withdrawal.
    • shares: the unchanged supplyShares result for a full withdrawal, or 0 when using assets.
    • onBehalf: the position owner's wallet address.
    • receiver: the wallet that should receive the loan assets.
  5. Select Write, review the transaction, and confirm in your wallet.

Repay borrowed loan assets

Check that the repayment does not exceed your borrow position, that your wallet has enough loan assets, and that no account, authorization, or integration-specific restriction prevents repayment. Allow for interest accruing before confirmation when repaying the full position.

  1. Open Read Contract > position on Morpho Blue.

  2. Enter marketId in the bytes32 field and your address in the address field. Select Query. Copy borrowShares for full repayment. The other outputs are your supply shares and collateral assets.

  3. If the existing loan token allowance is insufficient, open the loan token contract, not Morpho Blue. In Write Contract, or Write as Proxy, find approve. Set the spender to the verified Morpho Blue address on your network. Set the amount in raw loan token units, with enough allowance for the repayment including interest accrual. Review and confirm this approval before repaying. The screenshot uses USDC on Base.

  4. Return to Morpho Blue, open Write Contract, and find repay.

  5. Fill in:

    • marketParams: the five fields from idToMarketParams.
    • assets: 0 for full share-based repayment, or the raw loan asset amount for a partial repayment.
    • shares: the unchanged borrowShares result for full repayment, or 0 when using assets.
    • onBehalf: the borrow position owner's address.
    • data: 0x for empty callback data.
  6. Select Write, review the transaction, and confirm in your wallet.

Withdraw collateral

Check that the amount does not exceed your collateral balance. Any remaining collateral must keep the borrow position healthy. Do not withdraw an amount that makes the position eligible for liquidation. Check for account, authorization, or integration-specific restrictions before proceeding.

  1. Open Read Contract > position on Morpho Blue.

  2. Enter marketId in the bytes32 field and your wallet address in the address field. Select Query. The collateral result is your raw collateral asset balance; the other outputs are supply and borrow shares.

  3. Open Write Contract and find withdrawCollateral.

  4. Fill in:

    • marketParams: the five fields from idToMarketParams.
    • assets: the raw collateral amount to withdraw, using the collateral token's decimals, not the loan token's. Use the collateral result unchanged only if withdrawing the entire collateral balance is safe for your borrow position.
    • onBehalf: the collateral position owner's address.
    • receiver: the wallet that should receive the collateral.
  5. Select Write, review the transaction, and confirm in your wallet.

For vault creation rather than position management, use the curator guide. For questions about these steps, use the chat on help.morpho.org.