The winner, who was not named, offered $2,679,001 just minutes before the five-day auction closed on Friday. He or she, along with up to seven friends, will share a lunch with Mr. Buffett at Smith & Wollensky in Manhattan.
Mr. Buffett, the chief executive of Berkshire Hathaway, has been participating in this event since 2000. The money raised goes to support Glide, a nonprofit organization in San Francisco that provides a variety of services for poor and marginalized people including food — almost 800,000 meals per year — shelter and child care.
More from The New York Times:
Rough treatment of journalists in the Trump Era
Cleveland police officer who shot Tamir Rice is fired
Video shows police appearing to kick man on fire, after he emerged from wreck
Glide has an annual budget of $18 million, Janice Mirikitani and Reverend Cecil Williams, the organization's founders, said in a telephone interview.
"Mr. Buffett's contribution through this auction is very, very important to us," Ms. Mirikitani said, adding that the organization's leaders were "thrilled" this past week as they watched the bidding offers rise.
The auction was not always hosted on eBay. The first winner in 2000, Pete Budlong, a technology entrepreneur, placed a winning bid of $25,000 at a lively, in-person auction in San Francisco that was hosted by the actress Sharon Stone and the comedian Robin Williams.
That gave Mr. Budlong, now 52, the opportunity to spend hours chatting with Mr. Buffett, his then-wife, Susan Buffett, and seven friends at a San Francisco restaurant. (Also in attendance, briefly, was Mr. Williams, who had asked Mr. Budlong at the auction if he could stop by.)
Over lunch they discussed technology, a field Mr. Buffett was at the time largely shying away from, and traded jokes.