Koilwar or Koelwar is a nagar panchayat and one of the 14 community development block in Bhojpur district in the Indian state of Bihar. As of 2011, the population of Koilwar town was 17,725, in 2,893 households. Koilwar lies on the Arrah-Patna highway.