# EDGAR Filing Document

**Accession Number:** 0000851205
**File Stem:** 0000851205-26-000048
**Filing Date:** 2026-5
**Character Count:** 29296
**Document Hash:** a3918c08556aabdba0847d8c76c4450c
**Contains OCR:** False
**Source Format:** 

## Filing Content

## Filing Summary
**0000851205-26-000048.hdr.sgml**: 20260508

**ACCESSION NUMBER**: 0000851205-26-000048

**CONFORMED SUBMISSION TYPE**: S-8

**PUBLIC DOCUMENT COUNT**: 15

**REFERENCES 429**: 333-271685

**FILED AS OF DATE**: 20260508

**DATE AS OF CHANGE**: 20260508

**EFFECTIVENESS DATE**: 20260508

**FILER**: 

**COMPANY DATA:**
- **COMPANY CONFORMED NAME:** COGNEX CORP
- **CENTRAL INDEX KEY:** 0000851205
- **STANDARD INDUSTRIAL CLASSIFICATION:** INDUSTRIAL INSTRUMENTS FOR MEASUREMENT, DISPLAY, AND CONTROL [3823]
- **ORGANIZATION NAME:** 08 Industrial Applications and Services
- **EIN:** 042713778
- **STATE OF INCORPORATION:** MA
- **FISCAL YEAR END:** 1231

**FILING VALUES:**
- **FORM TYPE:** S-8
- **SEC ACT:** 1933 Act
- **SEC FILE NUMBER:** 333-295683
- **FILM NUMBER:** 26956189

**BUSINESS ADDRESS:**
- **STREET 1:** ONE VISION DR
- **CITY:** NATICK
- **STATE:** MA
- **ZIP:** 01760
- **BUSINESS PHONE:** 5086503000

**MAIL ADDRESS:**
- **STREET 1:** ONE VISION DRIVE
- **CITY:** NATICK
- **STATE:** MA
- **ZIP:** 01760

**As filed with the Securities and Exchange Commission on May 8, 2026**

**Registration No. 333-** 

**UNITED STATES**

**SECURITIES AND EXCHANGE COMMISSION**

**WASHINGTON, D.C. 20549**

**_______________________**

**FORM S-8**

**REGISTRATION STATEMENT**

***UNDER***

***THE SECURITIES ACT OF 1933***

**_______________________**

**COGNEX CORPORATION**

**(Exact Name of Registrant as Specified in its Charter)**

**_______________________**

---

| | |
|:---|:---|
| **Massachusetts**<br>**(State or Other Jurisdiction of** <br>**Incorporation or Organization)** | **04-2713778**<br>**(I.R.S. Employer Identification No.)** |
| **One Vision Drive**<br>**Natick, Massachusetts 01760**<br>**(Address of Principal Executive Offices) (Zip Code)** | **One Vision Drive**<br>**Natick, Massachusetts 01760**<br>**(Address of Principal Executive Offices) (Zip Code)** |
| **Cognex Corporation 2023 Stock Option and Incentive Plan** | **Cognex Corporation 2023 Stock Option and Incentive Plan** |
| **(Full Title of the Plan)** | **(Full Title of the Plan)** |
| **Matthew Moschner** | **Matthew Moschner** |
| **President and Chief Executive Officer** | **President and Chief Executive Officer** |
| **Cognex Corporation** | **Cognex Corporation** |
| **One Vision Drive** | **One Vision Drive** |
| **Natick, Massachusetts 01760** | **Natick, Massachusetts 01760** |
| **(Name and Address of Agent For Service)** | **(Name and Address of Agent For Service)** |
| **(508) 650-3000** | **(508) 650-3000** |
| **(Registrant's telephone number, including area code)** | **(Registrant's telephone number, including area code)** |

---

***Copies to:***

---

| | |
|:---|:---|
| **Lisa R. Haddad** | **Mark T. Fennell** |
| **Goodwin Procter LLP** | **Vice President, Chief Legal Officer and** |
| **100 Northern Avenue** | **Corporate Secretary** |
| **Boston, Massachusetts 02210** | **Cognex Corporation** |
| **(617) 570-1000** | **One Vision Drive** |
|  | **Natick, Massachusetts 01760** |
|  | **(508) 650-3000** |

---

**_______________________**

Indicate by check mark whether the registrant is a large accelerated filer, an accelerated filer, a non-accelerated filer, a smaller reporting company, or an emerging growth company. See the definitions of "large accelerated filer," "accelerated filer," "smaller reporting company," and "emerging growth company" in Rule 12b-2 of the Exchange Act.

---

| | | | |
|:---|:---|:---|:---|
| Large accelerated filer | ☒ | Accelerated filer | ☐ |
| Non-accelerated filer | ☐ | Smaller reporting company | ☐ |
| | | Emerging growth company | ☐ |

---

If an emerging growth company, indicate by check mark if the registrant has elected not to use the extended transition period for complying with any new or revised financial accounting standards provided pursuant to Section 7(a)(2)(B) of the Securities Act. ☐

------

**EXPLANATORY NOTE**

This Registration Statement on Form S-8 is being filed by Cognex Corporation (the "Company") to register the offer and sale of an additional 4,600,000 newly authorized shares of common stock, par value $0.002 per share ("Common Stock"), pursuant to the Cognex Corporation 2023 Stock Option and Incentive Plan, as amended by Amendment No. 1 thereto (the "2023 Plan"). The Company previously registered shares of Common Stock that may be offered under the 2023 Plan pursuant to a Registration Statement on <u>[Form S-8](https://www.sec.gov/Archives/edgar/data/851205/000119312523137083/d312430ds8.htm)</u> (File No. 333-271685) filed with the Securities and Exchange Commission (the "SEC") on May 5, 2023 (the "Original Filing"). The contents of the Original Filing, as updated by the information set forth below, are incorporated by reference into this Registration Statement pursuant to General Instruction E of Form S-8.

**PART I**

**INFORMATION REQUIRED IN THE SECTION 10(a) PROSPECTUS**

**Item 1. Plan Information.\***

**Item 2. Registrant Information and Employee Plan Annual Information.\***

\*The documents containing the information specified in this Part I will be sent or given to participants in the 2023 Plan in accordance with Rule 428(b)(1) promulgated under the Securities Act of 1933, as amended (the "Securities Act"). In accordance with Rule 428 promulgated under the Securities Act and the requirements of Part I of Form S-8, such documents need not be filed with the SEC either as part of this Registration Statement or as prospectuses or prospectus supplements pursuant to Rule 424 promulgated under the Securities Act.

**PART II**

**INFORMATION REQUIRED IN THE REGISTRATION STATEMENT**

**Item 3. Incorporation of Documents By Reference.**

The following documents filed with the SEC under the Securities Exchange Act of 1934, as amended (the "Exchange Act"), are incorporated by reference (other than, in each case, those documents, or the portions of those documents or exhibits thereto, deemed to be furnished and not filed in accordance with SEC rules):

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;• the Company's Annual Report on <u>[Form 10-K](https://www.sec.gov/ix?doc=/Archives/edgar/data/0000851205/000085120526000012/cgnx-20251231.htm)</u> for the fiscal year ended December 31, 2025, filed with the SEC on February 12, 2026;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;• the Company's Quarterly Report on <u>[Form 10-Q](https://www.sec.gov/ix?doc=/Archives/edgar/data/851205/000085120526000040/cgnx-20260405.htm)</u> for the fiscal quarter ended April 5, 2026, filed with the SEC on May 7, 2026;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;• the Company's Current Reports on Form 8-K filed with the SEC on <u>[February 11, 2026](https://www.sec.gov/ix?doc=/Archives/edgar/data/0000851205/000085120526000009/cgnx-20260211.htm)</u>, <u>[February 17, 2026](https://www.sec.gov/ix?doc=/Archives/edgar/data/0000851205/000085120526000018/cgnx-20260211.htm)</u>, <u>[February 19, 2026](https://www.sec.gov/ix?doc=/Archives/edgar/data/0000851205/000085120526000022/cgnx-20251029.htm)</u> and <u>[April 30, 2026](https://www.sec.gov/ix?doc=/Archives/edgar/data/851205/000085120526000028/cgnx-20260429.htm)</u> (excluding, in each case, any information furnished under items 2.02 or 7.01); and

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;• the description of the Company's Common Stock contained in the Company's registration statement on Form 8-A, as filed with the SEC pursuant to Section 12 of the Exchange Act, including any amendment thereto or report filed for the purpose of updating such description.

In addition, all documents subsequently filed by the Company with the SEC pursuant to Section 13(a), 13(c), 14 or 15(d) of the Exchange Act prior to the filing of a post-effective amendment which indicates that all securities offered have been sold or which deregisters all securities then remaining unsold, shall be deemed to be incorporated by reference in this Registration Statement and to be part hereof from the date of filing of such documents (other than, in each case, those documents, or the portions of those documents or exhibits thereto, deemed to be furnished and not filed in accordance with SEC rules).

------

Any statement contained in a document incorporated or deemed to be incorporated by reference herein shall be deemed to be modified or superseded for purposes of this Registration Statement to the extent that a statement contained herein or in any other subsequently filed document which also is incorporated or deemed to be incorporated by reference herein modifies or supersedes such statement. Any such statement so modified or superseded shall not be deemed, except as so modified or superseded, to constitute a part of this Registration Statement.

Under no circumstances will any information furnished under items 2.02 or 7.01 of Form 8-K be deemed incorporated herein by reference unless such Form 8-K expressly provides to the contrary.

**Item 4. Description of Securities.**

Not applicable.

**Item 5. Interests of Named Experts and Counsel.**

Not applicable.

**Item 6. Indemnification of Directors and Officers.**

Section 2.02(b)(4) of Chapter 156D of the Massachusetts General Laws allows a corporation to eliminate or limit the personal liability of a director of a corporation to the corporation or its shareholders for monetary damages for a breach of fiduciary duty as a director notwithstanding any provision of law imposing such liability, except where the director breached his or her duty of loyalty, failed to act in good faith, engaged in intentional misconduct or knowingly violated a law, authorized the payment of an improper distribution or obtained an improper personal benefit. The Company has included a similar provision in its articles of organization.

Section 8.51(a) of Chapter 156D of the Massachusetts General Laws provides that a corporation may indemnify its directors against expenses (including attorneys' fees), judgments, fines and amounts paid in settlement reasonably incurred in connection with any litigation or other legal proceeding brought against any director by virtue of his or her position as a director of the corporation unless he or she is deemed to have not acted in good faith in the reasonable belief that his or her action was in the best interest of the corporation. As noted below, the Company has provided for director indemnification in its articles of organization and by-laws.

Section 8.52 of Chapter 156D of the Massachusetts General Laws provides that a corporation must indemnify a director who is wholly successful, on the merits or otherwise, in the defense of any proceeding to which the director was a party because he or she was a director of the corporation against reasonable expenses incurred by him or her in connection with the proceeding.

Section 8.56(a) of Chapter 156D of the Massachusetts General Laws ("Section 8.56") provides that a corporation may indemnify its officers to the same extent as its directors and, for officers that are not directors, to the extent provided by (i) the articles of organization, (ii) the by-laws, (iii) a vote of the board of directors or (iv) a contract. In all instances, the extent to which a corporation provides indemnification to its officers under Section 8.56 is optional. As noted below, the Company has provided for officer indemnification in its by-laws.

The Company's by-laws, as amended and restated, provide that, except as limited by law or otherwise provided in the by-laws, each director or officer of the Company (and his or her heirs and personal representatives) shall be indemnified by the Company against any expense incurred in connection with each proceeding in which he or she is involved as a result of his or her serving or having served as a director or officer. The by-laws further provide that no indemnification shall be provided to a director or officer with respect to a proceeding as to which it shall have been adjudicated that he or she did not act in good faith in the reasonable belief that his or her action was in the best interests of the Company. The Company will pay sums on account of indemnification in advance of a final disposition of a proceeding upon receipt of an undertaking by the director or officer to repay such sums if it is subsequently established that he or she is not entitled to indemnification.

------

The by-laws do not limit the power of the board of directors to authorize the purchase and maintenance of insurance on behalf of any director or officer against any expense whether or not the Company would have the power to indemnify such director or officer against such expense under the by-laws.

The Company has entered into indemnification agreements with its directors. The indemnification agreements require, among other matters, that the Company indemnify its directors to the fullest extent provided by law and advance to directors certain expenses, subject to reimbursement if it is subsequently determined that indemnification is not permitted.

**Item 7. Exemption From Registration Claimed.**

Not applicable.

**Item 8. Exhibits.**

The exhibits listed below represent a complete list of exhibits filed or incorporated by reference as part of this Registration Statement.

---

| | |
|:---|:---|
| **Exhibit Number** | **Description** |
| 4.1 | <u>[Restated Articles of Organization effective June 27, 1989, as amended through May 5, 2016 (incorporated herein by reference to Exhibit 3.1 of the Company's Quarterly Report on Form 10-Q for the fiscal quarter ended July 3, 2016, as filed with the SEC on August 1, 2016).](https://www.sec.gov/Archives/edgar/data/851205/000085120516000035/exhibit31.htm)</u> |
| 4.2 | <u>[Articles of Amendment to Restated Articles of Organization, effective May 2, 2018 (incorporated herein by reference to Exhibit 4.2 of the Company's Registration Statement on Form S-8 filed with the SEC on May 7, 2018, Reg. No. 333-224716).](https://www.sec.gov/Archives/edgar/data/851205/000119312518154489/d581899dex42.htm)</u> |
| 4.3 | <u>[Articles of Amendment to Restated Articles of Organization, effective April 26, 2019 (incorporated herein by reference to Exhibit 3.4 of the Company's Quarterly Report on Form 10-Q for the fiscal quarter ended March 31, 2019, as filed with the SEC on April 29, 2019).](https://www.sec.gov/Archives/edgar/data/851205/000085120519000006/cgnxarticlesofamendment.htm)</u> |
| 4.4 | <u>[Second Amended and Restated By-laws, effective February 19, 2025 (incorporated herein by reference to Exhibit 3.1 of Company's Current Report on Form 8-K, as filed with the SEC on February 20, 2025).](https://www.sec.gov/Archives/edgar/data/851205/000119312525030714/d937253dex31.htm)</u> |
| 4.5 | Specimen Certificates for Shares of Common Stock (incorporated herein by reference to Exhibit 4 to the Company's Registration Statement on Form S-1, Reg. No. 33-29020). (P) |
| 5.1\* | <u>[Legal Opinion of Goodwin Procter LLP.](exhibit51-legalopinionof.htm)</u> |
| 23.1\* | <u>[Consent of Grant Thornton LLP.](exhibit231-consentofgran.htm)</u> |
| 23.2\* | <u>[Consent of Goodwin Procter LLP (contained in the opinion filed as Exhibit 5.1 to this Registration Statement).](exhibit51-legalopinionof.htm)</u> |
| 24.1\* | <u>[Power of Attorney (included on the signature page to this Registration Statement).](#i9bbc6e4019824d339c56c0bc29a06b76_10)</u> |
| 99.1 | <u>[Cognex Corporation 2023 Stock Option and Incentive Plan (incorporated herein by reference to Exhibit 10.1 to the Company's Current Report on Form 8-K, as filed with the SEC on May 4, 2023).](https://www.sec.gov/Archives/edgar/data/851205/000119312523135029/d255047dex101.htm)</u> |
| 99.2 | <u>[Amendment No. 1 to Cognex Corporation 2023 Stock Option and Incentive Plan (incorporated herein by reference to Exhibit 10.1 of the Company's Current Report on Form 8-K, as filed with the SEC on April 30, 2026).](https://www.sec.gov/Archives/edgar/data/851205/000085120526000028/exhibit10_1-1stamendment.htm)</u> |
| 107.1\* | <u>[Filing Fee Table.](exfilingfees.htm)</u> |

---

\* Filed herewith.

(P) Paper filing.

------

**Item 9. Undertakings.**

(a)The undersigned registrant hereby undertakes:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(1)To file, during any period in which offers or sales are being made, a post-effective amendment to this registration statement:

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(i) To include any prospectus required by Section 10(a)(3) of the Securities Act;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(ii)To reflect in the prospectus any facts or events arising after the effective date of the registration statement (or the most recent post-effective amendment thereof) which, individually or in the aggregate, represent a fundamental change in the information set forth in the registration statement. Notwithstanding the foregoing, any increase or decrease in volume of securities offered (if the total dollar value of securities offered would not exceed that which was registered) and any deviation from the low or high end of the estimated maximum offering range may be reflected in the form of prospectus filed with the SEC pursuant to Rule 424(b) if, in the aggregate, the changes in volume and price represent no more than a 20% change in the maximum aggregate offering price set forth in the "Calculation of Registration Fee" table in the effective registration statement;

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(iii) To include any material information with respect to the plan of distribution not previously disclosed in the registration statement or any material change to such information in the registration statement;

*provided*, *however*, that paragraphs (a)(1)(i) and (a)(1)(ii) do not apply if the information required to be included in a post-effective amendment by those paragraphs is contained in reports filed with or furnished to the SEC by the registrant pursuant to Section 13 or Section 15(d) of the Exchange Act that are incorporated by reference in this registration statement.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(2)That, for the purpose of determining any liability under the Securities Act, each such post-effective amendment shall be deemed to be a new registration statement relating to the securities offered therein, and the offering of such securities at that time shall be deemed to be the initial bona fide offering thereof.

&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;(3)To remove from registration by means of a post-effective amendment any of the securities being registered which remain unsold at the termination of the offering.

(b)The undersigned registrant hereby undertakes that, for purposes of determining any liability under the Securities Act, each filing of the registrant's annual report pursuant to Section 13(a) or Section 15(d) of the Exchange Act (and, where applicable, each filing of an employee benefit plan's annual report pursuant to Section 15(d) of the Exchange Act) that is incorporated by reference in this registration statement shall be deemed to be a new registration statement relating to the securities offered therein, and the offering of such securities at that time shall be deemed to be the initial bona fide offering thereof.

(c)Insofar as indemnification for liabilities arising under the Securities Act may be permitted to directors, officers and controlling persons of the registrant pursuant to the foregoing provisions, or otherwise, the registrant has been advised that, in the opinion of the SEC, such indemnification is against public policy as expressed in the Securities Act and is, therefore, unenforceable. In the event that a claim for indemnification against such liabilities (other than the payment by the registrant of expenses incurred or paid by a director, officer or controlling person of the registrant in the successful defense of any action, suit or proceeding) is asserted by such director, officer or controlling person in connection with the securities being registered, the registrant will, unless in the opinion of its counsel the matter has been settled by controlling precedent, submit to a court of appropriate jurisdiction the question whether such indemnification by it is against public policy as expressed in the Securities Act and will be governed by the final adjudication of such issue.

------

**SIGNATURES**

Pursuant to the requirements of the Securities Act of 1933, the registrant certifies that it has reasonable grounds to believe that it meets all of the requirements for filing on Form S-8 and has duly caused this Registration Statement to be signed on its behalf by the undersigned, thereunto duly authorized, in the City of Natick, Commonwealth of Massachusetts, on this 8th day of May, 2026.

---

| | |
|:---|:---|
| COGNEX CORPORATION | COGNEX CORPORATION |
| By: | /s/ Matthew Moschner |
|  | Matthew Moschner |
|  | Chief Executive Officer |

---

**POWER OF ATTORNEY**

KNOW ALL BY THESE PRESENTS that each individual whose signature appears below constitutes and appoints each of Matthew Moschner and Dennis Fehr as such person's true and lawful attorney-in-fact and agent with full power of substitution and resubstitution, for such person in such person's name, place and stead, in any and all capacities, to sign any and all amendments (including post-effective amendments) to this Registration Statement (or any Registration Statement for the same offering that is to be effective upon filing pursuant to Rule 462(b) under the Securities Act of 1933, as amended), and to file the same, with all exhibits thereto, and all documents in connection therewith, with the Securities and Exchange Commission, granting unto each said attorney-in-fact and agent full power and authority to do and perform each and every act and thing requisite and necessary to be done in and about the premises, as fully to all intents and purposes as such person might or could do in person, hereby ratifying and confirming all that any said attorney-in-fact and agent, or any substitute or substitutes of any of them, may lawfully do or cause to be done by virtue hereof.

Pursuant to the requirements of the Securities Act of 1933, this Registration Statement has been signed by the following persons in the capacities and on the date indicated.

---

| | | |
|:---|:---|:---|
| **Signature** | **Title** | **Date** |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Matthew Moschner | President, Chief Executive Officer and Director (Principal Executive Officer) | May 8, 2026 |
| Matthew Moschner | President, Chief Executive Officer and Director (Principal Executive Officer) |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Dennis Fehr | Senior Vice President of Finance and Chief Financial Officer (Principal Financial Officer) | May 8, 2026 |
| Dennis Fehr | Senior Vice President of Finance and Chief Financial Officer (Principal Financial Officer) |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Laura MacDonald | Vice President of Finance and Principal Accounting Officer (Principal Accounting Officer) | May 8, 2026 |
| Laura MacDonald | Vice President of Finance and Principal Accounting Officer (Principal Accounting Officer) |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Sami Atiya | Director | May 8, 2026 |
| Sami Atiya |  |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Christopher Donato | Director | May 8, 2026 |
| Christopher Donato |  |  |

---

------

---

| | | |
|:---|:---|:---|
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Sachin Lawande | Director | May 8, 2026 |
| Sachin Lawande | Director |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;John T.C. Lee | Director | May 8, 2026 |
| John T.C. Lee | Director |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Angelos Papadimitriou | Director | May 8, 2026 |
| Angelos Papadimitriou | Director |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Marjorie Sennett | Director | May 8, 2026 |
| Marjorie Sennett | Director |  |
| /s/&nbsp;&nbsp;&nbsp;&nbsp;Anthony Sun | Director | May 8, 2026 |
| Anthony Sun, *Chairman* | Director |  |

---

## Ex-Filing

?xml version='1.0' encoding='ASCII'? exfilingfees

**Exhibit 107.1**

**Calculation of Filing Fee Tables** 

**Form S-8** 

(Form Type)

**Cognex Corporation**

(Exact Name of Registrant as Specified in its Charter)

<u>Table 1: Newly Registered Securities</u> 

---

| | | | | | | | | |
|:---|:---|:---|:---|:---|:---|:---|:---|:---|
| | **Security Type** | **Security Class Title** | **Fee Calculation Rule** | **Amount Registered** | **Proposed Maximum Offering Price per Share** | **Maximum Aggregate Offering Price** | **Fee Rate** | **Amount of Registration Fee** |
| 1 | Equity | Common Stock, par value $0.002 per share | Other | 4,600,000 shares | $55.455 | $255093000 | 0.0001381 | $35228.34 |
|  | Total Offering Amounts | Total Offering Amounts | Total Offering Amounts | Total Offering Amounts | Total Offering Amounts | $255093000 |  | $35228.34 |
|  | Total Fee Offsets | Total Fee Offsets | Total Fee Offsets | Total Fee Offsets | Total Fee Offsets |  |  | $0 |
|  | Net Fee Due | Net Fee Due | Net Fee Due | Net Fee Due | Net Fee Due |  |  | $35228.34 |

---

(1) Note 1a: Pursuant to Rule 416 under the Securities Act of 1933, as amended (the "Securities Act"), this Registration Statement shall also cover any additional shares of common stock, par value $0.002 per share (the "Common Stock"), which become issuable under the Cognex Corporation 2023 Stock Option and Incentive Plan, as amended (the "2023 Plan") by reason of any stock dividend, stock split, recapitalization or any other similar transaction effected without the receipt of consideration which results in an increase in the number of the Registrant's outstanding shares of Common Stock.

Note 1b: The price of $55.455 per share, which is the average of the high and low sale prices of the Registrant's Common Stock on the Nasdaq Global Select Market on May 1, 2026, is estimated solely for the purpose of calculating the registration fee pursuant to Rules 457(c) and 457(h) of the Securities Act.

## Exhibit 5.1

![](exhibit51-legalopinionof001.jpg)

Exhibit 5.1 May 8, 2026 Cognex Corporation One Vision Drive Natick, MA 01760-2059 Re: Securities Being Registered under Registration Statement on Form S-8 Ladies and Gentlemen: We have acted as your counsel in connection with your filing of a Registration Statement on Form S-8 (the "Registration Statement") pursuant to the Securities Act of 1933, as amended (the "Securities Act"), on or about the date hereof relating to an aggregate of 4,600,000 shares (the "Shares") of Common Stock, par value $0.002 per share ("Common Stock"), of Cognex Corporation, a Massachusetts corporation (the "Company"), that may be issued pursuant to the Company's 2023 Stock Option and Incentive Plan, as amended (the "Plan"). We have reviewed such documents and made such examination of law as we have deemed appropriate to give the opinion set forth below. We have relied, without independent verification, on certificates of public officials and, as to matters of fact material to the opinion set forth below, on certificates of officers of the Company. For purposes of the opinion set forth below, we have assumed that, at the time Shares are issued, the total number of then unissued Shares, when added to the number of shares of Common Stock issued, subscribed for, or otherwise committed to be issued, does not exceed the number of shares of Common Stock authorized by the Company's articles of organization. The opinion set forth below is limited to Massachusetts law. Based on the foregoing, we are of the opinion that the Shares have been duly authorized and, when delivered against payment therefor in accordance with the terms of the Plan, will be validly issued, fully paid and nonassessable. This opinion letter and the opinion it contains shall be interpreted in accordance with the Core Opinion Principles as published in 74 Business Lawyer 815 (Summer 2019). We hereby consent to the inclusion of this opinion as Exhibit 5.1 to the Registration Statement. In giving our consent, we do not admit that we are in the category of persons whose consent is required under Section 7 of the Securities Act or the rules and regulations thereunder. Very truly yours, /S/ GOODWIN PROCTER LLP

------

## Exhibit 23.1

![](exhibit231-consentofgran001.jpg)

Exhibit 23.1 CONSENT OF INDEPENDENT REGISTERED PUBLIC ACCOUNTING FIRM We have issued our reports dated February 12, 2026 with respect to the consolidated financial statements and internal control over financial reporting of Cognex Corporation included in the Annual Report on Form 10-K for the year ended December 31, 2025, which are incorporated by reference in this Registration Statement. We consent to the incorporation by reference of the aforementioned reports in this Registration Statement. /s/ GRANT THORNTON LLP (typed) Boston, Massachusetts May 8, 2026

------