The devices, sometimes referred to as Glock switches, enable handguns to act like machine guns, firing more than one shot with a single pull of the trigger.
The legislation makes it a state crime to possess the devices, which turn semi-automatic firearms into automatic ones.
The law, which goes into effect immediately, targets devices that turn semiautomatic handguns into makeshift machine guns.