Retail investors have a new favorite sector outside of tech

A Nabors Industries worker uses a power washer to clean the floor of a rig drilling for Chevron in the Permian Basin near Midland, Texas.
Daniel Acker | Bloomberg | Getty Images

Energy is far and away the top-performing S&P 500 group this year after also outperforming in 2021, and retail investors are hopping on the bandwagon.

More In Investing trends

CNBC ProGoldman picks stocks poised to benefit from the multitrillion-dollar ESG opportunity ahead
CNBC ProConsider hiding out in these tech stocks during a bear market, Bernstein says
CNBC ProBack-to-school investing preview: Possible recession looms over retailers' busiest half of the year