Two ASX growth shares that I would be happy to buy and tuck away for the next decade are NextDC Ltd (ASX: NXT) and Megaport Ltd (ASX: MP1).
Both companies are investing heavily to meet the growing demand for digital infrastructure, and I believe their earnings could look quite different in five to ten years.
Here's why I would be looking to buy their shares.
One of the things that gives me confidence in NextDC's long-term growth prospects is how much customer demand it has already secured.
When the data centre operator released its FY26 results, management estimated that its existing customer contracts could ultimately support more than $1 billion in EBITDA.
That's approximately four times the underlying EBITDA of $248.8 million it generated in FY26, without factoring in any additional contract wins.
While subsequent power supply delays at its M3 Melbourne facility have created uncertainty around the timing of this earnings growth, I like how management has responded.
NextDC is prioritising developments backed by customer contracts and will assess new investments against several criteria, including whether expected returns exceed its cost of capital.
I think this financial discipline will be important in determining how much of the firm's future earnings growth translates into shareholder returns.
In a recent development, at $9.46 on Thursday, NextDC has a market capitalisation of approximately $7.2 billion. If NextDC delivers on its original $1 billion contracted EBITDA estimate, I think an enterprise value of $15 billion could be achievable.
That would represent a multiple of 15 times EBITDA, which I believe could be justified for an established data centre operator with long-term customer contracts and further growth opportunities.
Even allowing for $5 billion in future net debt and other financing obligations, that would leave NextDC with a market capitalisation of $10 billion.
Assuming no further shareholder dilution, this would imply upside of approximately 39% from today's share price, without factoring in the earnings potential of any additional contract wins.
This is why I would be happy to buy NextDC shares now and hold them for the long term, though I will be keeping a close eye on how management funds its expansion.
What I like about Megaport's expansion into computing infrastructure is that it can now meet a much greater proportion of its existing customers' technology needs.
And its recent contract wins demonstrate the commercial potential of bringing computing, connectivity, and storage together on a single platform.
In September, Megaport unveiled three contracts worth approximately $979 million, including customer prepayments of $323 million.
These prepayments cover almost two-thirds of the capital expenditure required to fulfil those contracts, reducing the amount of capital Megaport needs to commit upfront.
I think this is an important consideration given the scale of its investment plans.
Based on the midpoint of its upgraded FY27 guidance, Megaport could generate EBITDA of approximately $329 million this financial year, up from $77 million in FY26.
And with its pro forma annual recurring revenue (ARR) already reaching $1.1 billion in September, I can see scope for further strong earnings growth as contracted infrastructure comes into service.
The cost of replacing computing equipment and servicing debt will need to be carefully managed, but at $13.94, I believe Megaport's shares offer considerable long-term upside potential.
I expect there will be periods of volatility for both ASX shares as these businesses work through their investment programs.
However, I would be happy to own them well beyond the current wave of infrastructure spending. As artificial intelligence becomes embedded in everyday business operations, I believe both NextDC and Megaport could benefit from customers requiring increasingly large amounts of computing capacity and connectivity for many years to come.
