Insider transaction codes
Updated Nov 11, 2026 · 7 min read · By the Phrykt team, how we write and check guides
Insider transaction codes are the one-letter codes on each row of a Form 4 that say what kind of event changed an insider's holding. Only P (open market or private purchase) and S (open market or private sale) are purchases and sales. Codes such as A, M, F and G mark awards, option exercises, tax withholding and gifts.
Two rows can both show 10,000 shares leaving an executive's account, yet one is a sale for cash and the other is shares held back by the company to pay income tax. The code is how you tell them apart.
The full list is in the General Instructions at the end of the Form 4. Below are the codes you will meet most often.
What do the P and S codes mean on a Form 4?
P is a purchase and S is a sale.
| Code | Meaning |
|---|---|
| P | Open market or private purchase |
| S | Open market or private sale |
These are the only two codes for a plain purchase or sale, where the insider decides to trade and pays or receives a price. Most are trades on a stock exchange. The codes also cover private deals, such as a director buying shares from another shareholder.
What do Form 4 codes A, M, F and D mean?
Codes A, M, F and D mostly mark pay. They come from Rule 16b-3, which covers transactions between an insider and their own company.
| Code | Meaning |
|---|---|
| A | Grant or award from the company, such as stock or options |
| M | Exercise or conversion of an option or similar right, exempt under Rule 16b-3 |
| F | Shares withheld or delivered to pay the exercise price or tax |
| D | Shares disposed of back to the company |
| I | Discretionary transaction under Rule 16b-3(f), for example in a company benefit plan |
A common pattern: restricted stock units vest and an M or A row adds shares. The same day, an F row removes some of them, kept by the company to cover the tax bill. The insider did not decide to sell those F shares on the market.
What do Form 4 derivative codes C, X, O, E and H mean?
These codes mark conversions, exercises and expirations of options and similar rights.
| Code | Meaning |
|---|---|
| C | Conversion of a derivative security |
| X | Exercise of an in-the-money or at-the-money derivative |
| O | Exercise of an out-of-the-money derivative |
| E | Expiration of a short derivative position |
| H | Expiration or cancellation of a long derivative position with value received |
If an insider exercises options and then sells the new shares, the sale shows up as a separate S row.
What do Form 4 codes G, W, J and the others mean?
These codes cover gifts, inheritances and less common events.
| Code | Meaning |
|---|---|
| G | Bona fide gift |
| W | Acquisition or disposition by will or inheritance |
| L | Small acquisition under Rule 16a-6 |
| Z | Deposit into or withdrawal from a voting trust |
| J | Other acquisition or disposition, explained in a footnote |
| K | Equity swap or similar instrument, added to another code, for example S/K |
| U | Shares tendered in a change of control deal |
A V next to a code means the insider reported the transaction voluntarily, earlier than required.
G deserves a note. Since February 27, 2023, gifts of stock must be reported on Form 4 within two business days. Before that, insiders could wait until the annual Form 5. The change came with the regulator's December 2022 amendments on insider trading plans.
Why does Phrykt list only P and S trades?
Phrykt lists only P and S because most other rows are pay or tax events, not trades the insider chose. Most Form 4 rows are grants, vesting, option exercises, tax withholding and gifts. These follow a pay schedule or a tax rule, and the insider often has no choice about the timing.
Mixed in, they would fill a list of "insider sales" with tax withholding and a list of "insider buys" with stock awards. So the insider tables on Phrykt include only rows coded P or S. Everything else stays in the original filing, which each row links to.
Even P and S rows need context. A sale can be part of a plan set up months earlier. The footnotes and the 10b5-1 checkbox help here.
What is a Rule 10b5-1 trading plan?
A Rule 10b5-1 plan is a written plan, set up in advance, that fixes how many shares to buy or sell, at what prices or on what dates. Insiders often know things the public does not, so many of them use one in order to trade at all. Once the plan starts, the insider cannot steer it. A plan that meets the conditions in Rule 10b5-1(c) gives the insider a legal defense against a charge of trading on inside information.
The December 2022 amendments tightened these plans. They took effect on February 27, 2023. The main changes:
- Cooling-off period. Directors and officers must wait before the first trade under a new plan. The wait is the later of 90 days after adoption, or two business days after the company files its financial report for the quarter the plan was adopted in. It is capped at 120 days. For most other people the wait is 30 days.
- Certification. Directors and officers must certify in the plan that they do not have material non-public information and are acting in good faith.
- Limits on overlapping and single-trade plans. Insiders generally cannot run several plans at once, and can rely on only one single-trade plan in any 12 months.
The checkbox on Form 4
From April 1, 2023, Forms 4 and 5 carry a checkbox. The insider ticks it if a reported trade was made under a plan meant to satisfy Rule 10b5-1(c). The form also asks for the date the plan was adopted, which usually appears in a footnote.
Filings made before April 1, 2023 do not have this checkbox. For older trades, the only clue is a footnote, and many filings did not include one. So an unticked box on an old filing does not mean the trade was outside a plan.
What is indirect ownership on a Form 4?
Indirect ownership means the shares are held through someone or something else, such as a spouse or a trust, while the insider still counts as a beneficial owner. Each row on a Form 4 says how the insider holds the shares.
- D (direct). The shares are in the insider's own name or account.
- I (indirect). The shares are held through someone or something else, and the insider still counts as a beneficial owner. The next column explains how: "By spouse", "By family trust", "By LLC", or the name of a fund the insider controls.
Indirect holdings are often on separate rows, each with its own "amount owned after" figure. To see an insider's total stake, add them all together. If a footnote says the insider disclaims beneficial ownership, they report the shares because the rules require it but say the shares are not economically theirs.
For how fund managers report their holdings, see what a 13F is.
See the latest insider trades →