Magnesium has been shown in studies to be safe to take during pregnancy, but there hasn’t been as much research into how CoQ10 and riboflavin impact people who are pregnant or breast-feeding. No matter which supplement you’re considering, be sure to check in with your medical provider before starting a new treatment if you’re pregnant.