WASHINGTON—The House passed a bill Wednesday designed to block any government connection to abortion, underscoring Republican attempts to balance the party's focus on jobs and the deficit with signals that its leaders care about social issues.

The vote was 251 to 175, with 16 Democrats joining all Republicans in voting yes. Senate leaders say they have no plans to take up the legislation.

The...