The bill funds the departments of Agriculture, Commerce, Housing and Urban Development, Justice and Transportation. It also covers the Food and Drug Administration, NASA, the National Science Foundation, and other small agencies, providing budgets for them through the remainder of the fiscal year.
In addition, the law extends the continuing resolution funding other agencies through Dec. 16. A previous continuing resolution was set to expire Friday.
The measure keeps overall spending under caps negotiated by members of Congress and the White House this summer during the debate on extending the debt ceiling.
House and Senate negotiators reached agreement on the bill providing 2012 funding earlier in the week, avoiding the public rancor that has characterized previous budget fights this year.
Correction: The original version of this article incorrectly included the Health and Human Services Department on the list of agencies covered by the appropriations measure. Only the Food and Drug Administration within HHS was included. The article has been updated to correct the error.