Clubbing is most commonly observed in patients with lung cancer but is an important sign of chronic pulmonary disease, such as cystic fibrosis and idiopathic pulmonary fibrosis; it also occurs (but less commonly) in cyanotic heart disease, chronic infection (eg, infective endocarditis), stroke, inflammatory bowel disease, and cirrhosis.