Here we establish a Drosophila melanogaster model for ectopic calcification by inhibiting xanthine dehydrogenase whose deficiency leads to kidney stones in humans and dogs. This evidence concerns the gene XDH and nephrolithiasis.