Mg\(^{2+}\) plays a vital role in platelet function, but despite implications for life-threatening conditions such as stroke or myocardial infarction, the mechanisms controlling [Mg\(^{2+}\)]i in megakaryocytes (MKs) and platelets are largely unknown. Transient receptor potential melastatin-like 7 channel (TRPM7) is a ubiquitous, constitutively active cation channel with a cytosolic α-kinase domain that is critical for embryonic development and cell survival. Here we report that impaired channel function of TRPM7 in MKs causes macrothrombocytopenia in mice (Trpm7\(^{fl/fl-Pf4Cre}\)) and likely in several members of a human pedigree that, in addition, suffer from atrial fibrillation. The defect in platelet biogenesis is mainly caused by cyto...