✕

Markets

Insider Trading

Hedge Funds

Retirement

Opinion

10 Safest Stocks to Buy for 2027 According to Bill Gates’ Portfolio

Page 1 of 3

Bill Gates built his fortune in technology, but the foundation trust’s holdings offer ideas for investors seeking resilience heading into 2027. Our earlier coverage of stocks in Bill Gates’ portfolio examined several of these businesses. Their ability to withstand economic pressure deserves renewed attention as inflation complicates an otherwise strong growth outlook.

The foundation trust supports a substantial philanthropic undertaking. Its endowment stood at $92 billion as of June 30, 2026, according to unaudited figures. The foundation’s 2026 annual letter reiterated plans to spend an additional $200 billion before closing in December 2045.

More recently, the figures do not suggest an economy already in recession. Reuters reported on November 25 that U.S. GDP grew at a revised 4.3% annualized rate in the third quarter. However, October’s annual PCE inflation reached 3.8%, with core inflation at 3.3%, reinforcing expectations for further interest-rate increases. Strong activity therefore comes with persistent pressure on household budgets and business costs.

Latest surveys show growth moderating. November’s flash composite PMI fell to 54.6 from 55.9 in October, remaining above the 50 threshold separating expansion from contraction. S&P Global estimated that the survey indicated roughly 3% annualized fourth-quarter growth, while flagging affordability pressures and elevated inflation.

This backdrop favors examining how companies defend earnings. Affordable essentials can retain customers, recurring revenue can cushion weaker sales, and financial flexibility can reduce dependence on expensive borrowing. Our coverage of stocks to consider during a recession explores businesses serving persistent needs.

The trust’s current holdings that performed best during 2022 provide a useful starting point. Their historical resilience still needs support from present-day fundamentals: industrial companies remain cyclical, while consumer businesses must balance pricing against demand. The following selections examine those strengths and limitations heading into 2027.

Our Methodology

To compile our list, we reviewed the Bill & Melinda Gates Foundation Trust’s Q3 2026 stock portfolio and compared each holding’s share-price performance from December 31, 2021, through December 30, 2022, using split-adjusted closing prices and excluding dividends. We selected the 10 best-performing stocks during that period, including those that gained despite the broader market downturn.

We excluded FedEx Freight and Veralto because their shares did not trade independently in 2022, and MSG Knickerbockers because its available history reflects the combined Knicks-and-Rangers business rather than its current operations.

For each selected company, we examined the business characteristics that could support resilience during an economic slowdown, alongside relevant risks. We ranked the stocks by their 2022 price performance, with the strongest performer at number one. Here, “safest” refers to relative historical resilience and business durability, rather than an absence of investment risk.

Why are we interested in the stocks that hedge funds pile into? The reason is simple: our research has shown that we can outperform the market by imitating the top stock picks of the best hedge funds. Insider Monkey’s quarterly newsletter strategy selects 14 small-cap and large-cap stocks every quarter and has returned 612% since May 2014, beating its benchmark by 375 percentage points (see more details here).

10. Walmart Inc. (NASDAQ:WMT)

Share Price Performance in 2022: -2.01%

Bill & Melinda Gates Foundation Trust’s Equity Stake: $871,938,370

Walmart Inc. (NASDAQ:WMT) limited its 2022 share-price decline to approximately 2%, supported by a business built around affordable everyday purchases. Groceries and household essentials encourage repeat visits, while purchasing scale helps the retailer compete for customers trading down during an economic slowdown.

That positioning continues to support growth. Third-quarter fiscal 2027 revenue increased 5.2% to $188.84 billion, while adjusted earnings reached $0.65 per share. Membership fee revenue grew by double digits, adding income beyond merchandise sales.

Walmart Inc. is also using its stores to fulfill online orders, giving existing locations another source of sales. Advertising and third-party marketplace services can improve profitability without requiring a proportionate increase in inventory. These businesses broaden its earnings base, although advertising spending itself remains sensitive to economic conditions.

The cost backdrop is less favorable. Management said higher diesel and transportation expenses had added approximately $2 billion in incremental costs during the year, partly offset by nearly $3 billion in tariff refunds. Those refunds should not be treated as a recurring defense against inflation.

Our analysis of whether advertising and subscriptions justify Walmart’s premium valuation examines the distinction between dependable retail demand and the growth expectations embedded in its shares.

Roth Capital retained Buy and raised its target to $143 in November, arguing that infrastructure investment and e-commerce scale should improve earnings durability. That supports the operating case for Walmart Inc., but does not eliminate valuation risk.

Heading into 2027, Walmart Inc. has several ways to retain customers and earn more from their spending. The investment case depends on translating those advantages into recurring profit growth while preserving the low prices that attract shoppers in the first place.

9. McDonald’s Corporation (NYSE:MCD)

Share Price Performance in 2022: -1.69%            

Bill & Melinda Gates Foundation Trust’s Equity Stake: $77,341,806

McDonald’s Corporation declined just 1.69% in 2022, making it one of the foundation trust’s more resilient holdings during the selloff. Its defensive appeal combines affordable meals with franchise royalties and rental income, reducing direct exposure to restaurant-level operating costs.

Affordability still needs work. Management has been testing additional entry-level offers for a planned national rollout in early 2027. Digital promotions and Extra Value Meals helped improve U.S. trends late in the third quarter, suggesting that customers respond when the savings are clear.

McDonald’s Corporation reported adjusted quarterly earnings of $3.57 per share, up 11%. It also increased its quarterly dividend 4% to $1.93, providing shareholders with a larger recurring cash distribution.

The franchise model remains central to earnings resilience. McDonald’s Corporation is targeting a 98% franchised global restaurant portfolio by 2028 and had refranchised approximately 175 locations across the U.S. and International Operated Markets through its third-quarter update. However, its 48.3% year-to-date adjusted operating margin also benefited from restaurant-sale gains, which should be distinguished from recurring franchise earnings.

Our coverage of McDonald’s push to win back budget-conscious customers through lower-priced meals explains the commercial challenge: discounts must generate enough additional business to remain worthwhile for franchisees.

Wells Fargo raised its target to $300 in early November and maintained Overweight, citing progress on value and further initiatives planned for 2027. RBC remained more cautious, noting pressure on franchisee paybacks.

McDonald’s Corporation can benefit when diners choose cheaper restaurants, but it still competes with eating at home. Sustained traffic recovery, profitable promotions, and healthy franchise operators would provide stronger evidence of resilience than earnings growth supported partly by refranchising gains.

Page 1 of 3