Metabolic syndrome is combination of factors that raise the risk of cardiovascular disease and diabetes mellitus. Previous studies suggested that metabolic syndrome is associated with lifestyle. Identification of associated lifestyle factors with metabolic syndrome would help its prevention and management. With the National Health and Nutrition Examination Survey (NHANES) data from 1999 to 2012, this study develops a classifier to identify metabolic syndrome patients. Lifestyle data set from NHANES is based on demographic data, dietary data, and questionnaire data. According to the US National Cholesterol Education Program (NCEP), metabolic syndrome has four states; central obesity, pre-diabetes mellitus, prehypertension, and dyslipidemia. Associated key factors are identified through feature selection out of 217 attributes based on information gain. Most attributes show no significant association with metabolic syndrome except age. We developed a decision tree classifier to investigate associations between attributes, and age is the most important attribute that contribute the decision tree as well. Interestingly, the decision tree shows several different features are associated with metabolic syndrome at different ages. Sleep disorders are the most significant factor for young persons under the age of 33, while exercise habit, gender and ethnicity are the most significant factors for elders over the age of 50. Consequently, this study can give insight into prevention and treatment of metabolic syndrome.