Magnesium in a Reef Tank: Why It Matters and How to Keep It Stable
Most reef keepers aim for magnesium at 1250–1350 ppm in 35 ppt seawater. Magnesium stops calcium carbonate from crashing out of solution, so it keeps alkalinity and calcium stable. It falls slowly, so test every 2–4 weeks, and if you raise it, go in small steps spread over several days rather than one big dose.
Magnesium is the quiet member of the big three. Alkalinity swings in days. Calcium drifts over weeks. Magnesium can sit still for a month and then, once it is low, make every other number hard to hold. Many keepers chase a stubborn alkalinity for weeks before they test magnesium at all.
What magnesium does in a reef tank
Seawater is already close to saturated with calcium carbonate. Left alone, calcium and carbonate ions want to bind and fall out as a white solid. Magnesium ions get in the way. They sit on the surface of tiny crystals as they form and slow their growth. This keeps calcium and alkalinity dissolved, available to your corals, and out of your pumps, heater and glass as crusty deposits.
Magnesium also takes part in biology. Corals and coralline algae take up a small amount into their skeletons, and it is a normal part of natural seawater. For the full picture of how the three work together, read the alkalinity, calcium and magnesium balance guide.
Target range and what low or high looks like
| Magnesium (ppm) | What it usually means | What reef keepers see |
|---|---|---|
| Below 1150 | Clearly low for 35 ppt water | Alkalinity and calcium drop faster than dosing explains; white precipitate on equipment |
| 1150–1250 | Slightly low | Alkalinity feels harder to hold; fine for some soft coral tanks |
| 1250–1350 | Common reef target | Alkalinity and calcium behave predictably |
| 1350–1500 | Slightly high | Usually harmless to hold; no benefit to push higher |
| Above 1500 | Overshoot | Stop adding; let water changes bring it back down slowly |
Natural seawater at 35 ppt holds roughly 1280–1300 ppm, so the target simply mirrors the ocean. Magnesium scales with salinity. A tank kept at a lower salinity will read lower magnesium even if nothing is wrong, so check salinity first.
How often to test, and how reliable the test is
Magnesium is consumed slowly. Most tanks lose it mainly through coral growth, coralline algae and the odd bit of salt creep. A test every 2–4 weeks is enough for a stable tank. Test more often after you correct it, or if alkalinity and calcium stop behaving.
Be careful with the result. Magnesium test kits tend to be less precise than alkalinity kits, and a difference of 50–100 ppm between two tests can be kit noise rather than a real change. Use the same kit each time, read it the same way, and treat one odd number as a reason to retest, not to dose.
Why magnesium drifts
- Coral and coralline growth. A heavily stocked SPS tank uses more than a soft coral tank.
- Salt mix differences. Brands vary. Some mix to around 1250 ppm, others higher. Test a fresh batch of mixed saltwater before you trust it.
- Low salinity. Topping off with too much fresh water pulls every salt component down together.
- Precipitation. Alkalinity or calcium dosed too fast can pull magnesium out along with them.
How to raise magnesium safely
Magnesium is gentle on corals compared with alkalinity, but slow is still better. A common rule is to raise it by no more than about 50–100 ppm a day, and to retest before the next dose. Always follow the instructions on the product you use, and never dose into a tank you have not tested first.
- Test magnesium, and confirm salinity is 35 ppt.
- Work out the gap to your target. Use the product label to find the amount for your actual water volume, not the tank's advertised size.
- Split the total into small daily steps. Add each step slowly, into good flow, ideally in a sump or high-flow area.
- Retest after the last step, a few hours after dosing, and again the next day.
- Stop when you reach the range. Do not aim for the top of it.
If it is too high
There is no quick fix, and none is needed for a modest overshoot. Stop adding magnesium, then let ordinary water changes bring it down over time. Check what your salt mix delivers, because a salt that mixes high will keep pushing it up.
Track it with everything else
One magnesium reading tells you little. A slow slide from 1330 to 1230 over three months tells you your corals are using more than you replace. Log magnesium on the same date as alkalinity and calcium, and you can see all three trends side by side. In ReefDeck you can record each full test, set your own range for magnesium, and watch the line before it becomes a problem. It shows your numbers; the decisions stay with you.
Log magnesium next to alkalinity and calcium
ReefDeck is a free, offline reef logbook. Record magnesium with every full test, see it trend beside alkalinity and calcium, and set your own ranges. It records and displays your own data — it does not diagnose or prescribe.
Open ReefDeck — it's free → Works on phone and desktop · installs as an app · exports to CSV anytimeFrequently asked questions
What should magnesium be in a reef tank?
Most reef keepers target 1250–1350 ppm at 35 ppt salinity. That mirrors natural seawater, which holds roughly 1280–1300 ppm.
How often should I test magnesium?
Every 2–4 weeks is enough for a stable tank, because magnesium is used slowly. Test more often after a correction, or when alkalinity and calcium stop holding.
Why can I not keep my alkalinity stable?
Low magnesium is one common cause. It lets calcium carbonate precipitate, so alkalinity and calcium fall faster than your dosing predicts. Test magnesium and salinity before changing your alkalinity dose.
How fast can I raise magnesium?
A common guide is no more than about 50–100 ppm a day, retesting between steps. Follow your product's label, and add it slowly into good flow.