Students’ learning motivation is a crucial factor that encourages them to actively participate throughout the learning process; however, this motivation may descrease when teachers’ competence is low and the learning environment lacks sufficient support. The purpose of this study is to test the hypothesis regarding the impact of teacher competence and the learning environment on the learning motivation of sixth-grade elementary school students in Bayan District, Purworejo, both partially and simultaneously. This research employs a quantitative method with a cluster random sampling technique conducted in four elementary schools as research sites. Data were collected through questionnaires and documentation, then analyzed using t-tests, F-tests, and the coefficient of determination with SPSS version 25. The results indicate that: (1) teacher competence has a positive effect on learning motivation, with t-value of 6.568 > t-table 1.983 and a coefficient of determination of 33.8%; (2) the learning environment has a positive effect on learning motivation, with t-value of 6.986 > t- table 1.983 and a partial determination coefficient of 36.4%; and (3) teacher competence and the learning environment jointly have a positive effect on learning motivation, with F- value of 62.187 > F- table 3.09 and a coefficient of determination of 55.7%. Based on these findings, it can be concluded that the higher the influence of teacher competence and the learning environment, either individually or jointly, the higher the learning motivation of sixth-grade elementary school students in Bayan District. ABSTRAK Motivasi belajar siswa merupakan faktor yang dapat mendorong mereka untuk senantiasa berperan aktif selama proses pembelajaran berlangsung, tetapi hal ini dapat menurun apabila kompetensi yang dimiliki guru rendah dan kurangnya dukungan dari lingkungan belajar anak. Tujuan dari penelitian ini adalah untuk menguji hipotesis mengenai pengaruh kompetensi guru dan lingkungan belajar terhadap motivasi belajar siswa SD kelas VI di Kecamatan Bayan, Purworejo, baik secara parsial maupun simultan. Penelitian ini menggunakan metode kuantitatif dengan teknik cluster random sampling pada empat sekolah dasar sebagai lokasi penelitian. Data diperoleh melalui penyebaran kuesiner dan dokumentasi, kemudian dianalisis dengan menggunakan uji t, uji F, dan koefisien determinasi pada aplikasi SPSS versi 25. Hasil penelitian ini, yaitu: (1) terdapat pengaruh yang positif antara kompetensi guru terhadap motivasi belajar dengan nilai thitung 6,568 > ttabel 1,983 dan nilai koefisien determinasi sebesar 33,8%, (2) terdapat pengaruh yang positif antara lingkungan belajar terhadap motivasi belajar dengan nilai hasil thitung 6,986 > ttabel 1,983 dan nilai koefisien determinasi parsial sebesar 36,4%, dan (3) terdapat pengaruh positif antara kompetensi guru dan lingkungan berlajar terhadap motivasi belajar dengan hasil berupa nilai Fhitung sebesar 62,187 > dari Ftabel 3,09 dan nilai koefisien determinasi 55,7%. Berdasarkan hasil perhitungan tersebut dapat disimpulkan bahwa semakin tinggi pengaruh yang diberikan oleh variabel kompetensi guru dan lingkungan belajar, baik secara mandiri maupun secara bersama-sama, maka semakin tinggi juga pengaruh yang diterima oleh motivasi belajar siswa SD kelas VI di Kecamatan Bayan.