Bera announced a rematch against Lungren in 2012.
The district had been renumbered as the 7th District, and made somewhat more compact.
It lost all of its territory outside of Sacramento County, making it slightly friendlier to Democrats.

On November 13, 2012, Bera attended freshman orientation as congressman-elect while votes were still being counted.
Candidates in these tight races sometimes attend the orientation by the Committee on House Administration, whose chairman was Bera's opponent, Dan Lungren.

On November 15, 2012, the AP called the race for Bera, who won 51%–49%.
Bera announced a rematch against Lungren in 2012. The district had been renumbered as the 7th District, and made somewhat more compact. It lost all of its territory outside of Sacramento County, making it slightly friendlier to Democrats.
On November 13, 2012, Bera attended freshman orientation as congressman-elect while votes were still being counted. Candidates in these tight races sometimes attend the orientation by the Committee on House Administration, whose chairman was Bera's opponent, Dan Lungren.
On November 15, 2012, the AP called the race for Bera, who won 51%–49%.
Ami Bera