the Wall, We Are Right
There With You
Quick answer: California Penal Code § 29825 makes it a crime to own, possess, purchase, or receive a firearm while knowing that a restraining or protective order prohibits it. The statute has two tiers. Under subdivision (b), owning or possessing a firearm in violation of the order is a misdemeanor punishable by up to one year in county jail, a fine of up to $1,000, or both. Under subdivision (a), purchasing or receiving, or attempting to purchase or receive, a firearm is a wobbler punishable by up to one year in county jail or by a state prison term, and a fine of up to $1,000. The law applies to temporary restraining orders as well as orders after hearing, and to domestic violence, civil harassment, workplace violence, school violence, elder abuse, stalking emergency, and criminal protective orders. The prosecution must prove that the person knew about the order. Common defenses are lack of knowledge of the order, lack of possession, and unlawful search.
| Subdivision (a) | Subdivision (b) | |
|---|---|---|
| Conduct | Purchasing or receiving, or attempting to purchase or receive, a firearm | Owning or possessing a firearm |
| Mental state | Knowing that the order prohibits it | Knowing that the order prohibits it |
| Classification | Wobbler (misdemeanor or felony) | Misdemeanor |
| Custody | Up to 1 year in county jail, or a state prison term | Up to 1 year in county jail |
| Fine | Up to $1,000 | Up to $1,000 |
| Typical way the case starts | A background check denial at a dealer, or a private transfer | Firearms found during service of an order, a compliance check, a traffic stop, or a report by the protected person |
Many online summaries describe § 29825 as carrying “up to three years.” That figure applies only to a felony filing under subdivision (a). Simple possession under subdivision (b) is a misdemeanor.
Section 29825 applies when the firearm prohibition comes from any of the following:
Violations of a gun violence restraining order are prosecuted under a different statute, Penal Code § 18205, which also adds a five-year firearm prohibition.
Under the standard jury instruction (CALCRIM No. 2512), the People must prove each of the following beyond a reasonable doubt:
A person possesses a firearm by having actual physical custody of it or by having control, or the right to control, it, either personally or through another person. Two or more people can possess the same item. A handgun in a nightstand, a rifle in a shared closet, or a firearm in a storage unit rented in the defendant’s name can each support a possession charge. Mere proximity, or knowing that someone else in the home owns a gun, is not enough without control.
The Penal Code definition covers handguns, rifles, and shotguns, and for prohibited-person statutes it includes the frame or receiver. A firearm generally does not have to be loaded or operable to qualify.
The prosecution usually proves knowledge with a proof of service, an officer’s testimony about serving the order, the defendant’s presence in court when the order was made, or the defendant’s own statements. The mandatory Judicial Council order forms state the firearm prohibition on their face.
When a restraining order is served, the restrained person generally has 24 hours to relinquish firearms and ammunition to law enforcement, or to sell them to or store them with a licensed dealer, and 48 hours to file the receipt with the court. If an officer requests the firearms at the time of service, surrender is immediate (Fam. Code § 6389; Code Civ. Proc. § 527.9). Charges under § 29825 most often arise when that process is skipped, done late, or done incompletely, for example when a firearm is handed to a relative, when one firearm is forgotten, or when a gun kept at a second location is never turned in.
If turning in a firearm would itself be incriminating, California law allows the court to grant use immunity for the act of relinquishment. That request should be made through counsel before the deadline. See firearm surrender after a restraining order in California.
| Statute | Conduct | Classification |
|---|---|---|
| Penal Code § 273.6 | Violating a protective order, including its firearm terms | Misdemeanor in most cases. Felony possible with priors and violence. |
| Penal Code § 166(a)(4), (c) | Contempt of court by violating a court order or criminal protective order | Misdemeanor, with felony exposure in some repeat cases |
| Penal Code § 18205 | Firearm possession in violation of a gun violence restraining order | Misdemeanor, plus a five-year prohibition |
| Penal Code § 30305 | Ammunition possession by a prohibited person | Wobbler |
| Penal Code § 29800 | Firearm possession by a person convicted of a felony | Felony |
| Penal Code § 29805 | Firearm possession within 10 years of specified misdemeanor convictions | Wobbler |
| 18 U.S.C. § 922(g)(8) | Firearm or ammunition possession while subject to a qualifying domestic violence order | Federal felony, up to 15 years |
The U.S. Supreme Court upheld the federal prohibition in United States v. Rahimi, 602 U.S. 680 (2024). The federal statute applies only to orders issued after actual notice and an opportunity to be heard, that protect an intimate partner or child, and that contain a credible-threat finding or an express prohibition on the use of force. See also restraining order violation defense, Penal Code § 166, and the firearm offenses index.
If the order was never served, or was served on the wrong person or at an address where the defendant no longer lived, the knowledge element fails. Proofs of service are examined closely for the date, location, and description of the person served. See improper service of a restraining order.
The firearm belonged to someone else and was stored where the defendant had no access, such as a safe with a combination only the owner knew. Fingerprint and DNA evidence, registration records, and statements from the actual owner all matter.
The order must have been in effect on the date of the alleged possession and must contain a firearm prohibition. Orders that were dissolved, expired, or never properly issued cannot support the charge.
A person arrested with firearms while in the process of relinquishing them within the time the law allows has a strong argument that the conduct was compliance, not a violation. Documentation such as a call log to the police department, an appointment confirmation, or a dealer intake form is important.
California recognizes a narrow defense when a person possesses a firearm only momentarily in order to dispose of it, or takes temporary possession to deliver it to law enforcement.
Firearms found through a search without a valid warrant or a recognized exception may be suppressed under Penal Code § 1538.5. Without the firearm, the case usually cannot proceed.
A limited employment exemption allows some peace officers and armed professionals to possess a specific firearm during work if the court has granted it. The exemption was narrowed effective January 1, 2026, and it does not override federal law.
Most people charged under § 29825 still have the underlying restraining order case pending or recently decided. The two cases affect each other. A statement about firearms in a restraining order declaration can be used in the criminal case. A plea in the criminal case will be offered at the restraining order hearing. Decisions about testimony, continuances, and negotiated outcomes should be made with both cases in view. See restraining order hearings with a pending criminal case.
A restraining order prohibits the restrained person from possessing firearms. It does not, by itself, take away the rights of a spouse, parent, or roommate who lawfully owns guns. The risk for the restrained person is constructive possession. Three arrangements are commonly discussed with counsel:
Leaving another person’s firearm in a shared closet, a nightstand, a vehicle both people drive, or a safe whose combination the restrained person knows invites a charge.
It depends on the subdivision. Owning or possessing a firearm in violation of a restraining order under subdivision (b) is a misdemeanor punishable by up to one year in county jail and a fine of up to $1,000. Purchasing or receiving a firearm, or attempting to, under subdivision (a) is a wobbler that can be charged as a misdemeanor or a felony.
Yes. The statute covers temporary restraining orders and injunctions as well as orders issued after a hearing, including domestic violence, civil harassment, workplace violence, school violence, elder abuse, and criminal protective orders.
Knowledge is an element. The prosecution must prove you knew you were prohibited from having a firearm by the order. If you were never served and had no actual knowledge of the order, that is a defense.
Possibly. Possession includes constructive possession, meaning control or the right to control the firearm, and it can be shared. Whether a firearm in a shared home was within your control depends on facts such as where it was stored and who could access it.
California law generally gives a restrained person 24 hours after service to relinquish firearms, or requires immediate surrender if an officer asks. Holding firearms after that period, buying a firearm, or failing to relinquish can lead to charges. Act within the deadline and keep the receipt.
Yes. Possessing a firearm in violation of a protective order can violate the order itself and the firearm statute, and prosecutors sometimes file both. Sentencing rules limit multiple punishment for a single act.
Section 29825 addresses firearms. Ammunition possession by a person who is prohibited from possessing firearms is addressed by Penal Code section 30305, and the restraining order statutes separately prohibit ammunition while the order is in effect.
It can be. Federal law, 18 U.S.C. section 922(g)(8), prohibits firearm and ammunition possession by a person subject to a qualifying domestic violence protective order issued after notice and a hearing. The federal offense carries far higher maximum penalties than the state offense.
Yes. A firearm violation is evidence a judge can consider in deciding whether to grant or renew a restraining order, and California law allows courts to consider firearm violations in custody decisions.
Outcomes depend on the evidence. Cases are dismissed or reduced when the prosecution cannot prove knowledge of the order or possession, when a search was unlawful, or through negotiated resolutions. Some misdemeanor cases may be eligible for diversion at the court’s discretion.
Power Trial Lawyers defends firearm charges and the restraining orders behind them in courts across Los Angeles, Orange, Riverside, San Bernardino, and San Diego counties. Contact the firm to discuss your case.
This page provides general information about California and federal law. It is not legal advice, and reading it does not create an attorney-client relationship. Firearm laws change frequently, and penalties depend on the charge and the person’s record. Confirm details with counsel about your situation. Reviewed by Matthew Barhoma, Esq., Power Trial Lawyers. Last updated November 2026.