Are 3D-printed guns legal? Under federal law, a person in the United States may 3D-print a firearm for personal use without a serial number, registration, or a federal firearms license, as long as the finished gun contains enough metal to be detected by standard security equipment and the maker is not in the business of manufacturing firearms for sale.1ATF. Privately Made Firearms That federal baseline is only half the answer. A growing list of states now bans printing guns outright, several federal rules criminalize specific printed items no matter where you live, and the law is still moving.
What Federal Law Allows
The ATF treats a firearm made at home for personal use as a “privately made firearm.” An individual can legally build one, including by 3D printing plastic components and combining them with commercial metal parts, provided three conditions are met: the firearm remains detectable under the Undetectable Firearms Act, the maker holds it for personal use rather than sale, and none of the components fall into a separately regulated category such as machine gun parts or short-barreled rifle configurations.1ATF. Privately Made Firearms
The Undetectable Firearms Act, first passed in 1988 and most recently reauthorized in March 2024 as part of a bipartisan spending package, requires every firearm to contain enough metal to trigger standard X-ray machines and metal detectors. The current reauthorization runs through 2031.2The Trace. Plastic Guns, Metal Detectors, and Federal Law A fully plastic gun with no metal component is illegal under federal law regardless of who made it or why.
The personal-use exception disappears the moment a maker starts selling or transferring the guns. Manufacturing firearms for sale requires a federal firearms license, and unlicensed dealing is a felony.
Printed Items That Are Illegal Everywhere
Even in states with no specific 3D-printing statute, certain printed products are federal crimes.
Machine Gun Conversion Devices
Small printed parts commonly called “Glock switches” or “auto sears” convert semi-automatic pistols into fully automatic weapons. The ATF classifies these devices as “machineguns” under the National Firearms Act. Possession without proper licensing carries up to ten years in prison.1ATF. Privately Made Firearms Between 2017 and 2021, the ATF recovered 5,454 such devices, a 570 percent increase over the prior five-year period.3GovInfo. Executive Order 14127
Recent sentences show how federal courts treat these cases. A 19-year-old in Illinois received 27 months in prison in 2023 for selling 3D-printed Glock switches and auto sears to undercover ATF agents.4ATF. Nineteen-Year-Old Man Sentenced to 27 Months in Prison for Trafficking 3D-Printed Glock Switches A 22-year-old in Alabama received 37 months in 2025 after police found 74 Glock switches, a 3D printer, and casting equipment at his home.5Fox 10 TV. Judge Rejects Leniency for Evergreen Man With 3D Printer Glock Switches
Unserialized Kits and Unfinished Frames
In 2022, the ATF issued a rule clarifying that “frame” and “receiver” in the Gun Control Act include partially completed components that can be readily finished into functional firearm parts, and that weapons parts kits meeting that standard qualify as “firearms” subject to serialization and background-check requirements.6PBS NewsHour. Biden Rule Requiring Serial Numbers and Background Checks for Ghost Guns Upheld by Supreme Court
On March 26, 2025, the Supreme Court upheld the rule 7-2 in Bondi v. VanDerStok. Justice Gorsuch’s majority opinion held that the Gun Control Act authorizes the ATF to regulate kits and unfinished parts that can be readily converted into operational firearms, and acknowledged that 3D printing and reinforced polymers have enabled individuals to manufacture functional, untraceable weapons at home. Justices Thomas and Alito dissented.7SCOTUSblog. Supreme Court Upholds Regulation of Ghost Guns
The practical effect: buying a “buy build shoot” kit or a nearly-complete printed frame from a commercial seller without a background check and serial number is now unlawful. Printing a frame yourself from raw filament for personal use still falls under the private-manufacture exception at the federal level, but state law may say otherwise.
Where State Law Says No
As of mid-2026, at least eight states and the District of Columbia specifically outlaw 3D-printed guns, and at least 16 states regulate unserialized “ghost guns” more broadly, according to Everytown for Gun Safety.8Stateline. More States Restrict 3D-Printed Firearms
Recent state actions include the following.
- Colorado. HB26-1144, signed in May 2026, prohibits using a 3D printer to manufacture firearms, unfinished gun parts, large-capacity magazines, or rapid-fire devices. A first violation is a Class 1 misdemeanor; subsequent violations are Class 5 felonies.8Stateline. More States Restrict 3D-Printed Firearms9Colorado House Democrats. CO Dems’ Bill to Prohibit 3D Printing of Ghost Guns Is Now Law
- Washington. HB 2320, signed in March 2026, prohibits using 3D printers and CNC milling machines to manufacture firearms and machine gun conversion devices, and regulates the digital blueprints used in the process.10Everytown for Gun Safety. Washington Governor Signs Landmark Bill to Address Threat of 3D-Printed Ghost Guns
- New York. A law signed in May 2026 requires 3D printers sold for home and business use in the state to include technology that detects and blocks the printing of firearm parts. A panel will develop standards for “firearm blueprint detection algorithms,” with mandates scheduled to take effect in 2029 contingent on feasibility findings. Violations carry a civil penalty of $5,000 per product.11PBS NewsHour. First-of-Its-Kind Law in New York Could Block 3D Printers From Making Guns
- Virginia. HB40, enacted in April 2026, prohibits the manufacture, sale, or possession of unserialized firearms, including unfinished frames and receivers.8Stateline. More States Restrict 3D-Printed Firearms
- New Jersey. State law prohibits unlicensed individuals from possessing digital instructions used to 3D-print firearms.8Stateline. More States Restrict 3D-Printed Firearms
- California. A state manufacturer’s license is required to 3D-print any firearm, and unlicensed individuals may not use 3D printers or CNC machines to make guns at all. A pending bill, AB 2047, would require consumer 3D printers sold in the state to include technology to detect and block firearm printing.8Stateline. More States Restrict 3D-Printed Firearms12Giffords Law Center. Ghost Guns in California
If you live in one of these states, the federal personal-use exception does not protect you. Before doing anything with a 3D printer that could produce a firearm part, check your state statute and any local ordinance.
Downloading and Sharing the Files
The design files themselves sit at the intersection of the First and Second Amendments. Proponents argue that CAD files are protected expression, citing cases like Junger v. Daley, in which the Sixth Circuit held that encryption source code is protected speech.13Harvard National Security Journal. 3D Printed Speech: 3D Printer Code Under Constitutional Scrutiny The government has responded that firearm design files are functional instructions to a machine, not communicative expression.
No court has definitively resolved the question. In February 2026, the Third Circuit affirmed the dismissal of Defense Distributed’s challenge to New Jersey’s ban on distributing firearm-printing code in Defense Distributed v. Attorney General New Jersey. The panel found that Defense Distributed had failed to specify how its files were used or whether they constituted protected speech versus purely functional code, and had declined the district court’s invitation to amend its complaint. Defense Distributed indicated it would seek rehearing.14Courthouse News. Third Circuit Backs New Jersey’s Crackdown on 3D-Printed Gun Code
DEFCAD, the file repository founded by Defense Distributed, currently restricts access to U.S. residents and excludes users in New Jersey and California who lack a federal firearms license.15DEFCAD. DEFCAD In New Jersey specifically, possessing the digital blueprints without a license is itself an offense.8Stateline. More States Restrict 3D-Printed Firearms
What Prosecutions Actually Look Like
Between 2016 and 2021, U.S. law enforcement recovered approximately 45,240 suspected privately made firearms at potential crime scenes, including 692 connected to homicides or attempted homicides.1ATF. Privately Made Firearms By 2023, more than 10,000 privately made firearms were recovered in the United States in a single year.16Taylor and Francis Online. 3D-Printed Firearms and Terrorism
Charges in printed-gun cases typically stack. In May 2026, New York State Police arrested a 37-year-old man in Cortland County after finding a 3D-printed ghost handgun, a printed suppressor, three printers, spools of filament, and additional firearms. He was charged with multiple felonies and misdemeanors, including weapons possession and endangering the welfare of a child.17New York State Police. NYSP Seize Ghost Guns, 3D Printers and Illegal Weapons in Cortland County Printed suppressors are separately regulated under the National Firearms Act and require ATF approval and a tax stamp; making one without that approval is a felony.
What May Change Next
In September 2024, President Biden signed Executive Order 14127, creating an interagency Emerging Firearms Threats Task Force to develop strategies for seizing 3D printers used in illegal firearms production, assessing whether printer manufacturers can block gun-printing software, and coordinating with law enforcement to improve identification and tracing of printed weapons.3GovInfo. Executive Order 14127
In February 2025, President Trump issued a competing executive order directing the Attorney General to review all Biden-era firearms regulations for “ongoing infringements of the Second Amendment.”18The White House. Protecting Second Amendment Rights The Trump administration has since taken steps to reduce ATF capacity, including reassigning a reported 80 percent of special agents to immigration enforcement, proposing a $468 million cut to the agency’s budget, and repealing its “zero tolerance” policy for revoking the licenses of gun dealers who willfully violated federal law.19Everytown for Gun Safety. Trump Administration Guns Federal Action Whether the ghost gun rule upheld in VanDerStok will face administrative rollback is unclear.
State activity is running in the opposite direction. New York’s printer-detection mandate, if the technical standards prove feasible, will begin taking effect in 2029, and California’s AB 2047 would impose a similar requirement on printers sold in that state.
The Short Version
If you live in a state without a specific ban, and you print a firearm for your own use from raw filament, keep enough metal in it to satisfy the Undetectable Firearms Act, and do not sell it, federal law currently permits what you are doing. Print an auto sear or a suppressor, sell any of it, ship a completed gun, or live in Colorado, Washington, California, New Jersey, Virginia, New York, or the District of Columbia, and the answer changes. The rules are not static, and the penalties in recent cases have run from probation to more than three years in federal prison.