Trump, flanked by House Republicans, said from the White House Rose Garden he was "confident" the Senate would also vote to repeal ObamaCare.
"Yes, premiums will be coming down. Yes, deductibles will be coming down. But very importantly, its a great plan and ultimately thats what its all about," Trump said.
"This has brought the Republican Party together."
The bill, known as the American Health Care Act, repeals the core elements of ObamaCare, including its subsidies to help people get insurance coverage, expansion of Medicaid, taxes and mandates for people to get coverage.
In its place, the bill provides a new tax credit aimed at helping people buy insurance, though it would provide less help than ObamaCare to low-income people.
The 20 House Republicans who voted against the bill were Reps. Andy Biggs (Ariz.), Mike Coffman (Colo.), Barbara Comstock (Va.), Ryan Costello (Pa.), Charlie Dent (Pa.), Dan Donovan (N.Y.), Brian Fitzpatrick (Pa.), Jaime Herrera BeutlerJaime Lynn Herrera BeutlerHouse passes bill to expand workplace protections for nursing mothers The 9 Republicans who voted to hold Bannon in contempt of Congress House votes to hold Bannon in contempt of Congress MORE (Wash.), Will Hurd (Texas), Walter Jones (N.C.), David Joyce (Ohio), John Katko (N.Y.), Leonard Lance (N.J.), Frank LoBiondo (N.J.), Thomas Massie (Ky.), Patrick Meehan (Pa.), Dave ReichertDavid (Dave) George ReichertRep. Kim Schrier defends Washington House seat from GOP challenger Washington Rep. Kim Schrier wins primary Mail ballot surge places Postal Service under spotlight MORE (Wash.), Ileana Ros-Lehtinen (Fla.), Chris Smith (N.J.) and Mike Turner (Ohio).