Official Covid-19 death tallies have underestimated the mortality impact of the Covid-19 pandemic in the United States. Excess mortality, which compares observed deaths to deaths expected in the absence of the pandemic, is a useful measure for assessing the total effect of the pandemic on mortality levels. In the present study, we produce county-level estimates of excess mortality for 3,127 counties between March 2020 and December 2021. We fit two hierarchical linear models to county-level death rates from January 2015 to December 2019 and predict expected deaths for each month during the pandemic. We compare these estimates with the observed numbers of deaths to obtain excess deaths for each county-month. An estimated 936,911 excess deaths occurred during 2020 and 2021, of which 171,168 were not assigned to Covid-19 on death certificates. Urban counties in the Far West, Great Lakes, Mideast, and New England experienced a substantial urban mortality disadvantage in 2020, whereas rural counties in these regions had higher mortality in 2021. In the Southeast, Southwest, Rocky Mountain, and Plains regions, there was a rural mortality disadvantage in 2020, which was exacerbated in 2021. The proportion of excess deaths assigned to Covid-19 was lower in 2020 (76.3%) than in 2021 (87.0%), suggesting fewer Covid-19 deaths went unassigned later in the pandemic. However, in rural areas and in the Southeast and Southwest a large share of excess deaths were still not assigned to Covid-19 during 2021.