We have some exciting news to share! The Motley Fool UK has now become The Twelfth Magpie -- an independent, UK-owned company, led by our long-serving UK management team — Mark Rogers, Chris Nials and Heather Adlington. In practical terms, it’s the same team you know, now fully focused on serving our UK readers and members.

Just as importantly, our approach remains unchanged: long-term, jargon-free, and on your side. This site is our new home, and there will be extra tweaks made across the coming few days as we settle in. So if anything looks a little off, please bear with us!

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.

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:

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. 

XXX

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

Friends and sisters exploring the outdoors together in Cornwall. They are standing with their arms around each other at the coast.
Investing Articles

£503 buys 14 shares in this FTSE 250 stock that returned 23.9% annually for the last 15 years

This FTSE 250 stock has averaged a huge return for 15 years. At today's price, £503 buys 14 shares. But…

Read more »

Black woman using loudspeaker to be heard
Investing Articles

£1,000 buys 25 shares in this FTSE 100 stock that’s returned 29.2% annually for the last 10 years

This FTSE 100 mining stock has returned close to 30% a year for a decade. At 3,995p, £1,000 buys 25…

Read more »

Female student sitting at the steps and using laptop
Investing Articles

Down 47%, is this growth stock finally worth buying in May?

With a £288m order book and a hidden pipeline of defence and nuclear contracts, is this growth stock now too…

Read more »

House models and one with REIT - standing for real estate investment trust - written on it.
Investing Articles

2 REITs yielding 7%+ to consider for passive income in 2026

A REIT backed by the NHS and another backed by Tesco and Sainsbury's with both yielding 7%+. Here's why I'm…

Read more »

Woman riding her old fashioned bicycle along the Beach Esplanade at Aberdeen, Scotland.
Investing Articles

Just 97 shares of this UK dividend stock generate £238 in passive income

A 5.7% yield, £238 in passive income from just 97 shares, and one of the most divisive dividend stocks on…

Read more »

ISA coins
Investing Articles

£10,000 in an ISA generates a second income of…

The London Stock Exchange is home to some of the world's most generous dividends. But how big a second income…

Read more »

Shot of a senior man drinking coffee and looking thoughtfully out of a window
Investing Articles

Expert recommendations: 2 top income stocks yielding 7%+!

With yields of 7.2% and 7.8% respectively, these two income stocks are catching the eyes of institutional analysts. Should investors…

Read more »

Illustration of flames over a black background
Investing Articles

3 top income-focused stocks to buy in May 2026, according to experts

Looking for a stock to buy for income in May 2026? Experts have flagged these three UK dividend shares as…

Read more »