AI trading and taxes: gains, wash sales and records

For US taxable accounts: how AI trades can create capital gains and wash sales, what records to retain, and why separate agents do not isolate taxes.

GuidesBy Agency

The trades are still yours

Using an AI agent does not create a separate tax category. In a US taxable brokerage account, sales can realize gains or losses and dividends can create taxable income even when reinvested. This guide covers general US federal rules, not your individual tax situation.

Holding period matters: gains on investments held more than a year are generally long-term; shorter holdings generally produce short-term gains. The IRS explains the distinction and reporting in Topic 409. Frequent reviews do not have to mean frequent sales.

Different agents can create one wash sale

A loss sale followed or preceded by buying substantially identical stock or securities within 30 days can trigger wash-sale rules. Separate agent names do not isolate the activity. Check other accounts, a spouse’s purchases and automatic reinvestments too.

For example, you sell 10 shares for $800 that cost $1,000. Ten days later, another agent buys 10 shares of the same stock for $850 in a taxable account. Assuming these are the only relevant transactions, the $200 loss is disallowed currently and added to the replacement shares’ basis, making it $1,050.

Replacement purchases in an IRA or Roth IRA have different consequences; the usual replacement-basis adjustment does not apply. See the wash-sale section of IRS Publication 550 before relying on a loss deduction.

Keep broker records, not just agent notes

  • Trade confirmations and statements with dates, quantities, proceeds and cost basis.
  • Dividend and reinvestment records, including activity outside the agent’s account.
  • Transfers, corporate actions and any corrected tax forms.
  • The agent’s decisions and instructions, to explain unexpected turnover or overlapping trades.

A broker’s Form 1099-B does not necessarily identify every cross-account wash sale. The IRS reporting instructions describe the broker’s reporting scope. Reconcile all relevant activity instead of treating an empty adjustment box as proof there is no issue.

Before automating a taxable portfolio

Tell the agent that the account is taxable, and ask it to explain proposed sales. That instruction is not a tax guarantee. Get qualified tax help for cross-account wash sales, transferred basis or an agent that traded more than you expected.

For allocation changes, read how rebalancing works before making a sell-first rule.