The White House has lowered its earlier optimism about the midterm elections and is now worried that Democrats could lose control of both chambers of U.S. Congress, administration officials say.

Recent polls have shown Democrats who once had comfortable leads in some Senate races on a knife's edge, and Senate elections that were considered toss-ups between the two parties are now leaning Republican as high inflation persists.

The House of Representatives, which Biden and some allies and advisers predicted Democrats could hold earlier this year, is decisively swinging for Republicans, polling analysts including FiveThirtyEight say.