Malloy signed the bill at a ceremony Thursday alongside family members of some of the victims of the shooting at Sandy Hook Elementary School, several hours after it won approval in the General Assembly.
The bill passed 26-10 in the Senate and 105-44 in the House of Representatives. Both were bipartisan votes.
“In some senses I hope this is an example to the rest of the nation,” Malloy said. “Certainly to our leaders in Washington who seem so deeply divided about an issue such as universal background checks, where the country is not divided itself.”