We show that, for any constant , there exists an integer constant such that the Yao–Yao graph with parameter defined on a civilized unit disk graph is a geometric spanner of stretch factor . This improves the results of Wang and Li in several aspects, as described in the paper. This partially answers an open problem posed by Demaine, Mitchell and O’Rourke about the spanner properties of Yao–Yao graphs. We also show that the Yao–Yao graph with parameter defined on the complete Euclidean graph is not plane.