The Oscar-winning actor, 53, appeared on the latest episode of the quiz show alongside Jeopardy! champion Jamie Ding on Wednesday night as the pair competed for charity under the watch of host Jimmy Kimmel.
Affleck's winnings will go to Eastern Congo Initiative, the non-profit Affleck co-founded in 2010 to support community-led organisations in the Democratic Republic of the Congo.
The appearance comes during a busy period for Affleck, who has remained in the spotlight following his recent projects as both an actor and producer, including The Accountant 2, while his long-standing creative partnership with Matt Damon continues through their Artists Equity production company.
Kimmel presented Affleck and Ding with the $1 million question, asking: "In an annual Thanksgiving tradition, all but which of these have been the names of turkeys pardoned by a US president?"
The possible answers were Peanut Butter and Jelly, Tater and Tot, Mac and Cheese, and Spaghetti and Meatball.
Affleck and Ding initially chose to use their Phone-A-Friend lifeline to contact Ding's long-time trivia teammate Stephen Morrison.
Kimmel reminded the contestants they also still had the Ask-The-Host lifeline available, prompting Affleck to suggest they seek the presenter's advice instead.
He said: "Actually, you're very good with cooking and food, current events, too. Actually, you might know this."
Kimmel replied by suggesting the answer could be Spaghetti and Meatball.
He joked: "I could see me adding a big bowl in Donald Trump's hands and him slurping up the spaghetti and meatballs. That one sounds like it wasn't the one to me."
They chose to answer Spaghetti and Meatball.
The answer was confirmed as correct, securing the $1 million prize, before Affleck and Ding embraced on stage as confetti fell around them.
The donation will go to Eastern Congo Initiative, which states it works to "support locally led organizations to expand access to essential services, strengthen economic opportunities, and promote justice".
The organisation adds: "Our work is designed to create scalable, sustainable impact across eastern Congo."
Affleck follows his long-time friend and collaborator Damon onto the winners' list after Damon won the top prize on the program in 2025 alongside Jeopardy! legend Ken Jennings.