Tuesday’s elections signaled Americans’ deep discontent with much of the federal government and ended up placing control of the Senate in the hands of Republicans. Whether this seismic shift in power, on top of the GOP’s sustained majority in the House, will lead to the solutions voters were seeking won’t be known for months.

Exit polls to determine what lay behind voters’ choices made it clear that the public was dissatisfied with the state of the economy, the job performance of President Barack Obama and Washington’s inability to get things done. Multiple surveys showed that most voters believe the country is on the wrong track.

The general discontent, expressed in results from hundreds of congressional races in all the states, amounted to change in control of the Senate, where Republicans now hold 52 seats and may pick up a couple more after final ballot counts. In the House, the Republicans fattened their majority in the 435-member chamber to at least 244 seats, their largest majority since World War II.

The Republican gains are the clearest sign yet that most, if not all, of the magic has worn off President Barack Obama. With two years left in office and his party reduced to minority status throughout Congress, he could be the lamest of lame ducks.

Advertise with us

It is hard to say what, if anything, his support provided to the 2014 candidates. Some Democrats on the ballot pointedly stayed away from him during their campaigns. One exception was Tom Wolf, who won the Pennsylvania governor’s race two days after the president campaigned for him in Philadelphia. Mr. Obama’s rapid descent from his presidential victories in 2008 and 2012 is almost startling, reflecting the volatility of public opinion.

A caution that must be drawn from Tuesday’s seismic shift in Senate control is that, unless the United States is to be left wallowing helplessly in a trough of serious problems for the next two years, there has to be cooperation and compromise in Washington between the Republicans in the legislature and the Democrats in the executive branch. Prospects for such relations do not look promising, particularly since the Senate’s likely new majority leader, Mitch McConnell of Kentucky, has past prided himself on the ability to block initiatives launched by Mr. Obama.

The new lineup in Washington must show an ability to work together by passing legislation on subjects such as immigration, tax code reform, energy policy and support for working Americans. It’s time that the White House and Congress abandoned gridlock and instead got things done for the people who employ them.

Meet the Editorial Board.