Ferrofluid Synthesis

Precipitate magnetite nanoparticles from iron salts and suspend them in oil to make a magnetic liquid

Difficulty: Advanced | Time: 1.5–2 hours | Visual Impact: Very High

Background

A ferrofluid is a colloidal suspension of magnetic nanoparticles — typically magnetite (Fe₃O₄) — in a carrier liquid. Individual particles are 5–15 nm across, too small to settle under gravity and too small to clump by magnetic force alone. What keeps them suspended is a coating of surfactant: each particle is wrapped in a molecule whose ionic head anchors to the iron oxide surface and whose long hydrocarbon tail faces outward, giving the particle a greasy exterior that mixes with oil and repels other coated particles.

The result is a liquid that behaves like a liquid in every normal situation but responds dramatically to a magnetic field — climbing toward a magnet, forming sharp spikes along field lines (the Rosensweig instability), and flowing with apparent purpose.

Ferrofluids were invented by NASA engineer Steve Papell in 1963 as a way to move rocket fuel in zero gravity using a magnetic field. They are now used in loudspeaker damping, hard drive seals, and medical imaging.

Materials

What How much Notes
Ferrous sulfate (FeSO₄·7H₂O) 4 g Fe²⁺ source
Ferric chloride (FeCl₃·6H₂O) 10 g Fe³⁺ source
Ammonia solution (~10%) 40–50 mL Precipitant; NaOH also works
Oleic acid 3–4 mL Surfactant — available from art supply, soap-making, or chemistry suppliers
Mineral oil or light vegetable oil 30 mL Carrier fluid
Distilled water ~200 mL For rinsing
Strong neodymium magnet 1 N42 or stronger; larger is better for demonstrations
Glass beaker, 250 mL 1
Hotplate or stove For heating to ~80°C
Safety glasses and gloves Ferric chloride stains; ammonia is irritant

Note on oleic acid: See the oleic acid inventory page for sourcing. Without it, the nanoparticles will not be hydrophobic and will not transfer into oil — you will be left with a water-based magnetic sludge rather than a true ferrofluid.

Procedure

Part 1 — Precipitate Magnetite

  1. Dissolve 4 g of ferrous sulfate in 50 mL of distilled water immediately before use — Fe²⁺ oxidizes to Fe³⁺ on standing, which shifts the ratio and produces a weaker product. Dissolve 10 g of ferric chloride in 50 mL of distilled water. Combine the two solutions in the 250 mL beaker. The Fe²⁺:Fe³⁺ molar ratio is approximately 1:2.6 — slightly excess Fe³⁺, which is normal since some Fe²⁺ oxidizes during the reaction. Stoichiometric magnetite (Fe₃O₄) requires a 1:2 ratio.

  2. Heat the combined solution to about 60°C on a hotplate. Keep stirring.

  3. In a fume hood or outdoors, add the ammonia solution steadily while stirring continuously — roughly 1 mL every 10 seconds, over about 5 minutes. A dense black precipitate of magnetite forms as you add it. Do not dump all the ammonia in at once, and do not go so slowly that the precipitation drags on for more than 10 minutes. Addition rate controls particle size: a sudden excess of base causes chaotic nucleation; excessively slow addition gives particles time to coarsen. Steady addition with good stirring produces the small, uniform particles needed for a stable ferrofluid.

  4. Continue stirring for 2–3 minutes after the last ammonia addition. The suspension should be completely black with no brown or orange tint.

\[\text{Fe}^{2+} + 2\text{Fe}^{3+} + 8\text{NH}_3 + 4\text{H}_2\text{O} \rightarrow \text{Fe}_3\text{O}_4\downarrow + 8\text{NH}_4^+\]

Part 2 — Coat with Surfactant

  1. While the suspension is still hot (keep at ~80°C), add 3–4 mL of oleic acid directly to the black suspension. Stir vigorously for 5–10 minutes. The oleic acid molecules adsorb onto the magnetite surface — the carboxylate head binds to Fe²⁺/Fe³⁺ sites on the surface, and the C₁₈ hydrocarbon tail faces outward.

  2. The suspension will start to look slightly iridescent or oily at the surface. Hold a magnet to the outside of the beaker — if the particles respond (clumping toward the magnet), the basic precipitation worked. At this stage the particles are still in water.

Part 3 — Transfer to Oil

  1. Add 30 mL of mineral oil to the beaker and stir. Then allow the mixture to cool to room temperature.

  2. Hold a strong magnet to the bottom of the beaker. The coated magnetite particles, now hydrophobic, will migrate into the oil layer and be held at the bottom by the magnet. The water above will clear.

  3. While the magnet holds the particles, carefully pour off (decant) as much of the water/ammonia layer as possible.

  4. Remove the magnet. Add 50 mL of distilled water, stir, then reapply the magnet and decant again. Repeat 2–3 times to remove residual salts and excess oleic acid.

  5. The remaining oily black liquid in the beaker is your ferrofluid.

Alternative Method — Advanced Nanoparticle Route

Based on this video. This method is more involved than the basic procedure above but produces sharper spikes and a more stable suspension. It uses PCB etchant as the iron source, precipitates the magnetite on a larger scale with an overhead stirrer, and separates the coated particles with acid rather than heat. Yield is roughly 26 g of dry magnetite powder → ~30 mL of ferrofluid.

Additional Materials

What How much Notes
PCB etchant (40% ferric chloride solution) ~150 mL Fe³⁺ source; sold at electronics stores
Steel wool (fine grade) a handful Reduces Fe³⁺ to Fe²⁺
Ammonia solution (~28% concentrated) ~130 g total More concentrated than the basic method
Oleic acid 30 g Surfactant
Hydrochloric acid (muriatic acid) ~50 mL concentrated Dilute 1:2 with water before use
Isopropanol (rubbing alcohol) ~150 mL For washing
Kerosene ~25 mL Carrier fluid; evaporates more slowly than mineral oil
Calcium chloride a cup Desiccant for drying
Overhead stirrer or powerful drill mixer A magnetic stir bar is not strong or fast enough
Vacuum chamber + pump For drying; can substitute air-drying over several days
Coffee filter and funnel
Strong neodymium magnet 1+ For magnetic separation
Addition funnel or separatory funnel 1 For controlled acid/base addition

Part A — Prepare the Fe²⁺ Solution

The etchant is ~40% FeCl₃ (Fe³⁺). To get Fe²⁺, reduce it with steel wool:

\[2\,\text{Fe}^{3+} + \text{Fe}^0 \rightarrow 3\,\text{Fe}^{2+}\]

This matters because the reaction converts 2 mol Fe³⁺ into 3 mol Fe²⁺, so the Fe²⁺ concentration in the final solution is 1.5× what you might naively expect. Procedures that ignore this end up with the wrong Fe²⁺:Fe³⁺ ratio later, which degrades magnetite quality.

  1. Pour about 200 mL of the PCB etchant into a beaker and add a generous handful of steel wool. The solution immediately begins reacting (exothermic) and shifts from dark red-orange to green as Fe³⁺ is consumed. Keep adding small amounts of steel wool until the reaction slows.

  2. Stir occasionally and let it sit for at least 30 minutes, or overnight for certainty. The result should be a green solution with no red-orange colour remaining. If iron(II) chloride precipitates (white-green solid), add more distilled water.

  3. Filter through a coffee filter into a storage bottle. Wash the steel wool and filter with distilled water. Top up to a known volume (e.g. 300 mL) with distilled water — this lets you calculate the relative concentration.

  4. Drop a few iron nails into the storage bottle. The Fe²⁺ solution oxidises back to Fe³⁺ on standing; the iron nails reduce it back down, keeping it stable.

Part B — Precipitate Magnetite

The stoichiometric Fe³⁺:Fe²⁺ ratio for magnetite is 2:1, but fast stirring introduces air and oxidises some Fe²⁺ back to Fe³⁺. Using a ratio of 1.7:1 Fe³⁺:Fe²⁺ gives a buffer that absorbs this oxidation without producing excess Fe²⁺ at the end.

  1. Add about 3 L of distilled water to a large container and start the mixer on a low setting.

  2. Add 60 mL of the Fe²⁺ solution, then 75 mL of the original Fe³⁺ etchant. Stir for 10 minutes.

  3. Fill an addition funnel with 100 g of concentrated ammonia. Increase the mixer to about 1200 RPM. Open the funnel and add all the ammonia over about 20 minutes. The solution will turn brown (Fe(OH)₃ forming at pH > 4) and then black (magnetite forming at pH > 9). Slowly increase stirring to 1500 RPM as the mixture thickens.

  4. Stir for another 15 minutes. While waiting, prepare the ammonium oleate soap (Part C below).

  5. Add a final 15 g of concentrated ammonia quickly (within ~1 minute). Check that pH is just below 10.

Part C — Prepare and Apply the Surfactant

Unlike the basic method above (which adds oleic acid directly), this route first converts the oleic acid to ammonium oleate soap. The soap’s charged head binds more reliably to the magnetite surface.

  1. In a small beaker, combine 15 g of oleic acid + 20 mL distilled water + 10 mL concentrated ammonia. The ammonia reacts immediately to form a thick soap. Stir until smooth and uniform.

  2. Add all of the soap to the stirring magnetite suspension, rinsing the beaker with distilled water to get it all out. Stir for 20 minutes at increasing speed, finishing around 1900 RPM. The oleate molecules adsorb onto the magnetite surface with their hydrocarbon tails pointing outward, stabilising the particles.

Part D — Acid Precipitation

Most procedures remove the ammonium oleate with heat (~85°C, which drives off ammonia and regenerates oleic acid). Acid does the same thing faster, cooler, and — based on published comparisons — produces a better oleic acid coating.

  1. Fill the addition funnel with dilute HCl (1 part concentrated HCl : 2 parts distilled water, ~10%). Add it slowly, checking pH every few minutes. The acid first neutralises excess ammonia (producing ammonium chloride), then attacks the ammonium oleate, regenerating insoluble oleic acid. The coated magnetite begins separating from the water.

  2. Continue adding acid until pH reaches 6–7. The suspension will shift colour: foam clears, the magnetite visibly sinks, and the liquid above becomes much lighter. Turn off the mixer.

Part E — Wash and Dry

  1. Decant as much water as possible. Hold a strong magnet to the outside of the container to pull the particles to one side, then pour off the water. Repeat 2–3 times.

  2. Water washes (×3): Add distilled water, break up any clumps, hold the magnet for ~5 seconds (strongly magnetic particles pull out quickly; weakly magnetic ones are discarded with the rinse water). Decant. Repeat twice more.

  3. Isopropanol washes (×3): Same process with rubbing alcohol. The first two washes may take 10–15 seconds for separation; by the third, separation is fast and the alcohol runs nearly colourless.

  4. Transfer the wet magnetite to flat dishes (use a small amount of alcohol to rinse it out of the beakers).

  5. Dry in a vacuum chamber over calcium chloride overnight. Without a vacuum chamber, spread the magnetite thinly and allow several days to air-dry; residual solvent will impair suspension into kerosene. The finished product is a dry, crumbly black powder. Do not inhale — nanoparticles are a respiratory hazard.

Part F — Suspend in Kerosene

  1. Weigh out a batch of dry magnetite. Add kerosene at about 85% of the magnetite mass (e.g., 12 g magnetite → 10 mL kerosene). The moment kerosene touches the powder, it begins absorbing and the liquid turns black.

  2. Stir vigorously for 5–10 minutes. Use a magnet to pull remaining solids to the side and crush them against the beaker — this speeds up the last stubborn clumps. Aim to keep the concentration as high as possible; adding more kerosene is always possible later but dilutes the final fluid.

  3. Test: hold a magnet under the dish. The fluid should flow freely toward the magnet and form sharp, evenly-spaced spikes with no increase in viscosity. If it thickens noticeably or partially solidifies, the particles are too large (see Troubleshooting).


Demonstrations

Rosensweig instability: Pour a small pool of ferrofluid into a shallow dish or onto a piece of plastic wrap. Hold a strong magnet underneath and slowly raise it toward the fluid. At a critical field strength, the surface erupts into regular hexagonally-arranged spikes — the Rosensweig instability. The spikes form because the energy gained by elongating along the field lines outweighs the surface tension cost of the deformation.

Magnet climbing: Tilt a glass jar containing ferrofluid. Touch a magnet to the outside — the fluid visibly climbs the walls toward the magnet, apparently ignoring gravity.

Field line mapping: Place the ferrofluid jar near (not touching) two magnets arranged north-to-south. The ferrofluid reveals the shape of the magnetic field between and around the poles.

Spike counting: The spacing between Rosensweig spikes is set by the balance between magnetic and surface-tension forces. Moving the magnet closer increases the field, changing the number of spikes. Count them at different heights.

The Science

Magnetite (Fe₃O₄) is a mixed-valence iron oxide containing both Fe²⁺ and Fe³⁺ in a spinel crystal structure. It is a ferrimagnetic material — the magnetic moments of the two iron sites are aligned antiparallel but unequal, giving a net magnetic moment without an external field. This is what makes the nanoparticles individually magnetic rather than merely paramagnetic.

At nanoparticle scale (below ~15 nm for magnetite), each particle contains a single magnetic domain. Single-domain particles have their entire magnetic moment pointing in one direction simultaneously — they are superparamagnetic. They magnetize strongly in a field but randomize in thermal motion (Brownian motion) once the field is removed, so the ferrofluid has no residual magnetism and does not clump permanently.

The surfactant coating creates a steric barrier: the hydrocarbon tails from neighboring particles repel each other, preventing agglomeration. This, combined with Brownian motion, keeps the particles permanently suspended.

Troubleshooting

Particles won’t transfer to oil: The oleic acid coating was insufficient. Try heating the suspension again, adding another 1–2 mL of oleic acid, and stirring at 80°C for an additional 10 minutes before reattempting the transfer.

Fluid settles quickly: Particle size is too large, likely from poor stirring or uneven ammonia addition during precipitation. There is no way to reduce particle size after the fact — start again, ensure continuous vigorous stirring throughout Step 3, and keep the addition rate steady (~1 mL/10 sec).

Weak magnetic response: Yield was low. Check that the molar ratio of Fe²⁺:Fe³⁺ was approximately 1:2 and that the precipitation was done at elevated temperature.

Fluid too thick / sludge-like: Too much oleic acid or not enough carrier oil. Add more mineral oil and stir.

Safety

Warning

Ammonia: Use in a well-ventilated area or outdoors. The precipitation step releases ammonia vapor — steady dropwise addition reduces the intensity, but ventilation is still essential.

Ferric chloride: Corrosive; stains skin and clothing orange-brown. Wear gloves.

Oleic acid: Low hazard; mild irritant.

Ferrofluid: Keep away from electronic devices and magnetic storage media. Ferrofluid stains fabric and is very difficult to remove — work on disposable bench paper. Do not pour down drains (oil content).

Resources