Anode vs Cathode: Which Is Positive, Diode and Battery Guide

By editor 10 min read
Battery, diode and LED diagrams labelled with anode and cathode and the direction of current

The anode is the electrode where conventional current flows into a device, and where oxidation happens. The cathode is where current flows out, and where reduction happens. Whether the anode is positive or negative depends on the device: in a battery supplying power the anode is the negative (−) terminal, while in a diode, an electroplating bath or a battery being charged the anode is the positive (+) side. On components, the cathode of a diode is marked with a band and the anode of an LED has the longer lead.

ACID: Anode Current Into Device  |  CCD: Cathode Current Departs  |  An Ox, Red Cat
Current in
at the anode
Oxidation
at the anode
Reduction
at the cathode
+ end
cathode of a discharging battery

Anode vs Cathode at a Glance

Device or situationAnodeCathodeAnode polarity
Battery supplying power (galvanic cell)Negative terminal, oxidationPositive terminal, reductionNegative
Battery being charged / electrolytic cellPositive terminal (external supply)Negative terminalPositive
ElectroplatingPlating metal or inert electrodePart being platedPositive
Diode or LED (forward biased)P side, unmarked end, LED long leadN side, banded end, LED short leadPositive
Vacuum tube / CRTPlate that collects electronsElectrode that emits electronsPositive
Cathodic protectionSacrificial zinc, magnesium or aluminum (or ICCP anode bed)Protected steel structureDepends on system
Anode and cathode by device, from the Wikipedia anode, cathode, diode and cathodic protection articles.

Wikipedia’s anode article puts the pattern neatly: the anode is negative in a device that provides power, and positive in a device that consumes power. What never changes is the direction of current, which is why the definitions are based on current, not on the + and − signs.

The Definition That Always Works

Wikipedia defines an anode as the electrode “through which conventional current enters the device” and a cathode as the electrode through which conventional current leaves. Its mnemonics are ACID (Anode Current Into Device) and CCD (Cathode Current Departs). Because electrons are negative, they move the opposite way: electrons leave a device at the anode and enter it at the cathode.

Anode and cathode polarity in a discharging and a charging batteryIn a discharging battery conventional current flows into the anode, which is the negative terminal, and out of the cathode, which is the positive terminal. When the battery is charged or used for electrolysis, current is forced into the positive terminal, so the positive terminal becomes the anode. Oxidation always occurs at the anode and reduction at the cathode.The one rule: current flows INTO the anode and OUT of the cathodeBattery discharging (galvanic)anode− terminalcathode+ terminalOxRedI inI outdevice supplies powerBattery charging / electrolysisanode+ terminalcathode− terminalOxRedI inI outdevice consumes powerIndustrialBasicsindustrialbasics.com
Figure 1: Anode and cathode follow the current direction, not the sign. Oxidation (Ox) is always at the anode and reduction (Red) at the cathode (Wikipedia).

In electrochemistry the same electrodes are identified by the reaction. In both galvanic and electrolytic cells the anode is where oxidation (loss of electrons) occurs, and the cathode is where reduction (gain of electrons) occurs. The mnemonics Wikipedia lists include An Ox, Red Cat (anode oxidation, reduction cathode) and OIL RIG (oxidation is loss, reduction is gain).

Is the Anode Positive or Negative?

In a battery or galvanic cell

A discharging battery pushes current out of its positive terminal, so the positive terminal is the cathode and the negative terminal is the anode. LibreTexts’ copper–silver galvanic cell shows this: copper is oxidized, so the copper electrode is the anode; silver ions are reduced at the silver electrode, the cathode; and the cell reads +0.46 V. LibreTexts also notes that the anode is named for the anions that move toward it through the salt bridge, and the cathode for the cations.

In a battery being charged, and in electrolysis

When a charger forces current back into a battery, current now enters at the positive terminal, so the positive terminal becomes the anode. The same applies to electroplating and other electrolytic cells: the external supply makes the anode positive, and the part connected to negative becomes the cathode, where metal is deposited.

The battery-industry convention

Because the roles swap between charge and discharge, Wikipedia notes that battery makers often call the negative electrode the anode and the positive electrode the cathode all the time, based on the discharge roles. That is why lithium-ion data sheets call the negative electrode the “anode” whether the cell is charging or not. When reading battery literature, anode usually just means negative.

Quick check: When a question asks “is the anode positive?”, first ask “is the device supplying power or consuming it?”. Supplying (a battery in use): anode negative. Consuming (charging, plating, a diode conducting): anode positive.

Anode and Cathode on Diodes and LEDs

Anode and cathode on a diode symbol, a rectifier diode and an LEDIn the diode symbol the anode is the flat side of the triangle and the cathode is the bar the arrow points to. On a rectifier diode a painted band marks the cathode. On an LED the longer lead is the anode and the shorter lead is the cathode.Finding the anode and cathode on diodes and LEDsSchematic symbolAnode (A, +)Cathode (K, −)currentRectifier diodeanodecathodebandLEDanodelong leadcathodeshort leadForward bias: anode more positive than cathode → the diode conducts.Reverse bias: cathode more positive → it blocks.IndustrialBasicsindustrialbasics.com
Figure 2: Markings from the Wikipedia diode article and SparkFun’s diode and LED tutorials.

In a semiconductor diode, Wikipedia identifies the anode as the P-doped layer and the cathode as the N side. The diode conducts when its anode is made more positive than its cathode (forward bias) and blocks when the polarity is reversed. Wikipedia’s cathode article notes that diode terminals are always named by the forward-current direction, even for Zener diodes and solar cells where the useful current flows the other way.

  • Schematic symbol: the anode connects to the flat side of the triangle; the arrow points toward the cathode bar. SparkFun says current flows in the direction the triangle points.
  • Rectifier and signal diodes: a painted band (white, gray or black) marks the cathode. SparkFun shows a 1N4001 with a gray cathode band.
  • LEDs: SparkFun says the anode is the positive side, “marked by having a longer lead”; the shorter lead is the cathode. A reversed LED simply does not light.
  • Multimeter check: on diode test, a reading of roughly 0.6–0.7 V (Wikipedia’s typical threshold for a silicon p–n diode) means the red lead is on the anode; reversed, the meter shows open.

The same rule decides which pins of a multi-LED display share a connection; see our 7 segment display pinout guide for common anode and common cathode displays.

Cathodic Protection: Anodes That Corrode on Purpose

Galvanic cathodic protection of a buried steel pipelineA buried steel pipeline is wired to a zinc or magnesium anode. The anode, being more active, corrodes and sends electrons through the wire to the pipe, while current flows from the anode through the soil to the pipe. The pipe becomes the cathode of the cell and is protected from corrosion.Cathodic protection: sacrifice the anode, save the steelsoil (electrolyte)Steel pipeline = CATHODE (protected)Zinc ormagnesiumANODE (corrodes)electrons flow to the pipe through the bond wirecurrent through soilThe more active metal (more negative electrode potential) becomes the anode and corrodesinstead of the steel. Long pipelines use an external DC source instead (impressed current).IndustrialBasicsindustrialbasics.com
Figure 3: Galvanic (sacrificial) cathodic protection as described in the Wikipedia cathodic protection article. Anodes are typically zinc, magnesium or aluminum alloys.

Corrosion is oxidation, and oxidation happens at the anode. Cathodic protection uses that fact: Wikipedia describes it as controlling corrosion “by making it the cathode of an electrochemical cell”. A more active metal, with a more negative electrode potential, is connected to the steel and corrodes in its place. Galvanic anodes are made from alloys of zinc, magnesium and aluminum, and ASTM International publishes standards for them.

Typical uses include steel water and fuel pipelines, storage tanks and home water heaters, pier piles, ship hulls and offshore platforms. For long pipelines, where sacrificial anodes cannot supply enough current, an external DC source drives the protection current: this is impressed current cathodic protection (ICCP). Galvanized steel works the same way, with its zinc coating acting as the sacrificial anode. Wikipedia notes that cathodic protection was applied to US steel gas pipelines from 1928.

Maintenance note: The anode rod in a water heater is consumed over time. Once it is gone, the steel tank becomes the anode and starts to corrode. On buried or marine systems, inspection and potential testing should be done by qualified corrosion technicians.

Cathodic protection systems interact with electrical grounding: bonding a protected pipeline to a facility ground grid can drain the protection current. For the difference between protective earthing and system grounding, see earthing vs grounding.

Anode and Cathode in Vacuum Tubes and X-Ray Tubes

In vacuum devices the cathode is heated and emits electrons, and the anode (or plate) is held positive to attract and collect them. Wikipedia describes the anode of a cathode ray tube as “the positively charged electron collector”. Current therefore flows into the tube at the anode, consistent with the ACID rule.

Common Mistakes

  • Assuming the anode is always positive. It is negative in a battery that is supplying power.
  • Assuming the anode is always negative. It is positive in diodes, plating baths and charging batteries.
  • Mixing electron flow with conventional current. ACID and CCD refer to conventional current; electrons go the other way.
  • Fitting an LED backwards. Long lead to the positive side, through a resistor.
  • Isolating a sacrificial anode. Painting or disconnecting the anode, or breaking its bond wire, stops the protection.

Frequently Asked Questions

What is the difference between an anode and a cathode?

Conventional current flows into a device through the anode and out through the cathode. In chemistry terms, oxidation (loss of electrons) happens at the anode and reduction (gain of electrons) at the cathode.

Is the anode positive or negative?

It depends on the device. In a battery that is supplying power the anode is the negative terminal. In a battery being charged, an electroplating bath or a diode in forward bias, the anode is positive.

Is the positive end of a battery the anode or cathode?

While the battery is discharging, the + end is the cathode. Wikipedia’s anode and cathode articles both use this example. Battery makers, however, usually call the negative electrode the anode at all times.

Which is the anode on a diode?

The anode is the unmarked end, shown as the flat side of the triangle in the symbol. The cathode is marked with a painted band on the body and is the bar the arrow points to in the symbol.

Which leg of an LED is the anode?

The longer lead. SparkFun describes the anode as the positive side, marked by a longer lead; the shorter lead is the cathode.

Does oxidation happen at the anode or cathode?

Oxidation always happens at the anode, and reduction at the cathode, in both galvanic and electrolytic cells. Mnemonic: “An Ox, Red Cat”.

Which way do electrons flow?

Electrons flow opposite to conventional current: they leave a device at the anode and enter it at the cathode. In a battery’s external circuit, electrons flow from the negative terminal to the positive terminal.

What is a sacrificial anode?

A piece of a more active metal such as zinc, magnesium or aluminum connected to steel so that it corrodes instead of the steel. It is used on pipelines, tanks, water heaters and boat hulls, and must be replaced when it is used up.

Why are they called anode and cathode?

LibreTexts explains that the anode is named for the anions that move toward it through the salt bridge, and the cathode for the cations that move toward it.

What are the anode and cathode in a lithium-ion battery?

By battery-industry convention the anode is the negative electrode and the cathode is the positive electrode, named for their roles during discharge, even though the electrochemical roles swap while the cell is charging.

Sources and Further Reading

About the author

editor

Leave a Comment