Gangguan termoregulasi berupa menggigil sering terjadi selama operasi dengan anestesi spinal. Tujuan penelitian ini membandingkan efek pencegahan kejadian menggigil selama operasi reseksi prostat transuretra dalam anestesi spinal antara MgSO 4 dan petidin. Penelitian ini merupakan uji klinis acak terkontrol tersamar ganda pada 42 pasien dengan status fisik American Society of Anesthesiologist (ASA) II atau III, usia 60−70 tahun yang menjalani operasi reseksi prostat transuretra di kamar operasi bedah sentral Rumah Sakit Dr. Hasan Sadikin Bandung pada bulan Maret-September 2014. Pasien dibagi dalam kelompok MgSO 4 dan kelompok petidin. Data karakteristik, kejadian menggigil, suhu tubuh inti, monitoring tanda vital, dan efek samping dicatat. Hasil penelitian menunjukkan efek pencegahan kejadian menggigil kelompok MgSO 4 lebih baik dibanding dengan kelompok petidin dan kejadian menggigil di kamar operasi 4/21 vs 9/21, sedangkan di ruang pemulihan kejadian menggigil sama pada kedua kelompok (1/21). Simpulan penelitian ini menunjukkan pemberian MgSO 4 intravena sebelum anestesi spinal secara klinis mengurangi kejadian menggigil selama operasi dan memiliki efek pencegahan menggigil yang lebih baik dibanding dengan petidin.