MarginFi
A Solana lending protocol built around a unified cross-margin account.
A Solana lending protocol built around a unified cross-margin account.
MarginFi is a Solana lending protocol built around a single cross-margin account model — rather than managing separate isolated positions per asset, your collateral and borrowed positions are tracked together in one account, which the protocol uses to calculate your overall health and liquidation risk.
MarginFi is used for the standard lending use cases — supplying assets for yield, or borrowing against posted collateral — with the cross-margin design intended to give more capital-efficient borrowing power to users holding a diversified set of collateral, since it can be evaluated together rather than asset by asset.
MarginFi has been an established part of the Solana lending landscape for several years and is commonly used both directly and as backend infrastructure by other apps building lending or leverage features on top of it.
Cross-margin design has a specific tradeoff worth understanding: because your positions are evaluated together, a sharp move in one asset can affect your liquidation risk on the whole account, not just that one position. This can cut both ways — diversification can also reduce it — but it’s a meaningfully different risk shape than isolated per-asset lending. Read our lending risk and liquidation guide with this in mind before borrowing with a concentrated collateral position.