Indonesia kept several airports closed and shifted schools to remote learning on Monday though a volcanic eruption that halted 2,300 flights and coated areas with ash was subsiding.

The continuous, 25-hour eruption of Anak Krakatau that produced a fountain of lava and a boom heard 700 kilometres away ended on Sunday, the country's Geological Agency said.

But it remained active on Monday with moderate, intermittent eruptions, dark ash emissions and small, localised earthquakes, the agency said in a statement.

Weather was obscuring visual observations of the eruption.

AirNav Indonesia said tests showed volcanic ash present in the airspace around Jakarta and several other cities, prompting authorities to close eight airports until 6 pm on Monday, including the four commercial airports managed by state-owned operator InJourney Airports: Jakarta's international airports of Soekarno-Hatta and Halim Perdanakusuma, Husein Sastranegara in West Java and Radin Inten in Lampung on the southern tip of Sumatra.