The causative gene for congenital ichthyosis, NIPAL4, encodes a Mg2+ transporter and is involved in increases in intracellular Mg2+ concentrations that depend on keratinocyte differentiation. Here, NIPAL4 is linked to ichthyosis.