This paper proposes a residual-based cointegration test in the presence of smooth structural changes approximated by a Fourier function. The test offers a simple way to accommodate unknown number and form of structural breaks and have good size and power properties in the presence of breaks.