PipeFlare

How Crypto Loans Work

How crypto-backed loans work in 2026 — collateral ratios, liquidation risk, the difference between CeFi and DeFi lenders, and when they make sense.

Updated August 2026 · Reviewed by the PipeFlare team

A crypto loan lets you borrow cash or stablecoins by locking up crypto as collateral without selling it

Crypto loans let HODLers access liquidity without triggering a taxable sale — but liquidation risk is real if prices drop

Category

DeFi / lending

Difficulty

Intermediate

Where you'll see it

DeFi lending protocols (Aave, Compound), CeFi platforms, Bitcoin-backed loan services

First introduced

2018 (DeFi lending went live on Compound and early Aave)

About crypto loans

A crypto loan lets you borrow cash or stablecoins by locking up cryptocurrency as collateral without selling it. You keep exposure to your crypto's upside while accessing liquidity — useful if selling would trigger a large capital gains tax. The risk is liquidation: if your collateral's price drops enough, the protocol or lender sells it automatically to cover the loan. Both decentralized (DeFi) and centralized (CeFi) lending platforms offer this product. Weigh the numbers before choosing between the two paths: a loan tends to make sense when the interest you'd pay over your expected holding period is smaller than the capital-gains tax you'd defer, and when you're confident you can keep your loan-to-value comfortably below the liquidation threshold; selling outright tends to make more sense when the interest cost or liquidation risk would outweigh that tax-deferral benefit.

How it actually works

You deposit collateral — typically BTC or ETH — and borrow up to a set percentage of its value, called the loan-to-value (LTV) ratio. DeFi protocols like Aave use LTV ratios typically between 50% and 80%. If the collateral value falls and your LTV rises past a liquidation threshold, smart contracts automatically sell enough collateral to bring the LTV back to safe levels — no human involved. CeFi lenders like centralized platforms work similarly but hold your collateral in their custody and may require KYC. Interest accrues on the borrowed amount. DeFi rates are variable and set by supply and demand in lending pools. CeFi rates may be fixed or negotiated. Some DeFi protocols offer flash loans — uncollateralized loans that must be borrowed and repaid within a single blockchain transaction, used mainly by developers and arbitrageurs.

Start here

  1. 1Calculate how much you can safely borrow — aim for an LTV well below the liquidation threshold, typically 50% or less of the collateral value, to give yourself a price buffer.
  2. 2On DeFi: connect a self-custody wallet to Aave or Compound, deposit collateral, and borrow in the same transaction flow.
  3. 3Set price alerts on your collateral. If the price drops toward your liquidation price, you need to add more collateral or repay part of the loan.
  4. 4Factor in the interest cost. If you borrow at 5% APR and your collateral drops 30%, you face both losses — the math has to work.

Strengths

  • Access liquidity without selling, which avoids a taxable disposal event in most jurisdictions.
  • DeFi loans are non-custodial, instant, require no credit check, and are open 24/7 to anyone with a wallet.
  • Stablecoin borrowing lets you dollar-cost average or cover expenses while staying long on the underlying asset.

Common misunderstandings

  • Liquidation is automatic and irreversible — a fast price drop can wipe your collateral before you can react.
  • CeFi platforms hold your collateral in custody — Celsius and BlockFi collapsed in 2022 with billions in customer funds locked.
  • Interest costs compound, and a prolonged bear market can erode the value of holding the loan relative to just selling.

Common questions

What is an LTV ratio in a crypto loan?

LTV stands for loan-to-value. It is the ratio of what you borrowed to the value of your collateral. If you deposit $10,000 of ETH and borrow $5,000, your LTV is 50%. Most protocols liquidate your collateral if LTV rises past a liquidation threshold — for example, 80% on Aave for ETH. Always keep a buffer below that threshold.

What happens if my crypto collateral gets liquidated?

If your LTV exceeds the liquidation threshold, the protocol (in DeFi) or the lender (in CeFi) sells enough of your collateral to bring the ratio back to safe levels. You lose that portion of collateral but keep the borrowed funds. DeFi protocols charge a liquidation penalty — typically 5% to 15% of the liquidated amount — on top of the loss. You may still owe tax on the collateral that was sold.

Is borrowing against crypto taxable?

In most jurisdictions, taking out a loan secured by crypto is not itself a taxable event — you are borrowing, not selling. However, if the lender liquidates your collateral, that liquidation is treated as a disposal and triggers capital gains tax. The tax rules on this point are consistent in the US (IRS) and UK (HMRC), though it is always worth confirming with a local tax professional.

What is a flash loan?

A flash loan is an uncollateralized loan that must be borrowed and repaid within a single blockchain transaction. If the repayment is not included in the same transaction, the entire operation is reversed as if it never happened. Flash loans are used by developers for arbitrage, collateral swaps, and liquidations. They are not a consumer product — they require custom smart contract code to use.

Is DeFi lending safer than CeFi lending?

DeFi lending has different risks from CeFi, not necessarily lower ones. DeFi is non-custodial — the protocol cannot take your collateral for operational reasons — but smart contract bugs and oracle manipulation can drain funds. CeFi is custodial — Celsius and BlockFi both collapsed in 2022 — but regulated CeFi lenders may offer some creditor protections. Neither is risk-free.

What's a realistic interest rate on a crypto-backed loan?

DeFi borrowing rates float with supply and demand in each lending pool and typically run in the low-to-high single digits APR for major stablecoins on Aave or Compound, though they can spike higher during periods of heavy borrowing demand. CeFi lenders have historically advertised fixed rates in a similar range or somewhat higher, often varying by loan-to-value tier. Always check the live rate on the platform itself before borrowing — it is variable, not fixed, on DeFi protocols.

Where can I actually get a crypto-backed loan — which platforms?

For DeFi crypto-backed loans, Aave and Compound remain the two most established platforms — both are non-custodial, audited, permissionless money markets where you deposit collateral and borrow directly from a lending pool through your own wallet, with rates set algorithmically by supply and demand. The CeFi side of the market has consolidated significantly since 2022 — Celsius and BlockFi both collapsed and stopped operating that year — but custodial lenders still exist; Nexo, for example, continues to offer crypto-backed credit lines across many jurisdictions. Because CeFi platform availability, terms, and regulatory status vary by country and change over time, always verify a CeFi lender's current jurisdictional availability and terms directly on its own site before depositing collateral — DeFi's Aave and Compound don't carry that same platform risk, since there's no company that can unilaterally halt withdrawals.

How quickly does liquidation happen once I cross the threshold?

On DeFi platforms, liquidation happens almost immediately — typically within the same or next block once an oracle price update pushes your loan-to-value ratio past the liquidation threshold, because the process is executed automatically by a smart contract, often triggered by an independent liquidator bot competing for the liquidation bonus, with no human review and no grace period. On CeFi platforms, liquidation is usually still fast but can include a short buffer — some lenders send a margin call or warning and give you a window, often just minutes to a few hours, to add collateral or repay before they liquidate, though this varies by platform and is never guaranteed. In both cases the underlying risk is the same: a fast, sharp price drop can cross your threshold before you're able to react manually, which is why keeping a buffer below the liquidation threshold matters more than reaction speed.

Do I need to repay a crypto loan on a schedule, or can I hold it indefinitely?

Most DeFi crypto-backed loans have no fixed maturity date or required repayment schedule — you can hold the loan open indefinitely as long as your loan-to-value ratio stays below the liquidation threshold, since interest simply accrues continuously and compounds into the amount you owe rather than triggering a due date. This is different from a traditional loan: there's no monthly payment requirement, and the only thing that forces action is your collateral ratio drifting too close to liquidation, either because the collateral's price fell or because accrued interest grew the debt over time. CeFi lenders sometimes structure loans with a fixed term instead, so check the specific product before assuming it works the same way as an open-ended DeFi position. Repaying early carries no penalty on DeFi protocols like Aave or Compound — you can close out part or all of the loan at any time, and interest simply stops accruing on whatever you repay; some CeFi lenders with fixed-term products may handle early repayment differently, so confirm that specific term before assuming it's penalty-free.

Is there a minimum amount of crypto I need to take out a loan against?

There's no protocol-enforced minimum on major DeFi lending platforms like Aave or Compound — you can deposit collateral and borrow against any amount your wallet holds, though gas costs on Ethereum mainnet can make a very small loan not worth the transaction fees to open and manage. CeFi lenders often set their own practical minimum collateral value, commonly in the low hundreds of dollars, though the exact figure varies by platform and changes over time, so check the current terms on whichever lender you're considering. In practice, the real floor isn't a rule — it's whether the interest you'd pay and the gas or platform fees you'd incur make borrowing against a small amount worthwhile compared to just not borrowing.

How do I calculate my own liquidation price for my specific loan?

Your liquidation price is the collateral price at which your loan-to-value ratio — the amount you borrowed divided by your collateral's current value — crosses the protocol's stated liquidation threshold for that asset. To find it: divide your borrowed amount by the liquidation threshold, expressed as a decimal, to get the collateral value that triggers liquidation, then divide that figure by how much collateral you deposited to get the price per unit. The liquidation threshold itself varies by protocol and by asset, so pull the exact current figure from the platform you're using rather than assuming one universal percentage.

Where can I read more about how flash loans specifically work?

Flash loans get a full page of their own at /free/free-crypto-loans, covering how the atomic borrow-and-repay mechanic works, what they're used for (arbitrage, collateral swaps, self-liquidation), and the risk they pose to other protocols. The flash loan FAQ above covers only the basics as they relate to a standard collateralized loan — the dedicated page goes much deeper into the mechanics and DeFi-specific risks.

What happens if the lending platform itself gets hacked?

If a DeFi lending protocol is hacked through a smart-contract bug or an oracle-manipulation exploit, funds in that protocol's pools — including your deposited collateral — can be drained, and there's no central company to appeal to for recovery. If a CeFi lender is hacked or becomes insolvent instead, your collateral is subject to that company's own security and, in bankruptcy, its creditor-recovery process, as happened with Celsius and BlockFi in 2022. See /learn/what-is-defi for a broader look at the smart-contract, oracle, and custody risks that come with using any DeFi protocol.

Sources

Related guides

Ready to put this into practice?

Exchange sign-up bonuses pay both you and a referrer after a qualifying trade.

See bonuses →