Mostly yes. Penal Code 20510 bars cane swords and Penal Code 21310 bars carrying a dirk or dagger concealed on the person, but the Penal Code names no katana or machete. Drawing or using a deadly weapon in a threatening way is a separate crime under Penal Code 417, and cities and counties can add their own rules.

Does California ban any kind of sword?

The Penal Code names cane swords but no katana, machete or other sword, so those blades fall under general rules about concealing, threatening and using weapons.

Section 16340 defines a cane sword as "a cane, swagger stick, stick, staff, rod, pole, umbrella, or similar device, having concealed within it a blade that may be used as a sword or stiletto". Section 20510 reaches any person who "manufactures or causes to be manufactured, imports into the state, keeps for sale", offers or exposes one for sale, or "gives, lends, or possesses any cane sword", and punishes it by "imprisonment in a county jail not exceeding one year or imprisonment pursuant to subdivision (h) of Section 1170" (county jail up to 364 days under Section 18.5), except as Chapter 1 (commencing with Section 17700) provides. Section 20590 adds that "any cane sword is a nuisance and is subject to Section 18010", and Section 16590(h) lists it among the "generally prohibited weapon" items.

Can you carry a sword or machete in public?

Section 21310 bars carrying a concealed dirk or dagger, which Section 16470 defines as a knife or instrument capable of ready use as a stabbing weapon.

Section 21310 reaches "any person in this state who carries concealed upon the person any dirk or dagger", with the same county jail or Section 1170(h) punishment, except as Chapter 1 provides. Section 16470 defines a dirk or dagger by what the item can do: a knife or another instrument, whether or not it has a handguard, that is "capable of ready use as a stabbing weapon that may inflict great bodily injury or death". Whether a particular sword or machete fits that definition is not something this page can say, and Section 21310 speaks only of carrying one "concealed upon the person". Penal Code 20200 adds that "A knife carried in a sheath that is worn openly suspended from the waist of the wearer is not concealed" within the meaning of Section 21310. The firm's answer on switchblades and concealed knives covers Section 21310 in more detail, and its answer on Penal Code 626.10 covers knives and other weapons on school grounds.

Some places bar a long blade even when it is carried openly. Penal Code 171b(a)(3) covers bringing or possessing, in a state or local public building or at a meeting the law requires to be open to the public, "Any knife with a blade length in excess of four inches, the blade of which is fixed or is capable of being fixed in an unguarded position by the use of one or two hands". It allows county jail up to 364 days or state prison, so it can be a felony or a misdemeanor, and subdivision (b) lists exceptions. Penal Code 171.5(c)(1) bars the same kind of knife in the sterile area of an airport or a passenger vessel terminal, with county jail up to six months, a fine up to $1,000, or both.

What happens if you draw or use one?

Except in self-defense, drawing a deadly weapon other than a firearm in a rude, angry or threatening manner is a misdemeanor under Section 417(a)(1); Section 245(a)(1) covers assault with one.

Section 417(a)(1) makes it a crime, "except in self-defense" and "in the presence of any other person", to draw or exhibit "any deadly weapon whatsoever, other than a firearm" in a "rude, angry, or threatening manner", or to "unlawfully" use one in "any fight or quarrel"; the punishment is a misdemeanor with "imprisonment in a county jail for not less than 30 days". Drawing or exhibiting a firearm or "other deadly weapon, with the intent to resist or prevent the arrest or detention" of the person or another by a peace officer is a separate crime: the person "shall be imprisoned in the state prison for two, three, or four years" (Penal Code 417.8). Section 245(a)(1) covers a person who "commits an assault upon the person of another with a deadly weapon or instrument other than a firearm" and states "imprisonment in the state prison for two, three, or four years", or a "county jail for not exceeding one year" (364 days under Section 18.5), or a "fine not exceeding ten thousand dollars ($10,000)", or both the fine and imprisonment. Neither section names a sword, and this page does not say whether a particular blade is a deadly weapon. The firm's page on assault with a deadly weapon covers Section 245.

Blade The rule What the statute states
A cane sword 20510: manufacturing, importing, selling, giving, lending or possessing one A felony or a misdemeanor (Penal Code 17(b)): county jail up to one year (364 days) or imprisonment under Section 1170(h)
A dirk or dagger 21310: carrying one concealed upon the person A felony or a misdemeanor, with the same county jail or Section 1170(h) punishment
Any deadly weapon other than a firearm 417(a)(1): drawing or exhibiting it in a rude, angry or threatening manner, or using it unlawfully in a fight or quarrel A misdemeanor, county jail not less than 30 days
A deadly weapon or instrument other than a firearm 245(a)(1): an assault with it A felony or a misdemeanor: state prison for two, three, or four years, county jail up to 364 days, a fine up to $10,000, or both

Each rule is stated as the statute words it, with its conditions above; the table does not say whether a particular sword or machete falls within any row.

Do city or county rules add anything?

Violating a city or county ordinance is a misdemeanor unless the ordinance makes it an infraction, so a local rule on swords or blades can itself be charged.

Government Code 36900(a) says "Violation of a city ordinance is a misdemeanor unless by ordinance it is made an infraction", and Government Code 25132(a) says the same for a county ordinance. This page does not list any city or county ordinance on swords, machetes or other blades.

Frequently asked questions

No. Section 20510 punishes anyone who "gives, lends, or possesses any cane sword", except as Chapter 1 (commencing with Section 17700) provides, and Section 16340 defines a cane sword as a cane or similar device "having concealed within it a blade that may be used as a sword or stiletto".

No Penal Code section names a katana or a machete, so the rules above on concealing, threatening and using a deadly weapon, and any local ordinance, are the ones that apply by their words. This page does not say how a court treats a particular blade.

Talk to a lawyer

The Law Offices of David S. Chesley defend weapons 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.