Electrochemical Etching for Metal Marking: DIY Setup, Electrolytes, and Stencils
This site covers laser metal marking at length — CerMark spray, anodized aluminum engraving, ablating paint on metal — and DIY anodizing separately, but electrochemical etching hasn't been covered, despite being the technique that handles jobs neither laser nor CNC does well: crisp, permanent marks on hardened tool steel, stainless kitchenware, or firearm parts too hard to laser-mark without a fiber laser, using nothing more exotic than a stencil, a DC power supply, and salt water. It's the same underlying process used for commercial "electro-pencil" engravers sold for tool marking and jewelry hallmarking, and it's cheap and approachable enough to set up on a workbench.
How Electrochemical Etching Works
The process is electrolysis in reverse of electroplating: instead of depositing metal onto a workpiece, current dissolves metal off the workpiece at the point of contact. The workpiece is the anode (positive terminal), a marking pad or brush soaked in electrolyte is the cathode (negative terminal), and wherever the electrolyte-soaked contact touches bare, unmasked metal, current flows and etches a mark into the surface. A stencil (typically self-adhesive vinyl or a purpose-made rubber stamp) masks everything except the area you want marked, so current only etches through the stencil's cutout.
This is fundamentally different from laser marking, which uses heat to change surface color/texture, and different from CNC engraving, which physically removes material with a cutting tool. Electrochemical etching removes a small amount of material through controlled corrosion, which is why it works equally well on materials a diode laser can't touch — hardened steel, stainless, titanium — without needing a fiber laser's higher cost and complexity.
Equipment Needed
ItemPurposeNotes Low-voltage DC power supply, 6-30V adjustableDrives the etching currentA bench power supply with adjustable voltage and current limiting is ideal; dedicated electro-etch pen kits include a small transformer-based supply Marking pad or felt-tip applicator (cathode)Delivers electrolyte to the stencil cutout and completes the circuitCommercial kits use a stainless-mesh-wrapped felt pad; a cotton swab wrapped in stainless mesh works for DIY setups Alligator clip leadsConnect power supply to workpiece and marking padPositive to workpiece, negative to marking pad — reversing polarity plates material onto the workpiece instead of etching it Stencil material (self-adhesive vinyl or laser-cut rubber stamp)Masks everything except the mark areaThis site's laser SMD stencil guide and rubber stamp guide both describe cutting suitable stencils on the Ray5 20W Electrolyte solutionConducts current and carries away dissolved metalSee table below — varies by base metal Nitrile gloves and eye protectionElectrolyte and etching byproducts are mildly caustic/irritatingNon-negotiable, see safety sectionElectrolyte Selection by Material
Base metalElectrolyteNotes Carbon/tool steelSaturated salt water (NaCl), or a commercial steel-etch electrolyteSimplest starting point; produces a dark, oxidized mark Stainless steelCommercial stainless electrolyte (often nitric-acid-based) or saturated salt water for lighter marksStainless resists etching more than carbon steel — expect to run higher voltage or longer dwell time; dedicated stainless electrolyte gives cleaner results than salt water alone AluminumSodium bicarbonate solution (baking soda + water)Salt water pits aluminum badly rather than etching cleanly; bicarbonate solution is the standard substitute TitaniumCommercial titanium electrolyte onlySalt-based electrolytes on titanium can produce chlorine gas byproducts — use a purpose-made electrolyte and work in ventilation Copper/brassSaturated salt waterEtches quickly and cleanly; watch dwell time to avoid over-etching fine detailProcess, Step by Step
- Clean the surface thoroughly. Degrease with isopropyl alcohol. Any oil, oxide, or residue under the stencil blocks adhesion and lets electrolyte creep under the mask, blurring the mark.
- Apply the stencil. Self-adhesive vinyl cut on a laser or vinyl cutter, burnished down firmly with no lifted edges — lifted edges are the most common cause of a fuzzy, bled-out mark.
- Connect the circuit. Positive lead to bare metal on the workpiece (a spot outside the marking area, cleaned to bare metal for good contact), negative lead to the marking pad.
- Soak the marking pad in electrolyte until saturated but not dripping.
- Set voltage low to start (6-9V for a first test) and touch the pad to the stencil cutout, moving it continuously in small circles rather than holding it still — a stationary pad over-etches one spot and under-etches the rest.
- Work in short intervals (2-5 seconds), checking progress. Etching happens fast; it's much easier to do a second pass on a light mark than to fix an over-etched one.
- Rinse thoroughly with water once the mark is dark/deep enough, then remove the stencil and clean off electrolyte residue completely — residual electrolyte left on the metal will continue slow corrosion and can cause rust streaks on steel within days if not neutralized and dried.
- Optional: passivate or oil the mark on steel to prevent the freshly-etched, more corrosion-prone surface from rusting before it's sealed with a clear coat or the part's normal finish.
Comparing Electrochemical Etching to This Site's Other Marking Methods
MethodWorks on hardened steel/stainless?Equipment costBest for Electrochemical etchingYes, this is its strengthLow ($30-80 for a basic kit or DIY setup)Tool marking, hallmarking, serial numbers on hardened parts, firearm marking within legal limits Laser marking (CerMark spray, diode/CO2)Diode: poor on bare hardened steel; CerMark spray plus laser: yesModerate-high (laser already owned) to high (fiber laser)Detailed graphics, logos, photo-quality marks, high-volume batch work CNC engravingYes with carbide tooling, slower on hardened steelModerate-high (CNC already owned)Deep, physically recessed marks; V-carve lettering; parts already being CNC-machinedElectrochemical etching wins specifically where you need a permanent mark on a hardened or stainless part and don't already have a fiber laser — it's the accessible option for that particular gap.
Safety
- Electrolyte handling: saturated salt water is low-risk, but stainless and titanium electrolytes are often acidic or contain oxidizers — always wear nitrile gloves and safety glasses, work over a tray to contain drips, and never mix electrolyte chemistries without knowing what you're combining.
- Ventilation: etching titanium or using acid-based electrolytes can release irritating fumes; work in a ventilated area, not a sealed room.
- Electrical safety: low-voltage DC (under 30V) isn't a shock hazard in normal handling, but keep connections insulated and don't etch near flammable solvents, since sparking at a loose connection is possible.
- Waste disposal: spent electrolyte contains dissolved metal ions and should not go down a household drain in quantity — small hobby volumes are generally fine diluted per most municipal guidelines, but check local regulations if etching regularly or in volume, and never dispose of titanium or acid-based electrolyte without checking first.
- Firearm marking: as with this site's laser firearm engraving guide, serial number and marking work on firearms is subject to federal and state regulation — confirm what's legally required and permitted before etching any part of a firearm.
Electrochemical etching is one of those techniques that looks intimidating from the name but is genuinely one of the simpler marking processes to set up — a power supply, a stencil, and salt water get a usable first result in an afternoon. It won't replace a laser for detailed graphics or a CNC for deep engraving, but for permanent marks on materials those tools struggle with, it fills a real gap in this site's metal marking coverage.