Email merupakan salah satu alat yang penting untuk berkomunikasi, mentransfer file serta dapat digunakan untuk media iklan melalui internet. Penggunaan email semakin meningkat maka banyak pihak yang mengirimkan email dengan pesan yang berisikan virus, penipuan, bahkan pornografi. Email seperti inilah yang disebut spam email dimana email yang tidak diinginkan oleh penerima yang dikirim secara massal. Banyak pengguna email merasa terganggu karena banyaknya waktu yang dihabiskan untuk menghapus satu per satu pesan spam. Dalam penelitian ini dilakukan perbandingan metode klasifikasi Random Forest dan Naïve Bayes dalam memprediksi spam email dengan tujuan melihat metode mana yang paling akurat. Data yang digunakan dalam penelitian ini adalah dataset email berjumlah 2605 data dengan dua variabel yaitu variabel body (yang menunjukkan isi dari email) dan variabel label (yang menunjukkan pelabelan) dimana 1 menunjukkan spam dan 0 menunjukkan bukan spam. Dari hasil pengujian menggunakan confusion matrix diketahui metode random forest memiliki nilai accuracy paling tinggi yaitu 98%, dan Naïve bayes 73%.