Home / Blog / Guides

SEC Form 4 transaction codes: what every code means, and how often each one appears

GuideNumbers as of 2026-11-29

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.

The full list of Form 4 transaction codes

Counts are from the 2,424,955 transactions in Forms 3, 4 and 5 filed since January 2019, counted in November 2026.

CodeMeaningTransactionsA decision by the insider?
POpen-market or private purchase226,271Yes. The insider chose to buy with their own money
SOpen-market or private sale706,162Sometimes. Many are scheduled under a Rule 10b5-1 plan
AGrant, award or other acquisition from the company514,677No. Set by the compensation committee
FShares withheld to pay the exercise price or tax388,022No. Mechanical, happens when stock vests
MExercise or conversion of a derivative (options, RSUs)356,762No. Follows a vesting or expiry schedule
JOther acquisition or disposition (explained in a footnote)70,782Read the footnote. Often fund distributions
GGift57,973No
DSale or return of shares back to the company50,487Rarely. Usually mergers or buyouts
CConversion of a derivative security39,573No. Common at IPOs when preferred converts
LSmall acquisition4,821Rarely matters
XExercise of an in-the-money or at-the-money option3,742No
UShares tendered in a change of control2,644No. A takeover closing
IDiscretionary transaction in a company plan (such as a 401(k))1,859Sometimes
WAcquired or disposed of by will or inheritance794No
ZDeposit into or withdrawal from a voting trust215No
OExercise of an out-of-the-money option66No
EExpiration of a short derivative position64No
HExpiration or cancellation of a long derivative position23No
KEquity swap or similar hedge0Worth 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.

Which codes matter

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.

Acquired or disposed: the A/D column

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.

Where to see the codes in real filings

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.

Included in the $29/month membership

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 sample

Questions this post answers

What does code P mean on SEC Form 4?

An open-market or private purchase. The insider bought shares with their own money. It accounts for about 9% of insider transactions since 2019.

What does code S mean on Form 4?

An open-market or private sale. It is the most common code, and many sales are scheduled in advance under Rule 10b5-1 plans.

What does code F mean on Form 4?

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.

What does code M mean on Form 4?

A derivative such as a stock option or restricted stock unit was exercised or converted into shares. It follows a vesting or expiry schedule.

What does code A mean on Form 4?

A grant or award of shares or options from the company, usually part of pay. It is not a purchase.

What does code J mean on Form 4?

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.

What does code G mean on Form 4?

A gift of shares, for example to a family trust or a charity.

Related

Built from SEC EDGAR ownership filings. Only open-market purchases (transaction code P) and sales of $1M or more are counted; grants, option exercises and tax withholding are excluded because they run on schedules set years earlier. Historical description, not a prediction, and not investment advice.