Every line on a Form 4 carries a one-letter transaction code. The code tells you whether the insider chose to trade or whether the shares simply moved because of a grant, a vesting date or a tax bill. Here is every code, with how often it actually shows up.
Counts are from the 2,424,955 transactions in Forms 3, 4 and 5 filed since January 2019, counted in November 2026.
| Code | Meaning | Transactions | A decision by the insider? |
|---|---|---|---|
| P | Open-market or private purchase | 226,271 | Yes. The insider chose to buy with their own money |
| S | Open-market or private sale | 706,162 | Sometimes. Many are scheduled under a Rule 10b5-1 plan |
| A | Grant, award or other acquisition from the company | 514,677 | No. Set by the compensation committee |
| F | Shares withheld to pay the exercise price or tax | 388,022 | No. Mechanical, happens when stock vests |
| M | Exercise or conversion of a derivative (options, RSUs) | 356,762 | No. Follows a vesting or expiry schedule |
| J | Other acquisition or disposition (explained in a footnote) | 70,782 | Read the footnote. Often fund distributions |
| G | Gift | 57,973 | No |
| D | Sale or return of shares back to the company | 50,487 | Rarely. Usually mergers or buyouts |
| C | Conversion of a derivative security | 39,573 | No. Common at IPOs when preferred converts |
| L | Small acquisition | 4,821 | Rarely matters |
| X | Exercise of an in-the-money or at-the-money option | 3,742 | No |
| U | Shares tendered in a change of control | 2,644 | No. A takeover closing |
| I | Discretionary transaction in a company plan (such as a 401(k)) | 1,859 | Sometimes |
| W | Acquired or disposed of by will or inheritance | 794 | No |
| Z | Deposit into or withdrawal from a voting trust | 215 | No |
| O | Exercise of an out-of-the-money option | 66 | No |
| E | Expiration of a short derivative position | 64 | No |
| H | Expiration or cancellation of a long derivative position | 23 | No |
| K | Equity swap or similar hedge | 0 | Worth a look. The insider is hedging |
There is also a V flag. It is not a transaction code of its own: it marks a transaction that was reported earlier than required.
Code P is the one to watch. It is under a tenth of all transactions, and it is the only code where the insider plainly decided to put their own money into the stock. Code S is the most common code of all, but sales happen for many reasons: tax bills, diversification, a house purchase, or a plan set up months earlier.
Codes A, F and M together make up more than half of everything filed. They follow pay schedules. A chief executive whose Form 4 shows an M and an F on the same day did not buy or sell anything by choice: options vested, and shares were withheld for tax.
Next to the code, each line says whether shares were acquired (A) or disposed of (D). Do not confuse this with transaction codes A and D. A line can have code F with a D beside it, meaning shares were withheld and left the insider's account.
The daily insider buying report lists every code P purchase filed the previous day. Each company page shows that company's purchases and its sales of $1M or more. The guide to reading a Form 4 covers the rest of the form, and the schema page documents the trans_code column in the downloadable data.
All seven tools, the full two-year feed, the JSON API and email alerts, refreshed every morning. A free quarterly sample of the dataset needs no account.
See plansFree sampleAn open-market or private purchase. The insider bought shares with their own money. It accounts for about 9% of insider transactions since 2019.
An open-market or private sale. It is the most common code, and many sales are scheduled in advance under Rule 10b5-1 plans.
Shares were withheld by the company to pay the exercise price or the tax due when stock vested. The insider did not choose to sell.
A derivative such as a stock option or restricted stock unit was exercised or converted into shares. It follows a vesting or expiry schedule.
A grant or award of shares or options from the company, usually part of pay. It is not a purchase.
Another kind of acquisition or disposition that fits no other code. The filing must explain it in a footnote; it is often a fund distributing shares to its partners.
A gift of shares, for example to a family trust or a charity.