Trump's newfound working relationship with Schumer and Pelosi comes to the chagrin of some Republicans who last week opposed the bipartisan three-month deal to keep the government running. The president worked with Democrats despite a competing strategy backed by GOP leadership and Treasury Secretary Steve Mnuchin to push for a longer deal.
The focus of Wednesday's dinner, according to sources familiar with the meeting, will be to discuss protections for so-called Dreamers, undocumented immigrants currently protected by the Deferred Action for Childhood Arrivals (DACA) policy, which the administration said last week it would end in six months. The trio will also talk about efforts to stabilize health insurance markets.
Pelosi told reporters it was a "good meeting," as she left Ryan's office for a round of votes Wednesday evening.
Trump's Wednesday dinner with Democratic leaders follows a bipartisan White House meeting with the president and House members from both parties, including a number of key moderate House Democrats. Trump also dined Tuesday night with several Republican and Democratic senators to discuss tax reform.
Rep. Josh Gottheimer, D-NJ, a leader of the House Problem Solvers Caucus, said the White House legislative affairs office invited him and other members to discuss health care, tax reform and infrastructure Wednesday afternoon.
"I'm hoping this is part of a new era of bipartisanship. Because that's what people want," he said.
Rep. Tom Reed, R-NY, the other co-chair of the Problem Solvers Caucus, is among the Republicans invited to the session, along with Rep. Susan Brooks, R-In.
Gottheimer, who attended a bipartisan meeting at the White House last week on New York and New Jersey infrastructure projects, told reporters he planned to discuss the status of young undocumented immigrants with Trump, and push for a vote to address the expiring DACA policy.
"If there's bipartisan support to get something done, let's bring it to the floor and get legislation passed," he said.
ABC News' Mary Bruce contributed to this report.