West Virginia Code
Article 12. General and Specific Powers, Duties and Allied Relations of Municipalities, Governing Bodies and Municipal Officers and Employees; Suits Against Municipalities
§8-12-5a. Limitations Upon Municipalities Power to Restrict the Purchase, Possession, Transfer, Ownership, Carrying, Transport, Sale, and Storage of Certain Weapons and Ammunition

(a) Neither a municipality nor the governing body of any municipality may, by ordinance or otherwise, limit the right of any person to purchase, possess, transfer, own, carry, transport, sell, or store any deadly weapon, firearm, or pepper spray, or any ammunition or ammunition components to be used therewith nor to so regulate the keeping of gunpowder so as to directly or indirectly prohibit the ownership of the ammunition in any manner inconsistent with or in conflict with state law.
(b) For the purposes of this section:
(1) "Deadly weapon" has the meaning provided in 61-7-2 of this code.
(2) "Firearm" has the meaning provided in 61-7-2 of this code.
(3) "Municipally owned or operated building" means any building that is used for the business of the municipality, such as a courthouse, city hall, convention center, administrative building, or other similar municipal building used for a municipal purpose permitted by state law: Provided, That "municipally owned or operated building" does not include a building owned by a municipality that is leased to a private entity where the municipality primarily serves as a property owner receiving rental payments.
(4) "Municipally owned recreation facility" means any municipal swimming pool, recreation center, sports facility, facility housing an after-school program, or other similar facility where children are regularly present.
(5) "Pepper spray" means a temporarily disabling aerosol that is composed partly of capsicum oleoresin and causes irritation, blinding of the eyes, and inflammation of the nose, throat, and skin that is intended for self-defense use.
(c)(1) A municipality may enact and enforce an ordinance or ordinances that prohibit or regulate the carrying or possessing of a deadly weapon, firearm, or pepper spray in municipally owned or operated buildings.
(2) A municipality may enact and enforce an ordinance or ordinances that prohibit a person from carrying or possessing a deadly weapon, firearm, or pepper spray openly or that is not lawfully concealed in a municipally owned recreation facility: Provided, That a municipality may not prohibit a person with a valid concealed handgun license from carrying an otherwise lawfully possessed firearm into a municipally owned recreation facility and securely storing the firearm out of view and access to others during their time at the municipally owned recreation facility.
(3) A person may keep an otherwise lawfully possessed deadly weapon, firearm, or pepper spray in a motor vehicle in municipal public parking facilities if the vehicle is locked and the deadly weapon, firearm, or pepper spray is out of view.
(4) A municipality may not prohibit or regulate the carrying or possessing of a deadly weapon, firearm, or pepper spray on municipally owned or operated property other than municipally owned or operated buildings and municipally owned recreation facilities pursuant to subdivisions (1) and (2) of this section: Provided, That a municipality may prohibit persons who do not have a valid concealed handgun license from carrying or possessing a firearm on municipally owned or operated property.
(d) It shall be an absolute defense to an action for an alleged violation of an ordinance authorized by this section prohibiting or regulating the possession of a deadly weapon, firearm, or pepper spray that the person: (1) Upon being requested to do so, left the premises with the deadly weapon, firearm, or pepper spray or temporarily relinquished the deadly weapon, firearm, or pepper spray in response to being informed that his or her possession of the deadly weapon, firearm, or pepper spray was contrary to municipal ordinance; and (2) but for the municipal ordinance the person was lawfully in possession of the deadly weapon, firearm, or pepper spray.
(e) Any municipality that enacts an ordinance regulating or prohibiting the carrying or possessing of a deadly weapon, firearm, or pepper spray pursuant to subsection (c) of this section shall prominently post a clear statement at each entrance to all applicable municipally owned or operated buildings or municipally owned recreation facilities setting forth the terms of the regulation or prohibition.
(f) Redress for an alleged violation of this section may be sought through the provisions of 53-1-1 et seq. of this code, which may include the awarding of reasonable attorneys fees and costs, if the petitioner prevails.
(g) For the purposes of 61-7-14 of this code, municipalities may not be considered a person charged with the care, custody, and control of real property.
(h) This section does not:
(1) Authorize municipalities to restrict the carrying or possessing of deadly weapons, firearm, or pepper spray, which are otherwise lawfully possessed, on public streets and sidewalks of the municipality; or
(2) Limit the authority of a municipality to restrict the commercial use of real estate in designated areas through planning or zoning ordinances.

Structure West Virginia Code

West Virginia Code

Chapter 8. Municipal Corporations

Article 12. General and Specific Powers, Duties and Allied Relations of Municipalities, Governing Bodies and Municipal Officers and Employees; Suits Against Municipalities

§8-12-1. General Corporate Powers of All Municipalities

§8-12-2. Home Rule Powers for All Cities

§8-12-3. Creation by Charter Provision of Certain Independent City Boards

§8-12-3a. Cities Authorized to Create Department of Development and Transfer Planning Functions of Certain Independent Agencies to Such Department; Authorizing Related Ordinances and Resolutions

§8-12-4. Power to Provide by Charter for Initiative, Referendum and Recall

§8-12-5. General Powers of Every Municipality and the Governing Body Thereof

§8-12-5a. Limitations Upon Municipalities Power to Restrict the Purchase, Possession, Transfer, Ownership, Carrying, Transport, Sale, and Storage of Certain Weapons and Ammunition

§8-12-5b. Municipal Authority to Enact Ordinance; Ordinance Provisions Defining Terms; Restricting Certain Activities in Relation to Obscene Matters and Establishing Penalties for Violations

§8-12-5c. Authority to Enact Ordinance Restricting the Location of Businesses Offering Exotic Entertainment

§8-12-5d. Regulation of Amateur Radio Antennas

§8-12-5e. Authority to Enter Into Energy-Savings Contracts

§8-12-5f. Regulation of Taxicabs and Taxi Stands

§8-12-5g. Authorizing Municipalities to Hold Motor Vehicle Racing Events on Public Roads, Municipal Streets or Runways

§8-12-6. Membership in Association or League

§8-12-7. Power and Authority to Purchase Insurance and to Indemnify Officers, Agents and Employees

§8-12-8. Group Insurance Programs Authorized

§8-12-9. Power and Authority to Enact Ordinance Prohibiting Discrimination With Respect to Housing Accommodations

§8-12-10. Purchasing; Competitive Bidding

§8-12-11. Lease Agreements for Equipment or Materials With Option to Cancel or Renew for One Year Authorized

§8-12-12. Power and Authority to Lease, Establish, Maintain and Operate Off-Street Parking Facility

§8-12-13. Building Regulation; General and Special Codes; State Building Code

§8-12-14. Permits for Construction and Alteration

§8-12-15. Municipal Inspection

§8-12-16. Ordinances Regulating the Repair, Alteration, Improvement, Closing, Demolition, etc., of Structures, Dwellings, or Buildings That Are Unsafe, Unsanitary, Dangerous, or Detrimental to the Public Safety or Welfare; Procedures

§8-12-16a. Registration of Uninhabitable Property

§8-12-16b. Special Litter Prevention Officers

§8-12-16c. Registration of Vacant Buildings; Registration Fees; Procedures for Administration and Enforcement

§8-12-16d. Additional Powers and Duties of Municipalities; Areas of Special or Unique Interest

§8-12-17. Sale or Lease of Municipal Public Utility

§8-12-18. Sale, Lease, or Disposition of Other Municipal Property

§8-12-19. Extraterritorial Exercise of Powers and Authority

§8-12-20. Authorizing Municipalities to Enact Adopt-a-Street Programs

§8-12-21. Restriction on the Regulation of Trades, Occupations, and Professions

§8-12-22. Foreclosure Actions Involving Abandoned Properties

§8-12-23. Limitations on Municipalities, Political Subdivisions, and Local Governing Bodies Authority Over Energy Usage and Development

§8-12-24. Dedication to or Naming Municipal Property for Office Holder Prohibited

§8-12-25. Authorizing Certain Municipalities to Create a Pension Funding Program