Bill Gates has purchased weight-loss guru Jenny Craig’s Rancho Santa Fe, Calif., equestrian estate.

According to public records, the price was $18 million, and the deal closed in mid-September. A spokesperson for the Microsoft co-founder confirmed the purchase and said the Gates family “has enjoyed visiting the San Diego area with friends and family for many years.” Mr. Gates’ daughter Jennifer is active in horseback riding.

Known...