Reef Tank

Alkalinity, Calcium, and Magnesium Balance — Why Two-Part Dosing Fails When Mg Is Wrong

Alkalinity, Calcium, and Magnesium Balance — Why Two-Part Dosing Fails When Mg Is Wrong

You dose two-part every day, test regularly, and yet your alkalinity and calcium keep slipping. The root cause is almost always magnesium — and two-part adds none of it.

Two-part dosing is the most accessible way to maintain calcium and alkalinity in a reef tank. You buy Part A (alkalinity) and Part B (calcium), dial in your daily dose, test weekly, adjust. It works well — until it doesn't. The frustrating failure mode is when both parameters drift downward even after you've confirmed your dosing volumes are correct. You dose more, they come up briefly, then fall again. This is not a two-part failure. It is a magnesium failure that two-part dosing cannot fix on its own.

The Calcium–Alkalinity–Magnesium Triad

Reef chemistry often treats alkalinity and calcium as the primary variables and magnesium as an afterthought. Test kits for Mg are slightly more involved than the quick two-reagent drop tests for Alk and Ca, so many reefers test Mg infrequently or only when something seems wrong. This is backwards from the chemistry.

Natural seawater has the following baseline values:

ParameterNatural SeawaterTypical Reef Target
Alkalinity~8.3 dKH7–10 dKH
Calcium~420 ppm380–430 ppm
Magnesium~1290 ppm1250–1350 ppm
Mg:Ca ratio~3.07:1~3:1

The Mg:Ca ratio matters more than either number alone. Magnesium competes with calcium for carbonate binding sites in solution. When Mg is at the correct ratio, it inhibits the spontaneous precipitation of calcium carbonate from the water column. When Mg drops, that inhibition weakens and the water starts spontaneously precipitating CaCO3 — pulling down both calcium and alkalinity simultaneously, regardless of how much you dose.

What Two-Part Actually Contains

Standard two-part formulations consist of:

Neither component adds magnesium. The products from Bulk Reef Supply, Two Little Fishies, and similar brands follow the same chemistry — the active ingredients are CaCl2 and NaHCO3 (or Na2CO3), full stop. This is not a shortcut or a product limitation; it is by design, because you add these parameters independently to maintain control.

But it means that magnesium must be addressed separately. If you run two-part for months without checking Mg, it drifts. The drift rate depends on your corals' uptake, water changes, and how much fresh saltwater you're adding. In a mature SPS-heavy tank with infrequent water changes, Mg can drop below 1200 ppm without anyone noticing.

The chasing spiral: Low Mg → CaCO3 precipitates → Alk and Ca both drop → you dose more Part A and Part B → they come up briefly → precipitate again → you dose more. The spiral continues until Mg is corrected. Increasing your two-part dose into a tank with low Mg is like trying to fill a leaking bucket.

How Precipitation Manifests in the Tank

Calcium carbonate precipitation does not always announce itself dramatically. In early stages you may see:

The first two signs are the clearest. If your water hazes briefly after adding Part B (calcium chloride), that's precipitation happening in real time. It's common if you're dripping directly into high-pH areas of the tank, but if it's persistent and you're using a dosing pump into the sump, it indicates an imbalance in the chemistry.

Testing Sequence When Things Aren't Adding Up

Most reefers test alkalinity most frequently (it fluctuates most and is consumed fastest), calcium next, and magnesium rarely. The correct diagnostic sequence when you're chasing parameters is:

  1. Test Mg first. Do this before adjusting your two-part dose. A 10-minute Salifert or Hanna checker result tells you whether you have a root-cause problem.
  2. If Mg is below 1250 ppm, raise it to 1280–1320 ppm before rebalancing Alk and Ca.
  3. Once Mg is correct, retest Alk and Ca. If they stabilize at your target range on your normal dose, Mg was the culprit.
  4. If Alk and Ca still drift, you have an actual underdosing problem — your two-part volume needs to increase. But you can't know this until Mg is ruled out.

How to Raise Magnesium

There are three practical approaches, from simplest to most precise:

Water Changes

If Mg is only mildly low (1150–1200 ppm), partial water changes with properly mixed saltwater at the correct salinity will slowly raise Mg back toward NSW levels. This is the least disruptive method and appropriate for mild drift. It is too slow if Mg is severely depleted.

Magnesium Chloride (Liquid)

Commercial liquid Mg supplements (BRS bulk Mg chloride, Two Little Fishies Tech M) are magnesium chloride solutions. They raise Mg without significantly affecting Alk or Ca. The tradeoff is that they raise chloride levels in the tank, though at normal doses this is not a practical concern.

Magnesium Sulfate (Epsom Salt)

Food-grade Epsom salt (MgSO4·7H2O) is an inexpensive and widely available Mg source. It raises both Mg and sulfate. Natural seawater sulfate is around 2700 ppm, and most reef tanks run below this without causing harm. Epsom salt additions are generally safe in normal doses but should be done incrementally — no more than 50–100 ppm Mg increase per day — to avoid disturbing livestock.

The practical approach for most reefers: use liquid Mg chloride for convenience, dose incrementally over several days to avoid shocking the tank, and retest after each addition.

Dose rate ceiling: Raise Mg no faster than 50–100 ppm per day. A tank at 1150 ppm needs 2–3 days of dosing to reach 1290 ppm safely. Rushing it stresses corals and fish even though Mg is not acutely toxic at elevated levels — sudden swings in ionic composition cause stress.

Maintaining Mg Once Corrected

After you've brought Mg back to NSW levels, you need to keep it there. Standard approaches:

Regular Testing

Test Mg at least every two to three weeks, not just when you suspect a problem. In a tank with heavy SPS coverage and light water change schedules, Mg can drift by 50–100 ppm per month. Bi-weekly testing catches the drift early before you're chasing a significant deficit.

Add Magnesium to Your Dosing Routine

In a high-demand tank, add a third daily dose of Mg chloride alongside your two-part. This is common practice in mature SPS tanks. BRS and other vendors sell three-part (Alk + Ca + Mg) dosing kits specifically because Mg depletion in two-part-only systems is such a common problem.

Kalkwasser and Calcium Reactors Don't Solve This Either

Kalkwasser (calcium hydroxide) raises calcium and alkalinity together and supports some Mg through limewater chemistry, but it does not reliably maintain Mg at NSW levels in a high-demand tank. Calcium reactors dissolve aragonite media to replenish Ca and Alk but contribute little magnesium because aragonite is largely calcium carbonate. Neither method eliminates the need to test and supplement Mg in high-demand systems.

The Correct Verification Test

After correcting Mg and returning to your normal two-part dose, the verification is simple: test Alk and Ca 24 hours before your next dose, then 24 hours after, for one week. If parameters hold within ±0.5 dKH and ±15 ppm respectively across a full week, your system is stable and Mg was the culprit. If they still drift rapidly, your dosing volume is too low for your tank's actual demand and needs to be increased.

The math for calculating consumption: if your 100-gallon tank consumes 0.5 dKH per day, you need to replace approximately 3.5 dKH per week, which translates to a specific volume of your Part A concentration. Knowing your actual consumption rate — measured, not estimated — is how you set an accurate dose rather than guessing and adjusting reactively.

A Note on Test Kit Accuracy

Magnesium test kits are titration tests and require more care than the two-reagent alkalinity drop tests. The Salifert Mg test is reliable when done in good light and with fresh reagents. Elos and Hannah also have good reputations. API Mg kits designed for freshwater use are not accurate enough for reef chemistry — the resolution matters when you're trying to distinguish 1180 ppm from 1260 ppm. Use a kit designed for marine/reef use and store reagents away from heat and light.

If you want high confidence in your Mg reading, send a water sample to ICP-OES analysis (Triton, ATI, and others offer this for about $30–40) and get a full elemental profile. ICP is especially valuable when troubleshooting persistent instability that doesn't resolve after correcting Mg to tested levels — it catches trace element deficiencies and excesses that standard test kits miss entirely.

Plain note about money. The gear tiles below link to eBay with an affiliate tag. Commission pays for the site. Your price is the same either way.

Reef chemistry supplies worth buying

What this article covers, in kit form. Full disclosure.

← back to reef-tank

Can't find what you want?

Suggest a niche, calculator, or article. We read every submission — the operator picks one a week to turn into a real page.

More Reef Tank guides

GuideReef-keeping is the most expensive way to learn patienceNewcomers want a thriving coral reef quickly, and they spend heavily to force it. The hobby's iron law defeats ever…