This study shows that TDP-43 is the most important repressor of cryptic exon splicing in UNC13A, a risk factor for amyotrophic lateral sclerosis and frontotemporal dementia. This evidence concerns the gene UNC13A and frontotemporal dementia.