  We produce an exact solution of the Schr\"odinger equation for the
generalized time dependent Swanson oscillator. The system studied is a
non-Hermitian setup characterized by time dependent complex coefficients. The
exact solution is obtained by applying two transformations and under the right
choice of the relevant parameters. Consequently, the model is reduced to a time
independent harmonic oscillator.
