How an AR-15 works

Last reviewed · 8 sources

Short answer: A civilian AR-15 is a semi-automatic rifle. Federal law defines a “semiautomatic rifle” as “any repeating rifle which utilizes a portion of the energy of a firing cartridge to extract the fired cartridge case and chamber the next round, and which requires a separate pull of the trigger to fire each cartridge.” [18 U.S.C. § 921, (a)(29)] The AR-15 gets that energy from propellant gas, using the bolt-and-carrier system described in Eugene Stoner’s U.S. Patent 2,951,424. [US Pat. 2,951,424]

The cycle, step by step

The U.S. Army’s rifle and carbine manual describes the “cycle of function” of the military M16- and M4-series weapons, which share the AR-15’s operating system, as eight phases in this order: feeding, chambering, locking, firing, unlocking, extracting, ejecting, and cocking. [Army TC 3-22.9, para. 2-9] In a semi-automatic AR-15, one trigger pull runs through those phases once:

  1. Feeding. “The process of mechanically providing a cartridge of ammunition to the entrance of the chamber.” [Army TC 3-22.9, para. 2-11]
  2. Chambering. “The continuing action of the feeding round into the chamber of the weapon.” [Army TC 3-22.9, para. 2-12]
  3. Locking. Creating “a mechanical grip between the bolt assembly and chamber.” In these rifles, locking “takes place simultaneously with the final actions of chambering.” [Army TC 3-22.9, para. 2-13]
  4. Firing. The trigger releases the hammer, “the hammer strikes the rear of the firing pin,” and the firing pin strikes the primer, igniting the propellant. [Army TC 3-22.9, para. B-9]
  5. Gas tap. “Once the projectile passes the gas port on the top of the barrel, a small amount of gas is permitted to escape,” and that gas “is directed up through the gas port and rearward through the gas tube.” “The diameter of the gas port limits the amount of gas allowed to escape.” [Army TC 3-22.9, para. B-9] Stoner’s patent illustrates this stage, including the moment just after firing and the point just before the case is pulled from the chamber. [US Pat. 2,951,424, Figs. 1, 4–6]
  6. Unlocking. “Releasing the locking lugs on the bolt face from the corresponding recesses on the barrel extension.” [Army TC 3-22.9, para. 2-15] In the patent’s words, the bolt carrier’s job is “to lock and unlock the bolt by rotating it and to carry it back and forth in the receiver.” [US Pat. 2,951,424]
  7. Extracting and ejecting. Extracting is “the removal of the expended cartridge case from the chamber by means of the extractor”; ejecting is “the removal of the spent cartridge case from the weapon itself.” [Army TC 3-22.9, paras. 2-16, 2-17]
  8. Cocking. “Mechanically positioning the trigger assembly’s parts for firing.” [Army TC 3-22.9, para. 2-18] The action spring, housed in the lower receiver extension (buffer tube), “provides the stored energy to return the bolt carrier assembly back into battery,” which feeds, chambers, and locks the next round. [Army TC 3-22.9, para. 2-5]

The rifle then waits for the next separate trigger pull. That one-shot-per-pull behavior is what makes it a “semiautomatic rifle” under federal law. [18 U.S.C. § 921, (a)(29)]

Stoner’s gas system (“direct impingement”)

Stoner’s patent describes a bolt with a “double function.” Its primary job is to lock the breech against the pressure of firing. Its secondary job is to “act as a stationary piston.” The bolt carrier, in turn, acts “as a movable cylinder.” [US Pat. 2,951,424] This arrangement is commonly called direct impingement, because gas acts inside the carrier rather than on a separate piston and operating rod.

The Army describes the M4- and M16-series as using “a direct impingement gas operating system” that “uses a portion of the high pressure gas from the cartridge being fired to physically move the assemblies and subassemblies.” [Army TC 3-22.9, para. 2-10]

Compared with gas-piston designs. Stoner’s patent describes “the conventional gas cylinder, piston and actuating rod assembly” as “the most widely used method of operation of automatic rifles” at the time. It states that by having the bolt carrier act as a movable cylinder and the bolt as a stationary piston, “the need for a conventional gas cylinder, piston and actuating rod assembly is eliminated,” and it gives as an objective a gas system “lighter and less expensive to produce because of its simplicity than the present gas systems.” [US Pat. 2,951,424] In a gas-piston design, by contrast, the tapped gas pushes a separate piston and rod, which then drive the bolt carrier. Those are the patent’s stated design goals, not test results; we don’t compare the reliability of the two systems here because we haven’t found a published test report that settles it.

Upper and lower receivers

For AR-15/M-16 variant firearms, federal regulations identify the receiver as “the lower part of the weapon that provides housing for the trigger mechanism and hammer (i.e., lower receiver).” [27 CFR § 478.12] Because the federal definition of “firearm” includes “the frame or receiver of any such weapon,” [18 U.S.C. § 921, (a)(3)] the lower receiver is what the law treats as the firearm. The upper assembly holds the barrel and bolt carrier group. See Parts & names.

Serial numbers and markings. Licensed manufacturers and importers must mark each firearm with a serial number on the frame or receiver. Under 27 CFR 478.92, the serial number must be placed in a manner “not susceptible of being readily obliterated, altered, or removed,” and must not duplicate a serial number placed by the same licensee on any other firearm. The frame or receiver must also carry the licensee’s name and either its city and state or a serial-number prefix based on its license number. [27 CFR 478.92, (a)(1)(i)] The firearm must also show the model (if designated), caliber or gauge, and, for imports, the foreign manufacturer and country of manufacture; these may go on the frame or receiver, or on the barrel or pistol slide (if applicable). [27 CFR 478.92, (a)(1)(ii)] Markings must be engraved, cast, or stamped to a minimum depth of .003 inch, and the serial number must be in print no smaller than 1/16 inch. [27 CFR 478.92, (a)(1)(v)] For a complete (non-NFA) firearm, marking is required “not later than the seventh day following the date the entire manufacturing process has ended … or prior to disposition, whichever is sooner.” [27 CFR 478.92, (a)(1)(vi)(A)] These rules apply to licensed manufacturers and importers. Separate rules in the same section cover privately made firearms that a licensee acquires, which this page doesn’t summarize. [27 CFR 478.92, (a)(2)]

Semi-automatic vs automatic

Federal law draws the line by what one function of the trigger does:

Federal law generally makes it unlawful to transfer or possess a machinegun, with narrow exceptions for government use and for machineguns lawfully possessed before that provision took effect. [18 U.S.C. § 922, (o)] In 2024, the Supreme Court held that a semi-automatic rifle fitted with a bump stock is not a “machinegun” under § 5845(b), because the shooter still has to release and reset the trigger between shots. [Cargill (2024)]

Diagram

Sources

  1. 18 U.S.C. § 921 — Definitions. Legal Information Institute, Cornell Law School. [primary] Accessed October 26, 2026.
  2. US Patent 2,951,424 — Gas operated bolt and carrier system (Eugene M. Stoner; assigned to Fairchild Engine and Airplane Corp.; filed Aug. 14, 1956; granted Sept. 6, 1960). U.S. Patent and Trademark Office (via Google Patents). [primary] Accessed October 26, 2026.
  3. 26 U.S.C. § 5845 — Definitions (National Firearms Act). Legal Information Institute, Cornell Law School. [primary] Accessed October 26, 2026.
  4. 18 U.S.C. § 922 — Unlawful acts. Legal Information Institute, Cornell Law School. [primary] Accessed October 26, 2026.
  5. 27 CFR § 478.12 — Definition of frame or receiver. Electronic Code of Federal Regulations (eCFR). [primary] Accessed October 26, 2026.
  6. Garland v. Cargill, No. 22-976 (decided June 14, 2024) — slip opinion. Supreme Court of the United States. [primary] Accessed October 26, 2026.
  7. TC 3-22.9, Rifle and Carbine (May 2016, incl. Change 3, Nov. 20, 2019). Headquarters, Department of the Army. [government] Accessed October 27, 2026. Approved for public release. Describes the M16-/M4-series military rifles and carbines.
  8. 27 CFR 478.92 — Identification of firearms and armor piercing ammunition by licensed manufacturers and licensed importers. Electronic Code of Federal Regulations (eCFR). [primary] Accessed October 27, 2026.