Here we describe for the first time a protocol for the genetic transformation of the holm oak Quercus ilex. Holm oak populations are seriously affected by a disorder known as oak decline syndrome. However, tolerant plants can be obtained by overexpression of pathogenesis-related (PR) proteins. The aim of the present study was to define a protocol for transforming somatic embryos (SEs) of holm oak with the gene CsTL1 encoding a chestnut thaumatin-like protein (PR protein). Lethal concentrations of kanamycin (kan) were determined in previous studies, in which SE formation was found to be inhibited by kan concentrations of 100 mg/L and above. Genetic transformation was only achieved when target explants were pre-cultured for one or 2 weeks, with a transformation efficiency of 2%. Transformation was also affected by genotype and was only successful in 2 of the 3 embryogenic lines evaluated. A total of 11 transformed lines (10 corresponding to line Q8 and 1 to line Q10–16) were obtained, all of which were maintained by secondary embryogenesis on proliferation medium (Schenk and Hildebrandt medium lacking plant growth regulators). The transgenic embryogenic lines were successfully cryopreserved by a vitrification-based procedure, thus enabling the lines to be preserved while tolerance tests were performed. The presence of CsTL1 in genomic DNA was confirmed by PCR, and expression of the gene was determined by qPCR. CsTL1 expression was up to 5.93 times higher in transgenic lines than in the corresponding untransformed line. Transgenic plants were produced from transformed SEs, with embryo conversion rates ranging from 2.8 to 66.7%.