Boils generally last for two weeks in most cases. Therefore, if the boil stays for more than two weeks and is still painful, then consult a doctor.