Margins surge as data center and AI demand grows
- Adjusted EBITDA margin reached 32.2 percent in Q2 2026, beating the company's long-term target.
- Data center supply chain revenue is growing over 30 percent, adding a new growth driver.
- Greater China revenue jumped 42 percent in Q2, though trade rules remain a clear risk.
- Memory chip costs will create a 75 basis point gross margin headwind in the third quarter.
- The stock story is improving, but valuation requires this new profit growth to last.
Leverage and margin gains arrive early
Cognex had a much stronger first half of 2026 than investors expected. In Q2, adjusted EBITDA margin hit 32.2 percent, blowing past the company's 25 percent target. That is the main bull case. When sales come back, almost every new dollar is turning into profit. Management raised full-year outlooks across logistics, packaging, electronics, and semiconductor segments.
The product story has also expanded. Cognex launched the In-Sight 6900 and In-Sight 3900 to push more AI computing power to the factory floor. The company is also gaining traction in the data center supply chain. While data center sales are still a low single-digit percentage of total revenue, they are growing over 30 percent a year.
The bear case remains tied to costs and macro weakness. European automotive markets are still very weak. Management also warned of a 75 basis point gross margin headwind in Q3 due to memory chip costs, showing that inflation can still bite before price hikes catch up. Furthermore, Q4 revenue guidance implies a sequential step-down, which could point to a broader slowdown.
Finn's view is balanced but increasingly positive. Execution has improved significantly, margins have snapped back, and China has recovered strongly. The open question is whether Cognex can maintain this pace when comparisons get harder and memory cost headwinds hit.
Cameras, software, and factory trust
Cognex sells machine vision products. These are cameras, sensors, barcode readers, lenses, and software that help machines inspect parts, read codes, guide robots, and spot defects. Most revenue comes from hardware sales. Services, such as support, consulting, and training, were less than 10 percent of revenue in recent filings.
The company serves many industrial markets, including logistics, consumer electronics, automotive, packaging, and semiconductor. That gives Cognex many places to grow, but it also makes results cyclical. When factories pause spending, machine vision projects get delayed.
A key plan is the salesforce transformation. Cognex is using better data and tools to reach more customers, adding 4,500 new customers in the first half of 2026 alone. If that works, growth becomes less tied to a few large projects.
Margins are the final proof point. Cognex has been cutting costs and focusing on higher-growth AI products. The Q2 results showed that this strategy can produce near 100 percent profit flow-through on new revenue, but low-cost competitors and large customer buying cycles can still pressure price and mix.
The vision stack
In-Sight vision systems
This is Cognex's core machine vision line. It helps factories inspect products, check quality, and automate decisions on the line.
In-Sight 6900 and 3900
These 2026 launches add more AI computing power at the edge. They are important tests of whether Cognex can turn AI claims into real customer spending.
OneVision
OneVision is a cloud-based AI platform launched in 2025. It lets customers train AI models in the cloud and deploy them to Cognex edge devices.
Barcode readers
Barcode readers are used in logistics, packaging, and factory tracking. This line benefits when e-commerce and warehouse automation spending is healthy.
Moritex optical components
The 2023 Moritex acquisition added premium optics. It expands Cognex's reach, though the acquired mix weighed on gross margin in 2024.
Vision software and support
Software, maintenance, consulting, and training help customers use Cognex tools. Services are still a small part of sales.
Where sales land
The mix below is based on Q1 2026 revenue by customer domicile. Cognex also has end-market concentration risk, especially in logistics, consumer electronics, and automotive.
What could break
Memory cost headwinds
Medium impact · High oddsManagement cited a 75 basis point gross margin headwind for Q3 2026 caused by rising memory chip costs. This creates a timing lag on profitability before price hikes can offset the inflation.
Fourth quarter deceleration
High impact · Medium oddsWhile Q2 was exceptionally strong, organic revenue guidance for Q4 implies a sequential step-down. This could be management conservatism, or it could signal a genuine macro slowdown.
China and sanctions risk
High impact · Medium oddsGreater China surged 42 percent in Q2, but expanded U.S. sanctions have increased the complexity of doing business there. Cognex could face customer losses or extra costs if trade rules tighten further.
Low-cost AI competition
High impact · Medium oddsOpen-source AI tools have lowered barriers to entry. New entrants, especially low-cost providers in Asia, may offer systems that are good enough for some customers, hurting Cognex's pricing power.
Large customer timing
Medium impact · Medium oddsCognex relies on large logistics, consumer electronics, and automotive customers. A delayed warehouse build or electronics rollout can make the business look weak for a quarter or two.
In one breath
What does Cognex do?
Cognex makes machine vision products. These help factories and warehouses see, inspect, scan, and guide automation equipment.
Why is AI important for Cognex?
AI can help vision systems handle harder inspection tasks, such as defects that vary from part to part. Cognex is trying to make this easier through OneVision and new In-Sight systems with more edge computing power.
Is Cognex mainly a software company?
No. Cognex is still mainly a hardware-led company, with services under 10 percent of revenue. Software matters because it makes the hardware more useful and harder to replace.
What is the biggest risk for Cognex stock?
The biggest risk is that recent growth and margin gains do not last. If electronics, semiconductor, or logistics demand cools, or if low-cost AI competitors pressure prices, the better profit story could fade.

