About a dozen Republicans joined Democrats to overcome Senator Ted Cruz's filibuster of the bill, giving the Senate the 60 votes needed to move the measure forward.
The legislation allows the government to borrow more money to pay its bill through March 2015.
The House passed the bill Tuesday. It now goes to President Obama for approval.
Copyright 2017 Nexstar Broadcasting, Inc. All rights reserved. This material may not be published, broadcast, rewritten, or redistributed.