Inositol hexakisphosphate kinase (IP6K) is involved in diverse cellular signalling pathways, but the physiological roles of IP6K in vivo remain unknown in mammals. Here, the authors show that the enzymatic activity of IP6K is essential for phosphate regulation in vivo.