Firearms maintenance and basic gunsmithing

Educational use only

This page is for educational purposes only. Hands-on skills should be learned and practiced under qualified supervision before relying on them in emergencies. Use this information at your own risk.

A firearm that has been stored and never cleaned is a firearm on its way to becoming unreliable. Carbon fouling hardens over weeks, lubricant dries or traps debris, and humidity works on any exposed metal surface. Firearms maintenance is the difference between a tool that functions predictably on demand and one that jams under stress. This page covers the cleaning and upkeep that any owner can perform, and draws the line at tasks that require professional gunsmith tools or a Federal Firearms License (FFL).

Maintenance covers everything in this guide: field-stripping, bore cleaning, carbon removal, lubrication, and routine inspection. Basic gunsmithing — replacing springs, adjusting sights, swapping grips — is within the owner's legal and technical reach on consumer-marketed firearms. Professional gunsmithing is required for barrel work, headspace measurement, trigger sear modification, National Firearms Act (NFA) work, and anything involving the creation or alteration of a serialized receiver. When in doubt about whether a procedure constitutes "manufacture" under Bureau of Alcohol, Tobacco, Firearms and Explosives (ATF) definitions, consult a licensed gunsmith before proceeding.


Safety clearing procedure — do this first, every time

Before any maintenance, cleaning, or inspection, verify the firearm is unloaded. These steps apply to every platform:

Jeff Cooper's Four Rules (the permanent baseline, not just for cleaning): 1. Treat every firearm as if it is loaded. 2. Never point the muzzle at anything you are not willing to destroy. 3. Keep your finger off the trigger until your sights are on target. 4. Know your target and what is beyond it.

The four-point clearing sequence: 1. Remove the magazine (or open the loading gate on a tube-fed shotgun and empty the magazine tube). 2. Lock the slide or bolt carrier group to the rear — use the slide-lock lever on a pistol, the charging handle and bolt catch on an AR, or manually retract and visually verify the open action on a pump shotgun. 3. Visually inspect the chamber — rotate the firearm to bring light into the chamber and look directly into it. 4. Physically sweep the chamber with your finger. If the firearm has a loaded chamber indicator, confirm it shows clear — but do not trust an indicator alone.

Point the muzzle in a safe direction throughout the procedure. On a pistol, perform a deliberate trigger press to release the striker before disassembly (this is required for Glock and most striker-fired pistols) — do this only after the above four steps are complete and the chamber has been verified empty.


Before you start

Knowledge: Familiarity with your specific platform — where the magazine release, slide lock, takedown lever, and safety controls are located. Read the manufacturer's owner's manual for your firearm before the first cleaning. Per the Glock owner's manual "Field Stripping (Disassembly)" section, field-stripping procedure for striker-fired Glock pistols requires a deliberate trigger press after the chamber has been verified empty.

Materials: Cleaning rod or one-piece pull-through cable; bore brush sized to caliber (e.g., 9mm bore brush for a 9mm pistol); jag and cleaning patches; bore solvent (Hoppe's No. 9 or similar nitro solvent for carbon/lead fouling; dedicated copper solvent such as Hoppe's Bench Rest for copper jacket fouling after 200+ rounds); CLP (Clean-Lubricate-Protect) or gun oil; dental picks or nylon utility picks; cotton swabs; bright flashlight or bore light; cleaning mat or disposable surface. An inexpensive basic kit covers all of this; a dedicated cleaning vise is a moderate investment but not required for routine maintenance.

Safety: Work in a well-ventilated area. Bore solvents contain petroleum distillates and aromatic compounds — use per label ventilation guidance. Remove all ammunition from the cleaning workspace before beginning. Never clean a firearm while a loaded magazine is on the table.

Time: Field strip + clean + lubricate: 15–30 minutes per firearm for routine post-range cleaning. First-time clean of a new firearm (which ships with preservative grease that must be removed and replaced with proper lubrication): allow 45–60 minutes.


Field stripping by platform

Field stripping is the level of disassembly intended for routine cleaning — separating the firearm into its major components without removing internal parts. This is distinct from detail stripping (full disassembly to every pin and spring), which is rarely needed and not required for routine maintenance.

Handgun: striker-fired (Glock 19 as example)

The Glock 19 is used here because it is among the most common striker-fired pistols in circulation and its disassembly procedure is typical of the platform class. Most other striker-fired pistols (M&P, Sig P320, Walther PDP) follow the same sequence with minor differences — consult your specific manual for variations. Glock and most other striker-fired pistols require a deliberate trigger press before the slide can be removed — this is built into step 1 below, but only after the chamber has been verified empty per the clearing sequence above.

  1. Execute the four-point clearing sequence above. Remove the magazine; lock the slide to the rear; verify the chamber visually and physically.
  2. With the chamber verified empty, release the slide and let it go forward.
  3. Grip the rear of the slide with your non-dominant hand, fingers wrapping over the top. Retract the slide approximately 1/10 inch (2.5 mm) — just enough to disengage the locking block.
  4. While holding the slide in this position, pull down on both sides of the takedown lever (the small tab on either side of the frame just above the trigger guard) simultaneously.
  5. While holding the lever down, ease the slide forward and off the frame.
  6. Compress the recoil spring assembly and lift it off the barrel hood. Remove the recoil spring assembly.
  7. Lift the barrel out of the slide by pressing it slightly forward and then rotating it out.

Result: Four components on the mat — frame, slide, barrel, recoil spring assembly. This is the standard field-strip configuration for cleaning.

Shotgun: pump-action (Mossberg 500 / Remington 870)

These two platforms dominate the pump-shotgun category and disassemble nearly identically. The Mossberg 500 is used here; the Remington 870 differs mainly in the location of the action bars and the method of removing the trigger group (not required for routine cleaning).

  1. Execute the clearing sequence. Point the muzzle in a safe direction, retract the forend fully to lock the action open, and verify the chamber is empty. Check the magazine tube by running a finger through it.
  2. With the action open, press the action bar release (on the Mossberg 500, a small button inside the trigger guard) and push the forend forward to close the action — this relaxes the barrel locking lug.
  3. Unscrew the magazine tube cap counterclockwise (the metal cap at the end of the magazine tube beneath the barrel). Set it aside.
  4. Slide the barrel forward and off the magazine tube. Lift it free from the receiver.
  5. The forend and action bars slide forward and off the magazine tube with the barrel removed.

Result: Barrel, forend assembly, and receiver separated. This exposes the bore, chamber, and action for cleaning.

AR-platform rifle (.223 / 5.56mm)

The AR-15 / M16 platform has the most complex field-strip of the three, but the process is systematic and takes under two minutes once familiar.

  1. Execute the clearing sequence. Remove the magazine. Lock the bolt carrier group (BCG) to the rear using the charging handle and bolt catch. Visually and physically verify the chamber is empty through the ejection port.
  2. With the BCG locked to the rear and chamber clear, push the rear takedown pin from left to right — it will move but remain attached to the lower receiver. Pivot the upper receiver up away from the lower receiver on the front pivot pin.
  3. Push the front pivot pin from left to right (it also stays attached). Separate the upper and lower receivers completely.
  4. From the upper receiver: retract the charging handle and BCG rearward together, then lift the BCG out of the upper. Slide the charging handle rearward and remove it.
  5. From the BCG: remove the firing pin retaining pin (a small roll pin). Withdraw the firing pin rearward. Rotate the cam pin 90 degrees and remove it. Slide the bolt out of the carrier.
  6. From the lower receiver: press the buffer retainer detent at the rear of the lower receiver and ease the buffer and recoil spring out of the buffer tube.

Result: Upper receiver, lower receiver, BCG (with bolt, cam pin, firing pin), charging handle, and buffer/spring assembly.


Cleaning the bore, action, and magazines

With the firearm field-stripped, cleaning proceeds in three areas: the bore, the action surfaces, and the magazines.

Bore cleaning

Carbon vs. copper fouling. Carbon fouling is soft, black, and comes from burnt powder — a standard nitro solvent such as Hoppe's No. 9 removes it. Copper fouling is a thin jacket deposit left by jacketed bullets that appears as a blue-green tint on patches — it requires a dedicated copper solvent (ammonia-based or proprietary formulas such as Hoppe's Bench Rest Copper Remover). For most defensive firearms that see fewer than 200 rounds between cleanings, carbon is the primary concern. After sustained range sessions of 300+ rounds with jacketed bullets, treat for copper as well.

  1. Attach a caliber-matched bronze bore brush to the cleaning rod. Apply 2–3 drops of bore solvent to the brush — do not saturate it.
  2. Push the brush through the bore from chamber to muzzle in one direction, then back — one complete pass. Repeat for 10 passes total.
  3. Replace the brush with a jag. Run solvent-soaked patches through the bore one at a time. Discard each patch after one pass — do not run a dirty patch back through the bore.
  4. Continue with fresh patches until one comes out with minimal fouling (it will rarely come out completely white after a full range session; "light gray" is acceptable for routine cleaning).
  5. Run one lightly oiled patch through the bore to leave a thin protective film. This is especially important for stored firearms in humid environments.

Action surfaces

Focus on three areas: the breechface, the extractor groove, and the feed ramps.

  1. Use a pick or cotton swab to clean carbon from the breechface — the flat surface at the front of the slide or bolt face. This area builds up rapidly and is a common source of failure-to-eject issues.
  2. Clean the extractor groove — the small recessed channel in the bolt face where the extractor claw sits. Use a pick to dislodge carbon that accumulates here. Debris in the extractor groove reduces extractor tension and causes failures to extract.
  3. Clean the feed ramp (the angled surface that guides rounds from the magazine into the chamber) with a patch or cotton swab. Rough or carbon-coated feed ramps cause failures to feed.
  4. For the AR-15 BCG: clean the interior of the bolt carrier with a CLP-soaked swab, paying attention to the gas key (where carbon from the gas system accumulates). The bolt tail and cam pin lug area also collect significant carbon.

Lubrication

The single most common lubrication mistake is over-oiling. Modern semi-automatic firearms function reliably with a few drops of oil at specific contact points. Excess oil attracts carbon, traps debris, and can migrate into the firing pin channel — where it thickens in cold weather and causes light primer strikes.

Platform Lubricate here Keep dry here
Striker-fired pistol (Glock-type) Barrel hood/locking block area, slide rails (2 rails on frame), trigger bar/connector area Firing pin channel, striker channel
Pump shotgun Action bars, bolt rails, barrel lug contact area None specific — moderate oiling throughout
AR-15 BCG Bolt exterior, cam pin channel, rear of BCG carrier (where it contacts the upper receiver) Gas key interior

Apply oil in drops, not streams. For the pistol slide rails, one drop per rail — four total — is sufficient. Spread with a finger or clean patch. Reassemble and function-check.

Magazine maintenance

Magazines are the most common source of feeding failures and the most neglected maintenance item.

  1. Disassemble the magazine: most pistol and AR magazines have a removable baseplate secured by a tab or pin. Consult the magazine manufacturer's instructions.
  2. Remove the follower and spring. Wipe all components with a dry cloth — do not oil magazine interiors. Oil on the follower attracts carbon and can cause follower drag.
  3. Inspect the feed lips (the top of the magazine where rounds are held) for damage — dents, cracks, or deformation here cause feeding malfunctions. Damaged feed lips are not repairable; replace the magazine.
  4. Reassemble and load the magazine to full capacity. Drop it free of the firearm — a loaded magazine that does not drop free under gravity likely has a damaged baseplate or swollen body.

Cleaning cadence

The right cleaning schedule depends on how the firearm is used, stored, and what ammunition it fires.

Scenario Cleaning action
After every range session Light clean: wipe bore with solvent patches, wipe slide/bolt, re-oil contact points
After 200–500 rounds of jacketed ammunition Full clean: bore brush + solvent + copper treatment if applicable, full action scrub, magazine inspection
After firing corrosive-primer ammunition (surplus military) Immediate water-based solvent flush within a few hours of shooting — potassium chloride salt deposits from corrosive primers cause rust in the bore within 24 hours. See the Firearms for home defense page for corrosive ammo identification.
Defensive/carry firearm, unfired Inspect and light wipe monthly; check for lint or debris in the action; re-oil if stored in a holster where body sweat has reached the finish
Annual inspection Full clean, spring inspection, magazine drop test, function check with snap caps
Before long-term storage Full clean + heavier oil application on all metal surfaces; consider a light coat of rust-preventive grease on the exterior

Field note

The common advice is "clean your gun after every range session." The reality is that modern smokeless-powder semi-autos are designed to tolerate substantial fouling — many run reliably for 1,000+ rounds between cleanings when properly lubricated at the start. The real enemy is not carbon: it is rust. A gun with 400 rounds of unremoved carbon fouling sitting in a humidity-controlled safe is fine. The same gun, lightly wiped but stored in a damp garage, will pit a bore in a season. Clean for rust prevention first, performance second.


Basic gunsmithing scope

Understanding the owner-gunsmith boundary protects you legally and keeps your firearm safe.

What an owner can legally and safely do

These tasks require no special license and are within the mechanical ability of anyone comfortable with basic tools:

  • Spring replacement: Recoil springs, magazine springs, and grip panel screws wear or fatigue over time. Replacement is disassembly with simple tools. Most manufacturer-spec spring kits for common platforms are inexpensive and require no specialized knowledge. Mossberg 500 magazine spring, Glock recoil spring assembly, and AR-15 buffer spring are all user-replaceable.
  • Sight adjustment and replacement: Adjusting rear sights with a sight-pusher tool or replacing factory sights with aftermarket options (fiber optic, tritium night sights) is standard owner work. Using a proper sight-pusher is a moderate investment; improvising with a hammer risks cracking the dovetail.
  • Grip and stock changes: Replacing grips on a pistol or adjustable stock on an AR-15 involves no regulated components. Pistol grips (wood, rubber, stippled polymer) attach with screws. AR stocks attach to the buffer tube with a locking ring.
  • Trigger adjustment within manufacturer specification: Most striker-fired pistols allow trigger shoe or connector swaps that adjust pull weight within the manufacturer's documented range. This is legal and generally safe if done per manufacturer guidance.
  • Magazine lip adjustment: Minor magazine feed-lip deformation can sometimes be corrected with purpose-made magazine pliers — but if the magazine has been struck hard enough to deform the lips significantly, replacement is more reliable.

What requires a licensed gunsmith

These tasks involve regulated components, specialized equipment, or safety risks that exceed routine owner capability:

  • Barrel work — threading, shortening, rechambering, or lapping a barrel requires a barrel vise, action wrench, and headspace gauges. Incorrect headspace is a catastrophic safety failure.
  • Headspace measurement — verifying that a chamber accepts a round with appropriate clearance requires GO/NO-GO gauges specific to each chambering. This is the gunsmith's first check on any barreled action.
  • Trigger sear modification — stoning or polishing trigger sears to reduce pull weight beyond manufacturer specification risks creating an unsafe condition (doubling, firing from battery, or firing on slide closure). Gunsmiths have the jigs and test equipment to verify function after this work.
  • NFA work — any modification affecting the rate of fire (converting to full-auto or burst), shortening a rifle barrel below 16 inches (40.6 cm) or shotgun barrel below 18 inches (45.7 cm), or adding a suppressor to a firearm requires ATF Form 1 or Form 4 approval and registration. As of January 1, 2026, the transfer/making tax under 27 CFR § 479.82 was reduced to $0 for suppressors, SBRs, SBSs, and AOWs (machine guns and destructive devices remain at the $200 rate) — but registration, background check, fingerprints, and ATF approval are still required, and performing NFA modifications without that approval is a federal felony regardless of intent. Note: several states prohibit NFA items entirely even with federal approval — verify your state's law before applying.
  • Creating or altering a serialized receiver — any work that converts a non-firearm into a firearm receiver, or alters a receiver in ways that affect its serialized status, crosses from gunsmithing into manufacture under ATF definitions.

Failure modes

Five named failure modes account for the majority of reliability problems in well-maintained service firearms. Recognizing each on a range or in the field determines whether you clear and continue or stop for a part.

Failure to feed (FTF)

Recognition: The slide or bolt fails to strip the next round from the magazine and chamber it. The trigger functions but no round is chambered, or the round jams partway into the chamber at an angle ("nosedive" malfunction).

Immediate remedy: Tap the base of the magazine firmly to seat it. Rack the slide or charging handle fully to the rear and release — do not ride it forward. If the malfunction repeats, drop the magazine and inspect.

Underlying causes and prevention: Weak or deformed magazine spring (magazine spring replacement is inexpensive and worthwhile annually on high-use magazines); damaged feed lips (replace the magazine); debris on the feed ramp (clean per above); under-powered ammunition below the firearm's minimum operating pressure. Test all defensive ammunition for reliable feeding before carrying it — per Firearms for home defense, at least 50 rounds of your carry load through your specific firearm is the minimum function verification.

Failure to eject (FTE)

Recognition: A fired case is not ejected from the action and blocks the next round from chambering. On a semi-auto pistol, the stovepipe (case standing upright in the ejection port) is the classic FTE presentation. On an AR-15, the spent case may remain in the chamber or partially extracted.

Immediate remedy: Tilt the muzzle downward and allow the case to fall free, or manually clear with a finger sweep. Rack the action and continue.

Underlying causes and prevention: Extractor wear or weak extractor spring (the extractor claw loses tension over thousands of rounds — inspect for chips or deformation annually); carbon in the extractor groove reducing claw engagement (clean the extractor channel thoroughly during maintenance); dirty or rough chamber causing case to drag on extraction (bore cleaning including the chamber throat); under-powered ammunition producing insufficient bolt velocity to cycle fully.

Light primer strike

Recognition: The trigger breaks and the firing pin falls, but the round does not fire. Inspection of the extracted cartridge shows a shallow, faint indentation on the primer rather than a sharp, deep strike.

Immediate remedy: Wait 30 seconds (hang-fires are rare but real — a slow-burning primer can fire up to 30 seconds after trigger press). Then tap, rack, and redirect the misfired round away from you and others. Do not re-chamber a round that has already received a primer strike.

Underlying causes and prevention: Excess oil in the firing pin channel — oil thickens in cold weather and slows the firing pin below ignition threshold. Keep the firing pin channel dry. Worn or fatigued firing pin spring (replace on a schedule per manufacturer — typically every 3,000–5,000 rounds on a pistol). Hard military-spec primers in surplus ammunition requiring more energy than the civilian striker can deliver (this is ammunition-specific; switch to commercial loads if your firearm shows consistent light strikes with specific ammunition).

Rust on internal surfaces

Recognition: Orange or reddish-brown discoloration on the bore, action, or external surfaces. In early stages, rust appears as surface pitting visible under a bore light. Advanced rust causes rough cycling, reduced accuracy (pitted bore), and eventually structural weakness.

Immediate remedy for surface rust: Remove with a fine bronze bore brush and solvent for the bore; oil-soaked cloth with light pressure for exterior surfaces. Do not use steel wool or abrasive pads on any functional surface. After removing rust, apply a heavier protective oil coat. If pitting is deep enough to catch a fingernail edge — or if you can see a loss of metal rather than just discoloration — the barrel or receiver has structural damage. Stop, tag the firearm as out of service, and take it to a gunsmith; further use risks catastrophic failure.

Underlying causes and prevention: The three sources are fingerprint salts (skin acid corrodes blue and Parkerized finishes within days), sweat from holster carry without cleaning, and humidity in storage. Wipe down the exterior with an oiled cloth after every handling session. Store firearms with a desiccant in sealed containers or a humidity-controlled safe in humid climates.

Cracked locking lug or barrel pitting from corrosive ammunition

Recognition: Accuracy degradation without apparent bore obstruction; visible pitting in the bore under a bore light; in advanced cases, a cracked or deformed barrel or bolt locking lug visible to the naked eye.

Immediate remedy: Stop firing immediately. A cracked locking lug is a structural failure — continued firing risks catastrophic failure. Tag the firearm for gunsmith inspection.

Prevention: Clean firearms that have fired corrosive-primer ammunition within hours of the range session using a water-based solvent to neutralize the potassium chloride salt deposits, followed immediately by thorough oiling of the bore and action. See the cleaning cadence table above for the specific protocol. Do not store a firearm unfired and uncleaned overnight after corrosive ammunition — the salt residue works rapidly on bare metal.


Common questions

How often should I clean a defensive firearm that hasn't been fired? Carry firearms pick up pocket lint, sweat, and body humidity from holster wear. Inspect and lightly wipe monthly even without firing. A dedicated defensive firearm that sees the range quarterly should get a full clean after every range session. For firearms in secured storage that are never carried, an annual full clean with a heavier protective oil application is sufficient for most climates.

Can I clean a firearm without disassembling it? Bore snakes (a weighted pull-through cloth with an integrated brush) allow a cleaning pass through the bore without field-stripping. This is acceptable for a fast post-range wipe-down between full cleanings but does not address action cleaning or lubrication. It is a supplement, not a replacement.

What solvent should I use? Hoppe's No. 9 is the standard for carbon and lead fouling. CLP (Clean-Lubricate-Protect, originally developed for the M16 military platform) handles both cleaning and lubrication in one product but is less aggressive than a dedicated solvent for heavy fouling. For copper jacket fouling after sustained shooting, use a dedicated copper solvent such as Hoppe's Bench Rest Copper Remover — leave it in the bore per the product label (typically 15 minutes to overnight) rather than scrubbing. Do not mix copper solvents with standard bore solvent in the same session; rinse between products.

When do I take it to a gunsmith? Four triggers: (1) a failure mode that persists after basic maintenance steps — repeated FTF or FTE that doesn't resolve with magazine replacement and thorough cleaning; (2) any visible crack, deformation, or structural damage; (3) any work beyond the owner-scope defined above (barrel, headspace, sear, NFA); (4) accuracy degradation that cannot be explained by the shooter — if a previously accurate firearm shows consistent point-of-impact shift, have the barrel and crown inspected.


Firearms maintenance is adjacent to the broader discipline of tool maintenance covered in sharpening and small engine repair — all three require the same approach: scheduled attention, correct materials, and knowing the boundary between owner work and professional service. For platform selection, safe storage, and legal framework, see Firearms for home defense. For integrated defensive storage placement, see safe room design and readiness.


  • Read the owner's manual for your specific firearm and identify the field-strip procedure before the first cleaning
  • Assemble a basic cleaning kit: caliber-matched bore brush, jag, patches, nitro solvent, CLP or gun oil, picks, cotton swabs, bore light
  • Practice the four-point clearing sequence until it is automatic — do it every time you pick up a firearm, regardless of whether you "know" it is unloaded
  • Field-strip and clean after every range session
  • Inspect magazines at least annually — drop test, feed-lip check, spring function
  • Schedule an annual full clean and function check for stored firearms — use snap caps (inert dummy rounds) to exercise the action safely without live ammunition
  • Identify a licensed gunsmith in your area before you need one