Pediatric cardiomyopathy is a rare but severe disease with high morbidity and mortality. The causes are poorly understood and can only be established in one-third of cases. Recent advances in genetic technologies, specifically next-generation sequencing, now allow for the detection of genetic causes of cardiomyopathy in a systematic and unbiased manner. This is particularly important given the large clinical variability among pediatric cardiomyopathy patients and the large number of genes (>100) implicated in the disorder. We report on the performance of whole-exome sequencing in members of a consanguineous family with a history of pediatric hypertrophic cardiomyopathy and sudden cardiac death, which led to the identification of a homozygous stop variant in the SLC22A5 gene, implicated in primary carnitine deficiency, as the likely genetic cause. Targeted carnitine tandem mass spectrometry analysis in the patient revealed complete absence of plasma-free carnitine and only trace levels of total carnitine, further supporting the causality of the SLC22A5 variant. l-carnitine supplementation in the proband led to a rapid and marked clinical improvement. This case illustrates the use of exome sequencing as a systematic and unbiased diagnostic tool in pediatric cardiomyopathy, providing an efficient route to the identification of the underlying cause, which lead to appropriate treatment and prevention of premature death.