Our aim was to develop and evaluate a method for the measurement of muscle mass during the 12-channel electrocardiogram (ECG), to determine the incidence of sarcopenia in patients with overhydration and to correct it for congestion. A 12-channel ECG that simultaneously provided multifrequency segmental impedance data was used to measure total body water (TBW), extracellular water (ECW), ECW/TBW ratio and appendicular muscle mass (AppMM), validated by whole-body dual-energy X-ray absorptiometry. The mean ECW/TBW ratio was 0.24±0.018 (SD) and 0.25±0.016 for young (age range 20-25years) healthy males (n=77) and females (n=88), respectively. The deviation of the ECW/TBW ratio from this mean was used to correct AppMM for excess ECW ('dry AppMM') in 869 healthy controls and in 765 patients with chronic heart failure (CHF) New York Heart Association classes II-IV. The association of AppMM and dry AppMM with grip strength was also examined in 443 controls and patients. With increasing N-terminal pro-brain natriuretic peptide (NT-proBNP), a continuous decline of AppMM indices is observed, which is more pronounced for dry AppMM indices (for males with NT-proBNP<125pg/mL: AppMM index mean=8.4±1.05, AppMM index dry mean=8.0±1.46 [n=201, P<0.001]; for females with NT-proBNP<150pg/mL: AppMM index mean=6.4±1.0, AppMM index dry mean=5.8±1.18 [n=198, P<0.001]; for males with NT-proBNP>1000pg/mL: AppMM index mean=7.6±0.98, AppMM index dry mean=6.2±1.11 [n=137, P<0.001]; and for females with NT-proBNP>1000pg/mL: AppMM index mean=5.9±0.96, AppMM index dry mean=4.8±0.94 [n=109, P<0.001]). The correlation between AppMM and upper-body AppMM and grip strength (r-value) increased from 0.79 to 0.83 (P<0.001) and from 0.80 to 0.84 (P<0.001), respectively, after correction (n=443). The decline of AppMM with age after correction for ECW is much steeper than appreciated, especially in males: In patients with CHF and sarcopenia, the incidence of sarcopenia may be up to 30% higher after correction for ECW excess according to the European (62% vs. 57%, for males, and 43% vs. 31%, for females) and Foundation for the National Institutes of Health (FNIH) (56% vs. 46%, for males, and 54% vs. 38%, for females) consensus guidelines. The incidence of sarcopenia in CHF as defined by the European Working Group on Sarcopenia and FNIH consensus may be up to 30% higher after correction for ECW excess. This correction improves the correlation between muscle mass and strength. The presented technology will facilitate, on a large scale, screening for sarcopenia, help identify mechanisms and improve understanding of clinical outcomes.