The Senate voted 75-20 for the measure, sending it to President Barrack Obama, who is expected to sign it although the White House did not immediately indicate his intention to do so.
That seems to reflect a difficult political balancing act between some sections in the bill that are popular and trade provisions many Democrats considered insufficient.
Supporters say the measure would strengthen US trading by improving protections for American intellectual property like copyrights and trademarks and upgrading trade law enforcement at the country's borders.
The House approved the trade bill in December, with the backing of nearly all Republicans but just 24 Democrats.
More From This Section
Despite two requests, White House press aides wouldn't say whether the president would sign the bill, though he is expected to.
While some Senate Democrats supported the bill, others complained that its trade protections were insufficient and said negotiators who wrote the House-Senate compromise weakened it significantly, including the currency manipulation language.
Democrats also disliked provisions barring trade agreements that would curb some efforts to restrict greenhouse gas emissions, a major contributor to climate change, or would force the US to revamp its immigration laws.
For years, the drive in Congress to permanently bar taxes on Internet service has languished alongside another effort to empower states to require online retailers to collect state and local sales taxes for online purchases.
Supporters of enhancing the collection of sales taxes for online sales say without that, brick-and-mortar stores face a competitive disadvantage.
In hopes of gaining leverage, senators backing the collection of online state sales taxes have linked the two efforts.