Stock market rally: I’d buy these UK shares today and hold them forever

The current stock market rally has helped lift the value of many UK shares. I think this could be just the start of a much longer run higher.

| More on:

The content of this article was relevant at the time of publishing. Circumstances change continuously and caution should therefore be exercised when relying upon any content contained within this article.

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.

The current stock market rally has helped lift the value of many UK shares. And I think this could be just the start of a much longer run higher for equities. 

With that in mind, I’m on the lookout for companies that have to potential to produce large returns for investors in the years ahead. In my opinion, there’s one sector in particular that’s stuffed full of these businesses. 

Investing in the stock market rally 

One sector that’s benefitted more than most from the pandemic is technology. In the space of a few months, the tech sector has seen the sort of growth that previously would have taken several years.

There are only a handful of UK shares available to play this theme. One is Electrocomponents (LSE: ECM). This business is a global omnichannel partner for industrial customers and suppliers who design, build or maintain industrial equipment and facilities. It offers a range of tech solutions to help clients improve the customer experience, productivity and efficiency. 

Business has been on the up this year, and the company is using the extra profits to expand. It has recently announced two new acquisitions for a total of £160m. These should help complement growth in the years ahead. 

Electrocomponents has a strong track record of profits growth through acquisitions and organic expansion. Net profit has grown at an annual rate of 25% for the past six years. 

Based on its past success, I reckon this growth can continue. That’s why I suspect the stock could be a great purchase in the current stock market rally. Electrocomponents seems to me to be one of the few UK shares that can capitalise effectively on the global tech boom. 

A tech leader

Another UK tech stock I’d buy to profit from the stock market rally is Avast (LSE: AVST). Technology is becoming more and more advanced. Unfortunately, criminals are becoming more advanced as well. Some 65,000 attempts to hack small- to medium-sized businesses (SMBs) occur in the UK every day

This is where Avast comes into play. The company provides anti-virus software. As the world becomes more reliant on technology, this technology is going to become ever more critical. 

Therefore, I think the company is likely to see strong earnings growth for years to come. As one of the world’s best-known security software providers, Avast already has a strong brand which consumers trust. That should work in the firm’s favour to drive growth.

Indeed, thanks to its current position in the market, analysts are already forecasting a near 50% leap in earnings this year. As companies and consumers have been forced to move online in the pandemic, they have rushed to secure their systems with a brand they know well.

I think this is a sign of things to come, which is why I reckon Avast is one of the best UK shares to buy right now and hold forever. 

Rupert Hargreaves has no position in any of the shares mentioned. The Motley Fool UK has no position in any of the shares mentioned. Views expressed on the companies mentioned in this article are those of the writer and therefore may differ from the official recommendations we make in our subscription services such as Share Advisor, Hidden Winners and Pro. Here at The Motley Fool we believe that considering a diverse range of insights makes us better investors.

More on Investing Articles

British pound data
Investing Articles

Starting with nothing? Here’s why now is the perfect time to start building a passive income

Many are worried that 2026 might be a bad time to start investing in stocks and shares. Our Foolish author…

Read more »

ISA coins
Investing Articles

Decided not to bother with a Stocks and Shares ISA? You might be missing these 3 things!

With a fresh annual allowance for contributing to a Stocks and Shares ISA upon us, what might people who don't…

Read more »

GSK scientist holding lab syringe
Investing Articles

Why is everyone buying GSK shares?

GSK shares have been outperforming the FTSE 100 in 2026. Paul Summers takes a closer look and asks whether this…

Read more »

Middle-aged white man pulling an aggrieved face while looking at a screen
Investing Articles

£10,000 invested in easyJet shares at the start of 2026 is now worth…

Anyone buying easyJet shares will have endured a rough ride since January. Paul Summers wonders whether things could get even…

Read more »

Close-up of a woman holding modern polymer ten, twenty and fifty pound notes.
Investing Articles

5 years ago, £5,000 bought 2,645 Barclays shares. But how many would it buy now?

Despite delivering an impressive return since April 2021, Barclays' shares have lagged the FTSE 100's other banks. James Beard considers…

Read more »

Side of boat fuelled by gas to liquids, advertising Shell GTL Fuel
Investing Articles

5 years ago, £5,000 bought 354 Shell shares. But how many would it buy now?

When it comes to Shell’s numbers, most of them are impressive. And it’s no different when looking at the recent…

Read more »

A rear view of a female in a bright yellow coat walking along the historic street known as The Shambles in York, UK which is a popular tourist destination in this Yorkshire city.
Investing Articles

I asked ChatGPT if I should buy Aviva, Diageo or BAE Systems stock and it said…

Aviva, Diageo and BAE Systems shares are popular FTSE 100 picks. But which of the three does ChatGPT like the…

Read more »

Tesla car at super charger station
Investing Articles

SpaceX’s IPO threatens to leave the Tesla share price on the forecourt

As Elon Musk starts fuelling the engines for a SpaceX IPO, could the Tesla share price get left in the…

Read more »