Go Pro

Small Caps Are Crushing the S&P 500—3 Stocks Still Worth Buying

City skyline at night viewed through windows, overlaid with a candlestick stock price chart.

Key Points

  • Small-cap stocks have outpaced the S&P 500 over the trailing three months through July 21, 2026, as investors rotate out of richly valued mega-cap tech.
  • UFP Technologies faces near-term earnings headwinds tied to product launches, but management expects those pressures to ease in the second half of 2026.
  • Willdan Group and NWPX Infrastructure show distinct catalysts, including AI-driven data center demand and a raised free cash flow outlook after a strong earnings beat.
  • MarketBeat previews the top five stocks to own by August 1st.

Sector rotation doesn't always mean money moving from sector to sector. In many cases, investors see capital moving from large-cap to small-cap stocks. That's precisely the shift playing out in 2026, and the numbers back it up.

Through July 21, small-cap benchmarks have meaningfully outpaced the S&P 500 over the trailing three months, as investors rotate away from mega-cap concentration risk and into names with more room to run.

With mega-cap tech trading at historically rich valuations after years of AI-driven gains, both institutional and retail investors are hunting for the market's next leg higher. Small-cap stocks, many of which sat out the narrow rally of the past few years, offer that alternative.

But not every small-cap stock deserves a place in your portfolio just because the group is back in favor. Investors still need to separate the names with durable earnings power from those simply riding the wave. Below are three stocks that combine the sector rotation tailwind with company-specific catalysts worth watching heading into the back half of 2026.

UFP Technologies Stock Could Rebound After Earnings Headwinds Ease

UFP Technologies NASDAQ: UFPT is a contract development and manufacturing organization that specializes in comprehensive solutions for medical devices, sterile packaging, and other highly engineered custom products. In layman’s terms, it’s not the name doctors and patients see on the package, but it’s a critical part of the medtech supply chain.

UFP Technologies Today

UFP Technologies, Inc. stock logo
UFPTUFPT 90-day performance
UFP Technologies
$239.74 -4.20 (-1.72%)
As of 03:21 PM Eastern
This is a fair market value price provided by Massive. Learn more.
52-Week Range
$173.86
$279.49
P/E Ratio
27.12
Price Target
$289.00

In its June 2026 investor presentation, the company forecast that the global medical device market would grow to approximately $518 billion by 2032, with a compound annual growth rate (CAGR) of about 6.3%.

For all the reasons investors may have to go long UFPT, earnings are the headwind. The company’s adjusted earnings per share (EPS) in Q1 lagged the revenue gains. Management attributed this to several factors, including its simultaneous product launches.

Those headwinds are expected to abate in the second half of 2026. That will be a key point of emphasis for investors when the company reports its Q2 2026 earnings.

Heading into earnings, UFPT was up 23% over the three months ended July 21, but has dropped about 13% from its 52-week high in early July. That’s likely a function of elevated short interest and institutional selling in Q2. The stock is testing its 50-day simple moving average as support.

UFPT chart showing the stock down about 10% from its 52-week high, supported at the 50-day SMA.

Willdan Group Benefits From AI Infrastructure and Data Center Growth

The artificial intelligence (AI) infrastructure buildout is facing supply headwinds. In addition to data centers taking time to construct, the need for power must be addressed. That power demand also requires cooling solutions to handle the heat generated.

Willdan Group Today

Willdan Group, Inc. stock logo
WLDNWLDN 90-day performance
Willdan Group
$73.71 +0.87 (+1.19%)
As of 03:02 PM Eastern
52-Week Range
$64.67
$137.00
P/E Ratio
19.87
Price Target
$112.67

That's where Willdan Group NASDAQ: WLDN comes in. The company provides energy efficiency, infrastructure engineering, and technical consulting services. It’s a steady, but not always exciting, business model that’s gotten a lift from the demand for data center siting and load forecasting.That, along with its acquisition of Burton Energy Group, contributed to the company raising its full-year 2026 forecast. 

Solid free cash flow is a key metric for any company, particularly for growing small-cap stocks. That’s why it’s important to note that the company took on debt to fund the Burton acquisition.

However, the company is confident it can pay down the $30 million it drew on its revolver by the end of the year. That could make WLDN a strong asymmetric choice for the second half. The stock is down 29% in 2026, but the consensus price target of $112.67 suggests 55% upside potential.

WLDN chart showing the stock down about 29% in 2026, with RSI at oversold levels.

NWPX Infrastructure Stock Still Has Water Infrastructure Momentum

NWPX Infrastructure NASDAQ: NWPX—formerly known as Northwest Pipe Company before its 2025 rebrand—has been one of the standout names in the group, and the chart tells the story: shares are still up sharply over the trailing year even after cooling off from the 52-week high they set in early July.

NWPX Infrastructure Today

NWPX Infrastructure, Inc. stock logo
NWPXNWPX 90-day performance
NWPX Infrastructure
$133.42 -2.00 (-1.47%)
As of 03:21 PM Eastern
This is a fair market value price provided by Massive. Learn more.
52-Week Range
$40.01
$152.03
P/E Ratio
31.12
Price Target
$110.00

The water infrastructure manufacturer delivered an 60% earnings surprise in its Q1 2026 report, with earnings per share (EPS) of $1.08 against an estimate for 68 cents and revenue up 19% year-over-year to $138.3 million. Free cash flow jumped more than 20-fold from the prior-year quarter, prompting management to raise its full-year 2026 free cash flow guidance to a range of $50 million to $56 million.

That kind of momentum is exactly why the stock has run so far, so fast—and why it's now digesting those gains. Shares are testing the 50-day simple moving average as support, with the Relative Strength Index sitting in neutral territory near 48. Institutional flows have been mixed following the run-up, a normal pattern after a name more than doubles off its lows.

The consensus price target sits near $110, which is below where shares currently trade—a reminder that analyst targets can lag a stock moving this quickly. With a $430 million backlog and a raised cash flow outlook, the debate now is less about the business and more about how much of that strength is already priced in.

NWPX chart showing a bullish pattern, with the stock supported at the 50-day SMA.

Should You Invest $1,000 in UFP Technologies Right Now?

Before you consider UFP Technologies, you'll want to hear this.

MarketBeat keeps track of Wall Street's top-rated and best performing research analysts and the stocks they recommend to their clients on a daily basis. MarketBeat has identified the five stocks that top analysts are quietly whispering to their clients to buy now before the broader market catches on... and UFP Technologies wasn't on the list.

While UFP Technologies currently has a Hold rating among analysts, top-rated analysts believe these five stocks are better buys.

View The Five Stocks Here

7 Stocks to Buy And Hold Forever Cover

Click the link to see MarketBeat's list of seven stocks and why their long-term outlooks are very promising.

Get This Free Report
Chris Markoch
About The Author

Chris Markoch

Associate Editor & Contributing Author

Like this article? Share it with a colleague.

Companies Mentioned in This Article

CompanyMarketRank™Current PricePrice ChangeDividend YieldP/E RatioConsensus RatingConsensus Price Target
UFP Technologies (UFPT)
2.8501 of 5 stars
$241.39-1.0%N/A27.40Hold$289.00
Mueller Water Products (MWA)
4.9163 of 5 stars
$24.78-0.2%1.13%18.92Hold$30.00
Willdan Group (WLDN)
3.7942 of 5 stars
$73.861.4%N/A19.91Buy$112.67
Compare These Stocks  Add These Stocks to My Watchlist 

Featured Articles and Offers

Recent Videos

Stock Lists

All Stock Lists

Investing Tools

Calendars and Tools

Search Headlines