QuestionChemical reactions
How Do You Test for Halide Ions? The Silver Nitrate Test

To test for halide ions, add dilute nitric acid and then silver nitrate solution to the sample. A white precipitate shows chloride, a cream precipitate shows bromide, and a yellow precipitate shows iodide. The solid forms because silver ions join the halide ions to make an insoluble salt.
Contents
The full answer
The test works in four steps. First, the sample is acidified with a few drops of dilute nitric acid (HNO3). This removes carbonate and hydrogencarbonate ions, which would also form a white precipitate with silver and make the result unclear. Nitric acid is chosen because it contains no halide ions of its own.
Second, a few drops of silver nitrate solution (AgNO3) are added. Each silver ion (Ag⁺) is free to pair with a halide ion. The reaction for chloride is written as an ionic equation, where only the particles that change are shown:
Ag⁺ + Cl⁻ → AgCl
Third, the color of the precipitate is observed. Silver chloride (AgCl) is white, silver bromide (AgBr) is cream, and silver iodide (AgI) is yellow. Fourth, the solid is confirmed by adding ammonia, because some silver halides dissolve in it. Chloride dissolves in dilute ammonia, bromide needs concentrated ammonia, and iodide does not dissolve.
The test is qualitative, which means it shows what is present rather than how much. Teachers use it in school to identify unknown salts, and it is a standard step in classic qualitative analysis.
The science behind it
Whether a salt dissolves, which is its solubility, depends on the balance between the ions in the crystal and the water molecules around them. Silver halides are insoluble because the bond between Ag⁺ and the halide ion is strong and the ions do not separate easily in water. When the two solutions are mixed, the silver and halide ions meet and form a solid that settles out.
Solubility falls sharply from chloride to iodide. The solubility product, a measure of how much of a salt dissolves, is roughly 1.8 × 10⁻¹⁰ for AgCl, 5 × 10⁻¹³ for AgBr and 8.5 × 10⁻¹⁷ for AgI at 25 °C. The smaller the value, the less the salt dissolves, which is why iodide gives the most complete precipitate.
The colors come from how the halide ions affect light absorption in the solid. Iodide is larger and more easily distorted by light than chloride, so the iodide salt absorbs more visible light and looks yellow. The exact shade depends on particle size, so the colors are a helpful guide rather than a precise measure.
An everyday example
Chloride is one of the most common ions in nature. Seawater contains large amounts of chloride from dissolved sodium chloride, and tap water contains smaller amounts. Water-treatment and environmental laboratories measure chloride with a related method, a titration with silver nitrate, to check water quality.
Photographers once used the same chemistry on a large scale. Film was coated with light-sensitive silver bromide, which was formed by mixing silver nitrate with bromide salts. The image on film came from the way those silver halide grains reacted to light. Modern digital cameras no longer rely on this reaction.
Readers can see the same kind of precipitate in pictures of lab work and in textbooks, but the test itself is done only with supervised lab equipment and proper protective gear. Silver nitrate stains skin and is corrosive, so it should never be handled casually.
Why ammonia gives a second check
Ammonia is used as a second check because the three silver halides behave differently in it. Silver chloride reacts with dilute ammonia (NH3) to form a soluble complex ion, so the white solid disappears. The reaction is shown below. Two ammonia molecules bind to one silver ion, so the solid dissolves as a colorless complex.
AgCl + 2NH3 → [Ag(NH3)2]⁺ + Cl⁻
Silver bromide dissolves only in concentrated ammonia, so a cream precipitate that stays after dilute ammonia suggests bromide. Silver iodide does not dissolve in ammonia at all. A yellow solid that stays solid after strong ammonia is therefore a strong sign of iodide.
Hydrochloric acid must not be used at the acid step because it adds chloride ions to the sample. The chloride would precipitate silver chloride and hide any real result. This is why dilute nitric acid is the standard choice.
Common misconceptions
One misconception is that any white precipitate with silver nitrate must be chloride. Carbonate and some other anions also form white silver salts, so the acid step and the ammonia check are needed to avoid mistakes.
Another is that bromide and iodide look the same. Their colors differ, cream for bromide and yellow for iodide, but pale precipitates can be hard to judge by eye, which is why the ammonia test is used as confirmation.
A third is that silver nitrate detects every ion. The test is specific to silver-forming anions such as the halides, carbonate and some others. Cations such as sodium or potassium do not form a precipitate with silver nitrate in the same way.
Frequently asked questions
What is a halide ion?
A halide ion is a negative ion of a halogen element, such as chloride (Cl⁻), bromide (Br⁻) or iodide (I⁻). The halogens are in group 17 of the periodic table. Fluoride (F⁻) is also a halide, but it does not give a precipitate with silver nitrate.
Why is nitric acid added before silver nitrate?
Nitric acid removes carbonate and hydrogencarbonate ions, which would form a white silver carbonate precipitate and could be mistaken for chloride. Dilute nitric acid is used because it does not contain halide ions that would interfere with the test.
Why not use hydrochloric acid in the test?
Hydrochloric acid contains chloride ions, which would react with the silver nitrate and form white silver chloride. That would hide the result and make the test meaningless for chloride in the sample.
What color is silver iodide?
Silver iodide (AgI) is a yellow precipitate. Silver bromide (AgBr) is cream or pale yellow, and silver chloride (AgCl) is white. The colors are a clue, but the ammonia test is needed to confirm the halide.
Why does silver chloride dissolve in ammonia?
Silver chloride reacts with dilute ammonia to form a soluble complex ion, [Ag(NH3)2]⁺, so the white solid disappears. Silver bromide dissolves only in concentrated ammonia, and silver iodide does not dissolve in ammonia at all.
Sources and further reading
- OpenStax, "Chemistry 2e"
- W. M. Haynes (ed.), "CRC Handbook of Chemistry and Physics"
- IUPAC, "Compendium of Chemical Terminology" (Gold Book)
Cite this page
“How Do You Test for Halide Ions? The Silver Nitrate Test.” Atoms & Forces, https://science.bigworldlist.com/questions/how-do-you-test-for-halide-ions/.