We discuss the effects of quenched disorder on a model of charge density wave ͑CDW͒ ordering on the square lattice. Our model may be applicable to the cuprate superconductors, where a random electrostatic potential exists in the CuO 2 planes as a result of the presence of charged dopants. We argue that the presence of a random potential can affect the unidirectionality of the CDW order, characterized by an Ising order parameter. Coupling to a unidirectional CDW, the random potential can lead to the formation of domains with 90°relative orientation, thus tending to restore the rotational symmetry of the underlying lattice. We find that the correlation length of the Ising order can be significantly larger than the CDW correlation length. For a checkerboard CDW on the other hand, disorder generates spatial anisotropies on short length scales and, thus, some degree of unidirectionality. We quantify these disorder effects and suggest techniques for analyzing the spatially dependent local density of states data measured in scanning tunneling microscopy experiments.