Time can be one of the most powerful advantages an investor has. The longer you stay invested, the longer you can benefit from compounding.
I focus on ASX shares that have strong foundations and the ability to grow alongside the markets they serve. These are the kinds of businesses that can justify a long-term place in a portfolio.
Here are three ASX shares I'd feel comfortable holding for the next decade.

Image source: Getty Images
Goodman Group (ASX: GMG)
Goodman Group is a property company that sits at the centre of a powerful structural trend.
Its portfolio is closely tied to logistics, warehousing, and increasingly data centres, which are essential to how goods and data move around the world.
What stands out to me is how its assets connect to long-term demand.
E-commerce continues to reshape supply chains, while the growth of cloud computing and artificial intelligence (AI) is driving demand for data infrastructure. Goodman has positioned itself to support both.
The company's integrated model also adds another layer.
It develops, owns, and manages assets, which allows it to capture value across multiple parts of the lifecycle. Over time, that can support both earnings growth and asset expansion.
TechnologyOne Ltd (ASX: TNE)
TechnologyOne is a business built on consistency.
It provides enterprise software to government, education, and large organisations, with a model that centres on recurring revenue and long-term customer relationships.
What I find attractive is the predictability of that model. As more customers move onto its platform and remain there, revenue builds steadily. That creates a strong foundation for growth.
There is also a clear pathway for expansion.
The company continues to deepen its presence with existing customers while growing internationally. Over a long period, that combination can support compounding earnings.
Macquarie Group Ltd (ASX: MQG)
Macquarie brings a different type of exposure. It operates across asset management, infrastructure, renewable energy, and financial services, with a global footprint that continues to evolve.
What I think stands out is its ability to allocate capital. The company has a long history of identifying emerging opportunities and building businesses around them. That adaptability allows it to grow across different cycles.
Macquarie also provides exposure to real assets and long-term investment themes, which can add a different dimension to a portfolio.
Foolish takeaway
When I think about holding ASX shares for a long time, I look for businesses that can keep progressing without needing constant reinvention.
I think Goodman, TechnologyOne, and Macquarie fit that mindset.