SEC Form 4 Explained: Insider Transaction Reporting (Engineer's Guide 2026)

SEC Form 4 Explained: Insider Transaction Reporting (Engineer's Guide 2026)

Building FinanceTrackDaily on the SEC EDGAR API, I aggregate live filing data for roughly 3,400 publicly listed US companies. Of every filing type that streams through my pipeline, none arrives faster or in higher volume than SEC Form 4. On a busy trading day my parser ingests thousands of them. Each one is a corporate insider telling the public, in near real time, that they just bought or sold their own company's stock.

From an engineering perspective, Form 4 is the most time-sensitive document in the entire EDGAR system. Annual reports take months to prepare; a Form 4 must hit the SEC within two business days of the trade. That tight deadline is what makes the filing useful as a public-transparency signal. This guide explains exactly what Form 4 is, who has to file it, how to read the transaction codes, and what the data actually tells you β€” written by an engineer who parses these filings, not a financial advisor recommending trades.

This article is for informational and educational purposes only and is not financial advice. I build data aggregators on public SEC data; I am not a registered investment adviser, broker-dealer, CFA, or CFP. Consult a licensed financial advisor before making any investment decision.

What SEC Form 4 Actually Is

Form 4 is the Statement of Changes in Beneficial Ownership. A corporate insider files it whenever their ownership stake in a company changes β€” most commonly a purchase, a sale, an option exercise, or a stock grant. It sits in the middle of a three-form family under Section 16(a) of the Securities Exchange Act of 1934:

  • Form 3 β€” the initial statement, filed when someone first becomes an insider.
  • Form 4 β€” the change report, filed every time the holding moves.
  • Form 5 β€” the annual catch-up for certain exempt transactions not already reported.

I already covered Forms 3 and 5 in a separate guide, but Form 4 deserves its own treatment because it is by far the highest-frequency and most-watched of the three. The official form and instructions live on the SEC's site at sec.gov, and the legal machinery sits in Rule 16a-3 under the Exchange Act.

Who Has to File a Form 4

Three categories of people are considered Section 16 insiders and carry the filing obligation:

  • Directors of the company.
  • Officers β€” typically the CEO, CFO, president, principal accounting officer, and other policy-making executives.
  • Beneficial owners of more than 10% of any class of the company's registered equity securities.

When I parse a Form 4 header, the reporting person's relationship is encoded in a set of flags on the document β€” Director, Officer, TenPercentOwner, Other β€” and an officer title field. Those flags are useful because they tell me, programmatically, whether a transaction came from a board member, a C-suite executive, or a large institutional holder, without my having to read the prose.

The Two-Business-Day Deadline

The single most important fact about Form 4 is its filing window. Under the Sarbanes-Oxley Act of 2002, the deadline was tightened dramatically. Before SOX, insiders could wait until the 10th day of the month after the transaction β€” meaning a trade made on the 1st might not surface for nearly six weeks. Today, the rule under Section 16(a) requires the form to be filed before the end of the second business day following the day the transaction was executed.

That change is why insider data became genuinely useful as a near-real-time signal. From my pipeline's vantage point, the practical effect is concrete: when I timestamp the difference between the transaction date and the EDGAR acceptance date across the filings I ingest, the overwhelming majority land inside the two-day window. The handful that arrive late are themselves a data point β€” chronic late filing is something the SEC has historically penalized, and in 2014 the agency brought enforcement actions against dozens of insiders specifically for delinquent Section 16 reports.

Financial market data on a trading screen

Reading the Transaction Codes

This is where Form 4 gets genuinely technical, and where most casual readers misinterpret the data. Every transaction on a Form 4 carries a one-letter transaction code that defines what actually happened. Treating all "insider buying" or "insider selling" as equivalent is the most common mistake I see β€” a sale triggered by tax withholding is not the same signal as an open-market sale. Here are the codes that show up most often in the filings I parse:

  • P β€” Open-market or private purchase of securities. The insider spent their own money. This is the code many analysts weight most heavily.
  • S β€” Open-market or private sale of securities.
  • A β€” Grant or award of securities, often equity compensation. The insider didn't buy these; the company gave them.
  • M β€” Exercise of an in-the-money derivative such as an employee stock option.
  • F β€” Shares withheld or delivered to satisfy the tax liability on a vesting or exercise. Frequently misread as a discretionary sale.
  • G β€” Gift of securities.
  • C β€” Conversion of a derivative security.
  • X β€” Exercise of an in-the-money or at-the-money derivative.

The full code table lives in the SEC's Form 4 instructions. When I build the canonical record for a transaction, the code field is the first thing I read, because a Form 4 showing a CFO "selling" 40,000 shares under code F (tax withholding on a vest) carries a completely different meaning from the same CFO selling under code S on the open market.

Derivative vs. Non-Derivative Tables

Structurally, every Form 4 is split into two tables, and parsing them separately matters. Table I covers non-derivative securities β€” ordinary common stock. Table II covers derivative securities β€” options, warrants, convertible notes, restricted stock units, and similar instruments, each with its own exercise price, exercise date, and expiration date.

An option exercise typically shows up as paired rows: code M in Table II reducing the derivative holding, and a corresponding code M acquisition of common stock in Table I. If your aggregation logic only reads Table I, you miss the fact that those shares originated from an option, not a cash purchase β€” and you'd wrongly score it as bullish open-market buying. Reading both tables together is what separates accurate insider-activity data from noise.

The Short-Swing Profit Rule

There is a legal reason insiders file these forms so carefully, and it sits in Section 16(b) of the Exchange Act. The short-swing profit rule requires an insider to surrender to the company any profit realized from a purchase and sale (or sale and purchase) of the company's equity securities within any six-month period. It applies whether or not the insider actually used inside information β€” it is a strict-liability rule designed to remove the temptation to trade on short-term knowledge.

Form 4 is the public record that makes Section 16(b) enforceable. Because every matchable purchase and sale is timestamped and public, shareholders and their attorneys can identify short-swing matches and demand disgorgement. From an engineering standpoint, this is why the transaction dates on a Form 4 are not decorative β€” they are the exact field that determines whether two trades fall inside the same six-month window.

How I Pull Form 4 Data From EDGAR

For anyone who wants to work with this data directly, the SEC offers structured access. Each Form 4 is filed as an XML document, which is far easier to parse than scraping HTML. The submissions feed for a given company β€” available at data.sec.gov/submissions/CIK##########.json β€” lists every filing with its form type, accepted date, and accession number. Filtering that JSON for form equal to "4" gives you the company's full insider-transaction history.

The SEC asks all programmatic users to set a descriptive User-Agent header identifying themselves and to stay within a rate limit of roughly 10 requests per second. I learned to respect that ceiling early: exceeding it returns HTTP 403 responses, and my aggregator's reliability depends on staying inside the published limits. The EDGAR full-text search system at efts.sec.gov is useful for ad-hoc lookups, while the bulk submissions JSON is the right tool for systematic ingestion.

What Form 4 Data Does and Doesn't Tell You

Insider transaction data is widely followed, and it is easy to over-read. Here is the honest framing from someone who handles the raw feed every day. A cluster of code-P open-market purchases by multiple officers is a transparent, public fact β€” the insiders committed their own capital. But a single sale tells you very little on its own, because insiders sell for countless reasons unrelated to their view of the company: diversification, taxes, tuition, a house, or a pre-arranged trading plan.

That last point matters. Many insider sales are executed under Rule 10b5-1 trading plans, which are pre-scheduled and automatic. Since 2023, SEC amendments require a checkbox on Form 4 indicating whether a transaction was made under such a plan, plus a mandatory cooling-off period before plan trades can begin. When that box is checked, the sale was set in motion months earlier and carries no timing signal at all. Any analysis that ignores the 10b5-1 flag is reading noise as signal.

Common Misreadings to Avoid

  • Treating grants as purchases. Code A securities were awarded as compensation, not bought. They don't reflect an insider voting with their wallet.
  • Counting tax-withholding as a bearish sale. Code F shares are surrendered automatically to cover taxes on vesting equity β€” the insider had no discretion.
  • Ignoring the 10b5-1 checkbox. A pre-planned, scheduled sale is not a real-time decision.
  • Reading only Table I. Option exercises straddle both tables; the common-stock acquisition can look like a purchase if you ignore the derivative side.

Frequently Asked Questions

How quickly must a Form 4 be filed?

Within two business days of the transaction, under Section 16(a) as tightened by the Sarbanes-Oxley Act of 2002. The older 10-day-after-month-end window no longer applies.

Is Form 4 filed for every insider?

It applies to Section 16 insiders: directors, designated officers, and beneficial owners of more than 10% of a registered equity class. Ordinary employees are not covered unless they meet one of those tests.

Where can I read a company's Form 4 filings for free?

All filings are public on EDGAR at sec.gov. You can browse them per company or query the structured submissions JSON at data.sec.gov for programmatic access β€” no subscription required.

Does a Form 4 sale mean the insider is bearish?

Not necessarily. Sales happen for diversification, taxes, or under automatic 10b5-1 plans. The transaction code and the 10b5-1 checkbox determine how much signal a given sale actually carries.

What is the difference between Form 4 and Form 144?

Form 144 is a notice of intent to sell restricted or control securities ahead of time, while Form 4 reports a change in ownership after it has occurred. A single insider sale of restricted stock can generate both.

Key Takeaways

Form 4 is the heartbeat of insider-transaction transparency in the US market β€” high-frequency, fast-deadline, and richly structured. Its value comes from the detail: the transaction code, the derivative-versus-non-derivative split, the timestamps that enforce the short-swing rule, and the 10b5-1 flag that separates planned trades from discretionary ones. Read carelessly, the data misleads; read with attention to those fields, it is one of the cleanest public windows into what the people running a company are actually doing with their own shares.

From the engineering seat, the lesson is the same one EDGAR teaches over and over: the form is only as informative as your willingness to read every field it gives you.

This article is for informational and educational purposes only and is not financial advice. I am an engineer who builds data aggregators on public SEC filings; I am not a registered investment adviser, broker-dealer, CFA, or CFP. Always consult a licensed financial professional before making investment decisions. Data sources: U.S. Securities and Exchange Commission (sec.gov), EDGAR full-text search, and the Securities Exchange Act of 1934.

Found this helpful?

Subscribe to our newsletter for more in-depth reviews and comparisons delivered to your inbox.

Related Articles