Kidney stone disease or urinary stone disease is a crystallopathy that occurs when there are too many minerals in the urine and not enough liquid or hydration. This imbalance causes tiny pieces of crystal to aggregate and form hard masses, or calculi (stones) in the upper urinary tract.