By identifying a local property which structurally classifies any edge, we show that the family of generalized Petersen graphs can be recognized in linear time.The generalized Petersen graphs, introduced by Coxeter [6] and named by Watkins [13], are cubic graphs formed by connecting the vertices of a regular polygon to the corresponding vertices of a star polygon. Various aspects of their structure have been extensively studied. Examples include identifying generalized Petersen graphs that are Hamiltonian [1, 2, 4], hypo-Hamiltonian [3], Cayley [10,12], or partial cubes [9], and finding their automorphism group [7] or determining isomorphic members of the family [11]. Additional aspects of the mentioned family are well surveyed in [5,8].