Yes, a firearm kept in a home must be securely stored unless an authorized user is carrying it or is close enough to control it. Penal Code 25145(a) sets that rule from January 1, 2026, and other sections make unsafe storage a crime when a child or a prohibited person can reach the gun.

What counts as securely stored under California law?

A firearm is securely stored under section 25145(b) if it is kept in, locked by, or disabled by a certified firearm safety device or a secure gun safe.

Since January 1, 2026, section 25145(a) has required that "a person shall ensure that any firearm the person possesses in a residence is securely stored" unless the firearm is "carried or readily controlled by the person or another lawful authorized user". Under subdivision (b), "securely stored" means the firearm is kept in, locked by, or disabled by "a certified firearm safety device or a secure gun safe". Subdivision (g) says the section "does not apply to unloaded antique firearms" or to "firearms that are permanently inoperable". The terms have these meanings:

Term Meaning
Authorized user (section 16745) An individual who is not prohibited by state or federal law from having a firearm and who is the lawful owner of it or has been authorized by the owner to access, possess and use it
Certified firearm safety device (25145(c)(2)) A firearm safety device or gun safe on the Department of Justice's roster of tested and approved devices certified for sale under Section 23655
Readily controlled (25145(c)(3)) The authorized user is carrying the firearm on their person, or is close enough to it to readily prevent unauthorized users from gaining access
Secure gun safe (25145(c)(4)) A gun safe that meets the standards for gun safes adopted under Section 23650

What is the penalty for not storing a gun securely?

A first violation of section 25145 is punishable by a fine of up to $250 and a second by up to $500. A third violation is a misdemeanor.

Section 25145(d)(1) says a violation "is punishable by" "a fine of up to two hundred fifty dollars ($250) for a first violation and up to five hundred dollars ($500) for a second violation", and "A third and any subsequent violation is a misdemeanor". The section names no term for that misdemeanor, so Penal Code 19 sets it: up to six months in county jail, a fine up to $1,000, or both. Under section 25145(d)(2), a person "shall not be penalized for violating this section" if the person secured the firearm with a device or safe that they "reasonably believed to meet the requirements of this section".

When does unsafe storage become a crime because of a child or a prohibited person?

Section 25100 defines criminal storage of a firearm in three degrees, which depend on who is likely to reach the firearm and what happens if they do.

Section 25100 applies to a person who "keeps any firearm within any premises that are under the person's custody or control" and who "knows or reasonably should know that a child is likely to gain access to the firearm". The first two degrees also cover a person prohibited from having firearms. The degrees and their punishments under section 25110 are:

Degree What the statute adds Punishment
First (25100(a)) The child or prohibited person gets the firearm and causes death or great bodily injury Imprisonment under Penal Code 1170(h) for 16 months, or two or three years, a fine up to $10,000, or both; or county jail up to 364 days, a fine up to $1,000, or both
Second (25100(b)) The child or prohibited person gets the firearm and causes injury other than great bodily injury, or carries it to a public place or in violation of Section 417 County jail up to 364 days, a fine up to $1,000, or both
Third (25100(c)) The person negligently stores or leaves a firearm where a child is likely to gain access A misdemeanor: up to six months in county jail, a fine up to $1,000, or both (Penal Code 19)

Section 25110(a) states the first-degree terms as imprisonment "pursuant to subdivision (h) of Section 1170 for 16 months, or two or three years" or "imprisonment in a county jail not exceeding one year", section 25110(b) gives the second degree only that county jail term, and Penal Code 18.5(a) limits a county jail term of that kind to "a period not to exceed 364 days". Section 25110(c) says the third degree is "punishable as a misdemeanor". Section 25105 says section 25100 "does not apply whenever any of the following occurs", including that "The firearm is securely stored, as defined in Section 25145", that the firearm is carried or readily controlled by the lawful owner or another lawful authorized user, or that the child obtains the firearm "as a result of an illegal entry to any premises by any person". The other two cover a peace officer or a member of the United States Armed Forces or the National Guard when the child obtains the firearm "during, or incidental to, the performance of the person's duties", and a child who obtains, or obtains and discharges, the firearm "in a lawful act of self-defense or defense of another person".

Penal Code 25200 is a separate crime for the same kind of storage when the child or prohibited person "obtains access to that firearm and thereafter carries that firearm off-premises". It is punishable by county jail up to 364 days, a fine up to $1,000, or both, and the fine limit is $5,000 if the firearm is carried to a preschool, an elementary, middle or high school, or a school-sponsored event. Section 25205 gives it the same five exceptions that section 25105 gives section 25100. In these sections, a child is a person under 18 (Penal Code 25000).

What if someone in the home is prohibited from having guns?

An adult owner may not keep a firearm at home when they know, or have reason to know, a housemate is barred from firearms, unless it is secured or controlled.

Section 25135(a) covers a person 18 or older "who is the owner, lessee, renter, or other legal occupant of a residence", who owns a firearm and who "knows or has reason to know that another person also residing therein is prohibited" from possessing a firearm under state or federal law. That person "shall not keep in that residence a firearm unless one of the following applies": the firearm is securely stored as section 25145 defines it, or it is carried or readily controlled by the lawful owner or another lawful authorized user. Subdivision (b) says "A violation of this section is a misdemeanor", which Penal Code 19 punishes by up to six months in county jail, a fine up to $1,000, or both. Under Penal Code 29805(c), a person convicted on or after January 1, 2020 of a misdemeanor under section 25100, 25135 or 25200 who owns, buys, receives or has a firearm "within 10 years of the conviction" can be punished by county jail up to 364 days or state prison, a fine up to $1,000, or both. The firm's page on Penal Code 29805 and firearms after a misdemeanor covers that 10-year ban. The firm's answer on a gun found in a shared space covers what can happen when a firearm is in a home several people use.

What about a handgun left in a car?

When leaving a handgun in an unattended vehicle, a person must lock it in the trunk or in a locked container out of plain view, among other listed ways.

Section 25140(a) says a person shall, "when leaving a handgun in an unattended vehicle, lock the handgun in the vehicle's trunk", or lock it in a locked container and place the container out of plain view, in a locked container permanently affixed to the vehicle's interior and not in plain view, or in a locked toolbox or utility box. Subdivision (d) says a trunk does not include "the rear of a hatchback, station wagon, or sport utility vehicle", and a locked container "does not include the utility or glove compartment of a motor vehicle". A vehicle is unattended when the person "is not within close enough proximity to the vehicle to reasonably prevent unauthorized access to the vehicle or its contents". A violation "is an infraction punishable by a fine not exceeding one thousand dollars ($1,000)". Section 25140 applies only to handguns. Any loaded firearm in a car can still lead to a charge under Penal Code 25850, which reaches a loaded firearm carried on the person or "in a vehicle while in any public place or on any public street" in a city or in a prohibited area of an unincorporated county.

Frequently asked questions

Does any trigger lock or lockbox count?

Only a device that fits the statute's words. Section 25145(c)(2) defines a certified firearm safety device as one "listed on the Department of Justice's roster of tested and approved firearm safety devices", and a secure gun safe must meet the standards adopted under section 23650. A person is not penalized under subdivision (d)(2) if the device or safe was one they "reasonably believed to meet the requirements of this section".

Does the rule apply if no child lives in the home?

Yes. Section 25145(a) does not mention children or other residents. It speaks of "any firearm the person possesses in a residence", unless the firearm is carried or readily controlled by an authorized user or falls within an exception in subdivision (g).

Talk to a lawyer

The Law Offices of David S. Chesley defend firearm and other violent crime charges across California (see the firm's violent crimes lawyer page).

The firm offers a free consultation, is available 24/7, and offers payment plans. Se habla español. Call (800) 755-5174 or request a free consultation online.

This page is general information, not legal advice, and no outcome is guaranteed.