Can you take zinc and magnesium together?
Yes, and they barely interact with each other. The competition people are worried about is real, but it is zinc against copper, iron and calcium, and it only matters at doses most labels quietly exceed.
Short answer: yes. They're sold together as ZMA for exactly that reason, and zinc and magnesium don't meaningfully compete with each other at supplement doses.
The longer answer is more useful, because the absorption competition people have read about is real. It's just between different pairs than the question assumes.
What competes with what
Minerals are absorbed through shared transporters, and the ones that fight are the ones closest in size and charge. Zinc and magnesium aren't a close pair. These are:
Zinc and copper. The important one. Sustained high zinc intake reduces copper absorption, and copper deficiency is the documented consequence of long-term high-dose zinc. It develops over months, and its early signs are anaemia and low white cell counts.
Zinc and iron. They compete directly when taken at the same time in supplement form, particularly on an empty stomach. Taken with food, or several hours apart, the effect is much smaller.
Calcium against both. High calcium doses reduce the absorption of zinc, iron and magnesium alike. A 1000mg calcium tablet is the single most disruptive thing in most people's stack, and it's usually the one nobody is thinking about.
Zinc and magnesium at typical supplement amounts aren't on that list. Very high zinc has been shown to disturb magnesium balance, but the doses involved are far above what any sensible label carries.
The problem is the rest of the stack
INTERACTIONS IN THIS STACK
Zinc at 45mg alongside 18mg of iron and 400mg of calcium from a multivitamin means all three are competing for the same absorption pathway when taken at the same time.
This is the shape the question usually really has. Somebody asks whether zinc and magnesium clash, and the actual issue is that the multivitamin they take beside both contains iron, calcium and more zinc, and everything arrives at once.
Nothing on any of those labels mentions the others.
What about ZMA specifically?
ZMA is zinc, magnesium and vitamin B6, and it's marketed on sleep and testosterone.
The testosterone claim traces back to a single small study in trained athletes, and later attempts to reproduce it in men who weren't zinc deficient largely didn't. The honest position is that correcting a deficiency can raise testosterone, and supplementing on top of an adequate intake hasn't been shown to.
Two things worth checking on any ZMA label:
The zinc dose. Many sit at 30mg, some at 50mg. UK guidance sets 25mg a day for supplemental zinc and the US upper level is 40mg for total intake, so a lot of ZMA is above one or both before you add a multivitamin. More on that here.
The B6 dose. ZMA formulas often carry 10mg or more, and UK guidance for supplemental B6 is 10mg a day. It's the nutrient where the UK and US disagree most: the US upper level is 100mg, ten times the UK figure.
The magnesium form matters too. Magnesium aspartate and oxide aren't equivalent, and the number on the front of the tub is usually the compound weight rather than the elemental amount. The arithmetic is here.
Timing, if you want to bother
None of this is urgent, and separating everything by hours is more effort than the effect justifies for most people.
If you're taking a high-dose zinc and a high-dose iron, putting a few hours between them is the one change with a real basis. Same for a 1000mg calcium tablet against either.
Magnesium in the evening suits people who find it settling, which is a tolerability point rather than an absorption one.
No label can answer this bit
Every one of these is a question about a total, not a product. Zinc from a multivitamin plus zinc from a ZMA plus a 50mg immune capsule during a cold is the number that matters, and it appears on none of the three bottles.
That's also true of the interactions. Whether the iron in one product competes with the zinc in another isn't answerable by reading either label.
Verdict does this part automatically. Photograph the supplement facts panel on each product and it reads every dose off the label, converts salt weights to elemental amounts, adds each mineral across your whole stack, and flags the absorption competition between them. It reports the arithmetic and names the source of every limit. It doesn't tell you what to take.