When the echo path of a hearing aid suddenly changes, howls easily occur. To quickly suppress the howls, a joint echo cancellation (JEC) algorithm, which combines the variable step normalized least mean square (VNLMS) algorithm with the notch filter algorithm, is proposed. According to whether the hearing aid howls or not, different strategies are used. First, when there are no howls, the echo signal is estimated using VNLMS and the step factor is computed according to three types of filter states, which are defined based on the normalized distance between the short-term average and the long-term average of the filter coefficients. Then, different step factors are used for different states. Second, when there are howls, the update of VNLMS is frozen to stabilize the howl frequency. To improve the detection accuracy, a howling detection algorithm based on the zoom-fast Fourier transformation (ZoomFFT) is proposed. The ZoomFFT algorithm can analyze the spectrum of a narrowband signal in a specified high sampling frequency. Then, the notch filters based on the estimated howl frequencies are dynamically generated to restrain the howls. Finally, when the howls are suppressed, VNLMS is reactivated. Compared to other echo cancellation algorithms, the proposed algorithm can quickly suppress the howls, and JEC has the best comprehensive performance. Furthermore, the quality of the processed speech is high, and the operation time is short. Thus, the proposed algorithm is suitable for low-power-consumption and small-volume products such as hearing aids.