Background: The aim of this study was to investigate the correlation between self-awareness and dietary compliance in patients with type 2 diabetes mellitus. Methods: This study was correlational with a cross-sectional approach. The population was 253 respondents, all type 2 DM patients in the Jelakombo Jombang Health Center working area. The total sample had 147 respondents. The sampling technique used is simple random sampling. The independent variable is self-awareness, and the dependent variable is dietary compliance in type 2 DM patients. The data collection technique was a questionnaire, followed by data processing. The process involved editing, coding, scoring, tabulating, and analysing the data using the Spearman correlation test with an error rate of 0.05. Results: The data revealed that most of the respondents' self-awareness was good for 101 people (69%) and most of the respondents were obedient to their diets for 96 people (65%). The results of the analysis using the Spearman Correlation test, the probability value of 0.006 is smaller than the alpha value of 0.05, so H1 is accepted. Conclusion: The conclusion in this study is that there is a correlation between self-awareness and dietary compliance with type 2 diabetes mellitus patients. It is expected that type 2 diabetes mellitus patients will become more self-aware in terms of meeting their dietary needs.