The Senate voted unanimously on Monday to renew a 10-year ban on guns that "cannot be picked up by metal detector commonly found in airports, court houses and government buildings," CNN reported.
The law, which prohibits firearms made by plastic and are undetectable, had been set to expire by the end of the day.
"It [drew] renewed attention recently due to its pending expiration and the advent of mainly nonmetallic handguns produced by 3-D printers," CNN also reported.
President Obama is expected to sign the bill, according to reports.
Congressional Democrats and the president were "pushing for an extension to also deal with potential loopholes for 3-D-printer guns, which the congressional legislation does not do," CNN reported.
"Plastic guns made using 3-D printers comply with the law by inserting a removable metal block. That has led to worries plastic guns could pass through metal detectors without being flagged by simply removing the block," according to news reports.
The chamber also rejected a proposal made by New York Democrat Chuck Schumer, which would have require "any plastic gun to include a substantial metal part that cannot be easily removed," CNN also reported.