Home › Encyclopedia › Transaction types › Borrow / Repay
Classification encyclopedia

Borrowing and repaying: tax classification and treatment

Drawing a loan against collateral and paying it back are classified non_taxable: loan proceeds are not income and repayment of principal is not a disposition, the same as any secured borrowing.

Example last verified 2026-08-06 against the live engine. CryptoTaxEdge Team.

91 verified rules13 chains7 protocols

Tax treatment

House treatment: non_taxable for borrow, repay.

This mapping comes from the closed CryptoTaxEdge classification taxonomy: every verdict resolves to one category and one of five treatments (disposal, income, non_taxable, expense, needs_review), with a confidence score and review routing when sources disagree.

How the engine reads this shape

A borrow receives tokens plus a matching debt, so there is no accession to wealth under IRC §61. A repay extinguishes the debt with the borrowed asset. The tax-relevant edges are elsewhere: repaying with a DIFFERENT asset than was borrowed disposes of that asset, interest paid may be deductible or capitalized depending on the taxpayer’s activity, and a liquidation of the collateral is a forced disposition. The engine distinguishes these shapes by the actual token flows rather than by what the front end called the button.

A real classification

Real transaction, replayed against the live engine
POST /v1/classify { "chain": "ethereum", "hash": "0x001567911660f0d8e2b85260c379a3674bca0f7f2bb656843ebf237f84ec8809" }
{
  "api_version": "v1",
  "hash": "0x001567911660f0d8e2b85260c379a3674bca0f7f2bb656843ebf237f84ec8809",
  "chain": "ethereum",
  "category": "borrow",
  "treatment": "non_taxable",
  "taxable": false,
  "confidence": 85,
  "needs_review": false,
  "ledger_action": "Loan",
  "protocol": "Morpho Blue",
  "description": "Loan drawdown via Morpho Blue; loan proceeds are not income (IRC §61).",
  "review_note": null,
  "grey_area": null,
  "assets": {
    "sent": [
      {
        "symbol": "CarryTradeUSDTRYLeverage",
        "amount": "8",
        "decimals": 18,
        "action": "transferred",
        "token_address": "0x2bf11d2e04bc40daa95c24b8b90ec4f5c57dd326",
        "token_name": "Morini CarryTradeUSDTRYLeverage Vault",
        "to": "0x4a6c312ec70e8747a587ee860a0353cd42be0ae0"
      }
    ],
    "received": [
      {
        "symbol": "RLUSD",
        "amount": "5",
        "decimals": 18,
        "action": "received",
        "token_address": "0x8292bb45bf1ee4d140127049757c2e0ff06317ed",
        "token_name": "RLUSD",
        "from": "0xbbbbbbbbbb9cc5e90e3b3af64bdaf62c37eeffcb"
      }
    ],
    "gas": null
  }
}

Verbatim wire response from the live engine. Last verified 2026-08-06 by live replay. Check any transaction yourself in the Classification Explorer.

Verified rules behind this category

The engine backs this category with 91 verified contract-level rules across 13 chains, each earned from repeated on-chain observation and cross-source agreement rather than a heuristic guess. A small illustrative sample:

ProtocolChainCategoryConfidence
multipleethereumborrowhigh
multipleethereumrepayhigh
multiplearbitrumrepayhigh
multiplearbitrumborrowhigh
multiplepolygonborrowhigh

Illustrative sample of the 91 verified rules behind this page: the full mappings are served through the API.

Limitations

What this page does not decide. Whether accrued interest is an expense, an investment cost, or nondeductible is a facts-and-circumstances call for the preparer. Liquidations and self-liquidating loan products are classified separately from the plain borrow and repay shapes shown here. Confidence is a corroboration signal, not an accuracy percentage: when independent parses of a transaction disagree, the engine returns needs_review with taxable: null rather than guessing.

Classify a transaction

Frequently asked questions

What tax treatment does this page document?

House treatment follows the CryptoTaxEdge Classification Standard. Categories with no fixed mapping (GAP-3) tell you to read the treatment field on the record rather than infer it from the category name.

Where is the closed vocabulary published?

The versioned Classification Standard at https://cryptotaxedge.com/standard/ enumerates emitted categories and the five-treatment enum. This encyclopedia page is a worked example on top of that Standard.

Are the wire examples still current?

Yes. Each example is verbatim engine output, re-verified on a daily replay against the live engine.

Not tax advice. CryptoTaxEdge is software, not a licensed tax advisor. Classifications and the treatments described here are informational only; verify results and consult a qualified tax professional before filing. IRC section references are general framing.