We demonstrate experimentally a gating ratchet with cold rubidium atoms in a driven near-resonant optical lattice. A single-harmonic periodic modulation of the optical potential depth is applied, together with a single-harmonic rocking force. Directed motion is observed as a result of the breaking of the symmetries of the system.