Should you sell your ASX shares if they've hit all-time highs?

Is it a good idea to sell shares at high prices?

If you've been following the ASX share market news recently, you'll know that the S&P/ASX 200 Index (ASX: XJO) has been hitting all-time highs, as we can see on the chart below.

Within the ASX 200, plenty of ASX shares recently hit all-time highs, too, such as Commonwealth Bank of Australia (ASX: CBA), JB Hi-Fi Ltd (ASX: JBH), WiseTech Global Ltd (ASX: WTC), Pro Medicus Ltd (ASX: PME), REA Group Ltd (ASX: REA) and more.

One of the most famous pieces of investment advice is "buy low, sell high".

With plenty of ASX shares hitting highs, some investors may be wondering whether now is the time to sell.

A man wearing a red jacket and mountain hiking clothes stands at the top of a mountain peak and looks out over countless mountain ranges.

Image source: Getty Images

Let the winners run

The overall share market return comprises the return from all the different businesses. However, only a certain number of them deliver strong market outperformance over the long term.

Those big winners don't usually turn into rubbish businesses overnight. Names like WiseTech Global, Pro Medicus, and REA Group have kept generating bigger profits over the years, enabling them to regularly hit new all-time highs.

It would have been a mistake to sell those great ASX growth shares five years ago, considering the gains they have delivered since. We don't need to interrupt the great power of compounding – if they have a great future, then I think continuing to own them makes sense.

Plus, there's no need to activate a capital gains tax event unnecessarily. If I were thinking about selling, I'd want to know if there is a better opportunity to switch to (whilst taking into account the friction of paying tax and brokerage). Are there actually better ideas than what we currently own?

Cyclical and low-growth ASX shares

ASX mining shares are notoriously volatile because commodity prices go up and down due to changes in supply and demand.

We don't need to wait for all-time highs to sell or all-time lows to buy the miners, but I think it's quite possible to make good returns by being brave and investing when there is widespread pessimism.

For example, since this article I wrote on 10 September 2024, the Rio Tinto Ltd (ASX: RIO) share price has risen more than 17%, the BHP Group Ltd (ASX: BHP) share price has gone up over 16%, and the Fortescue Ltd (ASX: FMG) share price has climbed more than 26%.

I'd also consider selling businesses that have reached all-time highs if their earnings growth looks slow and challenged for the foreseeable future. CBA shares were/are a contender for selling, in my view, because their valuation has risen a lot, yet profit is actually going backwards, and competition remains strong.

The CBA share price run-up appears to have happened due to indiscriminate buying by institutional funds rather than positive calls on its future prospects. I believe there are numerous ASX shares that have the potential to deliver higher profits over the next five years at more attractive valuations.

The bigger a business becomes, the more mature it is and the less growth it may achieve in the future.

Motley Fool contributor Tristan Harrison has positions in Fortescue and REA Group. The Motley Fool Australia's parent company Motley Fool Holdings Inc. has positions in and has recommended Pro Medicus, REA Group, and WiseTech Global. The Motley Fool Australia has positions in and has recommended WiseTech Global. The Motley Fool Australia has recommended Jb Hi-Fi, Pro Medicus, and REA Group. The Motley Fool has a disclosure policy. This article contains general investment advice only (under AFSL 400691). Authorised by Scott Phillips.

More on Opinions

Stressed businessman sits in panic amid digital stock market financial background.
Opinions

I investigated 3 ASX shares that crashed in 2026. Are they bargain buys or value traps?

Here’s my verdict on these three beaten-down ASX shares.

Read more »

Robot's hand typing on keyboard.
Opinions

3 reasons I'd buy Xero shares before the end of 2026

There's a catalyst ahead for Xero shares.

Read more »

Hand of a woman carrying a bag of money, representing the concept of saving money or earning dividends.
Opinions

Why I just invested $11,000 in this ASX dividend share

This stock has a lot of positives…

Read more »

Senior man looking at his laptop and pondering something.
Opinions

BHP shares: I investigated the bull and the bear case, and here's where I landed

BHP shares have been relatively stable over the past six months.

Read more »

Smiling woman holding Australian dollar notes in each hand, symbolising dividends.
Opinions

Why I'd buy this ASX share over a term deposit

A few ASX shares can provide resilience, dividends, and growth.

Read more »

A female ASX investor looks through a magnifying glass that enlarges her eye and holds her hand to her face with her mouth open as if looking at something of great interest or surprise.
Opinions

2 ASX shares where broker forecasts caught my attention

These two ASX shares deserve a closer look.

Read more »

Woman with her hands out to each side on a light blue background.
Opinions

I compared dividends, earnings, and growth across the ASX: These 3 shares stood out

These ASX shares caught my attention. Here’s why.

Read more »

A businessman holding a butterfly net looks around hoping to snare a good ASX share investment.
Opinions

I hunted the ASX for oversold shares. These 3 stood out

These ASX shares look oversold and under priced to me.

Read more »