WASHINGTON, June 23 (AFP) - US senators advanced a bipartisan Bill late on Thursday (Jun 23) addressing the epidemic of gun violence convulsing the country, approving a narrow package of new firearms restrictions and billions of dollars in mental health and school security funding.

The reforms - which are almost certain to be rubber-stamped by the House of Representatives on Friday - fall short of the demands of gun safety advocates and President Joe Biden, but have been hailed as a life-saving breakthrough after almost 30 years of inaction by Congress.

The Bipartisan Safer Communities Act, which was backed by all 50 Democratic senators and 15 Republicans, includes enhanced background checks for buyers under the age of 21, US$11 billion in funding for mental health and US$2 billion for school safety programmes.

It also provides funding to incentivise states to implement "red flag" laws to remove firearms from people considered a threat.

And it closes the so-called "boyfriend" loophole, under which domestic abusers could avoid a ban on buying firearms if they were not married to or living with their victim.

"Tonight, the United States Senate is doing something many believed was impossible even a few weeks ago: We are passing the first significant gun safety Bill in nearly 30 years," Senate Democratic majority leader Chuck Schumer said after the legislation passed.

"The gun safety Bill we are passing tonight can be described with three adjectives: Bipartisan, commonsense, lifesaving."

His Republican counterpart Mitch McConnell said the legislation would make America safer "without making our country one bit less free".

"This is a common-sense package. Its provisions are very, very popular. It contains zero new restrictions, zero new waiting periods, zero mandates and zero bans of any kind for law-abiding gun owners."

The National Rifle Association and many Republicans in both chambers of Congress opposed the Bill but it is endorsed by advocacy groups working in policing, domestic violence and mental illness.

The Senate and House are on a two-week recess starting next week but the Democratic-controlled House is expected to approve the Senate's Bill with little drama before members leave town on Friday night.