Under Illinois law, the following firearms or accessories are illegal to possess: Machine guns. Rifles with a barrel shorter than 16 inches. Shotguns with a barrel shorter than 18 inches or any weapon made from a rifle or shotgun and modified with a length less than 26 inches. Stun guns or tasers. More items... 15 Jun 2022