Depresi merupakan gangguan kesehatan mental yang dapat menurunkan kualitas hidup dan produktivitas, sehingga deteksi dini diperlukan untuk mendukung pencegahan dan penanganan. Penelitian ini bertujuan mengklasifikasikan depresi menggunakan algoritma Random Forest berdasarkan faktor demografis, gaya hidup, dan kesehatan mental. Dataset terdiri dari 502 data dengan 11 atribut yang dibagi menjadi 401 data latih dan 101 data uji menggunakan train-test split 80:20. Kebaruan penelitian terletak pada analisis feature importance untuk mengidentifikasi faktor dominan dalam prediksi depresi. Hasil menunjukkan Random Forest mencapai akurasi 91,09% dengan precision, recall, dan F1-score yang tinggi pada kedua kelas. Academic Pressure menjadi fitur paling dominan, diikuti suicidal thoughts, usia, jam belajar, kepuasan belajar, dan stres finansial. Confusion matrix juga menunjukkan kesalahan klasifikasi yang rendah, dengan dua kasus false negative. Hasil ini menunjukkan bahwa Random Forest berpotensi mendukung pengembangan sistem deteksi dini depresi berbasis machine learning. Depression is a mental health disorder that can diminish quality of life and productivity; therefore, early detection is essential to facilitate prevention and intervention. This study aims to classify depression using the Random Forest algorithm, based on demographic, lifestyle, and mental health factors. The dataset consists of 502 entries with 11 attributes, partitioned into 401 training samples and 101 testing samples using an 80:20 train-test split. The novelty of this research lies in its feature importance analysis, which identifies the dominant factors in predicting depression. The results demonstrate that the Random Forest model achieves an accuracy of 91.09%, with high precision, recall, and F1-scores for both classes. "Academic Pressure" emerged as the most dominant feature, followed by "suicidal thoughts," age, study hours, academic satisfaction, and financial stress. The confusion matrix indicates a low rate of misclassification, with only two false negative cases. These findings suggest that the Random Forest algorithm has the potential to support the development of machine learning-based systems for the early detection of depression.