Several lifestyle habits have been described as risk factors for nonalcoholic fatty liver disease (NAFLD). Given that both healthy and unhealthy habits tend to cluster, the aim of this study was to identify lifestyle patterns and explore their potential associations with clinical characteristics of individuals with NAFLD. One hundred and thirty-six consecutive patients with ultrasound-proven NAFLD were included. Diet and physical activity level were assessed through appropriate questionnaires. Habitual night sleep hours and duration of midday naps were recorded. Optimal sleep duration was defined as sleep hours ≥ 7 and ≤ 9 h/day. Lifestyle patterns were identified using principal component analysis. Eight components were derived explaining 67% of total variation of lifestyle characteristics. Lifestyle pattern 3, namely high consumption of low-fat dairy products, vegetables, fish, and optimal sleep duration was negatively associated with insulin resistance (β = -1.66, P = 0.008) and liver stiffness (β = -1.62, P = 0.05) after controlling for age, sex, body mass index, energy intake, smoking habits, adiponectin, and tumor necrosis factor-α. Lifestyle pattern 1, namely high consumption of full-fat dairy products, refined cereals, potatoes, red meat, and high television viewing time was positively associated with insulin resistance (β = 1.66, P = 0.005), although this association was weakened after adjusting for adiponectin and tumor necrosis factor-α. A "healthy diet-optimal sleep" lifestyle pattern was beneficially associated with insulin resistance and liver stiffness in NAFLD patients independent of body weight status and energy intake.