Sleep disorder is a relatively common problem that causes chronic conditions such as obesity, diabetes, and cardiovascular diseases. It is believed that diet regulates sleep. So, investigating the relationship between branched-chain amino acids (BCAAs) and aromatic amino acids intake with sleep quality based on age, gender and Body Mass Index (BMI) is important. A total of 172 males and females aged 18–65 participated in this study. The questionnaires were given online to them, included demographic information, food frequency questionnaire (FFQ), International Physical Activity Questionnaire, and Pittsburgh Sleep Quality Index. The Chalder fatigue scale (CFQ) was also used to measure the extent and severity of fatigue. The intake of amino acids was investigated by FFQ. The relationship between amino acids intake and sleep quality was investigated using Pearson's test. The results showed that intake of energy, macronutrients, and some micronutrients had a significant relationship with the quality of sleep of men compared to that of women (P< 0.05). No difference in sleep duration was observed between the two genders. There was a significant, positive association between sleep duration and the intake of BCAA (CC = 0.205,P= 0.031) and aromatic amino acids (CC = 0.22,P= 0.02) in the participants with normal BMI. Significant differences were seen in the intake of BCAA according to BMI which these differences were between lean and obese people, lean and overweight people, obese and normal, and overweight people. It demonstrated that in individuals with normal BMI, amino acids, protein, and carbohydrate intake may affect sleep duration and with modification of these factors sleep quality may get better. More study is needed to confirm these findings.