The problem of terminal sliding mode controller design for chaos control in memristor-based oscillators is investigated. The main goal is to stabilize the chaotic Chua’s memristor-based oscillator and to track the sinusoidal reference input. The stability of the oscillator with terminal sliding mode control is analyzed using Lyapunov criteria. Moreover, by defining a new objective function, genetic algorithm optimization is used to reduce the chattering effect and to decrease the convergence time of terminal sliding mode controller. Simulation results demonstrate the usefulness of the proposed control method.