Introduction: Primary ciliary dyskinesia (PCD) is characterized by an alteration in the ciliary structure causing difficulty in the clearance of respiratory secretions. Diagnosis is complex and based on a combination of techniques. The objective of this study was to design a gene panel including all known causative genes, and to corroborate their diagnostic utility in a cohort of Spanish patients. Methods: This was a multicenter cross-sectional study of patients with a high suspicion of PCD, according to European Respiratory Society criteria, designed around a gene panel for massive sequencing using SeqCap EZ capture technology that included 44 genes associated with PCD. Results: We included 79 patients, 53 of whom had a diagnosis of confirmed or highly probable PCD. The sensitivity of the gene panel was 81.1%, with a specificity of 100%. Candidate variants were found in some of the genes of the panel in 43 patients with PCD, 51.2% (22/43) of whom were homozygotes and 48.8% (21/43) compound heterozygotes. The most common causative genes were DNAH5 and CCDC39. We found 52 different variants, 36 of which were not previously described in the literature. Conclusions: The design and implementation of a tailored gene panel produces a high yield in the genetic diagnosis of PCD. This panel provides a better understanding of the causative factors involved in these patients and lays down the groundwork for future therapeutic approaches.