Surgical template (10; 15), comprising at least one drill guide hole (70) surrounded by a ring of the guide hole (71; 171), adapted to be positioned within a patient's oral cavity , in which the template (10; 15) comprises a complete lane or two rails (20, 30), in which the complete lane or two rails (20, 30) are snake-shaped curved rods that follow a calculation in base to smooth curves that are adapted to be positioned in portions of the patient's dental apparatus inside and outside, respectively, of an arc of a patient's dental structure, in which at least three first connection points ( 81) are arranged in a rail (20) and, at least, three second connection points (82) are arranged in the second rail (30) or at a transverse distance of said complete rail (20), the first and second connection points (81, 82) to be positioned on p orions of the patient's dental apparatus in his oral cavity to define the position and three-dimensional orientation of the at least one ring of the drill guide hole (71), in which any of the rails (20 and 30) are arranged to a predetermined distance from each other or the rail (20) is arranged at a predetermined distance from the second connection points (82) providing an intermediate space (60) between the rail or rails and the connection points (81, 82) allowing the interior and exterior connection points (81 and 82) to be accommodated in the rail or rails (20, 30) as well as the drill guide hole ring (71; 171), in which the template (10; 15) further comprises at least two connecting souls (40) connecting the inner rail (20) and the outer rail (30), when there are two rails (20, 30), or connecting said a rail (20) with the second connection points (82) in the case of a complete rail (20) at a predetermined distance from each other, and running perpendicular to the arc of the dental structure of the patient.Plantilla quirúrgica (10; 15), que comprende, por lo menos, un orificio de guía de perforación (70) rodeado por un anillo del orifi