Investing in AI stocks on the ASX? Here's what you should buy

Three ASX ways to buy the artificial intelligence build-out.

Investing in AI stocks on the ASX is harder than it looks because our market lacks "no-brainer" stocks like Nvidia and Microsoft.

Our local Aussie index is dominated by banks, miners and supermarkets.

But that does not mean there are no opportunities. What it does mean is that we need to look at the plumbing and the applications driving AI rather than the AI chips themselves.

The Motley Fool has previously covered how to invest in artificial intelligence locally.

Here are three ASX companies I think give you strong exposure to the AI theme.

Hologram of a man next to a human robot, symbolising artificial intelligence.

Image source: Getty Images

Why ASX AI stocks look different to Wall Street

Australia does not manufacture semiconductors.

What we do have is land, power and regulated demand for sovereign data storage, and that has turned the local artificial intelligence trade into an infrastructure trade first and a software trade second.

NextDC: the purest infrastructure play

NextDC Ltd (ASX: NXT) builds and operates the data centres that artificial intelligence workloads run inside.

The company's scale is now hard to ignore.

In an April update, contracted utilisation reached 667MW as at 31 March 2026, a 60% increase, while the forward order book jumped 83% to 544MW.

Contracted earnings from existing agreements now exceed $1 billion.

Chief executive Craig Scroggie did not undersell the shift:

The scale of this increase in contracted utilisation and the resulting uplift in the Company's pro forma Forward Order Book are unprecedented, underscoring the record levels of demand we continue to experience.

The catch is cost.

NextDC guided to FY26 capital expenditure of $2.7 billion to $3.0 billion with roughly $5 billion forecast for FY27, and it funded part of that through a $1.5 billion entitlement offer priced at $12.70 per share.

Investors are still debating whether the AI boom is only getting started for NextDC shares.

The company reports its FY26 result on 27 August.

Pro Medicus: one of the few profitable AI stocks

Pro Medicus Ltd (ASX: PME) sells medical imaging software to United States hospital networks.

Its FY26 result delivered revenue of $261.7 million, up 22.9%, while underlying net profit after tax rose 24.1% to $144.7 million.

The underlying earnings before interest and tax margin reached 74.9%.

Dividends climbed 25.5% to 69 cents per share fully franked, and the company signed 10 new contracts worth at least $407 million.

Chief executive Sam Hupert framed the AI opportunity in terms of access:

We are the gatekeeper for image-based AI to now 11% of the market in the U.S. and growing.

That gatekeeper position represents the premium the market pays for.

Shares jumped more than 10% on results day, although they remain down roughly 11% for the calendar year.

Macquarie Technology: the small-cap option

Macquarie Technology Group Ltd (ASX: MAQ) runs data centres, cloud and cybersecurity services for government and corporate customers.

The company is a fraction of NextDC's size, with a market capitalisation of roughly $1.6 billion.

The company delivered its 22nd consecutive half of EBITDA growth in the first half of FY26, with EBITDA of $57.9 million and full-year guidance of $114 million to $117 million.

Its IC3 Super West facility in Sydney is the real prize.

Phase one delivers 6MW, with a pathway to 19MW and an option over a Sydney campus site above 150MW.

Macquarie Technology also reports on 27 August.

The risks with ASX AI stocks

None of these businesses is cheap.

Pro Medicus trades on a price-to-earnings ratio near 88, which leaves no margin at all for a missed contract or a slower implementation schedule.

NextDC has never reported a statutory profit, and its capital intensity means further raisings are possible.

Macquarie Technology is small, thinly traded and spending heavily ahead of revenue.

Buying AI stocks means accepting that the market has already priced in a great deal of future growth.

Foolish takeaway

I would not put an entire portfolio into this single theme.

But a modest allocation across infrastructure and applications gives you two very different ways to win, because the companies building the capacity and the companies monetising it rarely peak at the same moment.

NextDC and Macquarie Technology sell the shovels.

Pro Medicus sells the software that makes the data useful.

For investors who want exposure to AI stocks without leaving the ASX, that is where I would start.

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 Microsoft and Nvidia. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has recommended Pro Medicus. The Motley Fool Australia has recommended Microsoft, Nvidia, and Pro Medicus. 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

The AI share sell-off: 3 ASX stocks I'd buy while investors are nervous

Billions are being spent on AI infrastructure, and I think these businesses could benefit as that investment continues.

Read more »

A concerned man looking at his laptop.
AI Stocks

What on Earth is going on with the NEXTDC share price this year?

Shares have gone from crashing to soaring in a matter of weeks. I've been looking at what comes next.

Read more »

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 »