Treasury Secretary Jacob Lew said Tuesday that the government sold its remaining shares in the Detroit automaker.
The government received 912 million GM shares, or a 60.8 percent stake, in exchange for a $49.5 billion bailout during the financial crisis in 2008 and 2009. It recovered $39 billion of the money.
But Lew says the rescue was necessary to save 1 million jobs and stop the auto industry from collapsing.
GM shares rose 1.2 percent in after-hours trading following the announcement. They rose 1.8 percent in regular trading, at one point reaching $41.17, the highest level since GM returned to the markets with a November 2010 initial public offering.
GM has said repeatedly that some potential customers have stayed away from its brands because they object to the government intervening in a private company's finances. Because of the bailout, the company has been given the derisive nickname "Government Motors."
GM went through bankruptcy protection in 2009 and was cleansed of most of its huge debt, while stockholders lost their investments. Since leaving bankruptcy, GM has been profitable for 15 straight quarters.
MORE HBJ HEADLINES
Watchdog: Too few air traffic controllers where needed most A $32B tally, but Boeing's 787 costs don't bother Wall Street Czech airline to buy 16 Boeing 737 Max jets Lockheed Martin separating unit, combining it with Leidos Apple forecasts rare sales drop Obama administration loosens Cuba embargo with new measures