Are Ghost Guns Illegal in California?

Yes, in most situations. “Ghost gun” is a nickname for a privately made or unserialized firearm, and California law generally makes it illegal to make, sell, or knowingly possess one unless it has gone through the state’s serial number process.
The rules have tightened several times since 2018, including new laws that took effect on January 1, 2026. Here is what counts as a ghost gun, what the law requires, and where people can run into criminal charges.
What Is a Ghost Gun Under California Law?
The Penal Code rarely uses the phrase “ghost gun.” Instead, state law focuses on firearms and “firearm precursor parts” without a valid state or federal serial number or mark of identification.
That can include a homemade firearm, one assembled from a kit or separate parts, and one produced on a 3D printer or CNC milling machine.
The common thread is the missing serial number. A firearm without one cannot be traced the way a commercially made firearm can, which is why lawmakers have targeted these guns.
Is It Illegal to Possess an Unserialized Firearm?
Generally, yes. Under changes made by Assembly Bill 1621 in 2022, knowingly possessing a firearm or firearm precursor part without a valid serial number on or after January 1, 2024, is generally a misdemeanor, according to the California Department of Justice.
People who already owned such items were required to apply for a serial number by that date. New residents must apply within 60 days of arriving in California.
Note the word “knowingly.” The prosecution generally has to show you knew the firearm or part lacked a serial number, which can matter in a defense. Federal law may also apply to some firearms, so a state charge is not always the whole picture.

Can You Legally Build Your Own Firearm in California?
California does not ban every home-built firearm, but it closely regulates the process. Before manufacturing or assembling a firearm without a serial number, a person must apply to the Department of Justice for a unique serial number.
The Department runs an eligibility check to confirm the applicant can lawfully possess firearms. If approved, the applicant must mark the firearm with the assigned number within the required deadline and submit images through the state’s online system.
State law also limits volume. Since January 1, 2023, Penal Code section 29010 bars anyone without a manufacturer’s license from making more than three firearms in a calendar year.
Building a firearm without completing the serial number process is unlawful. State law says a person shall not knowingly manufacture or assemble a firearm that lacks a valid state or federal serial number.
What About 3D-Printed Guns?
3D printing and CNC milling get specific attention. Penal Code section 29185 addresses the use of these machines to make firearms without a license, and the sale or transfer of machines primarily designed for that purpose to unlicensed people.
Assembly Bill 1263 expanded this area further. Among other changes effective January 1, 2026, it widened the legal definition of “digital firearm manufacturing code,” which covers digital files used to program 3D printers and similar machines.
It also expanded civil liability for unlawfully distributing that code. Anyone who works with these files or machines should understand how broad the rules have become.
What Is the New Facilitation Offense?
The newest change is Penal Code section 29186, effective January 1, 2026, as summarized in the Attorney General’s information bulletin on the new ghost gun laws.
It makes it a misdemeanor to knowingly or willfully cause another person to engage in the unlawful manufacture of firearms, or to knowingly or willfully aid, abet, promote, or facilitate that manufacture.
The “unlawful manufacture of firearms” under this section includes situations such as:
- Manufacture by a minor or by a person prohibited from having firearms
- Manufacture of four or more firearms in a calendar year by an unlicensed person
- Unlicensed manufacture using a 3D printer or CNC milling machine
- Manufacture of a firearm without a valid serial number
- Manufacture to sell or transfer without a required background check
This matters because the offense reaches people who help or encourage the manufacture, not only the person who builds the firearm.
What Are the Consequences Beyond the Charge Itself?
A misdemeanor can still carry lasting effects. Under Assembly Bill 1263, a conviction on or after January 1, 2026, for certain misdemeanors triggers a 10-year ban on possessing firearms and ammunition.
The list includes the unlawful sale or transfer of unserialized firearms, offenses involving unlawful 3D printer or CNC manufacturing, and the new facilitation offense under section 29186.
Ghost gun allegations can also be stacked with other counts, such as possessing a prohibited weapon or an illegal accessory.
Our article on California gun law penalties covers the broader range of firearm offenses, and our guide to what is considered a gun crime in California explains how these charges are classified.
How Can a Ghost Gun Charge Be Defended?
Every case depends on its facts, but a defense may examine questions like these:
- Whether you actually knew the firearm or part lacked a serial number
- Whether the firearm was lawfully serialized, or an application was properly submitted
- Whether police found the item through a lawful search
- Whether the item meets the legal definition of a firearm or precursor part
- Whether you actually owned, controlled, or made the item
Someone can face charges even when they obtained a gun in good faith. Our article on gun charges after a legal purchase explains how that can happen. If you have been accused, read your rights after a gun crime accusation, and see how an attorney can lower the penalties for a gun crime charge.
Talk With a Los Angeles Firearms Defense Attorney
California’s ghost gun laws are detailed and keep changing, and a mistake about a serial number, a kit, or a 3D-printed part can lead to criminal charges. Whether a charge can be proven depends on the evidence, and we can’t promise any outcome.
If you were arrested or are under investigation, review Kosnett Law Firm’s firearms defense work in Los Angeles or contact our team to discuss your situation.
