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

Dividend Shares

2 FTSE 250 dividend shares yielding over 10% I like for 2026

Jon Smith reviews a couple of FTSE 250 companies with double-digit yields he feels have positive outlooks for the coming…

Read more »

Portrait of pensive bearded senior looking on screen of laptop sitting at table with coffee cup.
Investing Articles

This FTSE 100 stock tanked in 2025. Can it rebound in 2026?

The FTSE 100 index soared last year, but shares in the owner of the UK's stock exchange plummeted. Will they…

Read more »

Two business people sitting at cafe working on new project using laptop. Young businesswoman taking notes and businessman working on laptop computer.
Investing Articles

Can Barclays shares do it all over again in 2026?

Barclays shares had a spectacular return in 2025, rising by 76.8%. Muhammad Cheema takes a look to see if they…

Read more »

Investing Articles

This FTSE 100 stock supercharged my SIPP in 2025. Can it repeat the trick in 2026?

A FTSE 100 stock has lifted my SIPP this year, showing how long-term thinking, volatility, and optionality can shape retirement…

Read more »

UK supporters with flag
Investing Articles

£1k invested in the UK stock market during the pandemic is currently worth…

Jon Smith not only points out the specific gains from investing in the stock market generally since the pandemic, but…

Read more »

Santa Clara offices of NVIDIA
Investing Articles

Will Nvidia shares continue surging in 2026 and beyond?

2026 will be an exciting year for Nvidia shares as the semiconductor giant launches its latest generation of AI chips.…

Read more »

Investing Articles

Check out the BP share price and dividend forecast for 2026 – it’s hard to believe!

Harvey Jones is feeling rather glum about the BP share price but analysts reckon it's good to go. So who's…

Read more »

Investing Articles

I asked ChatGPT for its top FTSE 100 stock for 2026, and it said…

Muhammad Cheema asked ChatGPT for its top FTSE 100 pick, and its response surprised him. He thinks he’s found an…

Read more »