The research subject of the article is the methods of locally adaptive filtering of non-stationary (from the point of view of its variance) noise in long-term electrocardiogram (ECG) signals. The goal is to develop locally adaptive algorithms for filtering noise with different a priori unknown levels of variance in real-time for ECG signals recorded with a standard sampling rate of 500 Hz. The tasks to be solved are: to investigate the effectiveness of the developed adaptive ECG filtering algorithms using numerical statistical estimates of processing quality in a wide range of additive Gaussian noise variance variation, to investigate the suppression of real non-stationary electromyographic (EMG) noise, and to analyze the application for normal and pathological ECG signals. The methods are integral and local indicators of the filter quality according to the criteria of the mean square error and the signal-to-noise ratio was obtained using numerical simulation (via Monte Carlo analysis). The following results were obtained: an adaptive method for real-time suppression of non-stationary noise in the ECG is proposed, the one-pass and the two-pass algorithms, and the algorithm with selective depending on the preliminary estimates of noise levels re-filtering have been developed on the method basis. Statistical estimates of the filters' efficiency and analysis of their outputs show a high degree of suppression of the noise with different levels of variance in the ECGs. The distortions absence while processing QRS-complex and high efficiency of suppression of Gaussian and real EMG noise with varying variance are demonstrated. The analysis of the output signals and plots of the local adaptation parameters and the adaptable parameters of the proposed algorithms confirms the high efficiency of filtering. The developed algorithms have been successfully tested for normal and pathological ECG signals. Conclusions. The scientific novelty of the results is the development of a locally adaptive method with noise and signal-dependent filter parameters switching and of the adaptive algorithms based on this method for non-stationary noise reduction in the ECG in real-time. This method does not require time for filter parameters adaptation and a priori information about the noise variance, and it has a high-speed performance in real-time mode.