Up to 20% of patients requiring mechanical ventilation will suffer from difficult weaning (the need of more than 7 days of weaning after the first spontaneous breathing trial), which may depend on several reversible causes: respiratory and/or cardiac load, neuromuscular and neuropsychological factors, and metabolic and endocrine disorders.