Lawmakers voted 34-0 in favor of the bill Wednesday, clearing its path to the House.
Sen. Steve Vick, a Dalton Gardens Republican who co-sponsors the bill with Meridian Republican Marv Hagedorn, touts it as a way to ensure Idahoans' Second Amendment rights are protected.
The proposal is a response to fears that President Barack Obama will ban some guns.
Hagedorn has previously said he knows of no such federal measure in the works.
The measure won't affect agreements between state and federal agencies that collaborate on gang and drug investigations.
Likewise, officers who confiscate felons' firearms won't get in any trouble.