<?xml version="1.0"?>
<law><site_title>Virginia Decoded</site_title><site_url>https://vacode.org</site_url><law_id>84864</law_id><section_number>15.2-915</section_number><catch_line>Control of firearms; applicability to authorities and local governmental agencies</catch_line><edition url="https://vacode.org/2025/" slug="2025" current="TRUE" last_updated="">2025</edition><referred_to_by><reference>22.1-131.1</reference></referred_to_by><structure><unit label="title" level="1" order_by="1" identifier="15.2">Counties, Cities and Towns</unit><unit label="subtitle" level="2" order_by="1" identifier="II">Powers of Local Government</unit><unit label="chapter" level="3" order_by="1" identifier="9">General Powers of Local Governments</unit><unit label="article" level="4" order_by="1" identifier="1">Public Health and Safety; Nuisances</unit></structure><text>
						<section id="A"><p><span class="prefix-number">A.</span> No <span class="dictionary">locality</span> shall adopt or enforce any <span class="dictionary">ordinance</span>, resolution, or <span class="dictionary">motion</span>, as permitted by &#xA7; <a class="law" title="Actions by localities" href="/15.2-1425/">15.2-1425</a>, and no agent of such <span class="dictionary">locality</span> shall take any administrative action, governing the purchase, <span class="dictionary">possession</span>, transfer, ownership, carrying, storage, or transporting of firearms, ammunition, or components or combination thereof other than those expressly authorized by <span class="dictionary">statute</span>. For purposes of this section, a <span class="dictionary">statute</span> that does not refer to firearms, ammunition, or components or combination thereof shall not be construed to provide express authorization.
			Nothing in this section shall prohibit a <span class="dictionary">locality</span> from adopting <span class="dictionary">workplace</span> rules relating to terms and conditions of employment of the workforce. However, no <span class="dictionary">locality</span> shall adopt any <span class="dictionary">workplace</span> rule, other than for the purposes of a <span class="dictionary">community services</span> board or behavioral health authority as defined in &#xA7; <a class="law" title="Definitions" href="/37.2-100/">37.2-100</a>, that prevents an employee of that <span class="dictionary">locality</span> from storing at that <span class="dictionary">locality</span>&#x2019;s <span class="dictionary">workplace</span> a lawfully possessed firearm and ammunition in a locked private motor vehicle. Nothing in this section shall prohibit a <span class="dictionary">law</span>-enforcement officer, as defined in &#xA7; <a class="law" title="(Effective July 1, 2026) Definitions" href="/9.1-101/">9.1-101</a>, from acting within the scope of his duties.
			The provisions of this section applicable to a <span class="dictionary">locality</span> shall also apply to any authority or to a local governmental entity, including a department or agency, but not including any local or regional jail, juvenile detention facility, or state-governed entity, department, or agency. <a id="paragraph-304036" class="section-permalink" href="https://vacode.org/15.2-915/#A"><i class="fa fa-link"/></a></p></section>
						<section id="B"><p><span class="prefix-number">B.</span> Any local <span class="dictionary">ordinance</span>, resolution, or <span class="dictionary">motion</span> adopted prior to July 1, 2004, governing the purchase, <span class="dictionary">possession</span>, transfer, ownership, carrying, or transporting of firearms, ammunition, or components or combination thereof, other than those expressly authorized by <span class="dictionary">statute</span>, is invalid. <a id="paragraph-304037" class="section-permalink" href="https://vacode.org/15.2-915/#B"><i class="fa fa-link"/></a></p></section>
						<section id="C"><p><span class="prefix-number">C.</span> In addition to any other relief provided, the <span class="dictionary">court</span> may award reasonable attorney fees, expenses, and <span class="dictionary">court</span> costs to any person, group, or entity that prevails in an action challenging (i) an <span class="dictionary">ordinance</span>, resolution, or <span class="dictionary">motion</span> as being in conflict with this section or (ii) an administrative action taken in bad faith as being in conflict with this section. <a id="paragraph-304038" class="section-permalink" href="https://vacode.org/15.2-915/#C"><i class="fa fa-link"/></a></p></section>
						<section id="D"><p><span class="prefix-number">D.</span> For purposes of this section, &#x201C;<span class="dictionary">workplace</span>&#x201D; means &#x201C;<span class="dictionary">workplace</span> of the <span class="dictionary">locality</span>.&#x201D; <a id="paragraph-304039" class="section-permalink" href="https://vacode.org/15.2-915/#D"><i class="fa fa-link"/></a></p></section>
						<section id="E"><p><span class="prefix-number">E.</span> Notwithstanding the provisions of this section, a <span class="dictionary">locality</span> may adopt an <span class="dictionary">ordinance</span> that prohibits the <span class="dictionary">possession</span>, carrying, or transportation of any firearms, ammunition, or components or combination thereof (i) in any building, or part thereof, owned or used by such <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>, for governmental purposes; (ii) in any public park owned or operated by the <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>; (iii) in any recreation or community center facility operated by the <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>; or (iv) in any public street, road, alley, or sidewalk or public right-of-way or any other place of whatever nature that is open to the public and is being used by or is adjacent to a permitted event or an event that would otherwise require a permit. In buildings that are not owned by a <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>, such <span class="dictionary">ordinance</span> shall apply only to the part of the building that is being used for a governmental purpose and when such building, or part thereof, is being used for a governmental purpose.
			Any such <span class="dictionary">ordinance</span> may include security measures that are designed to reasonably prevent the unauthorized access of such buildings, parks, recreation or community center facilities, or public streets, roads, alleys, or sidewalks or public rights-of-way or any other place of whatever nature that is open to the public and is being used by or is adjacent to a permitted event or an event that would otherwise require a permit by a person with any firearms, ammunition, or components or combination thereof, such as the use of metal detectors and increased use of security personnel.
			The provisions of this subsection shall not apply to the activities of (i) a Senior Reserve Officers&#x2019; Training Corps program operated at a public or private institution of higher education in accordance with the provisions of 10 U.S.C. &#xA7; 2101 et seq. or (ii) any intercollegiate athletics program operated by a public or private institution of higher education and governed by the National Collegiate Athletic Association or any club sports team recognized by a public or private institution of higher education where the sport engaged in by such program or team involves the use of a firearm. Such activities shall follow strict guidelines developed by such institutions for these activities and shall be conducted under the supervision of staff officials of such institutions. <a id="paragraph-304040" class="section-permalink" href="https://vacode.org/15.2-915/#E"><i class="fa fa-link"/></a></p></section>
						<section id="F"><p><span class="prefix-number">F.</span> Notice of any <span class="dictionary">ordinance</span> adopted pursuant to subsection E shall be posted (i) at all entrances of any building, or part thereof, owned or used by the <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>, for governmental purposes; (ii) at all entrances of any public park owned or operated by the <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>; (iii) at all entrances of any recreation or community center facilities operated by the <span class="dictionary">locality</span>, or by any authority or local governmental entity created or controlled by the <span class="dictionary">locality</span>; and (iv) at all entrances or other appropriate places of ingress and egress to any public street, road, alley, or sidewalk or public right-of-way or any other place of whatever nature that is open to the public and is being used by or is adjacent to a permitted event or an event that would otherwise require a permit. <a id="paragraph-304041" class="section-permalink" href="https://vacode.org/15.2-915/#F"><i class="fa fa-link"/></a></p></section></text><history>1987, c. 629, &#xA7; 15.1-29.15; 1988, c. 392; 1997, cc. 550, 587; 2002, c. 484; 2003, c. 943; 2004, cc. 837, 923; 2009, cc. 735, 772; 2012, c. 757; 2020, cc. 1205, 1247.</history><metadata></metadata></law>
