Is the AI trade back? Here are the ASX shares that stand to benefit.

Three ways to own the AI build-out locally.

ASX AI shares spent much of 2026 out of favour, but the tone has shifted in recent weeks.

Strong results from the US hyperscalers have reminded investors that the spending cycle is still running hard.

That capital has to land somewhere physical, and a good deal of it lands here.

Robot humanoid using artificial intelligence on a laptop.

Image source: Getty Images

Why ASX AI shares are back in favour

The Australian market has limited direct exposure to AI chipmakers or model developers.

But what it does have is infrastructure.

Data centres need land, grid connections, buildings, cooling and networking. Each of those is a bottleneck, and bottlenecks should allow ASX AI shares to benefit from increased pricing power.

NextDC: the purest of the ASX AI shares

NextDC Ltd (ASX: NXT) is the closest thing on the ASX to a direct bet on AI infrastructure demand.

The company recently reported that pro forma contracted utilisation rose 11% to 740 megawatts.

What's more, UBS has a price target of $22.55 on the stock, against a recent price of $14.03.

Recent earnings give a sense of the scale involved.

NextDC maintained FY26 net revenue guidance of $390 million to $400 million and underlying EBITDA guidance of $230 million to $240 million. Contracted EBITDA from existing utilisation and the forward order book is expected to exceed $1 billion, more than four times that FY26 EBITDA guidance.

The catch is capital.

NextDC is carrying roughly $5 billion of forecast FY27 capital expenditure.

How the company executes on its CapEx plans will be a determining factor in the success of its share price.

Goodman Group: land, power and scale

Goodman Group (ASX: GMG) plays a different role in the same story.

Data centres now account for 73% of its development pipeline, which was on track to reach $18 billion by June 2026.

Its real edge is a secured power bank of 6.4 gigawatts across 16 cities.

Grid access has become the primary constraint on data centre expansion worldwide.

Goodman assembled that position over years, and a newcomer cannot replicate Goodman's position quickly.

Morgans has a buy rating on Goodman shares with a $36 price target.

The trade-off is that Goodman carries heavy development commitments and, like any asset-heavy business, is sensitive to interest rate movements.

Megaport: the connectivity layer

Megaport Ltd (ASX: MP1) sits between the other two.

The company provides the software-defined networking that connects enterprise customers to cloud platforms and data centres.

First-half FY26 revenue rose 26% to $134.9 million at a 72% gross margin. Operating earnings also grew 28% to $35.3 million, and net revenue retention came in at 111%.

Megaport has guided to FY26 revenue of $302 million to $317 million with an EBITDA margin of 21% to 24%.

The company connects roughly 3,000 enterprise customers to more than 1,000 data centres globally, which gives it a distribution footprint that would be slow and expensive for a competitor to rebuild from scratch.

In order for investors to validate the Megaport investment thesis, they will have to wait until full-year results are published on 20 August.

Foolish takeaway

These three ASX AI shares are exposed to the same underlying trend, but in very different ways.

NextDC offers the most direct leverage and carries the most capital risk.

Goodman offers scarcity and scale with a lower risk profile.

Megaport offers software margins on a much smaller base.

The obvious danger for all three is that global hyperscalers eventually decide the returns do not justify the capital outlay, and the market's patience with that spending has already proven fickle.

For now, though, the money is still being committed, and Australian infrastructure is benefiting.

Motley Fool contributor Mark Verhoeven has no position in any of the stocks mentioned. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Goodman Group and Megaport. The Motley Fool Australia has recommended Goodman Group. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on AI Stocks

Two woman holding a tablet and clipboard examine a server rack in a data centre.
AI Stocks

Would I buy NEXTDC shares after its 50% jump?

Two major data centre operators have made a surprise move involving NEXTDC. Here's why I think investors should pay attention.

Read more »

IT technician works on a laptop in big data centre full of rack servers.
AI Stocks

5 reasons to buy NEXTDC shares this month

The shares have fallen sharply, but I think the company's contracted demand and growth opportunities could reward patient investors.

Read more »

Man looking at his tablet in a data centre.
AI Stocks

Where could Megaport shares be in 12 months?

The company has secured some enormous contracts, and analysts believe there's plenty more growth to come.

Read more »

IT technician and young female intern walking next to sever racks in a data centre while using a laptop.
AI Stocks

Up 10%! Does today's big news make NEXTDC shares a buy?

After last week's enormous sell-off, I look at whether today's announcement could help restore confidence in the business.

Read more »

Engineer in sterile coverall holds microchip.
AI Stocks

Megaport shares have rocketed 171% since April: Are they still a buy?

I think Megaport shares could climb even higher. But by how much?

Read more »

Woman analysing data.
AI Stocks

Are NextDC shares 'incredibly cheap' after the sell-off?

I take a closer look at whether NEXTDC’s discount to asset value has become too large.

Read more »

Sad man sitting at desk and grabbing his head as he looks at a laptop.
AI Stocks

Should I buy NEXTDC shares after today's 45% crash?

The outlook has changed dramatically, so I wanted to see whether the shares are still worth buying.

Read more »

Man looking at his tablet in a data centre.
AI Stocks

Could high-flying Megaport shares rise another 50%?

Bell Potter admits that it underestimated this AI stock's growth potential.

Read more »