Wesfarmers Ltd (ASX: WES) shares enjoyed a stellar June, climbing around 15% and comfortably outperforming the broader market.
The blue-chip stock is now up roughly 7% over the past 12 months, compared with a gain of about 2.7% for the S&P/ASX 200 Index (ASX: XJO).
So, what's behind the renewed optimism?

Image source: Getty Images
Consumers are spending again
One key catalyst was stronger-than-expected retail spending. Australian household spending rose 1.3% last month, surprising economists and boosting confidence that consumers are proving more resilient than many had feared.
Interest rate expectations also helped. Markets are increasingly expecting the Reserve Bank of Australia to leave rates unchanged at its next meeting, easing concerns that higher borrowing costs could further squeeze household budgets.
That combination has been particularly positive for Australia's largest retailers and Wesfarmers shares in particular.
Retail leaders with pricing power
Wesfarmers owns some of the country's strongest retail brands, including Bunnings, Kmart Australia, and Officeworks. Bunnings dominates home improvement, while Kmart has become one of Australia's leading discount retailers.
Both businesses have built their market positions by combining scale with consistently low prices, making them attractive destinations when consumers become more price-conscious. If economic conditions soften during FY27, Wesfarmers could actually strengthen its competitive position as shoppers increasingly seek value.
Greater scale also gives the company significant purchasing power, helping reinforce its competitive advantage over smaller rivals.
More than just retail
Wesfarmers isn't relying solely on its established businesses. Management continues to invest in new growth opportunities across the portfolio.
International expansion is one example. The company has opened five Anko stores in the Philippines and plans to launch another five by the end of FY27. Back home, Bunnings continues expanding into new categories, including pet products and automotive accessories.
Meanwhile, Kmart is testing larger K Home stores, broadening its homewares offering and potentially creating a new competitor to established furniture retailers.
Wesfarmers shares also retains exposure to lithium through its mining interests, providing investors with an additional source of long-term earnings growth if lithium markets remain supportive.
Converting capital into profit
Perhaps the biggest attraction of Wesfarmers shares is how efficiently the business converts capital into profits. In its first-half FY26 result, Bunnings generated a return on capital of almost 71%, while Kmart delivered close to 70%.
Across the broader group, return on equity rose to 32.7%. Those are exceptional numbers for a mature blue-chip company and demonstrate management's ability to reinvest shareholder capital at attractive rates of return.
For long-term investors, that combination of dominant retail brands, disciplined expansion, and consistently high profitability helps explain why Wesfarmers continues to command a premium valuation — and why many believe the recent rally could still have further to run.