We use cookies

We use essential cookies to run the site, and optional cookies for analytics. We never sell your data.Cookie Policy·Privacy Policy

MetaMask crypto tax import

Add your MetaMask public wallet address to CryptaTax and import your on-chain history, swaps, transfers, DeFi, and NFTs, then get a tax report for your country.

Import from MetaMask
MetaMask crypto tax import

How to import MetaMask into CryptaTax

MetaMask is a non-custodial wallet, so there's no API key, you import by public address instead:

  1. Public address (recommended). Copy your MetaMask public wallet address (the one starting `0x…`). In CryptaTax, choose Add wallet → MetaMask, paste the address, and CryptaTax reads your on-chain history across supported EVM networks (Ethereum, and chains like Polygon, Arbitrum, Optimism, and Base).
  2. CSV upload. Export your transaction history from the MetaMask portfolio as a CSV and upload it in CryptaTax.
**Only ever share your *public* address. Never enter your Secret Recovery Phrase** or private key into any website or tool, CryptaTax never asks for it, and doesn't need it. A public address is read-only: it lets CryptaTax view your history, nothing more.

If you use multiple accounts in MetaMask, add each public address so your full picture is complete.

What gets imported

CryptaTax reads the on-chain activity for that address and categorises each type, matching transfers between your own wallets so they aren't taxed as disposals. Here is how each kind of activity is treated for tax. → DeFi & NFT tax guides →

Token swaps

Swapping one token for another through MetaMask is a taxable disposal of the token you gave up, even though no cash is involved, so it can create a capital gain or loss. Each swap is captured as its own dated event.

Transfers between your wallets

Sending your own coins between your addresses is a transfer, not a sale. CryptaTax pairs the two legs so a self-transfer is never mistaken for a disposal.

DeFi interactions

Liquidity, lending, and staking positions can create disposals and income depending on the protocol and your country. CryptaTax captures the on-chain legs so rewards are valued as income and any disposal is recorded rather than missed.

NFT trades

Buying an NFT with crypto is a disposal of that crypto, and selling an NFT is a disposal of the NFT. CryptaTax records both sides so the gain or loss is measured against the right cost basis.

Gas fees

Gas fees adjust your cost basis and proceeds. CryptaTax applies them automatically so your gain is not quietly overstated.

Then what?

CryptaTax calculates your gains and income across MetaMask and every other connected account and wallet, and produces a tax report formatted for your country. → Tax reports & forms → · Crypto tax by country →

Import from MetaMask

More on doing your MetaMask taxes

The sections above cover the essentials; the detail below fills in the cases that most often trip people up when they reconcile MetaMask for tax. The recurring theme is simple: your tax position spans every wallet and account you use, and MetaMask only ever sees its own slice of it. Treating MetaMask as one input among many, rather than the whole picture, is what keeps the final numbers right.

Why an MetaMask export alone is not enough

Any history you pull from MetaMask is, by definition, only the activity that happened on MetaMask. The moment you move coins to another wallet, trade elsewhere, or earn rewards on-chain, the true cost basis of those coins lives outside MetaMask. That is why a gain shown on an MetaMask statement can be wrong for your return, not because MetaMask made a mistake, but because it never had the full context. Reliable figures come from consolidating MetaMask with every other source you use.

Self-transfers, fees and rewards

  • Transfers in and out of MetaMask, moving your own coins is not a sale; both legs must be matched, or a phantom gain appears.
  • Fees, trading and network fees adjust your cost basis and proceeds, and ignoring them quietly inflates your gain.
  • Rewards and staking, anything MetaMask pays you is usually income at its value on receipt, then a capital gain or loss when you later sell.
  • In-app conversions, swapping one coin for another is a taxable disposal even though no cash is involved.

Getting your MetaMask history out safely

Connect MetaMask with a read-only API key wherever possible: it lets a tax tool read your history but never trade or withdraw, so your funds stay safe even if the key leaked. Make sure whatever you export covers your entire time on MetaMask, not just the current tax year, cost basis depends on when you first acquired each coin, so a partial history produces partial, and usually wrong, numbers. A live API connection is also less error-prone than re-downloading CSVs every time you trade.

When the tax on MetaMask activity is due

Tax is generally owed for the period in which a taxable event happened, the year you sold, swapped, spent or earned, not the year you eventually move cash to your bank. An active year on MetaMask can therefore create a bill even if you never cashed out to fiat, because crypto-to-crypto trades and reward receipts are themselves taxable in most countries. Deadlines and the exact way you report differ by jurisdiction, so confirm yours and keep your MetaMask records ready well ahead of the deadline.

How CryptaTax turns MetaMask activity into a report

CryptaTax connects your MetaMask account alongside every other wallet and exchange, matches the transfers between them, rebuilds cost basis across all sources using a consistent method, and values rewards and conversions correctly. The output is one capital-gains and income report for your whole portfolio, with MetaMask as one feed among many, where every figure traces back to a source transaction. Import your accounts → · Crypto tax calculator →

Avoiding common MetaMask mistakes

  • only exporting the current year instead of your full MetaMask history;
  • trusting an MetaMask gain/loss summary for coins you moved in from elsewhere;
  • treating self-transfers as sales and overpaying;
  • forgetting rewards, staking and in-app conversions;
  • leaving reconciliation until the filing deadline.

Does MetaMask report your activity to tax authorities?

Whether MetaMask shares data with your tax authority depends on your country and on rules that are widening over time, so “they won't know” is a poor assumption to plan around. Many platforms are subject to information-reporting and emerging international frameworks that push account and transaction data to tax authorities, and the direction of travel is toward more sharing, not less. Whatever MetaMask does or does not file on your behalf, the legal responsibility to report your gains and income stays with you, which is the real reason to keep an accurate, reconciled record rather than hoping a summary turns up.

What you actually pay tax on from MetaMask

Two broad things create a tax consequence on MetaMask: disposals and income. A disposal is any time you sell, swap or spend a coin, you have a capital gain or loss equal to the difference between what you receive and your cost basis. Income is anything MetaMask pays you: staking and savings rewards, referral or bonus payouts, and similar receipts, usually taxed at their value on the day you receive them. The same reward is often taxed twice over its life, once as income on receipt, then as a gain or loss when you later sell, which is exactly the kind of chain that is easy to get wrong by hand.

Cost basis is where the numbers are won or lost

For coins you bought on MetaMask and sold on MetaMask, basis is straightforward. The trouble starts with coins that arrived from somewhere else: MetaMask has no idea what you paid for them, so any gain it shows for those is unreliable. Correct figures require carrying each coin's original cost basis with it as it moves, across every venue, applying a single consistent method. That cross-platform basis tracking is precisely what a spreadsheet cannot do reliably at volume, and what dedicated software is built for.

MetaMask, DeFi and self-custody

Many people move coins between MetaMask and a self-custody wallet to use DeFi, then bring them back. Each leg is a transfer of your own assets, not a sale, but the round trip is exactly the kind of activity that produces phantom gains in weaker tools, because the two legs are not matched. Capturing the on-chain activity in between, and pairing the transfers end to end, is what keeps these moves from being mistaken for disposals.

Your MetaMask tax checklist

  • connect or export your full MetaMask history, from your first transaction;
  • connect every other wallet and exchange so transfers can be matched;
  • make sure rewards, staking and in-app conversions are included, not just trades;
  • apply a consistent cost-basis method allowed in your country;
  • produce a report where every figure traces back to a source transaction.

Run through that list once and your MetaMask taxes move from guesswork to a number you can defend. The detail here is general information, not advice, what MetaMask reports and how your country taxes it can change, so verify against MetaMask and your local rules or a qualified advisor.

Records worth keeping

Whatever tool you use, the figures you file are only as good as the records behind them. For MetaMask that means the date and value of every acquisition and disposal in your home currency, the fees on each trade and transfer, the transfers between your own accounts so basis follows the coins, and any rewards or income valued on the day you received them. Good records are not just defensive: they are what let you claim every loss and allowance you are entitled to, instead of rounding up out of caution because the paper trail is missing.

Why accuracy beats a quick estimate

It is tempting to eyeball your MetaMask gains and move on, especially for a smaller account. The problem is that crypto tax errors compound: one mishandled transfer or a missing cost basis early in the year throws off every figure that follows, and the gap grows as you trade. An accurate, reconciled report is not caution for its own sake, it is what stops you both over-paying and under-reporting. Done with the right tool, the accurate version takes about the same effort as the rough one, so there is little reason to settle for a guess.

If you have used MetaMask for several years

A long history on MetaMask is where manual approaches break down completely. Cost basis depends on when you first acquired each coin, so a few years of trades, transfers, rewards and conversions quickly becomes thousands of interlocking events that have to reconcile against each other and against your other accounts. The good news is that the blockchain and your exchange records are permanent, so even a neglected back-catalogue can be rebuilt, you do not have to have tracked anything in real time. Connecting your full MetaMask history and letting it reconcile is almost always faster and more accurate than trying to reconstruct old years by hand, and it puts prior periods on the same consistent footing as the current one.

Staking, savings and earn products in detail

If you use any of MetaMask's yield features, staking, savings, lending or earn, the rewards are usually ordinary income at their value on the day you gain control of them, and that same value becomes the cost basis you carry into a later sale. The receipt-day value therefore matters twice: it is your income now and it sets your gain later. A plain trades export rarely flags these clearly, which is why earn products are one of the most commonly under-reported parts of an exchange history. Treating each reward as a dated, valued income event keeps both halves of the calculation correct.

Stablecoins, conversions and small balances

It is easy to assume stablecoins and tiny balances do not matter for tax, but they can. Converting one coin to a stablecoin is a disposal of the first coin, even though the value barely moves, and swapping between assets inside MetaMask is taxable in the same way. Dust and small leftover balances also carry cost basis and can produce small gains or losses when finally sold or converted. None of this is large on its own, but ignored across a busy year it adds up to a return that does not reconcile, so it is worth capturing rather than rounding away.

Putting your MetaMask taxes on autopilot

The practical takeaway is the same across everything above: your tax position spans every account you use, the hard part is reconciliation rather than the rules, and that is exactly the part worth automating. Connect MetaMask and your other accounts once, let the engine match transfers and rebuild cost basis, and the report follows. From there your attention goes to the decisions that actually need judgement, not to stitching exports together by hand.

FAQ

How do I get my MetaMask tax report?

Add your MetaMask public wallet address to CryptaTax (or upload a CSV), and CryptaTax reads your on-chain history and generates a country-formatted report.

Does MetaMask connect by API?

No. As a non-custodial wallet, MetaMask is imported by your public wallet address (an on-chain read) or by CSV, not an API key.

Is it safe to give CryptaTax my wallet address?

Yes. A public address is read-only, it can't move funds. Never share your Secret Recovery Phrase or private key; CryptaTax never asks for them.

Does CryptaTax handle DeFi and NFTs from MetaMask?

Yes. It imports and categorises swaps, DeFi interactions, and NFT trades from your on-chain history.

I use several MetaMask accounts, what do I do?

Add each public address. CryptaTax combines them and treats transfers between your own wallets as non-taxable.

Related