This study aims to determine the effect of thermal pretreatment from pineapple peel waste on biogas production using a batch anaerobic digestion process. The experimental process was carried out on various variables, including observation time (30 days), operating temperature (25 -35℃), the ratio of starter and sample (1:1), also applied by two treatments, namely the anaerobic digester process without pretreatment and pretreatment using a hot water bath with a temperature of 60 ℃, 80 ℃, and 100 ℃, with a time duration of 25, 45, and 65 minutes. The results showed that the thermal pretreatment given to pineapple peel waste accelerated the biogas production process and reduced the lag phase in the anaerobic digestion process. The highest biogas production volume was obtained from pineapple peel waste, which was 616.33 mL (357.190 mL/g volatile solids), pretreated for 25 minutes at 60 ℃ (variable B3). The lowest biogas production was obtained from pineapple peel waste without pretreatment (variable A), which was 384.33 mL or 219.619 mL/g of volatile solids. The optimum % yield value of CH4 gas content reached 67.27%, which was achieved in the pineapple peel hot water bath pretreatment at a temperature of 100 ℃ with a water bath time of 25 minutes. Meanwhile, pineapple peel waste without a pretreatment hot water bath obtained a % CH4 yield of 60.19%. The lignocellulose analysis results with the highest hemicellulose and cellulose content were found in pineapple peel waste, pretreated for 45 minutes at a temperature of 80 ℃ (B9 & B10), with 22.1% and 55.2%, respectively. The B9 and B10 samples obtained the lowest lignin content of 0.41% for both samples.