The best time to visit Indonesia is during its dry season, from April to October, when the temperatures are warm and the rainfall is minimal.