// guide

What Is SEC Form 4? A Complete Guide to Insider Trading Filings

Updated 2026-06-09. By Theodor Nielsen, founder of Form4API.

// answer

SEC Form 4 is the "Statement of Changes in Beneficial Ownership" — a filing that every director, officer, and 10%+ shareholder of a U.S. public company must submit to the SEC within 2 business days of any transaction in their company's stock. It discloses the insider's name, transaction date, transaction code, shares involved, price per share, and post-transaction holdings.

Who has to file Form 4?

Section 16 of the Securities Exchange Act of 1934 requires three categories of people to file Form 4 whenever they transact in their own company's stock:

  • Directors — members of the company's board, including non-executive directors.
  • Officers — defined broadly as executives with policy-making functions. Includes the CEO, CFO, COO, named-executive officers, and certain VPs depending on responsibility.
  • 10%+ beneficial owners — any individual or entity owning more than 10% of any class of the company's equity securities registered under Section 12.

The filing obligation attaches the moment someone falls into one of these categories. New officers or directors file a Form 3 (the initial-holdings filing) within 10 days of starting, then file a Form 4 for every subsequent transaction. Beneficial ownership thresholds are calculated on a fully diluted basis including derivative securities the holder could convert.

When Form 4 must be filed

Form 4 must be filed within 2 business days of the transaction date, electronically through the SEC's EDGAR system. This is a tight window — the Sarbanes-Oxley Act of 2002 shortened it from the previous 10-day standard specifically to make insider trading information actionable for the market while it still has predictive value.

Late filings carry real consequences. The SEC publishes a list of late-filing insiders in the issuer's annual proxy statement (DEF 14A) under Item 405, and repeated late filings can trigger SEC enforcement action. Following amendments to insider-trading rules in 2023, the SEC has accelerated review of late filings — a detail worth knowing if your application alerts on late filers as a separate signal.

Practically: if an insider trades on a Monday, the filing must be on EDGAR by close of business Wednesday. Form4API typically indexes the filing into /v1/transactions within 5 minutes of SEC publication.

Reading a Form 4 filing — field by field

A Form 4 filing has three structural parts: a header identifying the filer and issuer, Table I covering non-derivative transactions (open-market buys and sales of common stock), and Table II covering derivative transactions (options, warrants, convertible securities).

Header

  • Reporting Person — name, address, and relationship to the issuer (director, officer, 10%+ owner, or a combination)
  • Issuer — company name and ticker symbol
  • Date of Earliest Transaction — the transaction date
  • Original Filing / Amendment — marks whether this is a Form 4 or Form 4/A amendment

Table I — Non-derivative transactions

Each row represents one transaction in common stock. The columns are: security title, transaction date, transaction code (see codes section below), the acquired/ disposed flag, number of shares, price per share, and the post-transaction share balance owned by the insider. This is the table most analytical workloads care about — purchases (P) and sales (S) here are the data points that drive cluster signals, sentiment, and return analysis.

Table II — Derivative transactions

Each row represents one transaction in derivative securities — typically options, warrants, or convertible preferred shares. Columns include the underlying security, conversion or exercise price, expiration date, and the number of shares the derivative covers. Table II is less commonly traded for signal purposes, but option-exercise-and-immediate-sale patterns (M code followed by S code on the same day) are worth tracking as a category of their own.

Form 4 transaction codes explained

The transaction code is the single most important field on a Form 4 row. It tells you what kind of event the row represents — a discretionary purchase, a tax- withholding mechanic, a compensation grant. The same insider can show up multiple times in a quarter under wildly different signal-weight codes, so filtering on the code is the first thing most analytical workloads do.

CodeNameSignalNotes
POpen market purchaseStrong positiveAn insider voluntarily bought shares on the open market with their own money. Considered the highest-signal transaction code.
SOpen market saleMixedAn open-market sale. Selling has many motivations (diversification, taxes, scheduled plans) so signal is weaker than purchases.
AGrant or awardNeutralCompensation award. The insider did not choose to buy at this price — not predictive.
DSale back to issuerNeutralDisposition back to the company (e.g., share-repurchase tender). Mechanical, not a discretionary signal.
FTax withholdingNeutralShares withheld to cover tax on a vested grant. Compensatory mechanic, not a signal.
MExercise of derivativeNeutral to mildly positiveOptions or warrants exercised. The insider chose to convert derivatives to shares but at a pre-set strike — not a fresh purchase decision.
GGiftNeutralA non-economic transfer (typically to a trust or family member). Not a market signal.
VVoluntary disclosureContext-dependentVoluntarily early-reported transaction. The transaction class itself carries the signal.
XIn-the-money exerciseNeutralExercise of an in-the-money derivative. Same mechanics as M.
CConversionNeutralConversion of a convertible security (preferred stock, convertible notes) into common.
JOtherRead footnoteA catch-all that requires reading the filing footnote to interpret.

The SEC publishes the full transaction-code reference in EDGAR's Form 4 instructions (PDF). The table above covers the codes that account for >99% of filings; rarer codes like H, I, K, L, U, W, and Z exist for edge-case transactions documented in the SEC's instructions.

Why Form 4 matters to investors

Insider purchases are one of the few signals that survives modern market efficiency. The asymmetry is straightforward: an insider may sell for many reasons (taxes, diversification, scheduled plans, college tuition, divorce), but they generally only buy for one — they think the stock will rise. This makes open-market purchases (code P) the highest-signal subset of Form 4 transactions.

Cluster buys — multiple insiders at the same company buying in the same direction within a short window — amplify the signal further. Academic research dating back to Lakonishok and Lee (2001) consistently shows that cluster purchases generate roughly 2× the excess return of solitary insider buys over 1-3 month horizons. See the cluster buy signals guide for the full methodology.

Form 4 data is therefore most actionable when filtered: open market only (exclude option exercises and compensatory grants), exclude 10b5-1 plan trades (pre- scheduled, no information advantage), focus on officers and directors (not passive 10%+ holders), and look for cluster patterns rather than single-insider moves.

Common mistakes reading Form 4

  • Mistaking option exercises (M) for purchases (P). An M code means the insider converted derivatives they already held into shares — they didn't spend fresh money on the open market. Filtering on transaction_code = 'P' eliminates this.
  • Counting gift transactions (G) as sales. Gifts are non-economic transfers (usually to trusts or family). The shares change ownership but no money moves.
  • Not excluding 10b5-1 plan trades. These are pre-scheduled and carry no information signal. Always check the is10b5Plan flag or use Form4API's default exclusion.
  • Counting derivatives and underlying separately. An exercised option (M code, Table II) followed by an immediate sale (S code, Table I) is a single economic event — counting both inflates volume.
  • Treating tax-withholding sales (F) as signals. An F transaction is the company automatically withholding shares from a vested grant to cover the insider's tax bill. Mechanical, not predictive.
  • Ignoring Form 4/A amendments. An amendment retires the original record. Naive ingestion that doesn't handle amendments will double-count corrected transactions.

How to access Form 4 data programmatically

There are three practical approaches, ordered by complexity:

1. Direct SEC EDGAR (free, complex)

The SEC publishes every Form 4 as an XML document on EDGAR within minutes of filing. You can fetch the full filing index daily, download each filing's XML, and parse it yourself. The downside is that EDGAR's XML format is verbose, the company / insider metadata is split across separate filings, and ticker / CIK / CUSIP joins require additional reference data. Expect 200-400 lines of robust parsing code per pipeline. Free at the source.

2. Form4API (developer-friendly REST)

Skip the parsing layer and call a REST endpoint that returns parsed transactions as JSON with ticker / CIK / CUSIP already joined and 10b5-1 flagged:

curl "https://api.form4api.com/v1/transactions?ticker=AAPL&code=P&per_page=10" \
  -H "X-Api-Key: $FORM4API_KEY"

The Free tier covers 15,000 calls per month with no credit card. Pro at $49/month unlocks 1.5M calls and webhooks. See /docs for the full reference.

3. Real-time webhooks (push)

Instead of polling, register a webhook subscription and receive every new Form 4 transaction within minutes of SEC publication. Payloads are HMAC-SHA256 signed and retry automatically. Subscribe on the dashboard webhooks page.

Form 3 vs Form 4 vs Form 5

All three are Section 16 insider filings, but they cover different events:

  • Form 3 — the initial-ownership filing. Every new director, officer, or 10%+ holder files a Form 3 within 10 days of becoming an insider, disclosing all securities they already hold.
  • Form 4 — the per-transaction filing. Filed within 2 business days of every reportable transaction. The vast majority of analytical work uses Form 4 exclusively.
  • Form 5 — the annual catch-up. Filed within 45 days of the issuer's fiscal year end. Covers transactions exempt from Form 4 reporting or missed during the year. Heavy on compensatory transactions; low analytical value.

Form 4 vs Form 144

Form 4 and Form 144 are often discussed together but cover different temporal perspectives on insider sales:

  • Form 144 — forward-looking. An insider files Form 144 when they intend to sell restricted or control securities. The filing must happen before the sale, and the sale must execute within 90 days. Required when the proposed sale exceeds 5,000 shares or $50,000 in any 3-month period.
  • Form 4 — backward-looking. Filed within 2 business days after the actual transaction. Form 4 is what you query for "what did insiders actually do"; Form 144 is what you query for "what are insiders signaling they're about to do".

Same insider may file both for the same trade — Form 144 in advance, Form 4 after execution. Joining the two gives a complete intent → action picture. See the Form 144 guide for the full breakdown.

Frequently asked questions

Is Form 4 data public?

Yes. Every Form 4 filing is publicly available on the SEC's EDGAR system as soon as it is submitted. There is no paywall on the raw filings, and historical filings going back to 2002 (the year electronic Form 4 filing became required) are fully indexed. Commercial APIs like Form4API exist not because the data is private, but because parsing EDGAR's XML and joining it to ticker / CIK / CUSIP metadata is non-trivial.

How often is Form 4 filed?

Each insider files a separate Form 4 within 2 business days of every reportable transaction. There is no monthly batching — an officer who buys shares on Monday must file by Wednesday close. High-activity insiders (CEOs of large public companies, 10%+ holders during scheduled selling windows) may file multiple Form 4s in a single week. The 2-day requirement was tightened from 10 days in the Sarbanes-Oxley Act of 2002.

Can I subscribe to Form 4 filings?

Yes — Form4API offers webhooks that fire on every new transaction within minutes of the SEC publishing the filing. The default webhook event is transactions.created and includes the full parsed transaction record (insider, code, shares, price, post-trade balance). Webhooks are signed with HMAC-SHA256 and retry automatically on delivery failure. Available on Pro, Business, and Enterprise plans.

Are 10b5-1 trades reported on Form 4?

Yes. Every Form 4 includes a footnote or checkbox indicating whether the transaction was made under a Rule 10b5-1 trading plan (pre-scheduled by the insider when they did not possess material non-public information). Form4API exposes this as a boolean field (is10b5Plan) on every transaction and excludes 10b5-1 trades from cluster-signal calculations by default. See the dedicated guide on 10b5-1 plans for context on why they carry less predictive signal.

How fast are Form 4 filings indexed by Form4API?

Form4API polls EDGAR every 10 minutes for new filings, parses them, joins them to company and insider metadata, and surfaces them in /v1/transactions and via webhooks. Median time from SEC publication to API availability is under 5 minutes, with a 95th-percentile under 12 minutes. Webhook delivery to your endpoint typically lands within 30 seconds of API availability.

What is the difference between Form 4 and Form 5?

Form 4 is for individual transactions reported within 2 business days. Form 5 is the annual catch-up filing for transactions that were either exempt from Form 4 reporting (small gifts, certain compensatory transactions) or were missed during the year. Form 5 must be filed within 45 days of the issuer's fiscal year end. Most analytical work uses Form 4 only — Form 5 transactions are heavily compensatory and carry little market signal.

Get API key

500 free requests / day. No credit card.

Get API key

View API docs

curl / JavaScript / Python examples for every endpoint.

View API docs

See pricing

Free, $49, $149, $499 — pick the tier that fits.

See pricing