Stocks › Ownership › Insider Transactions

Form 4 Transaction Codes Explained

Spot the edge. Swoop in.

Every line item on a Form 4 filing carries a one-letter transaction code that tells you what actually happened — a voluntary purchase, a routine stock grant, a tax-withholding transaction, or something else entirely. Reading that code correctly is what separates a genuine insider conviction signal from ordinary compensation mechanics. This guide is the full deep-dive: every code, why each one exists, the edge cases you'll run into on a real filing, and a worked example reading an actual Form 4 line.

By Swoopr Editorial Team

Published · Updated

AI-assisted content · Swoopr is responsible for the final published article.

Direct Answer

Form 4 transaction codes are single letters — P, S, A, M, G, J, F, and C among the most common — that identify the exact nature of a reported insider transaction. Code P (open-market purchase) and code S (open-market sale) reflect discretionary trading decisions, while codes like A (grant), M (option exercise), G (gift), and F (tax withholding) usually reflect routine compensation mechanics rather than a voluntary buy or sell decision. Reading the code correctly is the first step in judging whether a filing is a meaningful sentiment signal.

Key Takeaways

Why Does Form 4 Use Transaction Codes at All?

Form 4 exists to disclose every change in an insider's beneficial ownership, not just voluntary trades. That scope deliberately includes stock grants, option exercises, gifts, and other events that aren't trading decisions in any meaningful sense — the SEC's disclosure regime under Section 16 is built around completeness of the ownership record, not around isolating "signal" from "noise." The transaction code is the mechanism that lets a filing stay comprehensive while still telling a reader, at a glance, what kind of event actually occurred on each line.

Without the code, every Form 4 line would just show a change in share count and price, and a reader would have no way to distinguish a CEO who spent $2 million of personal cash to buy stock from a CEO who simply had restricted stock units vest as scheduled compensation. The code is what makes the filing interpretable rather than just a raw ledger entry.

The Full Form 4 Transaction Code Table

CodeMeaningPlain-English DescriptionDiscretionary or Routine
POpen-market purchaseThe insider bought shares on the open market at the prevailing price, using their own funds.Discretionary — the strongest conviction signal
SOpen-market saleThe insider sold shares on the open market at the prevailing price.Can be discretionary, but weak as a standalone signal — see common motivations below
AGrant or awardThe insider received shares, RSUs, or options as compensation, with no cash paid.Routine — compensation, not a trading decision
MOption exercise (or conversion of a derivative security)The insider exercised a previously granted stock option, paying the exercise price to convert it into shares.Routine — mechanical exercise of an existing grant
GGiftShares were given away or received as a gift, often to a family member, trust, or charity.Routine — estate or philanthropic planning, not a market view
JOther acquisition or disposition (footnoted)A transaction that doesn't fit the standard categories; the filer must explain it in a footnote.Context-dependent — always read the footnote
FPayment of exercise price or tax liability by delivering or withholding securitiesShares were withheld or surrendered to cover the exercise price or tax bill on a grant or option, rather than the insider paying cash.Routine — mechanical tax or cost settlement, commonly seen at vesting
CConversion of a derivative securityA convertible security the insider already held, such as a convertible note or preferred share, was converted into common stock per its pre-existing terms.Routine — executing a term set when the security was originally issued

This table covers the eight codes an investor is most likely to encounter reading insider filings for operating companies. The SEC defines a small number of additional, less common codes — mainly for derivative security transactions and Rule 16b-3 exempt transactions — that appear rarely outside specialized situations.

The Mechanics Behind Each Code

Why does "conversion" (code C) even need its own code?

Code C exists because converting a derivative security — most often a convertible preferred share or convertible note — into common stock isn't a new investment decision at all. The terms of the conversion (the ratio, the trigger, sometimes the timing) were fixed when the original convertible security was issued, often years earlier. Reporting it separately from an open-market purchase prevents a reader from mistaking "an insider's convertible notes converted on schedule" for "an insider decided to buy common stock today." The economic decision, if there was one, happened at the original issuance — the conversion itself is closer to a mechanical settlement.

Why does tax withholding (code F) show up as a "transaction" at all?

When restricted stock units vest, the insider owes ordinary income tax on the value of the shares at vesting, even though no cash changed hands. Companies commonly settle that tax bill by withholding a portion of the newly vested shares — sell-to-cover, or direct share withholding — rather than making the insider write a separate check. Because that withholding reduces the insider's share count, it's technically a disposition of beneficial ownership and has to be reported like any other change, hence code F. It's easy to misread an F-coded line as a sale decision; it's really the mechanical side effect of vesting, sized to the tax bill rather than to any view on the stock.

Why does a gift (code G) need to be disclosed at all?

A gift permanently changes who beneficially owns the shares, which is exactly the kind of change Section 16 is designed to track — regardless of motive. Reporting gifts also closes a loophole: without disclosure, an insider could transfer shares to a family member's account and have that transfer look, to an outside observer, like the insider simply sold shares with no explanation. The G code keeps the ownership record complete even when no market transaction occurred.

Edge Cases and Footnote Conventions

Multiple codes on a single filing

It's common for one Form 4 to contain several transaction lines, each with its own code, especially around an option exercise. A classic pattern is a same-day exercise-and-sell: line one reports an M-coded option exercise (the insider converts vested options into shares), and line two reports an S-coded open-market sale of some or all of those same shares, executed the same day to cover the exercise cost and any tax due. Read together, this pair usually represents a mechanical cashless exercise rather than two separate trading decisions — treating the S-coded line as a standalone bearish signal without checking for the paired M-coded exercise is a common misread.

The J code and why footnotes matter

Code J ("other acquisition or disposition") is a catch-all for transactions that don't map cleanly onto the standard categories — a merger-related share conversion, a distribution from a partnership, or a transaction structure unique to a specific deal. The SEC requires the filer to explain a J-coded transaction in a footnote, and that footnote text is often the only way to understand what actually happened. Never treat a J code as self-explanatory; always read the accompanying footnote before drawing any conclusion.

10b5-1 plan footnotes on P- and S-coded transactions

Since 2023, Form 4 filings are required to indicate whether a reported transaction was made pursuant to a Rule 10b5-1 trading plan, typically noted with a checkbox and a footnote disclosing the plan's adoption date. A P-coded purchase or S-coded sale executed under a pre-existing 10b5-1 plan reflects a decision made when the plan was adopted, potentially months earlier — not a fresh, real-time view of the company. Checking for that plan disclosure is an essential step before treating any P or S transaction as a live conviction signal.

Worked Example: Reading a Real-Style Form 4 Line Item

Illustrative example, styled after a real EDGAR filing — not an actual transaction.

Assume a Form 4 filed by a company's chief operating officer contains the following table 1 (non-derivative securities) entries:

Transaction DateCodeAmountPriceShares Owned After
08/04/2026M+15,000$18.40 (exercise price)62,000
08/04/2026F-4,850$46.10 (market value used for tax calc)57,150
08/04/2026S-10,150$46.05 (weighted average sale price)47,000

Reading this line by line: The first row (code M) shows the COO exercising 15,000 vested stock options at an $18.40 exercise price — a mechanical conversion of an existing grant, not a new purchase decision. The second row (code F) shows 4,850 of those newly acquired shares withheld to cover the resulting tax liability, valued at the $46.10 market price used for the tax calculation — again mechanical, not a trading choice. The third row (code S) shows the remaining 10,150 shares sold on the open market the same day at a weighted average price of $46.05.

What this filing actually tells you: Read in isolation, the S-coded sale of 10,150 shares might look like a bearish signal. Read together with the M and F lines filed the same day, the pattern is a standard cashless option exercise: the COO exercised options, had shares withheld for taxes, and sold the remainder — likely to realize the value of a compensation grant rather than to express a negative view of the company. None of the three lines, on their own or together, indicates the COO chose to reduce a position they otherwise would have held; they indicate a routine, pre-scheduled compensation event settling in cash.

What would change the read: If this same COO filed a separate Form 4 weeks later showing a P-coded open-market purchase, paid for entirely with personal funds unconnected to any option exercise, that filing would be a meaningfully different — and more informative — signal than anything in the exercise-and-sell sequence above.

Misconceptions Versus Reality

MisconceptionReality
Any code that reduces an insider's share count is a "sale" and therefore bearishCodes F, C, and even some J-coded transactions reduce share count through tax withholding, conversion terms, or non-market events, not a market view
An S-coded sale next to an M-coded exercise on the same filing is two separate signalsSame-day M-then-S pairs are typically one mechanical cashless-exercise event, best read together rather than as independent transactions
The transaction code alone tells you whether a filing is under a 10b5-1 plan10b5-1 plan status is disclosed separately via a checkbox and footnote, not encoded in the P or S letter itself
Code J transactions are rare edge cases that can be skippedJ-coded transactions frequently appear around mergers, spin-offs, and partnership distributions, and the footnote often contains the most important context on the entire filing
All eight codes carry roughly equal sentiment weightCode P stands apart as the clearest discretionary signal; A, M, G, F, and C are routine by default and should be discounted absent unusual context

Risks, Limitations, and Exceptions

Frequently Asked Questions

What does transaction code P mean on a Form 4?

Code P means an open-market purchase — the insider voluntarily bought shares at the prevailing market price using their own funds. It is generally considered the single most informative transaction code, since it reflects a discretionary decision to increase exposure rather than a routine compensation event.

What does transaction code S mean on a Form 4?

Code S means an open-market sale. Unlike code P, an S-coded sale is a much weaker standalone signal because insiders sell for many reasons unrelated to their view of the company, including diversification, liquidity needs, tax planning, and pre-scheduled 10b5-1 trading plans.

Can a single Form 4 filing have more than one transaction code?

Yes. A single Form 4 can report multiple transaction lines, each with its own code, when an insider has more than one reportable event around the same time — for example, an option exercise (code M) reported on the same filing as the resulting open-market sale (code S) of the acquired shares.

What is the difference between code A and code M on a Form 4?

Code A reports a grant or award, typically restricted stock units or options newly issued to the insider as compensation, with no cash paid by the insider. Code M reports the exercise of a previously granted option, where the insider pays the exercise price to convert an existing option into actual shares. Neither reflects an open-market purchase decision.

Are Form 4 transaction codes the same as trading signals?

No. A transaction code only describes the mechanical nature of a filing — what kind of event occurred. Whether that event carries meaningful sentiment information depends on additional context, such as whether it was discretionary, its size relative to the insider's holdings, and whether it occurred alongside other insiders buying or selling.

Sources and Methodology

This guide describes SEC Form 4 transaction codes based on the SEC's own published form instructions and public filing system as of mid-2026. Key sources include:

The worked example in this guide is a hypothetical, illustrative filing constructed for educational purposes and does not describe a specific real transaction, company, or individual.

This content was reviewed by the Swoopr Editorial Team in August 2026 and reflects publicly available SEC guidance at that time. Confirm the current transaction code list directly against SEC.gov, since form instructions can be amended.

Conclusion

Form 4 transaction codes are the key to reading any insider filing correctly. Code P stands apart as the clearest discretionary signal, S is a weaker standalone signal that needs context, and codes A, M, G, F, and C generally reflect routine compensation mechanics rather than trading decisions. Reading a filing well means checking every line's code, watching for paired transactions like an M-then-S same-day exercise, and never skipping a J code's footnote. Once you can read the codes themselves, the natural next step is interpreting what a genuine P-coded purchase — especially a cluster of them — actually implies for a stock.

Related Reading