2,5-Dimethoxybenzonitrile

In the title molecule, C9H9NO2, the non-H atoms are essentially coplanar with a maximum deviation of 0.027 (2) Å for the C atom of one of the methyl groups. In the crystal, the molecules are arranged into centrosymmetric pairs via pairs of C—H⋯O and C—H⋯N interactions whereas π–π stacking interactions between the benzene rings [centroid–centroid distance 3.91001 (15) Å] organize them into polymeric strands propagating along the a-axis direction. There is a step of 0.644 (2) Å between the two planar parts of the centrosymmetric pair. In neighboring strands related by the n-glide operation, the aromatic rings are tilted by 29.08 (2)°.

In the title molecule, C 9 H 9 NO 2 , the non-H atoms are essentially coplanar with a maximum deviation of 0.027 (2) Å for the C atom of one of the methyl groups. In the crystal, the molecules are arranged into centrosymmetric pairs via pairs of C-HÁ Á ÁO and C-HÁ Á ÁN interactions whereasstacking interactions between the benzene rings [centroid-centroid distance 3.91001 (15) Å ] organize them into polymeric strands propagating along the a-axis direction. There is a step of 0.644 (2) Å between the two planar parts of the centrosymmetric pair. In neighboring strands related by the n-glide operation, the aromatic rings are tilted by 29.08 (2) .
Supplementary data and figures for this paper are available from the IUCr electronic archives (Reference: GK2594).

Refinement
All carbon-bound hydrogen atoms were placed in calculated positions with C-H distances of 0.95 -0.98 Å and refined as riding with U iso (H) =xUeq(C), where x = 1.5 for methyl and x = 1.2 for all other H-atoms.

Figure 1
A view of the title molecule with displacement ellipsoids shown at the 50% probability level.

Figure 3
The crystal packing diagram showing the C-H···O and C-H···N intermolecular interactions between molecules within pairs (green colored) and between molecules in different strands (blue colored).