The bill, passed on a 79-14 vote, expands subsidies for wheat, barley, oat, soybeans and several other crops and creates new grants for vegetable and fruit growers.
It also increases loan rates for sugar producers, extends dairy programs and provides more dollars for renewable energy and conservation programs to protect environmentally sensitive farmland over the next five years.
President Bush has threatened to veto the legislation, saying it costs too much and should instead be cutting subsidies at a time of record-high crop prices. He also has threatened to veto a House version passed in July.
Unlike the Senate, the House did not approve the bill by a veto-proof majority, or two-thirds of the chamber. That vote was 231-191.
White House opposition and criticism from fiscal conservatives have so far had little impact on the politically popular bill.
Farm-state senators deflected several attempts to derail the bill and reduce government payments to large growers. Still, even some from farm country acknowledged the bill doesn't do enough to trim the government's massive subsidy programs.
Senate Agriculture Chairman Tom Harkin, D-Iowa, had hoped to take significant steps to reduce subsidies but was blocked by Southern lawmakers on the committee who favor current law. Southern crops such as rice and cotton are more expensive to produce than corn, wheat and most other crops grown around the country.
Harkin had said earlier he wanted to reduce direct payments to farmers, which are paid regardless of crop yield but opposition to the idea was fierce among farmer interest groups. Harkin eventually dropped the plan.
Sen. Kent Conrad, D-N.D., called the bill a "good beginning," though he said it wasn't everything that Harkin would have liked.
"We also had to deal with some of the realities of our different states," Conrad said.
Harkin called it a good bill after it passed.
"We can take it home," he said.
While the House and Senate bills are similar, significant differences will have to be worked out after Congress reconvenes in January.
One of them is the creation of new $5 billion fund for weather-related agricultural disasters in the Senate version that was added by Senate Finance Committee Chairman Max Baucus, a Montana Democrat who is up for re-election next year.
House Agriculture Committee Chairman Collin Peterson, D-Minn., has supported the idea of such a fund but ultimately decided that other programs were more important in the House bill.