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

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

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

You’re reading a free article with opinions that may differ from The Motley Fool’s Premium Investing Services. Become a Motley Fool member today to get instant access to our top analyst recommendations, in-depth research, investing resources, and more. Learn More

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.

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

A man with binoculars crouched in the bush, indication a share price on watch
Cheap Shares

I've got $2,000 and I'm on the hunt for cheap ASX shares to buy in December

These stocks could be too cheap to ignore.

Read more »

The sea's vastness is rivalled only by the refreshing feel of the drinks two friends share as they saunter along its edge, symbolising passive income.
Dividend Investing

These 2 ASX dividend shares have grown their dividend every year for 20 years!

It’s impressive how consistent these stocks have been with their payouts.

Read more »

A woman peers through a bunch of recycled clothes on hangers and looks amazed.
REITs

A 5.5% yield but down 30%! Is it time for me to buy this ASX 200 stock at a bargain-basement price?

Investors building passive income flows may love this defensive play idea.

Read more »

A rich woman in red highheels steps onto a red carpet leading to a private jet
Opinions

Could this undervalued ASX stock be your ticket to millionaire status?

This stock could unlock excellent wealth-building for investors.

Read more »

Woman in a hammock relaxing, symbolising passive income.
Opinions

An ASX dividend giant I'd buy over NAB stock right now

Three reasons why I'd rather buy this dividend winner than a major ASX bank stock.

Read more »

Three boys dressed as knights wield swords as they defend their castle wall.
Dividend Investing

High-yield alert: 3 ASX dividend shares to buy now

These are some of my top picks for income in today's market...

Read more »

A male investor sits at his desk looking at his laptop screen holding his hand to his chin pondering whether to buy Macquarie shares
Opinions

1 stock I think will gatecrash the ASX 200 in 2025!

This stock could be called into the index next year.

Read more »

Man holding out $50 and $100 notes in his hands, symbolising ex dividend.
Dividend Investing

Building up income: 2 ASX dividend shares I believe are a buy

These two stocks have strong dividend potential.

Read more »