The Cao Vit gibbon is a critically endangered species with only about 110 individuals remaining in a degraded karst forest along the China-Vietnam border. Behavioral data from this site are particularly useful in understanding gibbon behavioral adaptations to different sets of ecological conditions and will contribute to the conservation of the species. We studied seasonal variation in the time budget and diet of the Cao Vit gibbon in response to variation in food availability and ambient temperature by observing two groups for 1,379 hr between January and December 2009. We used 5-min scan samples to record the activity of gibbons. Both ambient temperature and food availability varied from month to month. Gibbon groups increased resting time and huddled together in sleeping places in cold months. Gibbons spent more time feeding on fruit when fruit was more abundant suggesting that fruit was their preferred food. Alternatively, leaf eating was negatively correlated with leaf availability which suggested that leaves may be used as a fallback food. Gibbons increased their diet diversity when they ate more leaves. This might be a strategy to cope with toxins or digestion inhibitor accumulation associated with feeding from a limited number of leaf species. Individuals consumed more buds when Broussonetia papyrifera produced buds in March and April. During this period, they decreased traveling time and engaged in less frequent social interactions. Gibbons spent more time searching for and feeding on invertebrates during June and October. However, we did not collect data on invertebrate abundance and therefore cannot determine the relationship between invertebrate feeding and availability. We conclude that flexibility in consuming diverse food types and food species, and in responding to the availability of preferred foods, has enabled the Cao Vit gibbon to survive in a degraded karst forest habitat.