WASHINGTON—The House on Wednesday passed legislation aimed at removing regulatory barriers to development of self-driving cars, a victory for autonomous-vehicle companies that say a proliferation of state rules has created a confusing patchwork for the industry.

The measure, approved by voice vote, faces tougher going in the Senate, where members are concerned about possible job losses in the trucking industry, and about consumer safety standards.

...