WASHINGTON — Doug Jones’s defeat of Roy S. Moore in Tuesday’s bitterly fought special Senate election was one of the most unlikely upsets in recent campaign history. But the Democrats’ victory in Alabama carries some more immediate political implications.

A Suburban Shellacking for Moore

Voters in Alabama’s cities and most affluent suburbs overwhelmingly rejected Mr. Moore’s candidacy, an ominous sign for Republicans on the ballot next year in upscale districts. In Jefferson County, which includes Birmingham and some of the state’s wealthiest enclaves, Mr. Jones, the Democratic candidate, captured more than 68 percent of the vote. And in Madison County, home to Huntsville and a large NASA facility, Mr. Jones won 57 percent of the vote.

While these Alabamians, many of them women, may have been appalled by the claims of sexual misconduct against Mr. Moore, results like these were not isolated to this race. They mirrored returns in last month’s statewide and legislative races in Virginia, a state filled with well-heeled suburbanites.