Acid sphingomyelinase deficiency, which prevents degradation of sphingomyelin (SM), causes lysosomal SM overload both in mice and in patients with Niemann–Pick disease A or B. Altered cellular SM homeostasis disrupts the development and function of natural killer T cells by obstructing the presentation of lipid agonists by CD1d molecules.