This study aimed to determine the relationship between improvement in lung function and changes in transthoracic electrical bioimpedance (TEB) after thoracentesis in patients with pleural effusions. Fifteen patients with pleural effusions due to either malignant (n = 8) or cardiac (n = 7) diseases were included. Pulmonary function was assessed before and after thoracentesis. During thoracentesis the patients were monitored with TEB. Using linear correlation analysis, the increases for each litre of aspirated thoracic fluid were: forced expiratory volume in 1 s (FEV1) 0.261; forced vital capacity (FVC) 0.331; total lung capacity (TLC) 0.58; and the lung diffusing capacity (DLCO); 2.4 ml min-1 mmHg-1. Baseline impedance increased by 2.3 Ohm l-1 aspirated thoracic fluid. The relative increase in baseline impedance was twice as high for patients with cancer as for patients with heart failure (P < 0.05). We found only minor changes in systolic blood pressure and mean arterial pressure. The improvements in diffusing capacity, airflow, and lung volumes after thoracentesis are correlated to an increase in baseline impedance, but changes are dependent on the primary disease.